@getpara/core-sdk 2.0.0-alpha.33 → 2.0.0-alpha.34

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.
@@ -129,6 +129,7 @@ const _ParaCore = class _ParaCore {
129
129
  this.isAwaitingLogin = false;
130
130
  this.isAwaitingFarcaster = false;
131
131
  this.isAwaitingOAuth = false;
132
+ this.isWorkerInitialized = false;
132
133
  /**
133
134
  * The IDs of the currently active wallets, for each supported wallet type. Any signer integrations will default to the first viable wallet ID in this dictionary.
134
135
  */
@@ -137,6 +138,7 @@ const _ParaCore = class _ParaCore {
137
138
  * Wallets associated with the `ParaCore` instance.
138
139
  */
139
140
  this.externalWallets = {};
141
+ this.onRampPopup = void 0;
140
142
  this.localStorageGetItem = (key) => {
141
143
  return this.platformUtils.localStorage.get(key);
142
144
  };
@@ -288,6 +290,16 @@ const _ParaCore = class _ParaCore {
288
290
  const _externalWallets = JSON.parse(stringExternalWallets || "{}");
289
291
  this.setExternalWallets(_externalWallets);
290
292
  };
293
+ this.initializeWorker = () => __async(this, null, function* () {
294
+ if (!this.isWorkerInitialized && !this.ctx.disableWebSockets && !this.ctx.disableWorkers) {
295
+ try {
296
+ this.isWorkerInitialized = true;
297
+ yield this.platformUtils.initializeWorker(this.ctx);
298
+ } catch (e) {
299
+ this.devLog("error initializing worker:", e);
300
+ }
301
+ }
302
+ });
291
303
  /**
292
304
  * Creates several new wallets with the desired types. If no types are provided, this method
293
305
  * will create one for each of the non-optional types specified in the instance's `supportedWalletTypes`
@@ -710,7 +722,7 @@ const _ParaCore = class _ParaCore {
710
722
  break;
711
723
  }
712
724
  case "onRamp": {
713
- path = `/web/users/${this.userId}/on-ramp-transaction/${opts.pathId}`;
725
+ path = `/web/users/${this.userId}/on-ramp-transaction/v2/${opts.pathId}`;
714
726
  break;
715
727
  }
716
728
  case "telegramLogin": {
@@ -753,7 +765,7 @@ const _ParaCore = class _ParaCore {
753
765
  }, (0, import_user_management_client.isPhone)(this.authInfo.auth) ? (0, import_utils2.splitPhoneNumber)(this.authInfo.auth.phone) : this.authInfo.auth), {
754
766
  pfpUrl: this.authInfo.pfpUrl,
755
767
  displayName: this.authInfo.displayName
756
- }) : {}), isOnRamp ? { sessionId } : {}), isLogin ? __spreadProps(__spreadValues({
768
+ }) : {}), isOnRamp ? { origin: typeof window !== "undefined" ? window.location.origin : void 0, email: this.email } : {}), isLogin ? __spreadProps(__spreadValues({
757
769
  sessionId: thisDevice.sessionId,
758
770
  encryptionKey: thisDevice.encryptionKey
759
771
  }, opts.newDevice ? {
@@ -772,6 +784,9 @@ const _ParaCore = class _ParaCore {
772
784
  touchSession(regenerate = false) {
773
785
  return __async(this, null, function* () {
774
786
  var _a, _b, _c;
787
+ if (!this.isWorkerInitialized) {
788
+ this.initializeWorker();
789
+ }
775
790
  if (!this.isReady) {
776
791
  yield this.ready();
777
792
  }
@@ -1945,7 +1960,7 @@ const _ParaCore = class _ParaCore {
1945
1960
  sessionId
1946
1961
  });
1947
1962
  if (shouldOpenPopup) {
1948
- this.platformUtils.openPopup(link);
1963
+ yield this.platformUtils.openPopup(link);
1949
1964
  }
1950
1965
  return link;
1951
1966
  });
@@ -2489,25 +2504,12 @@ const _ParaCore = class _ParaCore {
2489
2504
  });
2490
2505
  });
2491
2506
  }
2492
- getOnRampTransactionUrl(_k) {
2493
- return __async(this, null, function* () {
2494
- var _l = _k, {
2495
- purchaseId,
2496
- providerKey
2497
- } = _l, walletParams = __objRest(_l, [
2498
- "purchaseId",
2499
- "providerKey"
2500
- ]);
2501
- const { sessionId } = yield this.touchSession();
2502
- const [key, identifier] = (0, import_user_management_client.extractWalletRef)(walletParams);
2507
+ getOnRampTransactionUrl(_0) {
2508
+ return __async(this, arguments, function* ({
2509
+ purchaseId
2510
+ }) {
2503
2511
  return this.constructPortalUrl("onRamp", {
2504
- pathId: purchaseId,
2505
- sessionId,
2506
- params: {
2507
- [key]: identifier,
2508
- providerKey,
2509
- currentWalletIds: JSON.stringify(this.currentWalletIds)
2510
- }
2512
+ pathId: purchaseId
2511
2513
  });
2512
2514
  });
2513
2515
  }
@@ -2541,7 +2543,7 @@ const _ParaCore = class _ParaCore {
2541
2543
  let signRes = yield this.signMessageInner({ wallet, signerId, messageBase64, cosmosSignDocBase64 });
2542
2544
  let timeStart = Date.now();
2543
2545
  if (signRes.pendingTransactionId) {
2544
- this.platformUtils.openPopup(
2546
+ yield this.platformUtils.openPopup(
2545
2547
  yield this.getTransactionReviewUrl(signRes.pendingTransactionId, timeoutMs),
2546
2548
  { type: cosmosSignDocBase64 ? import_types.PopupType.SIGN_TRANSACTION_REVIEW : import_types.PopupType.SIGN_MESSAGE_REVIEW }
2547
2549
  );
@@ -2653,7 +2655,7 @@ const _ParaCore = class _ParaCore {
2653
2655
  );
2654
2656
  let timeStart = Date.now();
2655
2657
  if (signRes.pendingTransactionId) {
2656
- this.platformUtils.openPopup(
2658
+ yield this.platformUtils.openPopup(
2657
2659
  yield this.getTransactionReviewUrl(signRes.pendingTransactionId, timeoutMs),
2658
2660
  { type: import_types.PopupType.SIGN_TRANSACTION_REVIEW }
2659
2661
  );
@@ -2729,7 +2731,8 @@ const _ParaCore = class _ParaCore {
2729
2731
  providerKey: onRampPurchase.providerKey
2730
2732
  }, walletParams));
2731
2733
  if (shouldOpenPopup) {
2732
- this.platformUtils.openPopup(portalUrl, { type: import_types.PopupType.ON_RAMP_TRANSACTION });
2734
+ const onRampWindow = yield this.platformUtils.openPopup(portalUrl, { type: import_types.PopupType.ON_RAMP_TRANSACTION });
2735
+ this.onRampPopup = { window: onRampWindow, onRampPurchase };
2733
2736
  }
2734
2737
  return { onRampPurchase, portalUrl };
2735
2738
  });
@@ -2990,9 +2993,9 @@ const _ParaCore = class _ParaCore {
2990
2993
  return sessionLookupId;
2991
2994
  });
2992
2995
  }
2993
- signUpOrLogIn(_m) {
2996
+ signUpOrLogIn(_k) {
2994
2997
  return __async(this, null, function* () {
2995
- var _n = _m, { auth } = _n, urlOptions = __objRest(_n, ["auth"]);
2998
+ var _l = _k, { auth } = _l, urlOptions = __objRest(_l, ["auth"]);
2996
2999
  const serverAuthState = yield this.ctx.client.signUpOrLogIn(__spreadValues(__spreadValues({}, auth), this.getVerificationEmailProps()));
2997
3000
  const authInfo = serverAuthState.auth;
2998
3001
  if (this.fetchPregenWalletsOverride && (0, import_user_management_client.isPregenAuth)(authInfo)) {
@@ -3004,11 +3007,11 @@ const _ParaCore = class _ParaCore {
3004
3007
  return __privateMethod(this, _ParaCore_instances, prepareAuthState_fn).call(this, serverAuthState, urlOptions);
3005
3008
  });
3006
3009
  }
3007
- verifyNewAccount(_o) {
3010
+ verifyNewAccount(_m) {
3008
3011
  return __async(this, null, function* () {
3009
- var _p = _o, {
3012
+ var _n = _m, {
3010
3013
  verificationCode
3011
- } = _p, urlOptions = __objRest(_p, [
3014
+ } = _n, urlOptions = __objRest(_n, [
3012
3015
  "verificationCode"
3013
3016
  ]);
3014
3017
  this.assertIsAuthSet(["email", "phone"]);
@@ -3102,10 +3105,10 @@ const _ParaCore = class _ParaCore {
3102
3105
  });
3103
3106
  }
3104
3107
  verifyLink() {
3105
- return __async(this, arguments, function* (_q = {}) {
3106
- var _r = _q, {
3108
+ return __async(this, arguments, function* (_o = {}) {
3109
+ var _p = _o, {
3107
3110
  accountLinkInProgress = __privateMethod(this, _ParaCore_instances, assertIsLinkingAccount_fn).call(this)
3108
- } = _r, opts = __objRest(_r, [
3111
+ } = _p, opts = __objRest(_p, [
3109
3112
  "accountLinkInProgress"
3110
3113
  ]);
3111
3114
  try {
@@ -40,7 +40,7 @@ __export(constants_exports, {
40
40
  SHORT_POLLING_INTERVAL_MS: () => SHORT_POLLING_INTERVAL_MS
41
41
  });
42
42
  module.exports = __toCommonJS(constants_exports);
43
- const PARA_CORE_VERSION = "2.0.0-alpha.33";
43
+ const PARA_CORE_VERSION = "2.0.0-alpha.34";
44
44
  const PREFIX = "@CAPSULE/";
45
45
  const LOCAL_STORAGE_AUTH_INFO = `${PREFIX}authInfo`;
46
46
  const LOCAL_STORAGE_EMAIL = `${PREFIX}e-mail`;
@@ -23,7 +23,6 @@ import {
23
23
  AuthMethod,
24
24
  PublicKeyStatus,
25
25
  PublicKeyType,
26
- extractWalletRef,
27
26
  PasswordStatus,
28
27
  extractAuthInfo,
29
28
  isEmail,
@@ -95,6 +94,7 @@ const _ParaCore = class _ParaCore {
95
94
  this.isAwaitingLogin = false;
96
95
  this.isAwaitingFarcaster = false;
97
96
  this.isAwaitingOAuth = false;
97
+ this.isWorkerInitialized = false;
98
98
  /**
99
99
  * The IDs of the currently active wallets, for each supported wallet type. Any signer integrations will default to the first viable wallet ID in this dictionary.
100
100
  */
@@ -103,6 +103,7 @@ const _ParaCore = class _ParaCore {
103
103
  * Wallets associated with the `ParaCore` instance.
104
104
  */
105
105
  this.externalWallets = {};
106
+ this.onRampPopup = void 0;
106
107
  this.localStorageGetItem = (key) => {
107
108
  return this.platformUtils.localStorage.get(key);
108
109
  };
@@ -254,6 +255,16 @@ const _ParaCore = class _ParaCore {
254
255
  const _externalWallets = JSON.parse(stringExternalWallets || "{}");
255
256
  this.setExternalWallets(_externalWallets);
256
257
  };
258
+ this.initializeWorker = () => __async(this, null, function* () {
259
+ if (!this.isWorkerInitialized && !this.ctx.disableWebSockets && !this.ctx.disableWorkers) {
260
+ try {
261
+ this.isWorkerInitialized = true;
262
+ yield this.platformUtils.initializeWorker(this.ctx);
263
+ } catch (e) {
264
+ this.devLog("error initializing worker:", e);
265
+ }
266
+ }
267
+ });
257
268
  /**
258
269
  * Creates several new wallets with the desired types. If no types are provided, this method
259
270
  * will create one for each of the non-optional types specified in the instance's `supportedWalletTypes`
@@ -676,7 +687,7 @@ const _ParaCore = class _ParaCore {
676
687
  break;
677
688
  }
678
689
  case "onRamp": {
679
- path = `/web/users/${this.userId}/on-ramp-transaction/${opts.pathId}`;
690
+ path = `/web/users/${this.userId}/on-ramp-transaction/v2/${opts.pathId}`;
680
691
  break;
681
692
  }
682
693
  case "telegramLogin": {
@@ -719,7 +730,7 @@ const _ParaCore = class _ParaCore {
719
730
  }, isPhone(this.authInfo.auth) ? splitPhoneNumber(this.authInfo.auth.phone) : this.authInfo.auth), {
720
731
  pfpUrl: this.authInfo.pfpUrl,
721
732
  displayName: this.authInfo.displayName
722
- }) : {}), isOnRamp ? { sessionId } : {}), isLogin ? __spreadProps(__spreadValues({
733
+ }) : {}), isOnRamp ? { origin: typeof window !== "undefined" ? window.location.origin : void 0, email: this.email } : {}), isLogin ? __spreadProps(__spreadValues({
723
734
  sessionId: thisDevice.sessionId,
724
735
  encryptionKey: thisDevice.encryptionKey
725
736
  }, opts.newDevice ? {
@@ -738,6 +749,9 @@ const _ParaCore = class _ParaCore {
738
749
  touchSession(regenerate = false) {
739
750
  return __async(this, null, function* () {
740
751
  var _a, _b, _c;
752
+ if (!this.isWorkerInitialized) {
753
+ this.initializeWorker();
754
+ }
741
755
  if (!this.isReady) {
742
756
  yield this.ready();
743
757
  }
@@ -1911,7 +1925,7 @@ const _ParaCore = class _ParaCore {
1911
1925
  sessionId
1912
1926
  });
1913
1927
  if (shouldOpenPopup) {
1914
- this.platformUtils.openPopup(link);
1928
+ yield this.platformUtils.openPopup(link);
1915
1929
  }
1916
1930
  return link;
1917
1931
  });
@@ -2455,25 +2469,12 @@ const _ParaCore = class _ParaCore {
2455
2469
  });
2456
2470
  });
2457
2471
  }
2458
- getOnRampTransactionUrl(_k) {
2459
- return __async(this, null, function* () {
2460
- var _l = _k, {
2461
- purchaseId,
2462
- providerKey
2463
- } = _l, walletParams = __objRest(_l, [
2464
- "purchaseId",
2465
- "providerKey"
2466
- ]);
2467
- const { sessionId } = yield this.touchSession();
2468
- const [key, identifier] = extractWalletRef(walletParams);
2472
+ getOnRampTransactionUrl(_0) {
2473
+ return __async(this, arguments, function* ({
2474
+ purchaseId
2475
+ }) {
2469
2476
  return this.constructPortalUrl("onRamp", {
2470
- pathId: purchaseId,
2471
- sessionId,
2472
- params: {
2473
- [key]: identifier,
2474
- providerKey,
2475
- currentWalletIds: JSON.stringify(this.currentWalletIds)
2476
- }
2477
+ pathId: purchaseId
2477
2478
  });
2478
2479
  });
2479
2480
  }
@@ -2507,7 +2508,7 @@ const _ParaCore = class _ParaCore {
2507
2508
  let signRes = yield this.signMessageInner({ wallet, signerId, messageBase64, cosmosSignDocBase64 });
2508
2509
  let timeStart = Date.now();
2509
2510
  if (signRes.pendingTransactionId) {
2510
- this.platformUtils.openPopup(
2511
+ yield this.platformUtils.openPopup(
2511
2512
  yield this.getTransactionReviewUrl(signRes.pendingTransactionId, timeoutMs),
2512
2513
  { type: cosmosSignDocBase64 ? PopupType.SIGN_TRANSACTION_REVIEW : PopupType.SIGN_MESSAGE_REVIEW }
2513
2514
  );
@@ -2619,7 +2620,7 @@ const _ParaCore = class _ParaCore {
2619
2620
  );
2620
2621
  let timeStart = Date.now();
2621
2622
  if (signRes.pendingTransactionId) {
2622
- this.platformUtils.openPopup(
2623
+ yield this.platformUtils.openPopup(
2623
2624
  yield this.getTransactionReviewUrl(signRes.pendingTransactionId, timeoutMs),
2624
2625
  { type: PopupType.SIGN_TRANSACTION_REVIEW }
2625
2626
  );
@@ -2695,7 +2696,8 @@ const _ParaCore = class _ParaCore {
2695
2696
  providerKey: onRampPurchase.providerKey
2696
2697
  }, walletParams));
2697
2698
  if (shouldOpenPopup) {
2698
- this.platformUtils.openPopup(portalUrl, { type: PopupType.ON_RAMP_TRANSACTION });
2699
+ const onRampWindow = yield this.platformUtils.openPopup(portalUrl, { type: PopupType.ON_RAMP_TRANSACTION });
2700
+ this.onRampPopup = { window: onRampWindow, onRampPurchase };
2699
2701
  }
2700
2702
  return { onRampPurchase, portalUrl };
2701
2703
  });
@@ -2956,9 +2958,9 @@ const _ParaCore = class _ParaCore {
2956
2958
  return sessionLookupId;
2957
2959
  });
2958
2960
  }
2959
- signUpOrLogIn(_m) {
2961
+ signUpOrLogIn(_k) {
2960
2962
  return __async(this, null, function* () {
2961
- var _n = _m, { auth } = _n, urlOptions = __objRest(_n, ["auth"]);
2963
+ var _l = _k, { auth } = _l, urlOptions = __objRest(_l, ["auth"]);
2962
2964
  const serverAuthState = yield this.ctx.client.signUpOrLogIn(__spreadValues(__spreadValues({}, auth), this.getVerificationEmailProps()));
2963
2965
  const authInfo = serverAuthState.auth;
2964
2966
  if (this.fetchPregenWalletsOverride && isPregenAuth(authInfo)) {
@@ -2970,11 +2972,11 @@ const _ParaCore = class _ParaCore {
2970
2972
  return __privateMethod(this, _ParaCore_instances, prepareAuthState_fn).call(this, serverAuthState, urlOptions);
2971
2973
  });
2972
2974
  }
2973
- verifyNewAccount(_o) {
2975
+ verifyNewAccount(_m) {
2974
2976
  return __async(this, null, function* () {
2975
- var _p = _o, {
2977
+ var _n = _m, {
2976
2978
  verificationCode
2977
- } = _p, urlOptions = __objRest(_p, [
2979
+ } = _n, urlOptions = __objRest(_n, [
2978
2980
  "verificationCode"
2979
2981
  ]);
2980
2982
  this.assertIsAuthSet(["email", "phone"]);
@@ -3068,10 +3070,10 @@ const _ParaCore = class _ParaCore {
3068
3070
  });
3069
3071
  }
3070
3072
  verifyLink() {
3071
- return __async(this, arguments, function* (_q = {}) {
3072
- var _r = _q, {
3073
+ return __async(this, arguments, function* (_o = {}) {
3074
+ var _p = _o, {
3073
3075
  accountLinkInProgress = __privateMethod(this, _ParaCore_instances, assertIsLinkingAccount_fn).call(this)
3074
- } = _r, opts = __objRest(_r, [
3076
+ } = _p, opts = __objRest(_p, [
3075
3077
  "accountLinkInProgress"
3076
3078
  ]);
3077
3079
  try {
@@ -1,5 +1,5 @@
1
1
  import "./chunk-7B52C2XE.js";
2
- const PARA_CORE_VERSION = "2.0.0-alpha.33";
2
+ const PARA_CORE_VERSION = "2.0.0-alpha.34";
3
3
  const PREFIX = "@CAPSULE/";
4
4
  const LOCAL_STORAGE_AUTH_INFO = `${PREFIX}authInfo`;
5
5
  const LOCAL_STORAGE_EMAIL = `${PREFIX}e-mail`;
@@ -1,4 +1,4 @@
1
- import { AuthMethod, AuthExtras, CurrentWalletIds, EmailTheme, TWalletType, PregenIds, BiometricLocationHint, Auth, SupportedWalletTypes, AuthIdentifier, AuthType, ExternalWalletInfo, PrimaryAuthInfo, SessionInfo, PrimaryAuth, PrimaryAuthType, AccountMetadata, LinkedAccounts, VerifyLinkParams, VerifyExternalWalletParams, SupportedAccountLinks } from '@getpara/user-management-client';
1
+ import { AuthMethod, AuthExtras, CurrentWalletIds, EmailTheme, TWalletType, PregenIds, BiometricLocationHint, Auth, SupportedWalletTypes, AuthIdentifier, AuthType, ExternalWalletInfo, PrimaryAuthInfo, SessionInfo, PrimaryAuth, PrimaryAuthType, AccountMetadata, LinkedAccounts, VerifyLinkParams, VerifyExternalWalletParams, SupportedAccountLinks, OnRampPurchase } from '@getpara/user-management-client';
2
2
  import type { pki as pkiType } from 'node-forge';
3
3
  import { Ctx, Environment, Theme, WalletFilters, Wallet, PortalUrlOptions, ConstructorOpts, CoreAuthInfo, PortalUrlType, CoreMethodParams, CoreMethodResponse, NewCredentialUrlParams, LoginUrlParams, CoreInterface, ExternalWalletConnectionType, AccountLinkInProgress, InternalMethodParams, InternalMethodResponse } from './types/index.js';
4
4
  import { PlatformUtils } from './PlatformUtils.js';
@@ -23,6 +23,7 @@ export declare abstract class ParaCore implements CoreInterface {
23
23
  private isAwaitingLogin;
24
24
  private isAwaitingFarcaster;
25
25
  private isAwaitingOAuth;
26
+ private isWorkerInitialized;
26
27
  get isEmail(): boolean;
27
28
  get isPhone(): boolean;
28
29
  get isFarcaster(): boolean;
@@ -129,7 +130,11 @@ export declare abstract class ParaCore implements CoreInterface {
129
130
  get cosmosPrefix(): string | undefined;
130
131
  get supportedAccountLinks(): SupportedAccountLinks;
131
132
  get isWalletTypeEnabled(): Partial<Record<TWalletType, boolean>>;
132
- private platformUtils;
133
+ protected onRampPopup: {
134
+ window: Window;
135
+ onRampPurchase: OnRampPurchase;
136
+ } | undefined;
137
+ protected platformUtils: PlatformUtils;
133
138
  private localStorageGetItem;
134
139
  private localStorageSetItem;
135
140
  private localStorageRemoveItem;
@@ -145,7 +150,7 @@ export declare abstract class ParaCore implements CoreInterface {
145
150
  clearStorage: (type?: CoreMethodParams<"clearStorage">) => CoreMethodResponse<"clearStorage">;
146
151
  private convertBigInt;
147
152
  private convertEncryptionKeyPair;
148
- private isPortal;
153
+ protected isPortal(envOverride?: Environment): boolean;
149
154
  private isParaConnect;
150
155
  private requireApiKey;
151
156
  private isWalletSupported;
@@ -197,6 +202,7 @@ export declare abstract class ParaCore implements CoreInterface {
197
202
  private updateSessionCookieFromStorage;
198
203
  private updateLoginEncryptionKeyPairFromStorage;
199
204
  private updateExternalWalletsFromStorage;
205
+ protected initializeWorker: () => Promise<void>;
200
206
  touchSession(regenerate?: boolean): Promise<SessionInfo>;
201
207
  private getVerificationEmailProps;
202
208
  private getBackupKitEmailProps;
@@ -42,5 +42,6 @@ export interface PlatformUtils {
42
42
  disableProviderModal?: boolean;
43
43
  openPopup(popupUrl: string, opts?: {
44
44
  type: PopupType;
45
- }): Window;
45
+ }): Promise<Window>;
46
+ initializeWorker(ctx: Ctx): Promise<void>;
46
47
  }
@@ -1,4 +1,4 @@
1
- import { EmbeddedWalletType, ExternalWalletType, PartnerEntity, TExternalWallet, TPregenIdentifierType, TWalletScheme } from '@getpara/user-management-client';
1
+ import { EmbeddedWalletType, ExternalWalletType, PartnerEntity, TPregenIdentifierType, TWalletScheme } from '@getpara/user-management-client';
2
2
  export interface Wallet {
3
3
  createdAt?: string;
4
4
  id: string;
@@ -20,7 +20,7 @@ export interface Wallet {
20
20
  lastUsedPartnerId?: string;
21
21
  isExternal?: boolean;
22
22
  isExternalWithParaAuth?: boolean;
23
- externalProviderId?: TExternalWallet;
23
+ externalProviderId?: string;
24
24
  isExternalWithVerification?: boolean;
25
25
  isExternalConnectionOnly?: boolean;
26
26
  ensName?: string | null;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@getpara/core-sdk",
3
- "version": "2.0.0-alpha.33",
3
+ "version": "2.0.0-alpha.34",
4
4
  "dependencies": {
5
5
  "@celo/utils": "^8.0.2",
6
6
  "@cosmjs/encoding": "^0.32.4",
7
7
  "@ethereumjs/util": "^9.1.0",
8
- "@getpara/user-management-client": "2.0.0-alpha.33",
8
+ "@getpara/user-management-client": "2.0.0-alpha.34",
9
9
  "@noble/hashes": "^1.5.0",
10
10
  "base64url": "^3.0.1",
11
11
  "libphonenumber-js": "^1.11.7",
@@ -27,7 +27,7 @@
27
27
  "dist",
28
28
  "package.json"
29
29
  ],
30
- "gitHead": "f338306fa30497d2190f8da2ff72ddd8d9d9032f",
30
+ "gitHead": "cff5cb1fa7284a850e688b20a6596d435315a475",
31
31
  "main": "dist/cjs/index.js",
32
32
  "module": "dist/esm/index.js",
33
33
  "scripts": {