@dynamic-labs-sdk/client 1.15.0 → 1.16.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/{InvalidParamError-BPY2yug_.cjs → InvalidParamError-DHriGGNI.cjs} +4 -4
  2. package/dist/{InvalidParamError-BPY2yug_.cjs.map → InvalidParamError-DHriGGNI.cjs.map} +1 -1
  3. package/dist/{InvalidParamError-DSXDW6g4.native.esm.js → InvalidParamError-DYezznCD.native.esm.js} +3 -3
  4. package/dist/{InvalidParamError-DSXDW6g4.native.esm.js.map → InvalidParamError-DYezznCD.native.esm.js.map} +1 -1
  5. package/dist/{InvalidParamError-CXCYtY0p.esm.js → InvalidParamError-Dn_riAvL.esm.js} +3 -3
  6. package/dist/{InvalidParamError-CXCYtY0p.esm.js.map → InvalidParamError-Dn_riAvL.esm.js.map} +1 -1
  7. package/dist/core.cjs +5 -5
  8. package/dist/core.esm.js +7 -7
  9. package/dist/core.esm.js.map +1 -1
  10. package/dist/core.native.esm.js +5 -5
  11. package/dist/{getNetworkProviderFromNetworkId-b-H_ta9Q.native.esm.js → getNetworkProviderFromNetworkId-BURAkmc3.native.esm.js} +4 -4
  12. package/dist/{getNetworkProviderFromNetworkId-b-H_ta9Q.native.esm.js.map → getNetworkProviderFromNetworkId-BURAkmc3.native.esm.js.map} +1 -1
  13. package/dist/{getNetworkProviderFromNetworkId-DCwFIoM3.cjs → getNetworkProviderFromNetworkId-BpvoqbEH.cjs} +4 -4
  14. package/dist/{getNetworkProviderFromNetworkId-DCwFIoM3.cjs.map → getNetworkProviderFromNetworkId-BpvoqbEH.cjs.map} +1 -1
  15. package/dist/{getNetworkProviderFromNetworkId-_pvqm2fB.esm.js → getNetworkProviderFromNetworkId-CregkqLB.esm.js} +7 -7
  16. package/dist/getNetworkProviderFromNetworkId-CregkqLB.esm.js.map +1 -0
  17. package/dist/{getSignedSessionId-NZR0A-EZ.cjs → getSignedSessionId-C98wdvMw.cjs} +3 -3
  18. package/dist/{getSignedSessionId-NZR0A-EZ.cjs.map → getSignedSessionId-C98wdvMw.cjs.map} +1 -1
  19. package/dist/{getSignedSessionId-D7Q9q-oy.esm.js → getSignedSessionId-Czpvp58E.esm.js} +3 -3
  20. package/dist/{getSignedSessionId-D7Q9q-oy.esm.js.map → getSignedSessionId-Czpvp58E.esm.js.map} +1 -1
  21. package/dist/{getSignedSessionId-Co8y0azF.native.esm.js → getSignedSessionId-upC71vLP.native.esm.js} +3 -3
  22. package/dist/{getSignedSessionId-Co8y0azF.native.esm.js.map → getSignedSessionId-upC71vLP.native.esm.js.map} +1 -1
  23. package/dist/{getWaasWalletProviderFromWalletAccount-CUgNeKaa.cjs → getWaasWalletProviderFromWalletAccount-BrskhuL8.cjs} +3 -3
  24. package/dist/{getWaasWalletProviderFromWalletAccount-CUgNeKaa.cjs.map → getWaasWalletProviderFromWalletAccount-BrskhuL8.cjs.map} +1 -1
  25. package/dist/{getWaasWalletProviderFromWalletAccount-DLq_TjmC.native.esm.js → getWaasWalletProviderFromWalletAccount-DHKga3uH.native.esm.js} +3 -3
  26. package/dist/{getWaasWalletProviderFromWalletAccount-DLq_TjmC.native.esm.js.map → getWaasWalletProviderFromWalletAccount-DHKga3uH.native.esm.js.map} +1 -1
  27. package/dist/{getWaasWalletProviderFromWalletAccount-DNBPKg4j.esm.js → getWaasWalletProviderFromWalletAccount-Dc6QvHVt.esm.js} +3 -3
  28. package/dist/{getWaasWalletProviderFromWalletAccount-DNBPKg4j.esm.js.map → getWaasWalletProviderFromWalletAccount-Dc6QvHVt.esm.js.map} +1 -1
  29. package/dist/{getWalletProviderByKey-DZrpcmPE.cjs → getWalletProviderByKey-DDNCUbUe.cjs} +3 -3
  30. package/dist/{getWalletProviderByKey-DZrpcmPE.cjs.map → getWalletProviderByKey-DDNCUbUe.cjs.map} +1 -1
  31. package/dist/{getWalletProviderByKey-C4KTyeYY.esm.js → getWalletProviderByKey-DTi6MhKt.esm.js} +2 -2
  32. package/dist/{getWalletProviderByKey-C4KTyeYY.esm.js.map → getWalletProviderByKey-DTi6MhKt.esm.js.map} +1 -1
  33. package/dist/{getWalletProviderByKey-Dk_K8Lg8.native.esm.js → getWalletProviderByKey-OYhHm11_.native.esm.js} +2 -2
  34. package/dist/{getWalletProviderByKey-Dk_K8Lg8.native.esm.js.map → getWalletProviderByKey-OYhHm11_.native.esm.js.map} +1 -1
  35. package/dist/index.cjs +8 -8
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.esm.js +11 -11
  38. package/dist/index.esm.js.map +1 -1
  39. package/dist/index.native.esm.js +8 -8
  40. package/dist/index.native.esm.js.map +1 -1
  41. package/dist/{isDynamicWaasEnabled-DQ1mtWZv.cjs → isDynamicWaasEnabled-Bj3v8LZ_.cjs} +3 -3
  42. package/dist/{isDynamicWaasEnabled-DQ1mtWZv.cjs.map → isDynamicWaasEnabled-Bj3v8LZ_.cjs.map} +1 -1
  43. package/dist/{isDynamicWaasEnabled-C9aVoXek.esm.js → isDynamicWaasEnabled-CuSe2RO1.esm.js} +2 -2
  44. package/dist/{isDynamicWaasEnabled-C9aVoXek.esm.js.map → isDynamicWaasEnabled-CuSe2RO1.esm.js.map} +1 -1
  45. package/dist/{isDynamicWaasEnabled-DNtxO0Bc.native.esm.js → isDynamicWaasEnabled-CvD8_c7H.native.esm.js} +2 -2
  46. package/dist/{isDynamicWaasEnabled-DNtxO0Bc.native.esm.js.map → isDynamicWaasEnabled-CvD8_c7H.native.esm.js.map} +1 -1
  47. package/dist/{isMfaRequiredForAction-BhLg6M8J.esm.js → isMfaRequiredForAction-CgVdSGRA.esm.js} +2 -2
  48. package/dist/{isMfaRequiredForAction-BhLg6M8J.esm.js.map → isMfaRequiredForAction-CgVdSGRA.esm.js.map} +1 -1
  49. package/dist/{isMfaRequiredForAction-DsOwHl4C.cjs → isMfaRequiredForAction-DECknr5q.cjs} +2 -2
  50. package/dist/{isMfaRequiredForAction-DsOwHl4C.cjs.map → isMfaRequiredForAction-DECknr5q.cjs.map} +1 -1
  51. package/dist/{isMfaRequiredForAction-BXnpnD2X.native.esm.js → isMfaRequiredForAction-juTvf3Pl.native.esm.js} +2 -2
  52. package/dist/{isMfaRequiredForAction-BXnpnD2X.native.esm.js.map → isMfaRequiredForAction-juTvf3Pl.native.esm.js.map} +1 -1
  53. package/dist/{isUserOnboardingComplete-KFfpvN4R.esm.js → isUserOnboardingComplete-DFrrp61b.esm.js} +3 -3
  54. package/dist/{isUserOnboardingComplete-KFfpvN4R.esm.js.map → isUserOnboardingComplete-DFrrp61b.esm.js.map} +1 -1
  55. package/dist/{isUserOnboardingComplete-BRfyMejK.native.esm.js → isUserOnboardingComplete-Dtr1_Mi4.native.esm.js} +3 -3
  56. package/dist/{isUserOnboardingComplete-BRfyMejK.native.esm.js.map → isUserOnboardingComplete-Dtr1_Mi4.native.esm.js.map} +1 -1
  57. package/dist/{isUserOnboardingComplete-DrgtJIFi.cjs → isUserOnboardingComplete-DvCQh8Dj.cjs} +4 -4
  58. package/dist/{isUserOnboardingComplete-DrgtJIFi.cjs.map → isUserOnboardingComplete-DvCQh8Dj.cjs.map} +1 -1
  59. package/dist/modules/flow/attachFlowSource/attachFlowSource.d.ts +3 -3
  60. package/dist/modules/flow/attachFlowSource/attachFlowSource.d.ts.map +1 -1
  61. package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts +1 -1
  62. package/dist/{refreshAuth-CfUYFXh_.native.esm.js → refreshAuth-CKHkaRJo.native.esm.js} +3 -3
  63. package/dist/{refreshAuth-CfUYFXh_.native.esm.js.map → refreshAuth-CKHkaRJo.native.esm.js.map} +1 -1
  64. package/dist/{refreshAuth-BnkCuIdw.esm.js → refreshAuth-Q5fxSi3Z.esm.js} +3 -3
  65. package/dist/{refreshAuth-BnkCuIdw.esm.js.map → refreshAuth-Q5fxSi3Z.esm.js.map} +1 -1
  66. package/dist/{refreshAuth-DvHy0g8j.cjs → refreshAuth-oycoOXtD.cjs} +3 -3
  67. package/dist/{refreshAuth-DvHy0g8j.cjs.map → refreshAuth-oycoOXtD.cjs.map} +1 -1
  68. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  69. package/dist/waas.cjs +6 -6
  70. package/dist/waas.esm.js +5 -5
  71. package/dist/waas.native.esm.js +5 -5
  72. package/dist/waasCore.cjs +6 -6
  73. package/dist/waasCore.esm.js +6 -6
  74. package/dist/waasCore.native.esm.js +6 -6
  75. package/package.json +4 -4
  76. package/dist/getNetworkProviderFromNetworkId-_pvqm2fB.esm.js.map +0 -1
