@getpara/user-management-client 3.0.0-alpha.0 → 3.0.0-alpha.1

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.
@@ -559,8 +559,8 @@ class Client {
559
559
  });
560
560
  return res.data;
561
561
  });
562
- this.getPregenShares = (encryptedPayload) => __async(this, null, function* () {
563
- const res = yield this.baseRequest.post(`/enclave/pregen-shares`, { encryptedPayload });
562
+ this.getPregenShares = (encryptedPayload, walletIds) => __async(this, null, function* () {
563
+ const res = yield this.baseRequest.post(`/enclave/pregen-shares`, { encryptedPayload, walletIds });
564
564
  return res.data;
565
565
  });
566
566
  this.getUserPreferences = (userId) => __async(this, null, function* () {
@@ -487,8 +487,8 @@ class Client {
487
487
  });
488
488
  return res.data;
489
489
  });
490
- this.getPregenShares = (encryptedPayload) => __async(this, null, function* () {
491
- const res = yield this.baseRequest.post(`/enclave/pregen-shares`, { encryptedPayload });
490
+ this.getPregenShares = (encryptedPayload, walletIds) => __async(this, null, function* () {
491
+ const res = yield this.baseRequest.post(`/enclave/pregen-shares`, { encryptedPayload, walletIds });
492
492
  return res.data;
493
493
  });
494
494
  this.getUserPreferences = (userId) => __async(this, null, function* () {
@@ -510,7 +510,7 @@ declare class Client {
510
510
  deleteEnclaveShares: (encryptedPayload: string) => Promise<{
511
511
  payload: any;
512
512
  }>;
513
- getPregenShares: (encryptedPayload: string) => Promise<{
513
+ getPregenShares: (encryptedPayload: string, walletIds?: string[]) => Promise<{
514
514
  payload: string;
515
515
  }>;
516
516
  getUserPreferences: (userId: string) => Promise<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpara/user-management-client",
3
- "version": "3.0.0-alpha.0",
3
+ "version": "3.0.0-alpha.1",
4
4
  "dependencies": {
5
5
  "@getpara/shared": "^1.14.0",
6
6
  "axios": "^1.8.4",
@@ -21,7 +21,7 @@
21
21
  "dist",
22
22
  "package.json"
23
23
  ],
24
- "gitHead": "f58e6e365ca63a447edaa44fba3b157e5ca7a368",
24
+ "gitHead": "839d225579de67feb5be4da225d232290b2a2a04",
25
25
  "main": "dist/cjs/index.js",
26
26
  "module": "dist/esm/index.js",
27
27
  "scripts": {