We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 927ba3f commit 56a5676Copy full SHA for 56a5676
typescript/.changeset/kind-steaks-warn.md
@@ -0,0 +1,5 @@
1
+---
2
+"@lens-chain/storage-client": patch
3
4
+
5
+**fix**: mandatory `options` in `StorageClient#uplaodAsJson` signature.
typescript/src/StorageClient.ts
@@ -85,7 +85,7 @@ export class StorageClient {
85
* @param options - Upload options including the ACL configuration
86
* @returns The {@link FileUploadResponse} to the uploaded JSON
87
*/
88
- async uploadAsJson(json: unknown, options?: UploadJsonOptions): Promise<FileUploadResponse>;
+ async uploadAsJson(json: unknown, options: UploadJsonOptions): Promise<FileUploadResponse>;
89
/**
90
* @deprecated use `uploadAsJson(json: unknown, options: UploadJsonOptions): Promise<FileUploadResponse>` instead
91
0 commit comments