@@ -12,7 +12,7 @@ type GetActiveNetworkDataParams = {
12
12
  * @param params.walletAccount - The wallet account to get network data for.
13
13
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
14
14
  * @returns A promise that resolves to the network data, or undefined if not found.
15
- * @notInstrumented
15
+ * @notInstrumented
16
16
  */
17
17
  export declare const getActiveNetworkData: ({ walletAccount }: GetActiveNetworkDataParams, client?: import("../../../../exports").DynamicClient) => Promise<{
18
18
  networkData: import("../networkProvider/networkProvider.types").NetworkData | undefined;
@@ -1,5 +1,5 @@
1
- import { $ as getCore, O as createApiClient, Y as getDefaultClient, l as instrumentFunction } from "./InvalidParamError-DSXDW6g4.native.esm.js";
2
- import { r as updateAuthFromVerifyResponse } from "./getWalletProviderByKey-Dk_K8Lg8.native.esm.js";
1
+ import { $ as getCore, O as createApiClient, Y as getDefaultClient, l as instrumentFunction } from "./InvalidParamError-DYezznCD.native.esm.js";
2
+ import { r as updateAuthFromVerifyResponse } from "./getWalletProviderByKey-OYhHm11_.native.esm.js";
3
3
 
4
4
  //#region src/modules/user/refreshAuth/refreshAuth.ts
5
5
  /**
@@ -35,4 +35,4 @@ const __refreshAuth_wrapped = instrumentFunction({
35
35
 
36
36
  //#endregion
37
37
  export { __refreshAuth_wrapped as t };
38
- //# sourceMappingURL=refreshAuth-CfUYFXh_.native.esm.js.map
38
+ //# sourceMappingURL=refreshAuth-CKHkaRJo.native.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"refreshAuth-CfUYFXh_.native.esm.js","names":[],"sources":["../src/modules/user/refreshAuth/refreshAuth.ts"],"sourcesContent":["import type { VerifyResponse } from '@dynamic-labs/sdk-api-core';\n\nimport { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\nimport { updateAuthFromVerifyResponse } from '../../auth/updateAuthFromVerifyResponse';\n\n/**\n * Refreshes the current user's data from the server.\n *\n * This function fetches the latest user information and token from the backend\n * updating the local user and token states with any changes.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the verify response.\n * @instrumented\n * @redact-params\n */\nexport const refreshAuth = async (\n client = getDefaultClient()\n): Promise<VerifyResponse> => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const response = await apiClient.refreshAuth({\n environmentId: core.environmentId,\n });\n\n updateAuthFromVerifyResponse({ response }, client);\n\n return response;\n};\n"],"mappings":";;;;;;;;;;;;;;;AAqBA,MAAE,cAAa,OACb,SAAM,kBAAY;CAElB,MAAM,OAAA,QAAW,OAAM;wBACN,gBAAK,EAAa,EAAA,OAAA,eAGnC,eAAA,KAAA;AAGD,8BAAA,EAAA,UAAA,EAAA,OAAA"}
1
+ {"version":3,"file":"refreshAuth-CKHkaRJo.native.esm.js","names":[],"sources":["../src/modules/user/refreshAuth/refreshAuth.ts"],"sourcesContent":["import type { VerifyResponse } from '@dynamic-labs/sdk-api-core';\n\nimport { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\nimport { updateAuthFromVerifyResponse } from '../../auth/updateAuthFromVerifyResponse';\n\n/**\n * Refreshes the current user's data from the server.\n *\n * This function fetches the latest user information and token from the backend\n * updating the local user and token states with any changes.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the verify response.\n * @instrumented\n * @redact-params\n */\nexport const refreshAuth = async (\n client = getDefaultClient()\n): Promise<VerifyResponse> => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const response = await apiClient.refreshAuth({\n environmentId: core.environmentId,\n });\n\n updateAuthFromVerifyResponse({ response }, client);\n\n return response;\n};\n"],"mappings":";;;;;;;;;;;;;;;AAqBA,MAAE,cAAa,OACb,SAAM,kBAAY;CAElB,MAAM,OAAA,QAAW,OAAM;wBACN,gBAAK,EAAa,EAAA,OAAA,eAGnC,eAAA,KAAA;AAGD,8BAAA,EAAA,UAAA,EAAA,OAAA"}
@@ -1,5 +1,5 @@
1
- import { R as createApiClient, at as getDefaultClient, l as instrumentFunction, lt as getCore } from "./InvalidParamError-CXCYtY0p.esm.js";
2
- import { r as updateAuthFromVerifyResponse } from "./getWalletProviderByKey-C4KTyeYY.esm.js";
1
+ import { R as createApiClient, at as getDefaultClient, l as instrumentFunction, lt as getCore } from "./InvalidParamError-Dn_riAvL.esm.js";
2
+ import { r as updateAuthFromVerifyResponse } from "./getWalletProviderByKey-DTi6MhKt.esm.js";
3
3
 
4
4
  //#region src/modules/user/refreshAuth/refreshAuth.ts
5
5
  /**
@@ -35,4 +35,4 @@ const __refreshAuth_wrapped = instrumentFunction({
35
35
 
36
36
  //#endregion
37
37
  export { __refreshAuth_wrapped as t };
38
- //# sourceMappingURL=refreshAuth-BnkCuIdw.esm.js.map
38
+ //# sourceMappingURL=refreshAuth-Q5fxSi3Z.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"refreshAuth-BnkCuIdw.esm.js","names":[],"sources":["../src/modules/user/refreshAuth/refreshAuth.ts"],"sourcesContent":["import type { VerifyResponse } from '@dynamic-labs/sdk-api-core';\n\nimport { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\nimport { updateAuthFromVerifyResponse } from '../../auth/updateAuthFromVerifyResponse';\n\n/**\n * Refreshes the current user's data from the server.\n *\n * This function fetches the latest user information and token from the backend\n * updating the local user and token states with any changes.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the verify response.\n * @instrumented\n * @redact-params\n */\nexport const refreshAuth = async (\n client = getDefaultClient()\n): Promise<VerifyResponse> => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const response = await apiClient.refreshAuth({\n environmentId: core.environmentId,\n });\n\n updateAuthFromVerifyResponse({ response }, client);\n\n return response;\n};\n"],"mappings":";;;;;;;;;;;;;;;AAqBA,MAAE,cAAa,OACb,SAAM,kBAAY;CAElB,MAAM,OAAA,QAAW,OAAM;wBACN,gBAAK,EAAa,EAAA,OAAA,eAGnC,eAAA,KAAA;AAGD,8BAAA,EAAA,UAAA,EAAA,OAAA"}
1
+ {"version":3,"file":"refreshAuth-Q5fxSi3Z.esm.js","names":[],"sources":["../src/modules/user/refreshAuth/refreshAuth.ts"],"sourcesContent":["import type { VerifyResponse } from '@dynamic-labs/sdk-api-core';\n\nimport { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\nimport { updateAuthFromVerifyResponse } from '../../auth/updateAuthFromVerifyResponse';\n\n/**\n * Refreshes the current user's data from the server.\n *\n * This function fetches the latest user information and token from the backend\n * updating the local user and token states with any changes.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the verify response.\n * @instrumented\n * @redact-params\n */\nexport const refreshAuth = async (\n client = getDefaultClient()\n): Promise<VerifyResponse> => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const response = await apiClient.refreshAuth({\n environmentId: core.environmentId,\n });\n\n updateAuthFromVerifyResponse({ response }, client);\n\n return response;\n};\n"],"mappings":";;;;;;;;;;;;;;;AAqBA,MAAE,cAAa,OACb,SAAM,kBAAY;CAElB,MAAM,OAAA,QAAW,OAAM;wBACN,gBAAK,EAAa,EAAA,OAAA,eAGnC,eAAA,KAAA;AAGD,8BAAA,EAAA,UAAA,EAAA,OAAA"}
@@ -1,5 +1,5 @@
1
- const require_InvalidParamError = require('./InvalidParamError-BPY2yug_.cjs');
2
- const require_getWalletProviderByKey = require('./getWalletProviderByKey-DZrpcmPE.cjs');
1
+ const require_InvalidParamError = require('./InvalidParamError-DHriGGNI.cjs');
2
+ const require_getWalletProviderByKey = require('./getWalletProviderByKey-DDNCUbUe.cjs');
3
3
 
