@haex-space/vault-sdk 2.5.73 → 2.5.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/svelte.js CHANGED
@@ -1009,9 +1009,7 @@ var RemoteStorageAPI = class {
1009
1009
  async upload(backendId, key, data) {
1010
1010
  const base64 = arrayBufferToBase64(data);
1011
1011
  await this.client.request(REMOTE_STORAGE_COMMANDS.upload, {
1012
- backendId,
1013
- key,
1014
- data: base64
1012
+ request: { backendId, key, data: base64 }
1015
1013
  });
1016
1014
  }
1017
1015
  /**
@@ -1023,7 +1021,7 @@ var RemoteStorageAPI = class {
1023
1021
  async download(backendId, key) {
1024
1022
  const base64 = await this.client.request(
1025
1023
  REMOTE_STORAGE_COMMANDS.download,
1026
- { backendId, key }
1024
+ { request: { backendId, key } }
1027
1025
  );
1028
1026
  return base64ToArrayBuffer(base64);
1029
1027
  }
@@ -1034,8 +1032,7 @@ var RemoteStorageAPI = class {
1034
1032
  */
1035
1033
  async delete(backendId, key) {
1036
1034
  await this.client.request(REMOTE_STORAGE_COMMANDS.delete, {
1037
- backendId,
1038
- key
1035
+ request: { backendId, key }
1039
1036
  });
1040
1037
  }
1041
1038
  /**