@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.
@@ -683,9 +683,7 @@ var RemoteStorageAPI = class {
683
683
  async upload(backendId, key, data) {
684
684
  const base64 = arrayBufferToBase64(data);
685
685
  await this.client.request(REMOTE_STORAGE_COMMANDS.upload, {
686
- backendId,
687
- key,
688
- data: base64
686
+ request: { backendId, key, data: base64 }
689
687
  });
690
688
  }
691
689
  /**
@@ -697,7 +695,7 @@ var RemoteStorageAPI = class {
697
695
  async download(backendId, key) {
698
696
  const base64 = await this.client.request(
699
697
  REMOTE_STORAGE_COMMANDS.download,
700
- { backendId, key }
698
+ { request: { backendId, key } }
701
699
  );
702
700
  return base64ToArrayBuffer(base64);
703
701
  }
@@ -708,8 +706,7 @@ var RemoteStorageAPI = class {
708
706
  */
709
707
  async delete(backendId, key) {
710
708
  await this.client.request(REMOTE_STORAGE_COMMANDS.delete, {
711
- backendId,
712
- key
709
+ request: { backendId, key }
713
710
  });
714
711
  }
715
712
  /**