4
4
  //#region src/modules/user/refreshAuth/refreshAuth.ts
5
5
  /**
@@ -40,4 +40,4 @@ Object.defineProperty(exports, '__refreshAuth_wrapped', {
40
40
  return __refreshAuth_wrapped;
41
41
  }
42
42
  });
43
- //# sourceMappingURL=refreshAuth-DvHy0g8j.cjs.map
43
+ //# sourceMappingURL=refreshAuth-oycoOXtD.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"refreshAuth-DvHy0g8j.cjs","names":[],"sources":["../src/modules/user/refreshAuth/refreshAuth.ts"],"sourcesContent":["import type { VerifyResponse } from '@dynamic-labs/sdk-api-core';\n\nimport { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\nimport { updateAuthFromVerifyResponse } from '../../auth/updateAuthFromVerifyResponse';\n\n/**\n * Refreshes the current user's data from the server.\n *\n * This function fetches the latest user information and token from the backend\n * updating the local user and token states with any changes.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the verify response.\n * @instrumented\n * @redact-params\n */\nexport const refreshAuth = async (\n client = getDefaultClient()\n): Promise<VerifyResponse> => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const response = await apiClient.refreshAuth({\n environmentId: core.environmentId,\n });\n\n updateAuthFromVerifyResponse({ response }, client);\n\n return response;\n};\n"],"mappings":";;;;;;;;;;;;;;;AAqBA,MAAE,cAAa,OACb,SAAM,4CAAY;CAElB,MAAM,OAAA,kCAAW,OAAM;wBACN,0CAAK,EAAa,EAAA,OAAA,eAGnC,eAAA,KAAA;AAGD,6DAAA,EAAA,UAAA,EAAA,OAAA"}
1
+ {"version":3,"file":"refreshAuth-oycoOXtD.cjs","names":[],"sources":["../src/modules/user/refreshAuth/refreshAuth.ts"],"sourcesContent":["import type { VerifyResponse } from '@dynamic-labs/sdk-api-core';\n\nimport { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\nimport { updateAuthFromVerifyResponse } from '../../auth/updateAuthFromVerifyResponse';\n\n/**\n * Refreshes the current user's data from the server.\n *\n * This function fetches the latest user information and token from the backend\n * updating the local user and token states with any changes.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the verify response.\n * @instrumented\n * @redact-params\n */\nexport const refreshAuth = async (\n client = getDefaultClient()\n): Promise<VerifyResponse> => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const response = await apiClient.refreshAuth({\n environmentId: core.environmentId,\n });\n\n updateAuthFromVerifyResponse({ response }, client);\n\n return response;\n};\n"],"mappings":";;;;;;;;;;;;;;;AAqBA,MAAE,cAAa,OACb,SAAM,4CAAY;CAElB,MAAM,OAAA,kCAAW,OAAM;wBACN,0CAAK,EAAa,EAAA,OAAA,eAGnC,eAAA,KAAA;AAGD,6DAAA,EAAA,UAAA,EAAA,OAAA"}