fix(jslib): fix types for `putBlob()`, returns a single address

feat/tables
Tomáš Mládek 2024-02-06 09:29:08 +01:00
parent 787aa00f94
commit 9f2f7c0218
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ export class UpEndApi {
public async putBlob(
fileOrUrl: File | URL,
options?: ApiFetchOptions & { onProgress?: (ev: ProgressEvent) => void },
): Promise<PutResult> {
): Promise<Address> {
dbg("Putting Blob: %O", fileOrUrl);
const formData = new FormData();

View File

@ -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",