@getpara/core-sdk 3.5.1 → 3.7.0

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.
Files changed (76) hide show
  1. package/dist/cjs/ParaCore.js +11 -4
  2. package/dist/cjs/constants.js +1 -1
  3. package/dist/cjs/cryptography/utils.js +2 -2
  4. package/dist/cjs/external/localDevUrlOverrides.js +50 -0
  5. package/dist/cjs/external/userManagementClient.js +11 -21
  6. package/dist/cjs/index.js +15 -15
  7. package/dist/cjs/services/PollingService.js +11 -0
  8. package/dist/cjs/services/PortalUrlService.js +1 -1
  9. package/dist/cjs/services/WalletService.js +19 -4
  10. package/dist/cjs/state/actors/authenticateWithEmailOrPhone.js +1 -1
  11. package/dist/cjs/state/actors/authenticateWithExternalWallet.js +1 -1
  12. package/dist/cjs/state/actors/authenticateWithFarcaster.js +1 -1
  13. package/dist/cjs/state/actors/authenticateWithFarcasterLegacy.js +1 -1
  14. package/dist/cjs/state/actors/authenticateWithTelegram.js +1 -1
  15. package/dist/cjs/state/actors/authenticateWithTelegramLegacy.js +1 -1
  16. package/dist/cjs/state/actors/checkUserState.js +1 -1
  17. package/dist/cjs/state/actors/claimWallets.js +1 -1
  18. package/dist/cjs/state/actors/connectExternalConnectors.js +1 -1
  19. package/dist/cjs/state/actors/connectExternalWallet.js +1 -1
  20. package/dist/cjs/state/actors/createGuestWallets.js +1 -1
  21. package/dist/cjs/state/actors/createWallets.js +1 -1
  22. package/dist/cjs/state/actors/processAuthentication.js +1 -1
  23. package/dist/cjs/state/actors/setupAfterLogin.js +1 -1
  24. package/dist/cjs/state/actors/setupPara.js +1 -1
  25. package/dist/cjs/state/actors/signExternalWalletVerification.js +1 -1
  26. package/dist/cjs/state/actors/switchExternalWallet.js +1 -1
  27. package/dist/cjs/state/actors/verifyExternalWallet.js +1 -1
  28. package/dist/cjs/state/actors/verifyNewAccount.js +1 -1
  29. package/dist/cjs/state/actors/waitForExternalWalletProviders.js +1 -1
  30. package/dist/cjs/state/machines/authStateMachine.js +14 -7
  31. package/dist/cjs/state/machines/coreStateMachine.js +1 -1
  32. package/dist/cjs/state/machines/walletStateMachine.js +1 -1
  33. package/dist/cjs/telemetry/tracer.js +1 -1
  34. package/dist/cjs/utils/url.js +5 -2
  35. package/dist/esm/ParaCore.js +11 -4
  36. package/dist/esm/constants.js +1 -1
  37. package/dist/esm/cryptography/utils.js +2 -2
  38. package/dist/esm/external/localDevUrlOverrides.js +27 -0
  39. package/dist/esm/external/userManagementClient.js +11 -21
  40. package/dist/esm/index.js +2 -2
  41. package/dist/esm/services/PollingService.js +11 -0
  42. package/dist/esm/services/PortalUrlService.js +1 -1
  43. package/dist/esm/services/WalletService.js +19 -4
  44. package/dist/esm/state/actors/authenticateWithEmailOrPhone.js +1 -1
  45. package/dist/esm/state/actors/authenticateWithExternalWallet.js +1 -1
  46. package/dist/esm/state/actors/authenticateWithFarcaster.js +1 -1
  47. package/dist/esm/state/actors/authenticateWithFarcasterLegacy.js +1 -1
  48. package/dist/esm/state/actors/authenticateWithTelegram.js +1 -1
  49. package/dist/esm/state/actors/authenticateWithTelegramLegacy.js +1 -1
  50. package/dist/esm/state/actors/checkUserState.js +1 -1
  51. package/dist/esm/state/actors/claimWallets.js +1 -1
  52. package/dist/esm/state/actors/connectExternalConnectors.js +1 -1
  53. package/dist/esm/state/actors/connectExternalWallet.js +1 -1
  54. package/dist/esm/state/actors/createGuestWallets.js +1 -1
  55. package/dist/esm/state/actors/createWallets.js +1 -1
  56. package/dist/esm/state/actors/processAuthentication.js +1 -1
  57. package/dist/esm/state/actors/setupAfterLogin.js +1 -1
  58. package/dist/esm/state/actors/setupPara.js +1 -1
  59. package/dist/esm/state/actors/signExternalWalletVerification.js +1 -1
  60. package/dist/esm/state/actors/switchExternalWallet.js +1 -1
  61. package/dist/esm/state/actors/verifyExternalWallet.js +1 -1
  62. package/dist/esm/state/actors/verifyNewAccount.js +1 -1
  63. package/dist/esm/state/actors/waitForExternalWalletProviders.js +1 -1
  64. package/dist/esm/state/machines/authStateMachine.js +14 -7
  65. package/dist/esm/state/machines/coreStateMachine.js +1 -1
  66. package/dist/esm/state/machines/walletStateMachine.js +1 -1
  67. package/dist/esm/telemetry/tracer.js +1 -1
  68. package/dist/esm/utils/url.js +4 -2
  69. package/dist/types/external/localDevUrlOverrides.d.ts +4 -0
  70. package/dist/types/external/userManagementClient.d.ts +5 -4
  71. package/dist/types/services/types/PollingServiceTypes.d.ts +9 -0
  72. package/dist/types/state/machines/authStateMachine.d.ts +2 -0
  73. package/dist/types/state/machines/coreStateMachine.d.ts +12 -0
  74. package/dist/types/types/config.d.ts +2 -0
  75. package/dist/types/utils/url.d.ts +1 -0
  76. package/package.json +14 -14
