From 9f2f7c0218c2fede1f27424fb3ea1ba699d7a8d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Tue, 6 Feb 2024 09:29:08 +0100 Subject: [PATCH] fix(jslib): fix types for `putBlob()`, returns a single address --- tools/upend_js/api.ts | 2 +- tools/upend_js/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/upend_js/api.ts b/tools/upend_js/api.ts index fe72419..efd07ad 100644 --- a/tools/upend_js/api.ts +++ b/tools/upend_js/api.ts @@ -155,7 +155,7 @@ export class UpEndApi { public async putBlob( fileOrUrl: File | URL, options?: ApiFetchOptions & { onProgress?: (ev: ProgressEvent) => void }, - ): Promise { + ): Promise
{ dbg("Putting Blob: %O", fileOrUrl); const formData = new FormData(); diff --git a/tools/upend_js/package.json b/tools/upend_js/package.json index f06f2cb..c64d234 100644 --- a/tools/upend_js/package.json +++ b/tools/upend_js/package.json @@ -1,6 +1,6 @@ { "name": "@upnd/upend", - "version": "0.4.0", + "version": "0.4.1", "description": "Client library to interact with the UpEnd system.", "scripts": { "build": "tsc --build --verbose",