@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/vue.mjs CHANGED
@@ -1007,9 +1007,7 @@ var RemoteStorageAPI = class {
1007
1007
  async upload(backendId, key, data) {
1008
1008
  const base64 = arrayBufferToBase64(data);
1009
1009
  await this.client.request(REMOTE_STORAGE_COMMANDS.upload, {
1010
- backendId,
1011
- key,
1012
- data: base64
1010
+ request: { backendId, key, data: base64 }
1013
1011
  });
1014
1012
  }
1015
1013
  /**
@@ -1021,7 +1019,7 @@ var RemoteStorageAPI = class {
1021
1019
  async download(backendId, key) {
1022
1020
  const base64 = await this.client.request(
1023
1021
  REMOTE_STORAGE_COMMANDS.download,
1024
- { backendId, key }
1022
+ { request: { backendId, key } }
1025
1023
  );
1026
1024
  return base64ToArrayBuffer(base64);
1027
1025
  }
@@ -1032,8 +1030,7 @@ var RemoteStorageAPI = class {
1032
1030
  */
1033
1031
  async delete(backendId, key) {
1034
1032
  await this.client.request(REMOTE_STORAGE_COMMANDS.delete, {
1035
- backendId,
1036
- key
1033
+ request: { backendId, key }
1037
1034
  });
1038
1035
  }
1039
1036
  /**