@@ -54,7 +54,7 @@ function createAuthStateMachine(paraCoreInterface) {
54
54
  connectExternalWallet: createConnectExternalWalletActor(paraCoreInterface.externalWalletService),
55
55
  signExternalWalletVerification: createSignExternalWalletVerificationActor(paraCoreInterface.externalWalletService),
56
56
  switchExternalWallet: createSwitchExternalWalletActor(paraCoreInterface.externalWalletService),
57
- logoutActor: fromPromise(() => __async(this, null, function* () {
57
+ logoutActor: fromPromise(() => __async(null, null, function* () {
58
58
  yield paraCoreInterface.logout({ skipStateReset: true });
59
59
  }))
60
60
  },
@@ -277,7 +277,7 @@ function createAuthStateMachine(paraCoreInterface) {
277
277
  let oauthSessionLookupId;
278
278
  let oauthAuthState = null;
279
279
  return {
280
- init: () => __async(this, null, function* () {
280
+ init: () => __async(null, null, function* () {
281
281
  try {
282
282
  const { sessionLookupId } = yield paraCoreInterface.pollingService.initOAuthPolling({
283
283
  onOAuthPopup,
@@ -292,7 +292,7 @@ function createAuthStateMachine(paraCoreInterface) {
292
292
  throw new Error(`OAuth initialization failed: ${extractErrorMessage(error, "Unknown error")}`);
293
293
  }
294
294
  }),
295
- checkCondition: () => __async(this, null, function* () {
295
+ checkCondition: () => __async(null, null, function* () {
296
296
  try {
297
297
  const result = yield paraCoreInterface.pollingService.waitForOAuth({
298
298
  onSuccess: (serverAuthState) => {
@@ -320,6 +320,11 @@ function createAuthStateMachine(paraCoreInterface) {
320
320
  return (_b = (_a = event.data).onCancel) == null ? void 0 : _b.call(_a);
321
321
  },
322
322
  isCanceled: event.data.isCanceled || (() => false),
323
+ // verify-oauth buffers success server-side, so closing the in-app browser
324
+ // right after authenticating (Apple's Face ID confirm is near-instant) can
325
+ // land as "cancel" for a login that already succeeded — re-check once
326
+ // before giving up (ENG-6993).
327
+ graceCheckOnCancel: true,
323
328
  id: "authenticatingOauth"
324
329
  };
325
330
  }
@@ -605,7 +610,7 @@ function createAuthStateMachine(paraCoreInterface) {
605
610
  var _a;
606
611
  let farcasterAuthState = null;
607
612
  return {
608
- checkCondition: () => __async(this, null, function* () {
613
+ checkCondition: () => __async(null, null, function* () {
609
614
  try {
610
615
  const result = yield paraCoreInterface.pollingService.waitForFarcasterAuth({
611
616
  onSuccess: (serverAuthState) => {
@@ -877,7 +882,7 @@ function createAuthStateMachine(paraCoreInterface) {
877
882
  var _a;
878
883
  let resolvedAuthState = null;
879
884
  return {
880
- checkCondition: () => __async(this, null, function* () {
885
+ checkCondition: () => __async(null, null, function* () {
881
886
  try {
882
887
  const result = yield paraCoreInterface.pollingService.waitForOAuth({
883
888
  onSuccess: (serverAuthState) => {
@@ -898,6 +903,8 @@ function createAuthStateMachine(paraCoreInterface) {
898
903
  return (_b = (_a2 = context.pollingCallbacks) == null ? void 0 : _a2.onCancel) == null ? void 0 : _b.call(_a2);
899
904
  },
900
905
  isCanceled: ((_a = context.pollingCallbacks) == null ? void 0 : _a.isCanceled) || (() => false),
906
+ // Same cancel-races-completion window as authenticating_oauth (ENG-6993).
907
+ graceCheckOnCancel: true,
901
908
  id: "resolving2fa"
902
909
  };
903
910
  },
@@ -1069,7 +1076,7 @@ function createAuthStateMachine(paraCoreInterface) {
1069
1076
  input: ({ context }) => {
1070
1077
  var _a;
1071
1078
  return {
1072
- init: () => __async(this, null, function* () {
1079
+ init: () => __async(null, null, function* () {
1073
1080
  try {
1074
1081
  yield paraCoreInterface.sessionManagementService.touchSession();
1075
1082
  if (!paraCoreInterface.authService.isExternalWalletAuth) {
@@ -1080,7 +1087,7 @@ function createAuthStateMachine(paraCoreInterface) {
1080
1087
  throw new Error(`Session touch failed: ${extractErrorMessage(error, "Unknown error")}`);
1081
1088
  }
1082
1089
  }),
1083
- checkCondition: () => __async(this, null, function* () {
1090
+ checkCondition: () => __async(null, null, function* () {
1084
1091
  try {
1085
1092
  return yield paraCoreInterface.pollingService.waitForSession();
1086
1093
  } catch (error) {
@@ -18,7 +18,7 @@ function createCoreStateMachine(paraCoreInterface) {
18
18
  waitForExternalWalletProviders: createWaitForExternalWalletProvidersActor(paraCoreInterface),
19
19
  authMachine: createAuthStateMachine(paraCoreInterface),
20
20
  walletMachine: createWalletStateMachine(paraCoreInterface),
21
- logoutPara: fromPromise(() => __async(this, null, function* () {
21
+ logoutPara: fromPromise(() => __async(null, null, function* () {
22
22
  yield paraCoreInterface.logout();
23
23
  }))
24
24
  },
@@ -283,7 +283,7 @@ function createWalletStateMachine(paraCoreInterface) {
283
283
  input: ({ context, self }) => {
284
284
  var _a;
285
285
  return {
286
- checkCondition: () => __async(this, null, function* () {
286
+ checkCondition: () => __async(null, null, function* () {
287
287
  try {
288
288
  return yield paraCoreInterface.pollingService.waitForWallets({ parent: self })();
289
289
  } catch (error) {
@@ -27,7 +27,7 @@ function wrapWithSpan(name, fn, attributes) {
27
27
  const parentCtx = activeSpan ? active : (_b = (_a = getModalSessionContext()) != null ? _a : defaultParentContext) != null ? _b : active;
28
28
  return otelContext.with(
29
29
  parentCtx,
30
- () => getTracer().startActiveSpan(name, { attributes }, (span) => __async(this, null, function* () {
30
+ () => getTracer().startActiveSpan(name, { attributes }, (span) => __async(null, null, function* () {
31
31
  try {
32
32
  const result = yield fn(span);
33
33
  return result;
@@ -4,7 +4,8 @@ import {
4
4
  import { upload } from "../transmission/transmissionUtils.js";
5
5
  import { Environment } from "../types/index.js";
6
6
  function getGlobalPortalUrlOverride() {
7
- const override = typeof globalThis !== "undefined" ? globalThis.__PARA_PORTAL_URL_OVERRIDE__ : void 0;
7
+ var _a;
8
+ const override = (_a = typeof globalThis !== "undefined" ? globalThis.__PARA_PORTAL_URL_OVERRIDE__ : void 0) != null ? _a : typeof process !== "undefined" ? process.env.PARA_PORTAL_URL : void 0;
8
9
  return typeof override === "string" && override ? override : void 0;
9
10
  }
10
11
  function getPortalDomain(env, isE2E, isLegacy) {
@@ -27,7 +28,7 @@ function getPortalDomain(env, isE2E, isLegacy) {
27
28
  }
28
29
  function getPortalBaseURL({ env, isE2E, portalUrlOverride }, useLocalIp, isForWasm, isLegacy) {
29
30
  const resolvedPortalUrlOverride = portalUrlOverride != null ? portalUrlOverride : getGlobalPortalUrlOverride();
30
- if (resolvedPortalUrlOverride && !isForWasm) {
31
+ if (resolvedPortalUrlOverride) {
31
32
  return new URL(resolvedPortalUrlOverride).origin;
32
33
  }
33
34
  if (isE2E) {
@@ -91,6 +92,7 @@ function shortenUrl(ctx, url, isLegacy) {
91
92
  }
92
93
  export {
93
94
  constructUrl,
95
+ getGlobalPortalUrlOverride,
94
96
  getParaConnectBaseUrl,
95
97
  getParaConnectDomain,
96
98
  getPortalBaseURL,
@@ -0,0 +1,4 @@
1
+ type DevUrlScheme = 'http' | 'ws';
2
+ export declare function getDevApiBaseUrlOverride(apiBaseUrlOverride?: string, scheme?: DevUrlScheme): string | undefined;
3
+ export declare function getDevMPCNetworkUrlOverride(mpcNetworkUrlOverride?: string, useWebsocket?: boolean): string | undefined;
4
+ export {};
@@ -1,8 +1,8 @@
1
1
  import Client from '@getpara/user-management-client';
2
2
  import { Environment } from '../types/index.js';
3
- export declare function getBaseOAuthUrl(env: Environment): string;
4
- export declare function getBaseUrl(env: Environment, scheme?: 'http' | 'ws'): string;
5
- export declare function getBaseMPCNetworkUrl(env: Environment, useWebsocket?: boolean): string;
3
+ export declare function getBaseOAuthUrl(env: Environment, apiBaseUrlOverride?: string): string;
4
+ export declare function getBaseUrl(env: Environment, scheme?: 'http' | 'ws', apiBaseUrlOverride?: string): string;
5
+ export declare function getBaseMPCNetworkUrl(env: Environment, useWebsocket?: boolean, mpcNetworkUrlOverride?: string): string;
6
6
  /**
7
7
  * Maps a raw host-platform / sdkType value onto the normalized `client_type`
8
8
  * dimension used by backend analytics + Sentry. Unknown values (e.g. BRIDGE
@@ -11,7 +11,7 @@ export declare function getBaseMPCNetworkUrl(env: Environment, useWebsocket?: bo
11
11
  * outside this core SDK path.
12
12
  */
13
13
  export declare function normalizePlatform(platform?: string): string | undefined;
14
- export declare function initClient({ env, version, apiKey, partnerId, platform, useFetchAdapter, retrieveSessionCookie, persistSessionCookie, staticTraceContext, httpAgent, httpsAgent, }: {
14
+ export declare function initClient({ env, version, apiKey, partnerId, platform, useFetchAdapter, retrieveSessionCookie, persistSessionCookie, staticTraceContext, httpAgent, httpsAgent, apiBaseUrlOverride, }: {
15
15
  env: Environment;
16
16
  version?: string;
17
17
  apiKey: string;
@@ -24,4 +24,5 @@ export declare function initClient({ env, version, apiKey, partnerId, platform,
24
24
  staticTraceContext?: Record<string, string>;
25
25
  httpAgent?: unknown;
26
26
  httpsAgent?: unknown;
27
+ apiBaseUrlOverride?: string;
27
28
  }): Client;
@@ -34,6 +34,15 @@ export interface PollingConfig<T> extends PollingCallbacks {
34
34
  intervalMs?: number;
35
35
  timeoutMs?: number;
36
36
  id?: string;
37
+ /**
38
+ * Run one final `checkCondition` when cancellation is detected, and resolve COMPLETE
39
+ * if it reports finished. For polls whose condition is durable server-side (e.g.
40
+ * verify-oauth), cancellation can race an already-successful completion — the user
41
+ * closes the in-app browser after authenticating but before the next poll tick —
42
+ * and without this check the SDK reports "canceled" for a login that succeeded
43
+ * (ENG-6993).
44
+ */
45
+ graceCheckOnCancel?: boolean;
37
46
  }
38
47
  export type PollingResult<T> = {
39
48
  type: 'COMPLETE';
@@ -850,6 +850,7 @@ export declare function createAuthStateMachine(paraCoreInterface: StateMachineIn
850
850
  onPoll: () => void;
851
851
  onCancel: () => void;
852
852
  isCanceled: () => boolean;
853
+ graceCheckOnCancel: true;
853
854
  id: string;
854
855
  };
855
856
  readonly onError: {
@@ -2167,6 +2168,7 @@ export declare function createAuthStateMachine(paraCoreInterface: StateMachineIn
2167
2168
  onPoll: () => void;
2168
2169
  onCancel: () => void;
2169
2170
  isCanceled: () => boolean;
2171
+ graceCheckOnCancel: true;
2170
2172
  id: string;
2171
2173
  };
2172
2174
  readonly onError: {
@@ -850,6 +850,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
850
850
  onPoll: () => void;
851
851
  onCancel: () => void;
852
852
  isCanceled: () => boolean;
853
+ graceCheckOnCancel: true;
853
854
  id: string;
854
855
  };
855
856
  readonly onError: {
@@ -2167,6 +2168,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
2167
2168
  onPoll: () => void;
2168
2169
  onCancel: () => void;
2169
2170
  isCanceled: () => boolean;
2171
+ graceCheckOnCancel: true;
2170
2172
  id: string;
2171
2173
  };
2172
2174
  readonly onError: {
@@ -4672,6 +4674,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
4672
4674
  onPoll: () => void;
4673
4675
  onCancel: () => void;
4674
4676
  isCanceled: () => boolean;
4677
+ graceCheckOnCancel: true;
4675
4678
  id: string;
4676
4679
  };
4677
4680
  readonly onError: {
@@ -5989,6 +5992,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
5989
5992
  onPoll: () => void;
5990
5993
  onCancel: () => void;
5991
5994
  isCanceled: () => boolean;
5995
+ graceCheckOnCancel: true;
5992
5996
  id: string;
5993
5997
  };
5994
5998
  readonly onError: {
@@ -8572,6 +8576,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
8572
8576
  onPoll: () => void;
8573
8577
  onCancel: () => void;
8574
8578
  isCanceled: () => boolean;
8579
+ graceCheckOnCancel: true;
8575
8580
  id: string;
8576
8581
  };
8577
8582
  readonly onError: {
@@ -9889,6 +9894,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
9889
9894
  onPoll: () => void;
9890
9895
  onCancel: () => void;
9891
9896
  isCanceled: () => boolean;
9897
+ graceCheckOnCancel: true;
9892
9898
  id: string;
9893
9899
  };
9894
9900
  readonly onError: {
@@ -12410,6 +12416,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
12410
12416
  onPoll: () => void;
12411
12417
  onCancel: () => void;
12412
12418
  isCanceled: () => boolean;
12419
+ graceCheckOnCancel: true;
12413
12420
  id: string;
12414
12421
  };
12415
12422
  readonly onError: {
@@ -13727,6 +13734,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
13727
13734
  onPoll: () => void;
13728
13735
  onCancel: () => void;
13729
13736
  isCanceled: () => boolean;
13737
+ graceCheckOnCancel: true;
13730
13738
  id: string;
13731
13739
  };
13732
13740
  readonly onError: {
@@ -16345,6 +16353,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
16345
16353
  onPoll: () => void;
16346
16354
  onCancel: () => void;
16347
16355
  isCanceled: () => boolean;
16356
+ graceCheckOnCancel: true;
16348
16357
  id: string;
16349
16358
  };
16350
16359
  readonly onError: {
@@ -17662,6 +17671,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
17662
17671
  onPoll: () => void;
17663
17672
  onCancel: () => void;
17664
17673
  isCanceled: () => boolean;
17674
+ graceCheckOnCancel: true;
17665
17675
  id: string;
17666
17676
  };
17667
17677
  readonly onError: {
@@ -20184,6 +20194,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
20184
20194
  onPoll: () => void;
20185
20195
  onCancel: () => void;
20186
20196
  isCanceled: () => boolean;
20197
+ graceCheckOnCancel: true;
20187
20198
  id: string;
20188
20199
  };
20189
20200
  readonly onError: {
@@ -21501,6 +21512,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
21501
21512
  onPoll: () => void;
21502
21513
  onCancel: () => void;
21503
21514
  isCanceled: () => boolean;
21515
+ graceCheckOnCancel: true;
21504
21516
  id: string;
21505
21517
  };
21506
21518
  readonly onError: {
@@ -17,6 +17,8 @@ export interface Ctx {
17
17
  disableWorkers?: boolean;
18
18
  offloadMPCComputationURL?: string;
19
19
  mpcComputationClient?: AxiosInstance;
20
+ apiBaseUrlOverride?: string;
21
+ mpcNetworkUrlOverride?: string;
20
22
  useLocalFiles?: boolean;
21
23
  useDKLS?: boolean;
22
24
  disableWebSockets: boolean;
@@ -1,4 +1,5 @@
1
1
  import { Ctx, Environment } from '../types/index.js';
2
+ export declare function getGlobalPortalUrlOverride(): string | undefined;
2
3
  export declare function getPortalDomain(env: Environment, isE2E?: boolean, isLegacy?: boolean): string;
3
4
  export declare function getPortalBaseURL({ env, isE2E, portalUrlOverride }: {
4
5
  env: Environment;
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
1
  {
2
2
  "name": "@getpara/core-sdk",
3
- "version": "3.5.1",
3
+ "version": "3.7.0",
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": "3.5.1",
8
+ "@getpara/user-management-client": "3.7.0",
9
9
  "@noble/hashes": "^1.5.0",
10
10
  "@opentelemetry/api": "^1.9.1",
11
- "@opentelemetry/context-zone": "^2.7.1",
12
- "@opentelemetry/core": "^2.7.0",
13
- "@opentelemetry/exporter-trace-otlp-http": "^0.215.0",
14
- "@opentelemetry/instrumentation": "^0.215.0",
15
- "@opentelemetry/instrumentation-fetch": "^0.215.0",
16
- "@opentelemetry/instrumentation-xml-http-request": "^0.216.0",
17
- "@opentelemetry/otlp-transformer": "^0.215.0",
18
- "@opentelemetry/resources": "^2.7.0",
19
- "@opentelemetry/sdk-trace-base": "^2.7.0",
11
+ "@opentelemetry/context-zone": "^2.9.0",
12
+ "@opentelemetry/core": "^2.9.0",
13
+ "@opentelemetry/exporter-trace-otlp-http": "^0.220.0",
14
+ "@opentelemetry/instrumentation": "^0.220.0",
15
+ "@opentelemetry/instrumentation-fetch": "^0.220.0",
16
+ "@opentelemetry/instrumentation-xml-http-request": "^0.220.0",
17
+ "@opentelemetry/otlp-transformer": "^0.220.0",
18
+ "@opentelemetry/resources": "^2.9.0",
19
+ "@opentelemetry/sdk-trace-base": "^2.9.0",
20
20
  "@opentelemetry/semantic-conventions": "^1.40.0",
21
21
  "axios": "^1.8.4",
22
22
  "base64url": "^3.0.1",
23
23
  "elliptic": "^6.6.1",
24
24
  "libphonenumber-js": "^1.11.7",
25
- "node-forge": "^1.3.1",
26
- "uuid": "^11.1.0",
25
+ "node-forge": "^1.4.0",
26
+ "uuid": "^11.1.1",
27
27
  "xstate": "^5.24.0"
28
28
  },
29
29
  "devDependencies": {
@@ -41,7 +41,7 @@
41
41
  "dist",
42
42
  "package.json"
43
43
  ],
44
- "gitHead": "362fc377edf3cca5f743679498ff4908921c8468",
44
+ "gitHead": "ab8876230a5d00b2c620bd23a4e3ed69762fc192",
45
45
  "main": "dist/cjs/index.js",
46
46
  "module": "dist/esm/index.js",
47
47
  "scripts": {