@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/index.js CHANGED
@@ -1332,9 +1332,7 @@ var RemoteStorageAPI = class {
1332
1332
  async upload(backendId, key, data) {
1333
1333
  const base64 = arrayBufferToBase64(data);
1334
1334
  await this.client.request(REMOTE_STORAGE_COMMANDS.upload, {
1335
- backendId,
1336
- key,
1337
- data: base64
1335
+ request: { backendId, key, data: base64 }
1338
1336
  });
1339
1337
  }
1340
1338
  /**
@@ -1346,7 +1344,7 @@ var RemoteStorageAPI = class {
1346
1344
  async download(backendId, key) {
1347
1345
  const base64 = await this.client.request(
1348
1346
  REMOTE_STORAGE_COMMANDS.download,
1349
- { backendId, key }
1347
+ { request: { backendId, key } }
1350
1348
  );
1351
1349
  return base64ToArrayBuffer(base64);
1352
1350
  }
@@ -1357,8 +1355,7 @@ var RemoteStorageAPI = class {
1357
1355
  */
1358
1356
  async delete(backendId, key) {
1359
1357
  await this.client.request(REMOTE_STORAGE_COMMANDS.delete, {
1360
- backendId,
1361
- key
1358
+ request: { backendId, key }
1362
1359
  });
1363
1360
  }
1364
1361
  /**