@getpara/user-management-client 2.0.0-dev.6 → 2.0.0-dev.7

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.
@@ -484,6 +484,10 @@ class Client {
484
484
  );
485
485
  return res.data;
486
486
  });
487
+ this.issueEnclaveJwt = (encryptedPayload) => __async(this, null, function* () {
488
+ const res = yield this.baseRequest.post(`/enclave/jwt/issue`, { encryptedPayload });
489
+ return res.data;
490
+ });
487
491
  this.refreshEnclaveJwt = (encryptedPayload) => __async(this, null, function* () {
488
492
  const res = yield this.baseRequest.post(`/enclave/jwt/refresh`, { encryptedPayload });
489
493
  return res.data;
@@ -407,6 +407,10 @@ class Client {
407
407
  );
408
408
  return res.data;
409
409
  });
410
+ this.issueEnclaveJwt = (encryptedPayload) => __async(this, null, function* () {
411
+ const res = yield this.baseRequest.post(`/enclave/jwt/issue`, { encryptedPayload });
412
+ return res.data;
413
+ });
410
414
  this.refreshEnclaveJwt = (encryptedPayload) => __async(this, null, function* () {
411
415
  const res = yield this.baseRequest.post(`/enclave/jwt/refresh`, { encryptedPayload });
412
416
  return res.data;
@@ -454,6 +454,9 @@ declare class Client {
454
454
  retrieveEnclaveShares: (encryptedPayload: string) => Promise<{
455
455
  payload: any;
456
456
  }>;
457
+ issueEnclaveJwt: (encryptedPayload: string) => Promise<{
458
+ payload: string;
459
+ }>;
457
460
  refreshEnclaveJwt: (encryptedPayload: string) => Promise<{
458
461
  payload: string;
459
462
  }>;
@@ -160,6 +160,7 @@ export type ServerAuthStateBase = AuthExtras & {
160
160
  export type ServerAuthStateVerify = ServerAuthStateBase & {
161
161
  stage: 'verify';
162
162
  signatureVerificationMessage?: string;
163
+ isWalletSelectionNeeded?: boolean;
163
164
  } & ({
164
165
  nextStage: 'login';
165
166
  loginAuthMethods: AuthMethod[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpara/user-management-client",
3
- "version": "2.0.0-dev.6",
3
+ "version": "2.0.0-dev.7",
4
4
  "dependencies": {
5
5
  "axios": "^1.8.4",
6
6
  "libphonenumber-js": "^1.11.7"
@@ -19,7 +19,7 @@
19
19
  "dist",
20
20
  "package.json"
21
21
  ],
22
- "gitHead": "c2125e37c73a19f11978031f5aa2eab39b978c56",
22
+ "gitHead": "225cd3693edaab4dac81df7285956d2616e5717f",
23
23
  "main": "dist/cjs/index.js",
24
24
  "module": "dist/esm/index.js",
25
25
  "scripts": {