fix(jslib): fix types for putBlob()
, returns a single address
This commit is contained in:
parent
787aa00f94
commit
9f2f7c0218
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue