@dynamic-labs-sdk/client 1.10.0 → 1.12.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.
- package/dist/{InvalidParamError-BmFmxeXx.esm.js → InvalidParamError-6N66SLG8.esm.js} +5 -2
- package/dist/{InvalidParamError-BmFmxeXx.esm.js.map → InvalidParamError-6N66SLG8.esm.js.map} +1 -1
- package/dist/{InvalidParamError-CGZRSAOn.cjs → InvalidParamError-Bgg4SDfm.cjs} +6 -3
- package/dist/{InvalidParamError-CGZRSAOn.cjs.map → InvalidParamError-Bgg4SDfm.cjs.map} +1 -1
- package/dist/{InvalidParamError-BxBgwLQB.native.esm.js → InvalidParamError-CjC1BFSC.native.esm.js} +4 -2
- package/dist/{InvalidParamError-BxBgwLQB.native.esm.js.map → InvalidParamError-CjC1BFSC.native.esm.js.map} +1 -1
- package/dist/client/types/DynamicClient.d.ts +3 -0
- package/dist/client/types/DynamicClient.d.ts.map +1 -1
- package/dist/core.cjs +5 -5
- package/dist/core.esm.js +5 -5
- package/dist/core.native.esm.js +5 -5
- package/dist/exports/index.d.ts +7 -1
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/exports/waasCore.d.ts +1 -0
- package/dist/exports/waasCore.d.ts.map +1 -1
- package/dist/{getNetworkProviderFromNetworkId-CsAg0JU7.esm.js → getNetworkProviderFromNetworkId--egxmnKm.esm.js} +3 -3
- package/dist/{getNetworkProviderFromNetworkId-CsAg0JU7.esm.js.map → getNetworkProviderFromNetworkId--egxmnKm.esm.js.map} +1 -1
- package/dist/{getNetworkProviderFromNetworkId-2wYAIZ6w.cjs → getNetworkProviderFromNetworkId-Afx6InoJ.cjs} +4 -4
- package/dist/{getNetworkProviderFromNetworkId-2wYAIZ6w.cjs.map → getNetworkProviderFromNetworkId-Afx6InoJ.cjs.map} +1 -1
- package/dist/{getNetworkProviderFromNetworkId-CxGbMwFL.native.esm.js → getNetworkProviderFromNetworkId-BXBlKNF9.native.esm.js} +5 -4
- package/dist/getNetworkProviderFromNetworkId-BXBlKNF9.native.esm.js.map +1 -0
- package/dist/{getSignedSessionId-E9JM9zum.esm.js → getSignedSessionId-CsawYVfU.esm.js} +3 -3
- package/dist/{getSignedSessionId-E9JM9zum.esm.js.map → getSignedSessionId-CsawYVfU.esm.js.map} +1 -1
- package/dist/{getSignedSessionId-BZHJglv0.native.esm.js → getSignedSessionId-DWb6By0V.native.esm.js} +3 -3
- package/dist/{getSignedSessionId-BZHJglv0.native.esm.js.map → getSignedSessionId-DWb6By0V.native.esm.js.map} +1 -1
- package/dist/{getSignedSessionId-E3o2_FL7.cjs → getSignedSessionId-Kf9jJ8g0.cjs} +3 -3
- package/dist/{getSignedSessionId-E3o2_FL7.cjs.map → getSignedSessionId-Kf9jJ8g0.cjs.map} +1 -1
- package/dist/{getWaasWalletProviderFromWalletAccount-BaxUhLEp.cjs → getWaasWalletProviderFromWalletAccount-BZuQj_tI.cjs} +4 -4
- package/dist/{getWaasWalletProviderFromWalletAccount-BaxUhLEp.cjs.map → getWaasWalletProviderFromWalletAccount-BZuQj_tI.cjs.map} +1 -1
- package/dist/{getWaasWalletProviderFromWalletAccount-CeoFLRbo.native.esm.js → getWaasWalletProviderFromWalletAccount-ChxW7xBR.native.esm.js} +3 -3
- package/dist/{getWaasWalletProviderFromWalletAccount-CeoFLRbo.native.esm.js.map → getWaasWalletProviderFromWalletAccount-ChxW7xBR.native.esm.js.map} +1 -1
- package/dist/{getWaasWalletProviderFromWalletAccount-CXv6xEJZ.esm.js → getWaasWalletProviderFromWalletAccount-D1U_Vmr3.esm.js} +3 -3
- package/dist/{getWaasWalletProviderFromWalletAccount-CXv6xEJZ.esm.js.map → getWaasWalletProviderFromWalletAccount-D1U_Vmr3.esm.js.map} +1 -1
- package/dist/{getWalletProviderByKey-C5w8qJ0f.native.esm.js → getWalletProviderByKey-Bq0kRpuN.native.esm.js} +3 -2
- package/dist/getWalletProviderByKey-Bq0kRpuN.native.esm.js.map +1 -0
- package/dist/{getWalletProviderByKey-DMNpwDEn.cjs → getWalletProviderByKey-DRex9vzR.cjs} +3 -3
- package/dist/{getWalletProviderByKey-DMNpwDEn.cjs.map → getWalletProviderByKey-DRex9vzR.cjs.map} +1 -1
- package/dist/{getWalletProviderByKey-AQmQQpmk.esm.js → getWalletProviderByKey-OC_h7kSB.esm.js} +2 -2
- package/dist/{getWalletProviderByKey-AQmQQpmk.esm.js.map → getWalletProviderByKey-OC_h7kSB.esm.js.map} +1 -1
- package/dist/index.cjs +185 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +182 -23
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.esm.js +182 -23
- package/dist/index.native.esm.js.map +1 -1
- package/dist/isDynamicWaasEnabled-CEVTY3gQ.cjs +49 -0
- package/dist/isDynamicWaasEnabled-CEVTY3gQ.cjs.map +1 -0
- package/dist/isDynamicWaasEnabled-DDM_LAa0.native.esm.js +37 -0
- package/dist/isDynamicWaasEnabled-DDM_LAa0.native.esm.js.map +1 -0
- package/dist/isDynamicWaasEnabled-Di2FwljM.esm.js +37 -0
- package/dist/isDynamicWaasEnabled-Di2FwljM.esm.js.map +1 -0
- package/dist/{isMfaRequiredForAction-BNgq1huY.esm.js → isMfaRequiredForAction-BnAV59o-.esm.js} +3 -2
- package/dist/isMfaRequiredForAction-BnAV59o-.esm.js.map +1 -0
- package/dist/{isMfaRequiredForAction-BmJKVaMQ.native.esm.js → isMfaRequiredForAction-CPhNpJQE.native.esm.js} +2 -2
- package/dist/{isMfaRequiredForAction-BmJKVaMQ.native.esm.js.map → isMfaRequiredForAction-CPhNpJQE.native.esm.js.map} +1 -1
- package/dist/{isMfaRequiredForAction-C9Fw0v_g.cjs → isMfaRequiredForAction-DSo1ysdD.cjs} +3 -2
- package/dist/isMfaRequiredForAction-DSo1ysdD.cjs.map +1 -0
- package/dist/modules/auth/social/getUserSocialAccounts/getUserSocialAccounts.d.ts +1 -0
- package/dist/modules/auth/social/getUserSocialAccounts/getUserSocialAccounts.d.ts.map +1 -1
- package/dist/modules/auth/social/oauth/completeSocialAuthentication/completeSocialAuthentication.d.ts +1 -0
- package/dist/modules/auth/social/oauth/completeSocialAuthentication/completeSocialAuthentication.d.ts.map +1 -1
- package/dist/modules/auth/social/oauth/detectOAuthRedirect/detectOAuthRedirect.d.ts +1 -0
- package/dist/modules/auth/social/oauth/detectOAuthRedirect/detectOAuthRedirect.d.ts.map +1 -1
- package/dist/modules/auth/social/oauth/processSocialCallback/processSocialCallback.d.ts.map +1 -1
- package/dist/modules/balances/getBalances/getBalances.d.ts +1 -0
- package/dist/modules/balances/getBalances/getBalances.d.ts.map +1 -1
- package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts +1 -0
- package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts.map +1 -1
- package/dist/modules/checkout/attachCheckoutTransactionSource/attachCheckoutTransactionSource.d.ts +2 -0
- package/dist/modules/checkout/attachCheckoutTransactionSource/attachCheckoutTransactionSource.d.ts.map +1 -1
- package/dist/modules/checkout/broadcastCheckoutTransaction/broadcastCheckoutTransaction.d.ts +2 -0
- package/dist/modules/checkout/broadcastCheckoutTransaction/broadcastCheckoutTransaction.d.ts.map +1 -1
- package/dist/modules/checkout/cancelCheckoutTransaction/cancelCheckoutTransaction.d.ts +2 -0
- package/dist/modules/checkout/cancelCheckoutTransaction/cancelCheckoutTransaction.d.ts.map +1 -1
- package/dist/modules/checkout/createCheckoutTransaction/createCheckoutTransaction.d.ts +2 -0
- package/dist/modules/checkout/createCheckoutTransaction/createCheckoutTransaction.d.ts.map +1 -1
- package/dist/modules/checkout/getCheckoutTransaction/getCheckoutTransaction.d.ts +3 -1
- package/dist/modules/checkout/getCheckoutTransaction/getCheckoutTransaction.d.ts.map +1 -1
- package/dist/modules/checkout/getCheckoutTransactionQuote/getCheckoutTransactionQuote.d.ts +2 -0
- package/dist/modules/checkout/getCheckoutTransactionQuote/getCheckoutTransactionQuote.d.ts.map +1 -1
- package/dist/modules/checkout/prepareCheckoutTransaction/prepareCheckoutTransaction.d.ts +2 -0
- package/dist/modules/checkout/prepareCheckoutTransaction/prepareCheckoutTransaction.d.ts.map +1 -1
- package/dist/modules/checkout/submitCheckoutTransaction/submitCheckoutTransaction.d.ts +2 -0
- package/dist/modules/checkout/submitCheckoutTransaction/submitCheckoutTransaction.d.ts.map +1 -1
- package/dist/modules/checkout/trackCheckoutTransaction/trackCheckoutTransaction.d.ts +2 -0
- package/dist/modules/checkout/trackCheckoutTransaction/trackCheckoutTransaction.d.ts.map +1 -1
- package/dist/modules/checkout/utils/requiresConversion/requiresConversion.d.ts +2 -0
- package/dist/modules/checkout/utils/requiresConversion/requiresConversion.d.ts.map +1 -1
- package/dist/modules/clientEvents/clientEvents.d.ts +2 -0
- package/dist/modules/clientEvents/clientEvents.d.ts.map +1 -1
- package/dist/modules/flow/broadcastFlow/broadcastFlow.d.ts +24 -0
- package/dist/modules/flow/broadcastFlow/broadcastFlow.d.ts.map +1 -0
- package/dist/modules/flow/broadcastFlow/index.d.ts +3 -0
- package/dist/modules/flow/broadcastFlow/index.d.ts.map +1 -0
- package/dist/modules/flow/cancelFlow/cancelFlow.d.ts +14 -0
- package/dist/modules/flow/cancelFlow/cancelFlow.d.ts.map +1 -0
- package/dist/modules/flow/cancelFlow/index.d.ts +3 -0
- package/dist/modules/flow/cancelFlow/index.d.ts.map +1 -0
- package/dist/modules/flow/submitFlowTransaction/index.d.ts +3 -0
- package/dist/modules/flow/submitFlowTransaction/index.d.ts.map +1 -0
- package/dist/modules/flow/submitFlowTransaction/submitFlowTransaction.d.ts +24 -0
- package/dist/modules/flow/submitFlowTransaction/submitFlowTransaction.d.ts.map +1 -0
- package/dist/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/addCoinbaseOnrampOrderEventListener.d.ts +1 -0
- package/dist/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/addCoinbaseOnrampOrderEventListener.d.ts.map +1 -1
- package/dist/modules/initializeClient/initializeClient.d.ts +1 -0
- package/dist/modules/initializeClient/initializeClient.d.ts.map +1 -1
- package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts +1 -0
- package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts.map +1 -1
- package/dist/modules/otp/sendEmailOTP/sendEmailOTP.d.ts +2 -2
- package/dist/modules/otp/sendEmailOTP/sendEmailOTP.d.ts.map +1 -1
- package/dist/modules/otp/sendSmsOTP/sendSmsOTP.d.ts +2 -2
- package/dist/modules/otp/sendSmsOTP/sendSmsOTP.d.ts.map +1 -1
- package/dist/modules/otp/verifyOTP/verifyOTP.d.ts.map +1 -1
- package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts +1 -0
- package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts.map +1 -1
- package/dist/modules/user/refreshUser/refreshUser.d.ts +1 -0
- package/dist/modules/user/refreshUser/refreshUser.d.ts.map +1 -1
- package/dist/modules/waas/preconnectWaasIframe/index.d.ts +2 -0
- package/dist/modules/waas/preconnectWaasIframe/index.d.ts.map +1 -0
- package/dist/modules/waas/preconnectWaasIframe/preconnectWaasIframe.d.ts +13 -0
- package/dist/modules/waas/preconnectWaasIframe/preconnectWaasIframe.d.ts.map +1 -0
- package/dist/modules/wallets/getWalletAccounts/getWalletAccounts.d.ts +1 -0
- package/dist/modules/wallets/getWalletAccounts/getWalletAccounts.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getBalance/getBalance.d.ts +1 -0
- package/dist/modules/wallets/networks/getBalance/getBalance.d.ts.map +1 -1
- package/dist/modules/wallets/primaryWalletAccount/selectPrimaryWalletAccount/selectPrimaryWalletAccount.d.ts +1 -0
- package/dist/modules/wallets/primaryWalletAccount/selectPrimaryWalletAccount/selectPrimaryWalletAccount.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts +1 -0
- package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts.map +1 -1
- package/dist/preconnectWaasIframe-1BSQ7tHo.native.esm.js +31 -0
- package/dist/preconnectWaasIframe-1BSQ7tHo.native.esm.js.map +1 -0
- package/dist/preconnectWaasIframe-Cb9xM6kI.cjs +37 -0
- package/dist/preconnectWaasIframe-Cb9xM6kI.cjs.map +1 -0
- package/dist/preconnectWaasIframe-D2S_A0QT.esm.js +31 -0
- package/dist/preconnectWaasIframe-D2S_A0QT.esm.js.map +1 -0
- package/dist/{refreshAuth-CVUpYNs6.native.esm.js → refreshAuth-C5bVvAAl.native.esm.js} +3 -3
- package/dist/{refreshAuth-CVUpYNs6.native.esm.js.map → refreshAuth-C5bVvAAl.native.esm.js.map} +1 -1
- package/dist/{refreshAuth-DfcR3CWf.cjs → refreshAuth-Ca_JABru.cjs} +3 -3
- package/dist/{refreshAuth-DfcR3CWf.cjs.map → refreshAuth-Ca_JABru.cjs.map} +1 -1
- package/dist/{refreshAuth-D8dU3BLP.esm.js → refreshAuth-DwYi8x0J.esm.js} +3 -3
- package/dist/{refreshAuth-D8dU3BLP.esm.js.map → refreshAuth-DwYi8x0J.esm.js.map} +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/waas.cjs +8 -25
- package/dist/waas.cjs.map +1 -1
- package/dist/waas.esm.js +6 -23
- package/dist/waas.esm.js.map +1 -1
- package/dist/waas.native.esm.js +6 -23
- package/dist/waas.native.esm.js.map +1 -1
- package/dist/waasCore.cjs +7 -4
- package/dist/waasCore.cjs.map +1 -1
- package/dist/waasCore.esm.js +7 -5
- package/dist/waasCore.esm.js.map +1 -1
- package/dist/waasCore.native.esm.js +7 -5
- package/dist/waasCore.native.esm.js.map +1 -1
- package/package.json +2 -2
- package/dist/NotWaasWalletAccountError-CkH85cm5.native.esm.js +0 -18
- package/dist/NotWaasWalletAccountError-CkH85cm5.native.esm.js.map +0 -1
- package/dist/NotWaasWalletAccountError-DO313zza.esm.js +0 -18
- package/dist/NotWaasWalletAccountError-DO313zza.esm.js.map +0 -1
- package/dist/NotWaasWalletAccountError-cIj987D7.cjs +0 -23
- package/dist/NotWaasWalletAccountError-cIj987D7.cjs.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-CxGbMwFL.native.esm.js.map +0 -1
- package/dist/getWalletProviderByKey-C5w8qJ0f.native.esm.js.map +0 -1
- package/dist/isMfaRequiredForAction-BNgq1huY.esm.js.map +0 -1
- package/dist/isMfaRequiredForAction-C9Fw0v_g.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
const require_isMfaRequiredForAction = require('./isMfaRequiredForAction-
|
|
2
|
-
const require_InvalidParamError = require('./InvalidParamError-
|
|
3
|
-
const require_getNetworkProviderFromNetworkId = require('./getNetworkProviderFromNetworkId-
|
|
4
|
-
const require_getWalletProviderByKey = require('./getWalletProviderByKey-
|
|
5
|
-
const require_refreshAuth = require('./refreshAuth-
|
|
6
|
-
const
|
|
1
|
+
const require_isMfaRequiredForAction = require('./isMfaRequiredForAction-DSo1ysdD.cjs');
|
|
2
|
+
const require_InvalidParamError = require('./InvalidParamError-Bgg4SDfm.cjs');
|
|
3
|
+
const require_getNetworkProviderFromNetworkId = require('./getNetworkProviderFromNetworkId-Afx6InoJ.cjs');
|
|
4
|
+
const require_getWalletProviderByKey = require('./getWalletProviderByKey-DRex9vzR.cjs');
|
|
5
|
+
const require_refreshAuth = require('./refreshAuth-Ca_JABru.cjs');
|
|
6
|
+
const require_isDynamicWaasEnabled = require('./isDynamicWaasEnabled-CEVTY3gQ.cjs');
|
|
7
|
+
const require_preconnectWaasIframe = require('./preconnectWaasIframe-Cb9xM6kI.cjs');
|
|
7
8
|
let _dynamic_labs_sdk_assert_package_version = require("@dynamic-labs-sdk/assert-package-version");
|
|
8
9
|
let _dynamic_labs_sdk_api_core = require("@dynamic-labs/sdk-api-core");
|
|
9
10
|
let zod_mini = require("zod/mini");
|
|
@@ -363,6 +364,7 @@ const initializeStorageSync = async (client) => {
|
|
|
363
364
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
364
365
|
* @returns A promise that resolves to the authenticated user.
|
|
365
366
|
* @instrumented
|
|
367
|
+
* @noHook Low-level refresh primitive that is not exposed as a React hook.
|
|
366
368
|
*/
|
|
367
369
|
const refreshUser = async (client = require_InvalidParamError.getDefaultClient()) => {
|
|
368
370
|
const core = require_InvalidParamError.getCore(client);
|
|
@@ -415,6 +417,7 @@ var ClientAlreadyInitializedError = class extends require_InvalidParamError.Base
|
|
|
415
417
|
* @returns A promise that resolves when initialization is complete.
|
|
416
418
|
* @throws ClientAlreadyInitializedError If the client is already initialized.
|
|
417
419
|
* @instrumented
|
|
420
|
+
* @noHook Client lifecycle management is not exposed as a React hook.
|
|
418
421
|
*/
|
|
419
422
|
const initializeClient = async (client = require_InvalidParamError.getDefaultClient()) => {
|
|
420
423
|
const core = require_InvalidParamError.getCore(client);
|
|
@@ -1857,6 +1860,7 @@ const __signInWithPasskey_wrapped = require_InvalidParamError.instrumentFunction
|
|
|
1857
1860
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
1858
1861
|
* @returns An array of `SocialAccount` objects associated with the user.
|
|
1859
1862
|
* @not-instrumented
|
|
1863
|
+
* @hook Exposed as a hook so consumers get the reactive list of social accounts, updated when the user changes.
|
|
1860
1864
|
*/
|
|
1861
1865
|
const getUserSocialAccounts = (client = require_InvalidParamError.getDefaultClient()) => {
|
|
1862
1866
|
const { user } = client;
|
|
@@ -2108,6 +2112,7 @@ const processSocialCallback = async ({ url, requestedScopes }, client) => {
|
|
|
2108
2112
|
if (storedSocialRedirectState.state !== dynamicOauthState) throw new InvalidRedirectStorageStateError();
|
|
2109
2113
|
const { provider, codeVerifier } = storedSocialRedirectState;
|
|
2110
2114
|
await core.storage.removeItem(redirectStateStorageKeySchema);
|
|
2115
|
+
require_preconnectWaasIframe.preconnectWaasIframe(client);
|
|
2111
2116
|
let response;
|
|
2112
2117
|
if (client.user) response = await apiClient.oauthVerify({
|
|
2113
2118
|
environmentId: core.environmentId,
|
|
@@ -2186,6 +2191,7 @@ const __completeSocialRedirect_wrapped = require_InvalidParamError.instrumentFun
|
|
|
2186
2191
|
* removed in a future major version.
|
|
2187
2192
|
*
|
|
2188
2193
|
* @instrumented
|
|
2194
|
+
* @noHook Deprecated alias; the replacement is exposed via its own hook.
|
|
2189
2195
|
*/
|
|
2190
2196
|
const completeSocialAuthentication = (params, client = require_InvalidParamError.getDefaultClient()) => __completeSocialRedirect_wrapped(params, client);
|
|
2191
2197
|
const __completeSocialAuthentication_impl = completeSocialAuthentication;
|
|
@@ -2231,6 +2237,7 @@ const detectSocialRedirectUrl = async ({ url }, client = require_InvalidParamErr
|
|
|
2231
2237
|
* removed in a future major version.
|
|
2232
2238
|
*
|
|
2233
2239
|
* @not-instrumented
|
|
2240
|
+
* @noHook Deprecated alias; the replacement is exposed via its own hook.
|
|
2234
2241
|
*/
|
|
2235
2242
|
const detectOAuthRedirect = (params, client = require_InvalidParamError.getDefaultClient()) => detectSocialRedirectUrl(params, client);
|
|
2236
2243
|
|
|
@@ -2375,6 +2382,7 @@ const getTokenBalances = async ({ walletAccount, networkId, networkIds, includeP
|
|
|
2375
2382
|
* multi-chain `getMultichainTokenBalances`.
|
|
2376
2383
|
*
|
|
2377
2384
|
* @not-instrumented
|
|
2385
|
+
* @noHook Deprecated; the replacement is exposed via its own hook.
|
|
2378
2386
|
*/
|
|
2379
2387
|
const getBalances = (params, client = require_InvalidParamError.getDefaultClient()) => getTokenBalances(params, client);
|
|
2380
2388
|
|
|
@@ -2410,6 +2418,7 @@ const getMultichainTokenBalances = async ({ balanceRequest }, client = require_I
|
|
|
2410
2418
|
* token balances (not native-only) across multiple chains.
|
|
2411
2419
|
*
|
|
2412
2420
|
* @not-instrumented
|
|
2421
|
+
* @noHook Deprecated; the replacement is exposed via its own hook.
|
|
2413
2422
|
*/
|
|
2414
2423
|
const getMultichainBalances = (params, client = require_InvalidParamError.getDefaultClient()) => getMultichainTokenBalances(params, client);
|
|
2415
2424
|
|
|
@@ -2493,6 +2502,8 @@ const withCheckoutSessionTokenCleanupOn401 = async ({ call, transactionId }, cli
|
|
|
2493
2502
|
* exchange source record. The response includes `exchangeSource.metadata.url`
|
|
2494
2503
|
* which can be embedded in an iframe for the user to complete payment.
|
|
2495
2504
|
*
|
|
2505
|
+
* @deprecated Use {@link attachFlowSource} instead. See https://www.dynamic.xyz/docs/javascript/reference/flow-getting-started
|
|
2506
|
+
*
|
|
2496
2507
|
* @param params AttachCheckoutTransactionSourceParams - The source details to attach.
|
|
2497
2508
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
2498
2509
|
* @returns The updated checkout transaction (with exchangeSource if sourceType is 'exchange')
|
|
@@ -2540,6 +2551,8 @@ const __attachCheckoutTransactionSource_wrapped = require_InvalidParamError.inst
|
|
|
2540
2551
|
* For exchange sources, `txHash` can be omitted — the user confirms
|
|
2541
2552
|
* they completed the payment and the transaction moves to `broadcasted`.
|
|
2542
2553
|
*
|
|
2554
|
+
* @deprecated Use {@link broadcastFlow} instead. See https://www.dynamic.xyz/docs/javascript/reference/flow-getting-started
|
|
2555
|
+
*
|
|
2543
2556
|
* @param params BroadcastCheckoutTransactionParams - The transaction ID and optional tx hash.
|
|
2544
2557
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
2545
2558
|
* @returns The updated checkout transaction
|
|
@@ -2575,6 +2588,8 @@ const __broadcastCheckoutTransaction_wrapped = require_InvalidParamError.instrum
|
|
|
2575
2588
|
/**
|
|
2576
2589
|
* Cancels a checkout transaction before it has been broadcasted
|
|
2577
2590
|
*
|
|
2591
|
+
* @deprecated Use {@link cancelFlow} instead. See https://www.dynamic.xyz/docs/javascript/reference/flow-getting-started
|
|
2592
|
+
*
|
|
2578
2593
|
* @param params CancelCheckoutTransactionParams - The transaction to cancel.
|
|
2579
2594
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
2580
2595
|
* @returns The cancelled checkout transaction
|
|
@@ -2620,6 +2635,8 @@ const getCheckouts = async (client) => {
|
|
|
2620
2635
|
/**
|
|
2621
2636
|
* Creates a new checkout transaction and stores the session token for subsequent calls
|
|
2622
2637
|
*
|
|
2638
|
+
* @deprecated Use the Flow API instead. See https://www.dynamic.xyz/docs/javascript/reference/flow-getting-started
|
|
2639
|
+
*
|
|
2623
2640
|
* @param params CreateCheckoutTransactionParams - The parameters for the checkout transaction.
|
|
2624
2641
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
2625
2642
|
* @returns The created transaction with session token
|
|
@@ -2666,6 +2683,8 @@ const __createCheckoutTransaction_wrapped = require_InvalidParamError.instrument
|
|
|
2666
2683
|
/**
|
|
2667
2684
|
* Fetches the current state of a checkout transaction
|
|
2668
2685
|
*
|
|
2686
|
+
* @deprecated Use {@link getFlow} instead. See https://www.dynamic.xyz/docs/javascript/reference/flow-getting-started
|
|
2687
|
+
*
|
|
2669
2688
|
* @param params GetCheckoutTransactionParams - The parameters for fetching the transaction.
|
|
2670
2689
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
2671
2690
|
* @returns The checkout transaction
|
|
@@ -2684,6 +2703,8 @@ const getCheckoutTransaction = async ({ transactionId }, client = require_Invali
|
|
|
2684
2703
|
/**
|
|
2685
2704
|
* Fetches a quote for a checkout transaction
|
|
2686
2705
|
*
|
|
2706
|
+
* @deprecated Use {@link getFlowQuote} instead. See https://www.dynamic.xyz/docs/javascript/reference/flow-getting-started
|
|
2707
|
+
*
|
|
2687
2708
|
* @param params GetCheckoutTransactionQuoteParams - The quote parameters.
|
|
2688
2709
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
2689
2710
|
* @returns The updated checkout transaction with quote data
|
|
@@ -2713,6 +2734,8 @@ const getCheckoutTransactionQuote = async ({ fromChainId, fromTokenAddress, slip
|
|
|
2713
2734
|
* This should be called immediately before triggering the transaction signing.
|
|
2714
2735
|
* It will confirm the quote is still valid, the risk state is cleared, and the transaction is ready to be signed.
|
|
2715
2736
|
*
|
|
2737
|
+
* @deprecated Use {@link prepareFlowSigning} instead. See https://www.dynamic.xyz/docs/javascript/reference/flow-getting-started
|
|
2738
|
+
*
|
|
2716
2739
|
* @param params PrepareCheckoutTransactionParams - The transaction to prepare.
|
|
2717
2740
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
2718
2741
|
* @returns The updated checkout transaction
|
|
@@ -2860,6 +2883,8 @@ const __executeSwapTransaction_wrapped = require_InvalidParamError.instrumentFun
|
|
|
2860
2883
|
* 3. Delegates on-chain signing to the wallet provider's executeSwapTransaction method
|
|
2861
2884
|
* 4. Calls broadcastCheckoutTransaction with the resulting txHash
|
|
2862
2885
|
*
|
|
2886
|
+
* @deprecated Use {@link submitFlowTransaction} instead. See https://www.dynamic.xyz/docs/javascript/reference/flow-getting-started
|
|
2887
|
+
*
|
|
2863
2888
|
* @param params SubmitCheckoutTransactionParams - The transaction ID, wallet account, and optional step callback.
|
|
2864
2889
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
2865
2890
|
* @returns The broadcasted checkout transaction
|
|
@@ -2911,6 +2936,8 @@ const __submitCheckoutTransaction_wrapped = require_InvalidParamError.instrument
|
|
|
2911
2936
|
* the realtime checkout transaction channel. Will be re-enabled once the
|
|
2912
2937
|
* dashboard-api environment has the Ably wiring in place.
|
|
2913
2938
|
*
|
|
2939
|
+
* @deprecated Use the Flow API instead. See https://www.dynamic.xyz/docs/javascript/reference/flow-getting-started
|
|
2940
|
+
*
|
|
2914
2941
|
* @param params.transactionId - The ID of the checkout transaction to track.
|
|
2915
2942
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
2916
2943
|
* @not-instrumented
|
|
@@ -2930,6 +2957,8 @@ const trackCheckoutTransaction = (_params, client = require_InvalidParamError.ge
|
|
|
2930
2957
|
* Returns `false` when the from token already matches a settlement token, so no
|
|
2931
2958
|
* conversion is needed.
|
|
2932
2959
|
*
|
|
2960
|
+
* @deprecated Use the Flow API instead. See https://www.dynamic.xyz/docs/javascript/reference/flow-getting-started
|
|
2961
|
+
*
|
|
2933
2962
|
* @param params - The from token details and the checkout's settlement config.
|
|
2934
2963
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
2935
2964
|
* @returns Whether a token conversion is required
|
|
@@ -3193,6 +3222,96 @@ const __attachFlowSource_wrapped = require_InvalidParamError.instrumentFunction(
|
|
|
3193
3222
|
}
|
|
3194
3223
|
});
|
|
3195
3224
|
|
|
3225
|
+
//#endregion
|
|
3226
|
+
//#region src/modules/flow/utils/createFlowApiClient/createFlowApiClient.ts
|
|
3227
|
+
/** @not-instrumented */
|
|
3228
|
+
const createFlowApiClient = async ({ flowId }, client) => {
|
|
3229
|
+
const core = require_InvalidParamError.getCore(client);
|
|
3230
|
+
const apiClient = require_InvalidParamError.createApiClient({}, client);
|
|
3231
|
+
const sessionToken = await core.storage.getItem(createFlowSessionTokenStorageKey(flowId));
|
|
3232
|
+
if (!sessionToken) throw new FlowSessionTokenMissingError({ flowId });
|
|
3233
|
+
return {
|
|
3234
|
+
apiClient,
|
|
3235
|
+
environmentId: core.environmentId,
|
|
3236
|
+
sessionToken
|
|
3237
|
+
};
|
|
3238
|
+
};
|
|
3239
|
+
|
|
3240
|
+
//#endregion
|
|
3241
|
+
//#region src/modules/flow/broadcastFlow/broadcastFlow.ts
|
|
3242
|
+
/**
|
|
3243
|
+
* Records that a flow transaction has been broadcasted.
|
|
3244
|
+
*
|
|
3245
|
+
* For wallet sources, pass the `txHash` from the on-chain transaction.
|
|
3246
|
+
* For exchange sources, `txHash` can be omitted — the user confirms
|
|
3247
|
+
* they completed the payment and the flow moves to `broadcasted`.
|
|
3248
|
+
*
|
|
3249
|
+
* @param params BroadcastFlowParams - The flow ID and optional tx hash.
|
|
3250
|
+
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
3251
|
+
* @returns The updated flow
|
|
3252
|
+
* @instrumented
|
|
3253
|
+
*/
|
|
3254
|
+
const broadcastFlow = async ({ flowId, txHash }, client = require_InvalidParamError.getDefaultClient()) => {
|
|
3255
|
+
const { apiClient, environmentId, sessionToken } = await createFlowApiClient({ flowId }, client);
|
|
3256
|
+
return withFlowSessionTokenCleanupOn401({
|
|
3257
|
+
call: () => apiClient.broadcastFlow({
|
|
3258
|
+
environmentId,
|
|
3259
|
+
flowId,
|
|
3260
|
+
flowRecordBroadcastRequest: { txHash },
|
|
3261
|
+
xDynamicFlowSessionToken: sessionToken
|
|
3262
|
+
}),
|
|
3263
|
+
flowId
|
|
3264
|
+
}, client);
|
|
3265
|
+
};
|
|
3266
|
+
const __broadcastFlow_impl = broadcastFlow;
|
|
3267
|
+
const __broadcastFlow_wrapped = require_InvalidParamError.instrumentFunction({
|
|
3268
|
+
fn: __broadcastFlow_impl,
|
|
3269
|
+
functionName: "broadcastFlow",
|
|
3270
|
+
getCore: () => {
|
|
3271
|
+
try {
|
|
3272
|
+
return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
|
|
3273
|
+
} catch {
|
|
3274
|
+
return;
|
|
3275
|
+
}
|
|
3276
|
+
}
|
|
3277
|
+
});
|
|
3278
|
+
|
|
3279
|
+
//#endregion
|
|
3280
|
+
//#region src/modules/flow/cancelFlow/cancelFlow.ts
|
|
3281
|
+
/**
|
|
3282
|
+
* Cancels a flow before it has been broadcasted
|
|
3283
|
+
*
|
|
3284
|
+
* @param params CancelFlowParams - The flow to cancel.
|
|
3285
|
+
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
3286
|
+
* @returns The cancelled flow
|
|
3287
|
+
* @instrumented
|
|
3288
|
+
*/
|
|
3289
|
+
const cancelFlow = async ({ flowId }, client = require_InvalidParamError.getDefaultClient()) => {
|
|
3290
|
+
const { apiClient, environmentId, sessionToken } = await createFlowApiClient({ flowId }, client);
|
|
3291
|
+
const result = await withFlowSessionTokenCleanupOn401({
|
|
3292
|
+
call: () => apiClient.cancelFlow({
|
|
3293
|
+
environmentId,
|
|
3294
|
+
flowId,
|
|
3295
|
+
xDynamicFlowSessionToken: sessionToken
|
|
3296
|
+
}),
|
|
3297
|
+
flowId
|
|
3298
|
+
}, client);
|
|
3299
|
+
await clearFlowSessionToken({ flowId }, client);
|
|
3300
|
+
return result;
|
|
3301
|
+
};
|
|
3302
|
+
const __cancelFlow_impl = cancelFlow;
|
|
3303
|
+
const __cancelFlow_wrapped = require_InvalidParamError.instrumentFunction({
|
|
3304
|
+
fn: __cancelFlow_impl,
|
|
3305
|
+
functionName: "cancelFlow",
|
|
3306
|
+
getCore: () => {
|
|
3307
|
+
try {
|
|
3308
|
+
return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
|
|
3309
|
+
} catch {
|
|
3310
|
+
return;
|
|
3311
|
+
}
|
|
3312
|
+
}
|
|
3313
|
+
});
|
|
3314
|
+
|
|
3196
3315
|
//#endregion
|
|
3197
3316
|
//#region src/modules/flow/getFlow/getFlow.ts
|
|
3198
3317
|
/**
|
|
@@ -3211,21 +3330,6 @@ const getFlow = async ({ flowId }, client = require_InvalidParamError.getDefault
|
|
|
3211
3330
|
});
|
|
3212
3331
|
};
|
|
3213
3332
|
|
|
3214
|
-
//#endregion
|
|
3215
|
-
//#region src/modules/flow/utils/createFlowApiClient/createFlowApiClient.ts
|
|
3216
|
-
/** @not-instrumented */
|
|
3217
|
-
const createFlowApiClient = async ({ flowId }, client) => {
|
|
3218
|
-
const core = require_InvalidParamError.getCore(client);
|
|
3219
|
-
const apiClient = require_InvalidParamError.createApiClient({}, client);
|
|
3220
|
-
const sessionToken = await core.storage.getItem(createFlowSessionTokenStorageKey(flowId));
|
|
3221
|
-
if (!sessionToken) throw new FlowSessionTokenMissingError({ flowId });
|
|
3222
|
-
return {
|
|
3223
|
-
apiClient,
|
|
3224
|
-
environmentId: core.environmentId,
|
|
3225
|
-
sessionToken
|
|
3226
|
-
};
|
|
3227
|
-
};
|
|
3228
|
-
|
|
3229
3333
|
//#endregion
|
|
3230
3334
|
//#region src/modules/flow/getFlowQuote/getFlowQuote.ts
|
|
3231
3335
|
/**
|
|
@@ -3293,6 +3397,52 @@ const __prepareFlowSigning_wrapped = require_InvalidParamError.instrumentFunctio
|
|
|
3293
3397
|
}
|
|
3294
3398
|
});
|
|
3295
3399
|
|
|
3400
|
+
//#endregion
|
|
3401
|
+
//#region src/modules/flow/submitFlowTransaction/submitFlowTransaction.ts
|
|
3402
|
+
/**
|
|
3403
|
+
* Prepares, signs, and broadcasts a flow transaction in one call.
|
|
3404
|
+
*
|
|
3405
|
+
* Orchestrates the full submission flow:
|
|
3406
|
+
* 1. Calls prepareFlowSigning to advance to signing state and lock the quote
|
|
3407
|
+
* 2. Ensures the wallet is on the correct network for the transaction
|
|
3408
|
+
* 3. Delegates on-chain signing to the wallet provider's executeSwapTransaction method
|
|
3409
|
+
* 4. Calls broadcastFlow with the resulting txHash
|
|
3410
|
+
*
|
|
3411
|
+
* @param params SubmitFlowTransactionParams - The flow ID, wallet account, and optional step callback.
|
|
3412
|
+
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
3413
|
+
* @returns The broadcasted flow
|
|
3414
|
+
* @instrumented
|
|
3415
|
+
*/
|
|
3416
|
+
const submitFlowTransaction = async ({ onStepChange, flowId, walletAccount, assertBalanceForGasCost, assertBalanceForTransferAmount }, client = require_InvalidParamError.getDefaultClient()) => {
|
|
3417
|
+
const signingPayload = (await __prepareFlowSigning_wrapped({
|
|
3418
|
+
assertBalanceForGasCost,
|
|
3419
|
+
assertBalanceForTransferAmount,
|
|
3420
|
+
flowId
|
|
3421
|
+
}, client)).quote?.signingPayload;
|
|
3422
|
+
require_InvalidParamError.assertDefined(signingPayload, "No signing payload returned from prepare — quote may be missing transaction data");
|
|
3423
|
+
const { transactionHash } = await __executeSwapTransaction_wrapped({
|
|
3424
|
+
onStepChange,
|
|
3425
|
+
signingPayload,
|
|
3426
|
+
walletAccount
|
|
3427
|
+
}, client);
|
|
3428
|
+
return __broadcastFlow_wrapped({
|
|
3429
|
+
flowId,
|
|
3430
|
+
txHash: transactionHash
|
|
3431
|
+
}, client);
|
|
3432
|
+
};
|
|
3433
|
+
const __submitFlowTransaction_impl = submitFlowTransaction;
|
|
3434
|
+
const __submitFlowTransaction_wrapped = require_InvalidParamError.instrumentFunction({
|
|
3435
|
+
fn: __submitFlowTransaction_impl,
|
|
3436
|
+
functionName: "submitFlowTransaction",
|
|
3437
|
+
getCore: () => {
|
|
3438
|
+
try {
|
|
3439
|
+
return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
|
|
3440
|
+
} catch {
|
|
3441
|
+
return;
|
|
3442
|
+
}
|
|
3443
|
+
}
|
|
3444
|
+
});
|
|
3445
|
+
|
|
3296
3446
|
//#endregion
|
|
3297
3447
|
//#region src/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/addCoinbaseOnrampOrderEventListener.ts
|
|
3298
3448
|
/**
|
|
@@ -3304,6 +3454,7 @@ const __prepareFlowSigning_wrapped = require_InvalidParamError.instrumentFunctio
|
|
|
3304
3454
|
* @throws {ValueMustBeDefinedError} If the window is not available.
|
|
3305
3455
|
* @docs https://docs.cdp.coinbase.com/onramp-&-offramp/onramp-apis/apple-pay-onramp-api#events-names
|
|
3306
3456
|
* @not-instrumented
|
|
3457
|
+
* @hook Event listeners are error-prone to wire up by hand with useEffect.
|
|
3307
3458
|
*/
|
|
3308
3459
|
const addCoinbaseOnrampOrderEventListener = ({ listener }, client = require_InvalidParamError.getDefaultClient()) => {
|
|
3309
3460
|
const core = require_InvalidParamError.getCore(client);
|
|
@@ -3688,6 +3839,7 @@ const __getMoonPayUrl_wrapped = require_InvalidParamError.instrumentFunction({
|
|
|
3688
3839
|
*
|
|
3689
3840
|
* @returns a promise that resolves once the client is fully initialized.
|
|
3690
3841
|
* @not-instrumented
|
|
3842
|
+
* @noHook Client lifecycle management is not exposed as a hook; use useInitStatus.
|
|
3691
3843
|
*/
|
|
3692
3844
|
const waitForClientInitialized = async (client = require_InvalidParamError.getDefaultClient()) => {
|
|
3693
3845
|
await require_InvalidParamError.getCore(client).initTrack.waitForAll();
|
|
@@ -4702,7 +4854,9 @@ const __setDefaultMfaDevice_wrapped = require_InvalidParamError.instrumentFuncti
|
|
|
4702
4854
|
*/
|
|
4703
4855
|
const sendEmailOTP = async ({ email }, client = require_InvalidParamError.getDefaultClient()) => {
|
|
4704
4856
|
const core = require_InvalidParamError.getCore(client);
|
|
4705
|
-
const
|
|
4857
|
+
const apiClient = require_InvalidParamError.createApiClient({}, client);
|
|
4858
|
+
require_preconnectWaasIframe.preconnectWaasIframe(client);
|
|
4859
|
+
const { verificationUUID } = await apiClient.createEmailVerification({
|
|
4706
4860
|
emailVerificationCreateRequest: {
|
|
4707
4861
|
captchaToken: require_getNetworkProviderFromNetworkId.consumeCaptchaToken(client),
|
|
4708
4862
|
email
|
|
@@ -5665,6 +5819,7 @@ const sendSmsOTP = async ({ isoCountryCode, phoneNumber }, client = require_Inva
|
|
|
5665
5819
|
const core = require_InvalidParamError.getCore(client);
|
|
5666
5820
|
const apiClient = require_InvalidParamError.createApiClient({}, client);
|
|
5667
5821
|
const phoneCountryCode = supportedCountries[isoCountryCode].code;
|
|
5822
|
+
require_preconnectWaasIframe.preconnectWaasIframe(client);
|
|
5668
5823
|
const { verificationUUID } = await apiClient.createSmsVerification({
|
|
5669
5824
|
environmentId: core.environmentId,
|
|
5670
5825
|
smsVerificationCreateRequest: {
|
|
@@ -5752,6 +5907,7 @@ const verifyOTPForUserUpdate = async ({ otpVerification, verificationToken, requ
|
|
|
5752
5907
|
* @redact-params
|
|
5753
5908
|
*/
|
|
5754
5909
|
const verifyOTP = async ({ otpVerification, verificationToken, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
|
|
5910
|
+
require_preconnectWaasIframe.preconnectWaasIframe(client);
|
|
5755
5911
|
let response;
|
|
5756
5912
|
if (client.user) response = await verifyOTPForUserUpdate({
|
|
5757
5913
|
otpVerification,
|
|
@@ -7774,6 +7930,7 @@ const getNativeBalance = async ({ walletAccount }, client = require_InvalidParam
|
|
|
7774
7930
|
* `getMultichainTokenBalances`).
|
|
7775
7931
|
*
|
|
7776
7932
|
* @not-instrumented
|
|
7933
|
+
* @noHook Deprecated; the replacement is exposed via its own hook.
|
|
7777
7934
|
*/
|
|
7778
7935
|
const getBalance = (params, client = require_InvalidParamError.getDefaultClient()) => getNativeBalance(params, client);
|
|
7779
7936
|
|
|
@@ -7891,6 +8048,7 @@ const __switchActiveNetwork_wrapped = require_InvalidParamError.instrumentFuncti
|
|
|
7891
8048
|
/**
|
|
7892
8049
|
* Make the wallet account provided as the primary wallet account.
|
|
7893
8050
|
* @instrumented
|
|
8051
|
+
* @noHook The primary-wallet concept is discouraged and not exposed as a hook.
|
|
7894
8052
|
*/
|
|
7895
8053
|
const selectPrimaryWalletAccount = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
|
|
7896
8054
|
const core = require_InvalidParamError.getCore(client);
|
|
@@ -8135,6 +8293,7 @@ const offWalletProviderEvent = ({ callback, event, walletProviderKey }, client =
|
|
|
8135
8293
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
8136
8294
|
* @returns A function that can be called to remove the listener.
|
|
8137
8295
|
* @not-instrumented
|
|
8296
|
+
* @hook Event listeners are error-prone to wire up by hand with useEffect.
|
|
8138
8297
|
*/
|
|
8139
8298
|
const onWalletProviderEvent = ({ callback, event, walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
|
|
8140
8299
|
const walletProvider = require_getWalletProviderByKey.getWalletProviderByKey({ walletProviderKey }, client);
|
|
@@ -8288,7 +8447,7 @@ exports.NoNetworkProvidersError = require_getNetworkProviderFromNetworkId.NoNetw
|
|
|
8288
8447
|
exports.NoPasskeyCredentialsFoundError = NoPasskeyCredentialsFoundError;
|
|
8289
8448
|
exports.NoSmartWalletAccountSignerFoundError = NoSmartWalletAccountSignerFoundError;
|
|
8290
8449
|
exports.NoWebAuthNSupportError = NoWebAuthNSupportError;
|
|
8291
|
-
exports.NotWaasWalletAccountError =
|
|
8450
|
+
exports.NotWaasWalletAccountError = require_isDynamicWaasEnabled.NotWaasWalletAccountError;
|
|
8292
8451
|
exports.SandboxMaximumThresholdReachedError = require_InvalidParamError.SandboxMaximumThresholdReachedError;
|
|
8293
8452
|
exports.SimulationFailedError = SimulationFailedError;
|
|
8294
8453
|
exports.TokenSwapError = TokenSwapError;
|
|
@@ -8315,8 +8474,10 @@ exports.authenticatePasskeyMFA = authenticatePasskeyMFA;
|
|
|
8315
8474
|
exports.authenticateTotpMfaDevice = authenticateTotpMfaDevice;
|
|
8316
8475
|
exports.authenticateWithSocial = __authenticateWithSocial_wrapped;
|
|
8317
8476
|
exports.broadcastCheckoutTransaction = __broadcastCheckoutTransaction_wrapped;
|
|
8477
|
+
exports.broadcastFlow = __broadcastFlow_wrapped;
|
|
8318
8478
|
exports.canConnectWithHardwareWallet = canConnectWithHardwareWallet;
|
|
8319
8479
|
exports.cancelCheckoutTransaction = __cancelCheckoutTransaction_wrapped;
|
|
8480
|
+
exports.cancelFlow = __cancelFlow_wrapped;
|
|
8320
8481
|
exports.checkStepUpAuth = __checkStepUpAuth_wrapped;
|
|
8321
8482
|
exports.completeDeviceRegistration = __completeDeviceRegistration_wrapped;
|
|
8322
8483
|
exports.completeSocialAuthentication = __completeSocialAuthentication_wrapped;
|
|
@@ -8435,6 +8596,7 @@ exports.signInWithSocialPopUp = __signInWithSocialPopUp_wrapped;
|
|
|
8435
8596
|
exports.signInWithSocialRedirect = __signInWithSocialRedirect_wrapped;
|
|
8436
8597
|
exports.signMessage = __signMessage_wrapped;
|
|
8437
8598
|
exports.submitCheckoutTransaction = __submitCheckoutTransaction_wrapped;
|
|
8599
|
+
exports.submitFlowTransaction = __submitFlowTransaction_wrapped;
|
|
8438
8600
|
exports.supportedCountries = supportedCountries;
|
|
8439
8601
|
exports.switchActiveNetwork = __switchActiveNetwork_wrapped;
|
|
8440
8602
|
exports.trackCheckoutTransaction = trackCheckoutTransaction;
|