@dynamic-labs-sdk/client 1.32.0 → 1.33.1
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/{apiClient-Bwd6cllS.native.esm.js → apiClient-BbjPoAwE.native.esm.js} +46 -13
- package/dist/apiClient-BbjPoAwE.native.esm.js.map +1 -0
- package/dist/constants.d.ts +6 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/core.cjs +97 -5
- package/dist/core.cjs.map +1 -1
- package/dist/core.esm.js +78 -6
- package/dist/core.esm.js.map +1 -1
- package/dist/core.native.esm.js +80 -8
- package/dist/core.native.esm.js.map +1 -1
- package/dist/errors/UnexpectedConsentResponseError.d.ts +7 -0
- package/dist/errors/UnexpectedConsentResponseError.d.ts.map +1 -0
- package/dist/exports/core.d.ts +10 -0
- package/dist/exports/core.d.ts.map +1 -1
- package/dist/exports/index.d.ts +2 -0
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/exports/waas.d.ts +2 -1
- package/dist/exports/waas.d.ts.map +1 -1
- package/dist/{getNetworkProviderFromNetworkId-5UBZwUg2.cjs → getNetworkProviderFromNetworkId-BXoTukxv.cjs} +105 -82
- package/dist/getNetworkProviderFromNetworkId-BXoTukxv.cjs.map +1 -0
- package/dist/{getNetworkProviderFromNetworkId-DSsGkava.native.esm.js → getNetworkProviderFromNetworkId-Cs3hLqBS.native.esm.js} +112 -89
- package/dist/getNetworkProviderFromNetworkId-Cs3hLqBS.native.esm.js.map +1 -0
- package/dist/{getNetworkProviderFromNetworkId-TTqmAiJh.esm.js → getNetworkProviderFromNetworkId-D_Hg6kP7.esm.js} +106 -83
- package/dist/getNetworkProviderFromNetworkId-D_Hg6kP7.esm.js.map +1 -0
- package/dist/{getSignedSessionId-DBUnRGjt.cjs → getSignedSessionId-2O_cJtIV.cjs} +3 -3
- package/dist/{getSignedSessionId-DBUnRGjt.cjs.map → getSignedSessionId-2O_cJtIV.cjs.map} +1 -1
- package/dist/{getSignedSessionId-BkYhH1zc.native.esm.js → getSignedSessionId-Bk-8is5J.native.esm.js} +3 -3
- package/dist/{getSignedSessionId-BkYhH1zc.native.esm.js.map → getSignedSessionId-Bk-8is5J.native.esm.js.map} +1 -1
- package/dist/{getSignedSessionId-DeeDyino.esm.js → getSignedSessionId-D_TknHwX.esm.js} +3 -3
- package/dist/{getSignedSessionId-DeeDyino.esm.js.map → getSignedSessionId-D_TknHwX.esm.js.map} +1 -1
- package/dist/{getVerifiedCredentialForWalletAccount-C--Dza_K.esm.js → getVerifiedCredentialForWalletAccount-BmsHgXbj.esm.js} +2 -2
- package/dist/{getVerifiedCredentialForWalletAccount-C--Dza_K.esm.js.map → getVerifiedCredentialForWalletAccount-BmsHgXbj.esm.js.map} +1 -1
- package/dist/{getVerifiedCredentialForWalletAccount-BSxiaaVp.cjs → getVerifiedCredentialForWalletAccount-upiwolAi.cjs} +2 -2
- package/dist/{getVerifiedCredentialForWalletAccount-BSxiaaVp.cjs.map → getVerifiedCredentialForWalletAccount-upiwolAi.cjs.map} +1 -1
- package/dist/index.cjs +379 -638
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +375 -635
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.esm.js +377 -637
- package/dist/index.native.esm.js.map +1 -1
- package/dist/{isMfaRequiredForAction-BPEXPqSt.esm.js → isMfaRequiredForAction-CHqeZeTS.esm.js} +3 -9
- package/dist/{isMfaRequiredForAction-BPEXPqSt.esm.js.map → isMfaRequiredForAction-CHqeZeTS.esm.js.map} +1 -1
- package/dist/{isMfaRequiredForAction-DfrEFvU2.native.esm.js → isMfaRequiredForAction-D7b7mUT9.native.esm.js} +3 -9
- package/dist/{isMfaRequiredForAction-DfrEFvU2.native.esm.js.map → isMfaRequiredForAction-D7b7mUT9.native.esm.js.map} +1 -1
- package/dist/{isMfaRequiredForAction-62zh3W-2.cjs → isMfaRequiredForAction-DF65MJNN.cjs} +3 -9
- package/dist/{isMfaRequiredForAction-62zh3W-2.cjs.map → isMfaRequiredForAction-DF65MJNN.cjs.map} +1 -1
- package/dist/{isUserOnboardingComplete-DtxIznZD.cjs → isUserOnboardingComplete-BAL-3zu7.cjs} +3 -3
- package/dist/{isUserOnboardingComplete-DtxIznZD.cjs.map → isUserOnboardingComplete-BAL-3zu7.cjs.map} +1 -1
- package/dist/{isUserOnboardingComplete-BWrCHXXO.native.esm.js → isUserOnboardingComplete-CYpgo52t.native.esm.js} +3 -3
- package/dist/{isUserOnboardingComplete-BWrCHXXO.native.esm.js.map → isUserOnboardingComplete-CYpgo52t.native.esm.js.map} +1 -1
- package/dist/{isUserOnboardingComplete-Dmck83_2.esm.js → isUserOnboardingComplete-CpHVw8ee.esm.js} +3 -3
- package/dist/{isUserOnboardingComplete-Dmck83_2.esm.js.map → isUserOnboardingComplete-CpHVw8ee.esm.js.map} +1 -1
- package/dist/{logoutWithReason-DIc7cC6T.native.esm.js → logoutWithReason-Bd1qUh7l.native.esm.js} +3 -9
- package/dist/{logoutWithReason-DIc7cC6T.native.esm.js.map → logoutWithReason-Bd1qUh7l.native.esm.js.map} +1 -1
- package/dist/{logoutWithReason-yDqQ0UIt.cjs → logoutWithReason-CFjm8dbR.cjs} +58 -19
- package/dist/logoutWithReason-CFjm8dbR.cjs.map +1 -0
- package/dist/{logoutWithReason-x8mE7EAy.esm.js → logoutWithReason-CX9hGTPw.esm.js} +47 -20
- package/dist/logoutWithReason-CX9hGTPw.esm.js.map +1 -0
- package/dist/{migrateFromFireblocks-BUhWQCqm.native.esm.js → migrateFromFireblocks-BLz9aHOY.native.esm.js} +2 -2
- package/dist/{migrateFromFireblocks-BUhWQCqm.native.esm.js.map → migrateFromFireblocks-BLz9aHOY.native.esm.js.map} +1 -1
- package/dist/{migrateFromFireblocks-qYPrnWF8.cjs → migrateFromFireblocks-BiZmnKp9.cjs} +2 -2
- package/dist/{migrateFromFireblocks-qYPrnWF8.cjs.map → migrateFromFireblocks-BiZmnKp9.cjs.map} +1 -1
- package/dist/{migrateFromFireblocks-BapjEhra.esm.js → migrateFromFireblocks-C8KXMXk-.esm.js} +2 -2
- package/dist/{migrateFromFireblocks-BapjEhra.esm.js.map → migrateFromFireblocks-C8KXMXk-.esm.js.map} +1 -1
- package/dist/modules/funding/coinbase/getCoinbaseAccounts/getCoinbaseAccounts.d.ts +1 -1
- package/dist/modules/funding/coinbase/getCoinbaseBuyUrl/getCoinbaseBuyUrl.d.ts +1 -1
- package/dist/modules/funding/kraken/getKrakenAccounts/getKrakenAccounts.d.ts +1 -1
- package/dist/modules/funding/kraken/getKrakenWhitelistedAddresses/getKrakenWhitelistedAddresses.d.ts +1 -1
- package/dist/modules/sessionKeys/signBusinessAccountIntent/signBusinessAccountIntent.d.ts +95 -0
- package/dist/modules/sessionKeys/signBusinessAccountIntent/signBusinessAccountIntent.d.ts.map +1 -0
- package/dist/modules/waas/businessAccounts/addBusinessAccountMember/addBusinessAccountMember.d.ts +11 -4
- package/dist/modules/waas/businessAccounts/addBusinessAccountMember/addBusinessAccountMember.d.ts.map +1 -1
- package/dist/modules/waas/businessAccounts/addBusinessAccountSigner/addBusinessAccountSigner.d.ts +15 -6
- package/dist/modules/waas/businessAccounts/addBusinessAccountSigner/addBusinessAccountSigner.d.ts.map +1 -1
- package/dist/modules/waas/businessAccounts/addWalletToBusinessAccount/addWalletToBusinessAccount.d.ts +7 -3
- package/dist/modules/waas/businessAccounts/addWalletToBusinessAccount/addWalletToBusinessAccount.d.ts.map +1 -1
- package/dist/modules/waas/businessAccounts/businessAccounts.types.d.ts +115 -2
- package/dist/modules/waas/businessAccounts/businessAccounts.types.d.ts.map +1 -1
- package/dist/modules/waas/businessAccounts/isBusinessAccountActionRequired/index.d.ts +2 -0
- package/dist/modules/waas/businessAccounts/isBusinessAccountActionRequired/index.d.ts.map +1 -0
- package/dist/modules/waas/businessAccounts/isBusinessAccountActionRequired/isBusinessAccountActionRequired.d.ts +27 -0
- package/dist/modules/waas/businessAccounts/isBusinessAccountActionRequired/isBusinessAccountActionRequired.d.ts.map +1 -0
- package/dist/modules/waas/businessAccounts/parseGovernedResponse.d.ts +34 -0
- package/dist/modules/waas/businessAccounts/parseGovernedResponse.d.ts.map +1 -0
- package/dist/modules/waas/businessAccounts/removeBusinessAccountMember/removeBusinessAccountMember.d.ts +4 -3
- package/dist/modules/waas/businessAccounts/removeBusinessAccountMember/removeBusinessAccountMember.d.ts.map +1 -1
- package/dist/modules/waas/businessAccounts/removeBusinessAccountSigner/removeBusinessAccountSigner.d.ts +4 -3
- package/dist/modules/waas/businessAccounts/removeBusinessAccountSigner/removeBusinessAccountSigner.d.ts.map +1 -1
- package/dist/modules/waas/businessAccounts/removeBusinessAccountWallet/removeBusinessAccountWallet.d.ts +4 -3
- package/dist/modules/waas/businessAccounts/removeBusinessAccountWallet/removeBusinessAccountWallet.d.ts.map +1 -1
- package/dist/modules/waas/businessAccounts/transferBusinessAccountOwnership/transferBusinessAccountOwnership.d.ts +4 -3
- package/dist/modules/waas/businessAccounts/transferBusinessAccountOwnership/transferBusinessAccountOwnership.d.ts.map +1 -1
- package/dist/modules/waas/businessAccounts/updateBusinessAccountMemberRole/updateBusinessAccountMemberRole.d.ts +16 -8
- package/dist/modules/waas/businessAccounts/updateBusinessAccountMemberRole/updateBusinessAccountMemberRole.d.ts.map +1 -1
- package/dist/modules/waas/createWaasProvider/createWaasProvider.d.ts.map +1 -1
- package/dist/modules/waas/waas.types.d.ts +5 -2
- package/dist/modules/waas/waas.types.d.ts.map +1 -1
- package/dist/modules/walletOptionsCatalogue/buildWalletBookConnectionOptions/buildWalletBookConnectionOptions.d.ts +42 -0
- package/dist/modules/walletOptionsCatalogue/buildWalletBookConnectionOptions/buildWalletBookConnectionOptions.d.ts.map +1 -0
- package/dist/modules/walletOptionsCatalogue/buildWalletConnectOptions/buildWalletConnectOptions.d.ts +7 -1
- package/dist/modules/walletOptionsCatalogue/buildWalletConnectOptions/buildWalletConnectOptions.d.ts.map +1 -1
- package/dist/modules/walletOptionsCatalogue/buildWalletOption/buildWalletOption.d.ts.map +1 -1
- package/dist/modules/walletOptionsCatalogue/deriveSupportedChains/deriveSupportedChains.d.ts +27 -0
- package/dist/modules/walletOptionsCatalogue/deriveSupportedChains/deriveSupportedChains.d.ts.map +1 -0
- package/dist/modules/walletOptionsCatalogue/getWalletOptionsCatalogue/getWalletOptionsCatalogue.d.ts +4 -0
- package/dist/modules/walletOptionsCatalogue/getWalletOptionsCatalogue/getWalletOptionsCatalogue.d.ts.map +1 -1
- package/dist/modules/walletOptionsCatalogue/isWalletExtensionInstalled/index.d.ts +3 -0
- package/dist/modules/walletOptionsCatalogue/isWalletExtensionInstalled/index.d.ts.map +1 -0
- package/dist/modules/walletOptionsCatalogue/isWalletExtensionInstalled/isWalletExtensionInstalled.d.ts +35 -0
- package/dist/modules/walletOptionsCatalogue/isWalletExtensionInstalled/isWalletExtensionInstalled.d.ts.map +1 -0
- package/dist/modules/walletOptionsCatalogue/sortWalletOptions/sortWalletOptions.d.ts +1 -1
- package/dist/modules/walletOptionsCatalogue/walletOptionsCatalogue.types.d.ts +7 -0
- package/dist/modules/walletOptionsCatalogue/walletOptionsCatalogue.types.d.ts.map +1 -1
- package/dist/modules/wallets/resolveWalletConnectionOption/resolveWalletConnectionOption.d.ts.map +1 -1
- package/dist/modules/wallets/uriConnectionStarterRegistry/getUriConnectionStarterChains/getUriConnectionStarterChains.d.ts +27 -0
- package/dist/modules/wallets/uriConnectionStarterRegistry/getUriConnectionStarterChains/getUriConnectionStarterChains.d.ts.map +1 -0
- package/dist/modules/wallets/uriConnectionStarterRegistry/getUriConnectionStarterChains/index.d.ts +2 -0
- package/dist/modules/wallets/uriConnectionStarterRegistry/getUriConnectionStarterChains/index.d.ts.map +1 -0
- package/dist/modules/wallets/verifyMessageSignatureOwnership/verifyMessageSignatureOwnership.d.ts.map +1 -1
- package/dist/services/instrumentation/instrumentFunction/instrumentFunction.d.ts +6 -5
- package/dist/services/instrumentation/instrumentFunction/instrumentFunction.d.ts.map +1 -1
- package/dist/services/instrumentation/resolveInstrumentationCore/index.d.ts +2 -0
- package/dist/services/instrumentation/resolveInstrumentationCore/index.d.ts.map +1 -0
- package/dist/services/instrumentation/resolveInstrumentationCore/resolveInstrumentationCore.d.ts +19 -0
- package/dist/services/instrumentation/resolveInstrumentationCore/resolveInstrumentationCore.d.ts.map +1 -0
- package/dist/services/instrumentation/transports/createDynamicTransport/createDynamicTransport.d.ts +4 -3
- package/dist/services/instrumentation/transports/createDynamicTransport/createDynamicTransport.d.ts.map +1 -1
- package/dist/services/realtime/createRealtimeService/createRealtimeService.d.ts.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/utils/isScreeningBlockedError/index.d.ts +2 -0
- package/dist/utils/isScreeningBlockedError/index.d.ts.map +1 -0
- package/dist/utils/isScreeningBlockedError/isScreeningBlockedError.d.ts +24 -0
- package/dist/utils/isScreeningBlockedError/isScreeningBlockedError.d.ts.map +1 -0
- package/dist/{waas-DzcYsWU8.esm.js → waas-DjgZ-ghV.esm.js} +163 -32
- package/dist/waas-DjgZ-ghV.esm.js.map +1 -0
- package/dist/{waas-WID2Fy_N.cjs → waas-G-4JvdgJ.cjs} +167 -30
- package/dist/waas-G-4JvdgJ.cjs.map +1 -0
- package/dist/{waas-CyUrvkQr.native.esm.js → waas-oKD6ZDP9.native.esm.js} +163 -32
- package/dist/waas-oKD6ZDP9.native.esm.js.map +1 -0
- package/dist/waas.cjs +5 -4
- package/dist/waas.esm.js +5 -5
- package/dist/waas.native.esm.js +5 -5
- package/dist/waasCore.cjs +8 -6
- package/dist/waasCore.cjs.map +1 -1
- package/dist/waasCore.esm.js +8 -6
- package/dist/waasCore.esm.js.map +1 -1
- package/dist/waasCore.native.esm.js +8 -6
- package/dist/waasCore.native.esm.js.map +1 -1
- package/package.json +6 -5
- package/dist/apiClient-Bwd6cllS.native.esm.js.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-5UBZwUg2.cjs.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-DSsGkava.native.esm.js.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-TTqmAiJh.esm.js.map +0 -1
- package/dist/logoutWithReason-x8mE7EAy.esm.js.map +0 -1
- package/dist/logoutWithReason-yDqQ0UIt.cjs.map +0 -1
- package/dist/modules/walletOptionsCatalogue/hasInstalledProvider/hasInstalledProvider.d.ts +0 -18
- package/dist/modules/walletOptionsCatalogue/hasInstalledProvider/hasInstalledProvider.d.ts.map +0 -1
- package/dist/waas-CyUrvkQr.native.esm.js.map +0 -1
- package/dist/waas-DzcYsWU8.esm.js.map +0 -1
- package/dist/waas-WID2Fy_N.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const require_logoutWithReason = require('./logoutWithReason-
|
|
2
|
-
const require_migrateFromFireblocks = require('./migrateFromFireblocks-
|
|
3
|
-
const require_waas = require('./waas-
|
|
4
|
-
const require_getNetworkProviderFromNetworkId = require('./getNetworkProviderFromNetworkId-
|
|
5
|
-
const require_getVerifiedCredentialForWalletAccount = require('./getVerifiedCredentialForWalletAccount-
|
|
6
|
-
const require_isUserOnboardingComplete = require('./isUserOnboardingComplete-
|
|
7
|
-
const require_isMfaRequiredForAction = require('./isMfaRequiredForAction-
|
|
1
|
+
const require_logoutWithReason = require('./logoutWithReason-CFjm8dbR.cjs');
|
|
2
|
+
const require_migrateFromFireblocks = require('./migrateFromFireblocks-BiZmnKp9.cjs');
|
|
3
|
+
const require_waas = require('./waas-G-4JvdgJ.cjs');
|
|
4
|
+
const require_getNetworkProviderFromNetworkId = require('./getNetworkProviderFromNetworkId-BXoTukxv.cjs');
|
|
5
|
+
const require_getVerifiedCredentialForWalletAccount = require('./getVerifiedCredentialForWalletAccount-upiwolAi.cjs');
|
|
6
|
+
const require_isUserOnboardingComplete = require('./isUserOnboardingComplete-BAL-3zu7.cjs');
|
|
7
|
+
const require_isMfaRequiredForAction = require('./isMfaRequiredForAction-DF65MJNN.cjs');
|
|
8
8
|
let _dynamic_labs_sdk_assert_package_version = require("@dynamic-labs-sdk/assert-package-version");
|
|
9
9
|
let _dynamic_labs_sdk_api_core = require("@dynamic-labs/sdk-api-core");
|
|
10
10
|
let zod_mini = require("zod/mini");
|
|
@@ -412,13 +412,7 @@ const __refreshUser_impl = refreshUser;
|
|
|
412
412
|
const __refreshUser_wrapped = require_logoutWithReason.instrumentFunction({
|
|
413
413
|
fn: __refreshUser_impl,
|
|
414
414
|
functionName: "refreshUser",
|
|
415
|
-
getCore:
|
|
416
|
-
try {
|
|
417
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
418
|
-
} catch {
|
|
419
|
-
return;
|
|
420
|
-
}
|
|
421
|
-
}
|
|
415
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
422
416
|
});
|
|
423
417
|
|
|
424
418
|
//#endregion
|
|
@@ -609,13 +603,7 @@ const __initializeClient_impl = initializeClient;
|
|
|
609
603
|
const __initializeClient_wrapped = require_logoutWithReason.instrumentFunction({
|
|
610
604
|
fn: __initializeClient_impl,
|
|
611
605
|
functionName: "initializeClient",
|
|
612
|
-
getCore:
|
|
613
|
-
try {
|
|
614
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
615
|
-
} catch {
|
|
616
|
-
return;
|
|
617
|
-
}
|
|
618
|
-
}
|
|
606
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
619
607
|
});
|
|
620
608
|
|
|
621
609
|
//#endregion
|
|
@@ -778,8 +766,9 @@ const LOGS_BASE_URL = "https://logs.dynamicauth.com/api/v1";
|
|
|
778
766
|
* synchronous tick are coalesced into one request, avoiding a round-trip per
|
|
779
767
|
* event.
|
|
780
768
|
*
|
|
781
|
-
* Fetch errors are swallowed to prevent an instrumentation
|
|
782
|
-
* triggering another instrumentation event and causing an
|
|
769
|
+
* Fetch and serialization errors are swallowed to prevent an instrumentation
|
|
770
|
+
* failure from triggering another instrumentation event and causing an
|
|
771
|
+
* infinite loop.
|
|
783
772
|
*
|
|
784
773
|
* Works in both browser and SSR environments — fetch is injected and
|
|
785
774
|
* queueMicrotask is available in Node.js >= 11.
|
|
@@ -793,11 +782,13 @@ const createDynamicTransport = (params) => {
|
|
|
793
782
|
const events = queue.splice(0);
|
|
794
783
|
if (events.length === 0) return;
|
|
795
784
|
const url = `${LOGS_BASE_URL}/${params.environmentId}`;
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
785
|
+
try {
|
|
786
|
+
params.fetch(url, {
|
|
787
|
+
body: JSON.stringify(events),
|
|
788
|
+
headers: { "Content-Type": "application/json" },
|
|
789
|
+
method: "POST"
|
|
790
|
+
}).catch(() => {});
|
|
791
|
+
} catch {}
|
|
801
792
|
};
|
|
802
793
|
return { log: (event) => {
|
|
803
794
|
queue.push(event);
|
|
@@ -1195,13 +1186,7 @@ const __createDynamicClient_impl = createDynamicClient;
|
|
|
1195
1186
|
const __createDynamicClient_wrapped = require_logoutWithReason.instrumentFunction({
|
|
1196
1187
|
fn: __createDynamicClient_impl,
|
|
1197
1188
|
functionName: "createDynamicClient",
|
|
1198
|
-
getCore:
|
|
1199
|
-
try {
|
|
1200
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
1201
|
-
} catch {
|
|
1202
|
-
return;
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1189
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
1205
1190
|
});
|
|
1206
1191
|
|
|
1207
1192
|
//#endregion
|
|
@@ -2088,13 +2073,7 @@ const __checkStepUpAuth_impl = checkStepUpAuth;
|
|
|
2088
2073
|
const __checkStepUpAuth_wrapped = require_logoutWithReason.instrumentFunction({
|
|
2089
2074
|
fn: __checkStepUpAuth_impl,
|
|
2090
2075
|
functionName: "checkStepUpAuth",
|
|
2091
|
-
getCore:
|
|
2092
|
-
try {
|
|
2093
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
2094
|
-
} catch {
|
|
2095
|
-
return;
|
|
2096
|
-
}
|
|
2097
|
-
}
|
|
2076
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
2098
2077
|
});
|
|
2099
2078
|
|
|
2100
2079
|
//#endregion
|
|
@@ -2134,13 +2113,7 @@ const __requestExternalAuthElevatedToken_impl = requestExternalAuthElevatedToken
|
|
|
2134
2113
|
const __requestExternalAuthElevatedToken_wrapped = require_logoutWithReason.instrumentFunction({
|
|
2135
2114
|
fn: __requestExternalAuthElevatedToken_impl,
|
|
2136
2115
|
functionName: "requestExternalAuthElevatedToken",
|
|
2137
|
-
getCore:
|
|
2138
|
-
try {
|
|
2139
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
2140
|
-
} catch {
|
|
2141
|
-
return;
|
|
2142
|
-
}
|
|
2143
|
-
}
|
|
2116
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
2144
2117
|
});
|
|
2145
2118
|
|
|
2146
2119
|
//#endregion
|
|
@@ -2182,13 +2155,7 @@ const __signInWithExternalJwt_impl = signInWithExternalJwt;
|
|
|
2182
2155
|
const __signInWithExternalJwt_wrapped = require_logoutWithReason.instrumentFunction({
|
|
2183
2156
|
fn: __signInWithExternalJwt_impl,
|
|
2184
2157
|
functionName: "signInWithExternalJwt",
|
|
2185
|
-
getCore:
|
|
2186
|
-
try {
|
|
2187
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
2188
|
-
} catch {
|
|
2189
|
-
return;
|
|
2190
|
-
}
|
|
2191
|
-
}
|
|
2158
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
2192
2159
|
});
|
|
2193
2160
|
|
|
2194
2161
|
//#endregion
|
|
@@ -2299,13 +2266,7 @@ const __deletePasskey_impl = deletePasskey;
|
|
|
2299
2266
|
const __deletePasskey_wrapped = require_logoutWithReason.instrumentFunction({
|
|
2300
2267
|
fn: __deletePasskey_impl,
|
|
2301
2268
|
functionName: "deletePasskey",
|
|
2302
|
-
getCore:
|
|
2303
|
-
try {
|
|
2304
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
2305
|
-
} catch {
|
|
2306
|
-
return;
|
|
2307
|
-
}
|
|
2308
|
-
}
|
|
2269
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
2309
2270
|
});
|
|
2310
2271
|
|
|
2311
2272
|
//#endregion
|
|
@@ -2388,13 +2349,7 @@ const __registerPasskey_impl = registerPasskey;
|
|
|
2388
2349
|
const __registerPasskey_wrapped = require_logoutWithReason.instrumentFunction({
|
|
2389
2350
|
fn: __registerPasskey_impl,
|
|
2390
2351
|
functionName: "registerPasskey",
|
|
2391
|
-
getCore:
|
|
2392
|
-
try {
|
|
2393
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
2394
|
-
} catch {
|
|
2395
|
-
return;
|
|
2396
|
-
}
|
|
2397
|
-
}
|
|
2352
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
2398
2353
|
});
|
|
2399
2354
|
|
|
2400
2355
|
//#endregion
|
|
@@ -2461,13 +2416,7 @@ const __signInWithPasskey_impl = signInWithPasskey;
|
|
|
2461
2416
|
const __signInWithPasskey_wrapped = require_logoutWithReason.instrumentFunction({
|
|
2462
2417
|
fn: __signInWithPasskey_impl,
|
|
2463
2418
|
functionName: "signInWithPasskey",
|
|
2464
|
-
getCore:
|
|
2465
|
-
try {
|
|
2466
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
2467
|
-
} catch {
|
|
2468
|
-
return;
|
|
2469
|
-
}
|
|
2470
|
-
}
|
|
2419
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
2471
2420
|
});
|
|
2472
2421
|
|
|
2473
2422
|
//#endregion
|
|
@@ -2682,13 +2631,7 @@ const __signInWithSocialRedirect_impl = signInWithSocialRedirect;
|
|
|
2682
2631
|
const __signInWithSocialRedirect_wrapped = require_logoutWithReason.instrumentFunction({
|
|
2683
2632
|
fn: __signInWithSocialRedirect_impl,
|
|
2684
2633
|
functionName: "signInWithSocialRedirect",
|
|
2685
|
-
getCore:
|
|
2686
|
-
try {
|
|
2687
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
2688
|
-
} catch {
|
|
2689
|
-
return;
|
|
2690
|
-
}
|
|
2691
|
-
}
|
|
2634
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
2692
2635
|
});
|
|
2693
2636
|
|
|
2694
2637
|
//#endregion
|
|
@@ -2713,13 +2656,7 @@ const __authenticateWithSocial_impl = authenticateWithSocial;
|
|
|
2713
2656
|
const __authenticateWithSocial_wrapped = require_logoutWithReason.instrumentFunction({
|
|
2714
2657
|
fn: __authenticateWithSocial_impl,
|
|
2715
2658
|
functionName: "authenticateWithSocial",
|
|
2716
|
-
getCore:
|
|
2717
|
-
try {
|
|
2718
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
2719
|
-
} catch {
|
|
2720
|
-
return;
|
|
2721
|
-
}
|
|
2722
|
-
}
|
|
2659
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
2723
2660
|
});
|
|
2724
2661
|
|
|
2725
2662
|
//#endregion
|
|
@@ -2831,13 +2768,7 @@ const __processSocialCallback_impl = processSocialCallback;
|
|
|
2831
2768
|
const __processSocialCallback_wrapped = require_logoutWithReason.instrumentFunction({
|
|
2832
2769
|
fn: __processSocialCallback_impl,
|
|
2833
2770
|
functionName: "processSocialCallback",
|
|
2834
|
-
getCore:
|
|
2835
|
-
try {
|
|
2836
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
2837
|
-
} catch {
|
|
2838
|
-
return;
|
|
2839
|
-
}
|
|
2840
|
-
}
|
|
2771
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
2841
2772
|
});
|
|
2842
2773
|
|
|
2843
2774
|
//#endregion
|
|
@@ -2898,13 +2829,7 @@ const __completeSocialRedirect_impl = completeSocialRedirect;
|
|
|
2898
2829
|
const __completeSocialRedirect_wrapped = require_logoutWithReason.instrumentFunction({
|
|
2899
2830
|
fn: __completeSocialRedirect_impl,
|
|
2900
2831
|
functionName: "completeSocialRedirect",
|
|
2901
|
-
getCore:
|
|
2902
|
-
try {
|
|
2903
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
2904
|
-
} catch {
|
|
2905
|
-
return;
|
|
2906
|
-
}
|
|
2907
|
-
}
|
|
2832
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
2908
2833
|
});
|
|
2909
2834
|
|
|
2910
2835
|
//#endregion
|
|
@@ -2921,13 +2846,7 @@ const __completeSocialAuthentication_impl = completeSocialAuthentication;
|
|
|
2921
2846
|
const __completeSocialAuthentication_wrapped = require_logoutWithReason.instrumentFunction({
|
|
2922
2847
|
fn: __completeSocialAuthentication_impl,
|
|
2923
2848
|
functionName: "completeSocialAuthentication",
|
|
2924
|
-
getCore:
|
|
2925
|
-
try {
|
|
2926
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
2927
|
-
} catch {
|
|
2928
|
-
return;
|
|
2929
|
-
}
|
|
2930
|
-
}
|
|
2849
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
2931
2850
|
});
|
|
2932
2851
|
|
|
2933
2852
|
//#endregion
|
|
@@ -2996,13 +2915,7 @@ const __signInWithSocialPopUp_impl = signInWithSocialPopUp;
|
|
|
2996
2915
|
const __signInWithSocialPopUp_wrapped = require_logoutWithReason.instrumentFunction({
|
|
2997
2916
|
fn: __signInWithSocialPopUp_impl,
|
|
2998
2917
|
functionName: "signInWithSocialPopUp",
|
|
2999
|
-
getCore:
|
|
3000
|
-
try {
|
|
3001
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
3002
|
-
} catch {
|
|
3003
|
-
return;
|
|
3004
|
-
}
|
|
3005
|
-
}
|
|
2918
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
3006
2919
|
});
|
|
3007
2920
|
|
|
3008
2921
|
//#endregion
|
|
@@ -3077,13 +2990,7 @@ const __unlinkSocialAccount_impl = unlinkSocialAccount;
|
|
|
3077
2990
|
const __unlinkSocialAccount_wrapped = require_logoutWithReason.instrumentFunction({
|
|
3078
2991
|
fn: __unlinkSocialAccount_impl,
|
|
3079
2992
|
functionName: "unlinkSocialAccount",
|
|
3080
|
-
getCore:
|
|
3081
|
-
try {
|
|
3082
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
3083
|
-
} catch {
|
|
3084
|
-
return;
|
|
3085
|
-
}
|
|
3086
|
-
}
|
|
2993
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
3087
2994
|
});
|
|
3088
2995
|
|
|
3089
2996
|
//#endregion
|
|
@@ -3340,13 +3247,7 @@ const __attachCheckoutTransactionSource_impl = attachCheckoutTransactionSource;
|
|
|
3340
3247
|
const __attachCheckoutTransactionSource_wrapped = require_logoutWithReason.instrumentFunction({
|
|
3341
3248
|
fn: __attachCheckoutTransactionSource_impl,
|
|
3342
3249
|
functionName: "attachCheckoutTransactionSource",
|
|
3343
|
-
getCore:
|
|
3344
|
-
try {
|
|
3345
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
3346
|
-
} catch {
|
|
3347
|
-
return;
|
|
3348
|
-
}
|
|
3349
|
-
}
|
|
3250
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
3350
3251
|
});
|
|
3351
3252
|
|
|
3352
3253
|
//#endregion
|
|
@@ -3382,13 +3283,7 @@ const __broadcastCheckoutTransaction_impl = broadcastCheckoutTransaction;
|
|
|
3382
3283
|
const __broadcastCheckoutTransaction_wrapped = require_logoutWithReason.instrumentFunction({
|
|
3383
3284
|
fn: __broadcastCheckoutTransaction_impl,
|
|
3384
3285
|
functionName: "broadcastCheckoutTransaction",
|
|
3385
|
-
getCore:
|
|
3386
|
-
try {
|
|
3387
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
3388
|
-
} catch {
|
|
3389
|
-
return;
|
|
3390
|
-
}
|
|
3391
|
-
}
|
|
3286
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
3392
3287
|
});
|
|
3393
3288
|
|
|
3394
3289
|
//#endregion
|
|
@@ -3421,13 +3316,7 @@ const __cancelCheckoutTransaction_impl = cancelCheckoutTransaction;
|
|
|
3421
3316
|
const __cancelCheckoutTransaction_wrapped = require_logoutWithReason.instrumentFunction({
|
|
3422
3317
|
fn: __cancelCheckoutTransaction_impl,
|
|
3423
3318
|
functionName: "cancelCheckoutTransaction",
|
|
3424
|
-
getCore:
|
|
3425
|
-
try {
|
|
3426
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
3427
|
-
} catch {
|
|
3428
|
-
return;
|
|
3429
|
-
}
|
|
3430
|
-
}
|
|
3319
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
3431
3320
|
});
|
|
3432
3321
|
|
|
3433
3322
|
//#endregion
|
|
@@ -3479,13 +3368,7 @@ const __createCheckoutTransaction_impl = createCheckoutTransaction;
|
|
|
3479
3368
|
const __createCheckoutTransaction_wrapped = require_logoutWithReason.instrumentFunction({
|
|
3480
3369
|
fn: __createCheckoutTransaction_impl,
|
|
3481
3370
|
functionName: "createCheckoutTransaction",
|
|
3482
|
-
getCore:
|
|
3483
|
-
try {
|
|
3484
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
3485
|
-
} catch {
|
|
3486
|
-
return;
|
|
3487
|
-
}
|
|
3488
|
-
}
|
|
3371
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
3489
3372
|
});
|
|
3490
3373
|
|
|
3491
3374
|
//#endregion
|
|
@@ -3573,13 +3456,7 @@ const __prepareCheckoutTransaction_impl = prepareCheckoutTransaction;
|
|
|
3573
3456
|
const __prepareCheckoutTransaction_wrapped = require_logoutWithReason.instrumentFunction({
|
|
3574
3457
|
fn: __prepareCheckoutTransaction_impl,
|
|
3575
3458
|
functionName: "prepareCheckoutTransaction",
|
|
3576
|
-
getCore:
|
|
3577
|
-
try {
|
|
3578
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
3579
|
-
} catch {
|
|
3580
|
-
return;
|
|
3581
|
-
}
|
|
3582
|
-
}
|
|
3459
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
3583
3460
|
});
|
|
3584
3461
|
|
|
3585
3462
|
//#endregion
|
|
@@ -3677,13 +3554,7 @@ const __executeSwapTransaction_impl = executeSwapTransaction;
|
|
|
3677
3554
|
const __executeSwapTransaction_wrapped = require_logoutWithReason.instrumentFunction({
|
|
3678
3555
|
fn: __executeSwapTransaction_impl,
|
|
3679
3556
|
functionName: "executeSwapTransaction",
|
|
3680
|
-
getCore:
|
|
3681
|
-
try {
|
|
3682
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
3683
|
-
} catch {
|
|
3684
|
-
return;
|
|
3685
|
-
}
|
|
3686
|
-
}
|
|
3557
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
3687
3558
|
});
|
|
3688
3559
|
|
|
3689
3560
|
//#endregion
|
|
@@ -3726,13 +3597,7 @@ const __submitCheckoutTransaction_impl = submitCheckoutTransaction;
|
|
|
3726
3597
|
const __submitCheckoutTransaction_wrapped = require_logoutWithReason.instrumentFunction({
|
|
3727
3598
|
fn: __submitCheckoutTransaction_impl,
|
|
3728
3599
|
functionName: "submitCheckoutTransaction",
|
|
3729
|
-
getCore:
|
|
3730
|
-
try {
|
|
3731
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
3732
|
-
} catch {
|
|
3733
|
-
return;
|
|
3734
|
-
}
|
|
3735
|
-
}
|
|
3600
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
3736
3601
|
});
|
|
3737
3602
|
|
|
3738
3603
|
//#endregion
|
|
@@ -3855,13 +3720,7 @@ const __completeDeviceRegistration_impl = completeDeviceRegistration;
|
|
|
3855
3720
|
const __completeDeviceRegistration_wrapped = require_logoutWithReason.instrumentFunction({
|
|
3856
3721
|
fn: __completeDeviceRegistration_impl,
|
|
3857
3722
|
functionName: "completeDeviceRegistration",
|
|
3858
|
-
getCore:
|
|
3859
|
-
try {
|
|
3860
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
3861
|
-
} catch {
|
|
3862
|
-
return;
|
|
3863
|
-
}
|
|
3864
|
-
}
|
|
3723
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
3865
3724
|
});
|
|
3866
3725
|
|
|
3867
3726
|
//#endregion
|
|
@@ -3938,13 +3797,7 @@ const __revokeAllRegisteredDevices_impl = revokeAllRegisteredDevices;
|
|
|
3938
3797
|
const __revokeAllRegisteredDevices_wrapped = require_logoutWithReason.instrumentFunction({
|
|
3939
3798
|
fn: __revokeAllRegisteredDevices_impl,
|
|
3940
3799
|
functionName: "revokeAllRegisteredDevices",
|
|
3941
|
-
getCore:
|
|
3942
|
-
try {
|
|
3943
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
3944
|
-
} catch {
|
|
3945
|
-
return;
|
|
3946
|
-
}
|
|
3947
|
-
}
|
|
3800
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
3948
3801
|
});
|
|
3949
3802
|
|
|
3950
3803
|
//#endregion
|
|
@@ -3962,13 +3815,7 @@ const __revokeRegisteredDevice_impl = revokeRegisteredDevice;
|
|
|
3962
3815
|
const __revokeRegisteredDevice_wrapped = require_logoutWithReason.instrumentFunction({
|
|
3963
3816
|
fn: __revokeRegisteredDevice_impl,
|
|
3964
3817
|
functionName: "revokeRegisteredDevice",
|
|
3965
|
-
getCore:
|
|
3966
|
-
try {
|
|
3967
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
3968
|
-
} catch {
|
|
3969
|
-
return;
|
|
3970
|
-
}
|
|
3971
|
-
}
|
|
3818
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
3972
3819
|
});
|
|
3973
3820
|
|
|
3974
3821
|
//#endregion
|
|
@@ -4089,13 +3936,7 @@ const __attachFlowSource_impl = attachFlowSource;
|
|
|
4089
3936
|
const __attachFlowSource_wrapped = require_logoutWithReason.instrumentFunction({
|
|
4090
3937
|
fn: __attachFlowSource_impl,
|
|
4091
3938
|
functionName: "attachFlowSource",
|
|
4092
|
-
getCore:
|
|
4093
|
-
try {
|
|
4094
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
4095
|
-
} catch {
|
|
4096
|
-
return;
|
|
4097
|
-
}
|
|
4098
|
-
},
|
|
3939
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore,
|
|
4099
3940
|
selectors: attachFlowSourceInstrumentation
|
|
4100
3941
|
});
|
|
4101
3942
|
|
|
@@ -4160,13 +4001,7 @@ const __broadcastFlow_impl = broadcastFlow;
|
|
|
4160
4001
|
const __broadcastFlow_wrapped = require_logoutWithReason.instrumentFunction({
|
|
4161
4002
|
fn: __broadcastFlow_impl,
|
|
4162
4003
|
functionName: "broadcastFlow",
|
|
4163
|
-
getCore:
|
|
4164
|
-
try {
|
|
4165
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
4166
|
-
} catch {
|
|
4167
|
-
return;
|
|
4168
|
-
}
|
|
4169
|
-
},
|
|
4004
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore,
|
|
4170
4005
|
selectors: broadcastFlowInstrumentation
|
|
4171
4006
|
});
|
|
4172
4007
|
|
|
@@ -4219,13 +4054,7 @@ const __cancelFlow_impl = cancelFlow;
|
|
|
4219
4054
|
const __cancelFlow_wrapped = require_logoutWithReason.instrumentFunction({
|
|
4220
4055
|
fn: __cancelFlow_impl,
|
|
4221
4056
|
functionName: "cancelFlow",
|
|
4222
|
-
getCore:
|
|
4223
|
-
try {
|
|
4224
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
4225
|
-
} catch {
|
|
4226
|
-
return;
|
|
4227
|
-
}
|
|
4228
|
-
},
|
|
4057
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore,
|
|
4229
4058
|
selectors: cancelFlowInstrumentation
|
|
4230
4059
|
});
|
|
4231
4060
|
|
|
@@ -4342,13 +4171,7 @@ const __prepareFlowSigning_impl = prepareFlowSigning;
|
|
|
4342
4171
|
const __prepareFlowSigning_wrapped = require_logoutWithReason.instrumentFunction({
|
|
4343
4172
|
fn: __prepareFlowSigning_impl,
|
|
4344
4173
|
functionName: "prepareFlowSigning",
|
|
4345
|
-
getCore:
|
|
4346
|
-
try {
|
|
4347
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
4348
|
-
} catch {
|
|
4349
|
-
return;
|
|
4350
|
-
}
|
|
4351
|
-
},
|
|
4174
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore,
|
|
4352
4175
|
selectors: prepareFlowSigningInstrumentation
|
|
4353
4176
|
});
|
|
4354
4177
|
|
|
@@ -4407,13 +4230,7 @@ const __submitFlowTransaction_impl = submitFlowTransaction;
|
|
|
4407
4230
|
const __submitFlowTransaction_wrapped = require_logoutWithReason.instrumentFunction({
|
|
4408
4231
|
fn: __submitFlowTransaction_impl,
|
|
4409
4232
|
functionName: "submitFlowTransaction",
|
|
4410
|
-
getCore:
|
|
4411
|
-
try {
|
|
4412
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
4413
|
-
} catch {
|
|
4414
|
-
return;
|
|
4415
|
-
}
|
|
4416
|
-
},
|
|
4233
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore,
|
|
4417
4234
|
selectors: submitFlowTransactionInstrumentation
|
|
4418
4235
|
});
|
|
4419
4236
|
|
|
@@ -4755,13 +4572,7 @@ const __createCoinbaseOnrampOrder_impl = createCoinbaseOnrampOrder;
|
|
|
4755
4572
|
const __createCoinbaseOnrampOrder_wrapped = require_logoutWithReason.instrumentFunction({
|
|
4756
4573
|
fn: __createCoinbaseOnrampOrder_impl,
|
|
4757
4574
|
functionName: "createCoinbaseOnrampOrder",
|
|
4758
|
-
getCore:
|
|
4759
|
-
try {
|
|
4760
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
4761
|
-
} catch {
|
|
4762
|
-
return;
|
|
4763
|
-
}
|
|
4764
|
-
}
|
|
4575
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
4765
4576
|
});
|
|
4766
4577
|
|
|
4767
4578
|
//#endregion
|
|
@@ -4800,7 +4611,7 @@ const assertChainName = (chainName) => {
|
|
|
4800
4611
|
* ```
|
|
4801
4612
|
* @see createCoinbaseExchangeTransfer
|
|
4802
4613
|
* @see GetCoinbaseAccountsParams
|
|
4803
|
-
* @
|
|
4614
|
+
* @instrumented
|
|
4804
4615
|
*/
|
|
4805
4616
|
const getCoinbaseAccounts = async (params, client = require_logoutWithReason.getDefaultClient()) => {
|
|
4806
4617
|
const core = require_logoutWithReason.getCore(client);
|
|
@@ -4816,6 +4627,12 @@ const getCoinbaseAccounts = async (params, client = require_logoutWithReason.get
|
|
|
4816
4627
|
networkId
|
|
4817
4628
|
});
|
|
4818
4629
|
};
|
|
4630
|
+
const __getCoinbaseAccounts_impl = getCoinbaseAccounts;
|
|
4631
|
+
const __getCoinbaseAccounts_wrapped = require_logoutWithReason.instrumentFunction({
|
|
4632
|
+
fn: __getCoinbaseAccounts_impl,
|
|
4633
|
+
functionName: "getCoinbaseAccounts",
|
|
4634
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
4635
|
+
});
|
|
4819
4636
|
|
|
4820
4637
|
//#endregion
|
|
4821
4638
|
//#region src/modules/funding/coinbase/getCoinbaseBuyUrl/getCoinbaseBuyUrl.ts
|
|
@@ -4825,7 +4642,7 @@ const getCoinbaseAccounts = async (params, client = require_logoutWithReason.get
|
|
|
4825
4642
|
* @param buyUrlParams CoinbaseOnrampGetBuyUrlRequest - The parameters for the buy URL.
|
|
4826
4643
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
4827
4644
|
* @returns an object containing the buy URL
|
|
4828
|
-
* @
|
|
4645
|
+
* @instrumented
|
|
4829
4646
|
*/
|
|
4830
4647
|
const getCoinbaseBuyUrl = async (buyUrlParams, client = require_logoutWithReason.getDefaultClient()) => {
|
|
4831
4648
|
const core = require_logoutWithReason.getCore(client);
|
|
@@ -4834,6 +4651,12 @@ const getCoinbaseBuyUrl = async (buyUrlParams, client = require_logoutWithReason
|
|
|
4834
4651
|
environmentId: core.environmentId
|
|
4835
4652
|
});
|
|
4836
4653
|
};
|
|
4654
|
+
const __getCoinbaseBuyUrl_impl = getCoinbaseBuyUrl;
|
|
4655
|
+
const __getCoinbaseBuyUrl_wrapped = require_logoutWithReason.instrumentFunction({
|
|
4656
|
+
fn: __getCoinbaseBuyUrl_impl,
|
|
4657
|
+
functionName: "getCoinbaseBuyUrl",
|
|
4658
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
4659
|
+
});
|
|
4837
4660
|
|
|
4838
4661
|
//#endregion
|
|
4839
4662
|
//#region src/modules/funding/cryptoDotCom/createCryptoDotComPayment/createCryptoDotComPayment.ts
|
|
@@ -4859,13 +4682,7 @@ const __createCryptoDotComPayment_impl = createCryptoDotComPayment;
|
|
|
4859
4682
|
const __createCryptoDotComPayment_wrapped = require_logoutWithReason.instrumentFunction({
|
|
4860
4683
|
fn: __createCryptoDotComPayment_impl,
|
|
4861
4684
|
functionName: "createCryptoDotComPayment",
|
|
4862
|
-
getCore:
|
|
4863
|
-
try {
|
|
4864
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
4865
|
-
} catch {
|
|
4866
|
-
return;
|
|
4867
|
-
}
|
|
4868
|
-
}
|
|
4685
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
4869
4686
|
});
|
|
4870
4687
|
|
|
4871
4688
|
//#endregion
|
|
@@ -4898,7 +4715,7 @@ const createKrakenExchangeTransfer = async (transferParams, client = require_log
|
|
|
4898
4715
|
* @param [params] GetKrakenAccountsParams - Optional filters for the accounts.
|
|
4899
4716
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
4900
4717
|
* @returns Array of Kraken accounts with balances
|
|
4901
|
-
* @
|
|
4718
|
+
* @instrumented
|
|
4902
4719
|
*/
|
|
4903
4720
|
const getKrakenAccounts = async (params, client = require_logoutWithReason.getDefaultClient()) => {
|
|
4904
4721
|
const core = require_logoutWithReason.getCore(client);
|
|
@@ -4909,6 +4726,12 @@ const getKrakenAccounts = async (params, client = require_logoutWithReason.getDe
|
|
|
4909
4726
|
networkId: params?.networkId
|
|
4910
4727
|
});
|
|
4911
4728
|
};
|
|
4729
|
+
const __getKrakenAccounts_impl = getKrakenAccounts;
|
|
4730
|
+
const __getKrakenAccounts_wrapped = require_logoutWithReason.instrumentFunction({
|
|
4731
|
+
fn: __getKrakenAccounts_impl,
|
|
4732
|
+
functionName: "getKrakenAccounts",
|
|
4733
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
4734
|
+
});
|
|
4912
4735
|
|
|
4913
4736
|
//#endregion
|
|
4914
4737
|
//#region src/modules/funding/kraken/getKrakenWhitelistedAddresses/getKrakenWhitelistedAddresses.ts
|
|
@@ -4917,7 +4740,7 @@ const getKrakenAccounts = async (params, client = require_logoutWithReason.getDe
|
|
|
4917
4740
|
*
|
|
4918
4741
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
4919
4742
|
* @returns Transfer destinations response with whitelisted addresses
|
|
4920
|
-
* @
|
|
4743
|
+
* @instrumented
|
|
4921
4744
|
*/
|
|
4922
4745
|
const getKrakenWhitelistedAddresses = async (client = require_logoutWithReason.getDefaultClient()) => {
|
|
4923
4746
|
const core = require_logoutWithReason.getCore(client);
|
|
@@ -4926,6 +4749,12 @@ const getKrakenWhitelistedAddresses = async (client = require_logoutWithReason.g
|
|
|
4926
4749
|
exchangeKey: _dynamic_labs_sdk_api_core.ExchangeKeyEnum.Kraken
|
|
4927
4750
|
});
|
|
4928
4751
|
};
|
|
4752
|
+
const __getKrakenWhitelistedAddresses_impl = getKrakenWhitelistedAddresses;
|
|
4753
|
+
const __getKrakenWhitelistedAddresses_wrapped = require_logoutWithReason.instrumentFunction({
|
|
4754
|
+
fn: __getKrakenWhitelistedAddresses_impl,
|
|
4755
|
+
functionName: "getKrakenWhitelistedAddresses",
|
|
4756
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
4757
|
+
});
|
|
4929
4758
|
|
|
4930
4759
|
//#endregion
|
|
4931
4760
|
//#region src/modules/funding/moonpay/getMoonPayCurrencies/getMoonPayCurrencies.ts
|
|
@@ -4951,13 +4780,7 @@ const __getMoonPayCurrencies_impl = getMoonPayCurrencies;
|
|
|
4951
4780
|
const __getMoonPayCurrencies_wrapped = require_logoutWithReason.instrumentFunction({
|
|
4952
4781
|
fn: __getMoonPayCurrencies_impl,
|
|
4953
4782
|
functionName: "getMoonPayCurrencies",
|
|
4954
|
-
getCore:
|
|
4955
|
-
try {
|
|
4956
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
4957
|
-
} catch {
|
|
4958
|
-
return;
|
|
4959
|
-
}
|
|
4960
|
-
}
|
|
4783
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
4961
4784
|
});
|
|
4962
4785
|
|
|
4963
4786
|
//#endregion
|
|
@@ -5027,13 +4850,7 @@ const __getMoonPayUrl_impl = getMoonPayUrl;
|
|
|
5027
4850
|
const __getMoonPayUrl_wrapped = require_logoutWithReason.instrumentFunction({
|
|
5028
4851
|
fn: __getMoonPayUrl_impl,
|
|
5029
4852
|
functionName: "getMoonPayUrl",
|
|
5030
|
-
getCore:
|
|
5031
|
-
try {
|
|
5032
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
5033
|
-
} catch {
|
|
5034
|
-
return;
|
|
5035
|
-
}
|
|
5036
|
-
}
|
|
4853
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
5037
4854
|
});
|
|
5038
4855
|
|
|
5039
4856
|
//#endregion
|
|
@@ -5077,13 +4894,7 @@ const __setInstrumentationEnabled_impl = setInstrumentationEnabled;
|
|
|
5077
4894
|
const __setInstrumentationEnabled_wrapped = require_logoutWithReason.instrumentFunction({
|
|
5078
4895
|
fn: __setInstrumentationEnabled_impl,
|
|
5079
4896
|
functionName: "setInstrumentationEnabled",
|
|
5080
|
-
getCore:
|
|
5081
|
-
try {
|
|
5082
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
5083
|
-
} catch {
|
|
5084
|
-
return;
|
|
5085
|
-
}
|
|
5086
|
-
}
|
|
4897
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
5087
4898
|
});
|
|
5088
4899
|
|
|
5089
4900
|
//#endregion
|
|
@@ -5650,13 +5461,7 @@ const __updateUser_impl = updateUser;
|
|
|
5650
5461
|
const __updateUser_wrapped = require_logoutWithReason.instrumentFunction({
|
|
5651
5462
|
fn: __updateUser_impl,
|
|
5652
5463
|
functionName: "updateUser",
|
|
5653
|
-
getCore:
|
|
5654
|
-
try {
|
|
5655
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
5656
|
-
} catch {
|
|
5657
|
-
return;
|
|
5658
|
-
}
|
|
5659
|
-
}
|
|
5464
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
5660
5465
|
});
|
|
5661
5466
|
|
|
5662
5467
|
//#endregion
|
|
@@ -5678,13 +5483,7 @@ const __acknowledgeRecoveryCodes_impl = acknowledgeRecoveryCodes;
|
|
|
5678
5483
|
const __acknowledgeRecoveryCodes_wrapped = require_logoutWithReason.instrumentFunction({
|
|
5679
5484
|
fn: __acknowledgeRecoveryCodes_impl,
|
|
5680
5485
|
functionName: "acknowledgeRecoveryCodes",
|
|
5681
|
-
getCore:
|
|
5682
|
-
try {
|
|
5683
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
5684
|
-
} catch {
|
|
5685
|
-
return;
|
|
5686
|
-
}
|
|
5687
|
-
}
|
|
5486
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
5688
5487
|
});
|
|
5689
5488
|
|
|
5690
5489
|
//#endregion
|
|
@@ -5879,13 +5678,7 @@ const __createNewMfaRecoveryCodes_impl = createNewMfaRecoveryCodes;
|
|
|
5879
5678
|
const __createNewMfaRecoveryCodes_wrapped = require_logoutWithReason.instrumentFunction({
|
|
5880
5679
|
fn: __createNewMfaRecoveryCodes_impl,
|
|
5881
5680
|
functionName: "createNewMfaRecoveryCodes",
|
|
5882
|
-
getCore:
|
|
5883
|
-
try {
|
|
5884
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
5885
|
-
} catch {
|
|
5886
|
-
return;
|
|
5887
|
-
}
|
|
5888
|
-
}
|
|
5681
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
5889
5682
|
});
|
|
5890
5683
|
|
|
5891
5684
|
//#endregion
|
|
@@ -5921,13 +5714,7 @@ const __deleteMfaDevice_impl = deleteMfaDevice;
|
|
|
5921
5714
|
const __deleteMfaDevice_wrapped = require_logoutWithReason.instrumentFunction({
|
|
5922
5715
|
fn: __deleteMfaDevice_impl,
|
|
5923
5716
|
functionName: "deleteMfaDevice",
|
|
5924
|
-
getCore:
|
|
5925
|
-
try {
|
|
5926
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
5927
|
-
} catch {
|
|
5928
|
-
return;
|
|
5929
|
-
}
|
|
5930
|
-
}
|
|
5717
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
5931
5718
|
});
|
|
5932
5719
|
|
|
5933
5720
|
//#endregion
|
|
@@ -5988,13 +5775,7 @@ const __registerTotpMfaDevice_impl = registerTotpMfaDevice;
|
|
|
5988
5775
|
const __registerTotpMfaDevice_wrapped = require_logoutWithReason.instrumentFunction({
|
|
5989
5776
|
fn: __registerTotpMfaDevice_impl,
|
|
5990
5777
|
functionName: "registerTotpMfaDevice",
|
|
5991
|
-
getCore:
|
|
5992
|
-
try {
|
|
5993
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
5994
|
-
} catch {
|
|
5995
|
-
return;
|
|
5996
|
-
}
|
|
5997
|
-
}
|
|
5778
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
5998
5779
|
});
|
|
5999
5780
|
|
|
6000
5781
|
//#endregion
|
|
@@ -6023,13 +5804,7 @@ const __setDefaultMfaDevice_impl = setDefaultMfaDevice;
|
|
|
6023
5804
|
const __setDefaultMfaDevice_wrapped = require_logoutWithReason.instrumentFunction({
|
|
6024
5805
|
fn: __setDefaultMfaDevice_impl,
|
|
6025
5806
|
functionName: "setDefaultMfaDevice",
|
|
6026
|
-
getCore:
|
|
6027
|
-
try {
|
|
6028
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
6029
|
-
} catch {
|
|
6030
|
-
return;
|
|
6031
|
-
}
|
|
6032
|
-
}
|
|
5807
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
6033
5808
|
});
|
|
6034
5809
|
|
|
6035
5810
|
//#endregion
|
|
@@ -6078,13 +5853,7 @@ const __sendEmailOTP_impl = sendEmailOTP;
|
|
|
6078
5853
|
const __sendEmailOTP_wrapped = require_logoutWithReason.instrumentFunction({
|
|
6079
5854
|
fn: __sendEmailOTP_impl,
|
|
6080
5855
|
functionName: "sendEmailOTP",
|
|
6081
|
-
getCore:
|
|
6082
|
-
try {
|
|
6083
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
6084
|
-
} catch {
|
|
6085
|
-
return;
|
|
6086
|
-
}
|
|
6087
|
-
}
|
|
5856
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
6088
5857
|
});
|
|
6089
5858
|
|
|
6090
5859
|
//#endregion
|
|
@@ -7056,13 +6825,7 @@ const __sendSmsOTP_impl = sendSmsOTP;
|
|
|
7056
6825
|
const __sendSmsOTP_wrapped = require_logoutWithReason.instrumentFunction({
|
|
7057
6826
|
fn: __sendSmsOTP_impl,
|
|
7058
6827
|
functionName: "sendSmsOTP",
|
|
7059
|
-
getCore:
|
|
7060
|
-
try {
|
|
7061
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
7062
|
-
} catch {
|
|
7063
|
-
return;
|
|
7064
|
-
}
|
|
7065
|
-
}
|
|
6828
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
7066
6829
|
});
|
|
7067
6830
|
|
|
7068
6831
|
//#endregion
|
|
@@ -7154,13 +6917,7 @@ const __verifyOTP_impl = verifyOTP;
|
|
|
7154
6917
|
const __verifyOTP_wrapped = require_logoutWithReason.instrumentFunction({
|
|
7155
6918
|
fn: __verifyOTP_impl,
|
|
7156
6919
|
functionName: "verifyOTP",
|
|
7157
|
-
getCore:
|
|
7158
|
-
try {
|
|
7159
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
7160
|
-
} catch {
|
|
7161
|
-
return;
|
|
7162
|
-
}
|
|
7163
|
-
}
|
|
6920
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
7164
6921
|
});
|
|
7165
6922
|
|
|
7166
6923
|
//#endregion
|
|
@@ -7298,13 +7055,7 @@ const __deleteUser_impl = deleteUser;
|
|
|
7298
7055
|
const __deleteUser_wrapped = require_logoutWithReason.instrumentFunction({
|
|
7299
7056
|
fn: __deleteUser_impl,
|
|
7300
7057
|
functionName: "deleteUser",
|
|
7301
|
-
getCore:
|
|
7302
|
-
try {
|
|
7303
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
7304
|
-
} catch {
|
|
7305
|
-
return;
|
|
7306
|
-
}
|
|
7307
|
-
}
|
|
7058
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
7308
7059
|
});
|
|
7309
7060
|
|
|
7310
7061
|
//#endregion
|
|
@@ -7447,13 +7198,7 @@ const __getGoogleDriveBackupReadiness_impl = getGoogleDriveBackupReadiness;
|
|
|
7447
7198
|
const __getGoogleDriveBackupReadiness_wrapped = require_logoutWithReason.instrumentFunction({
|
|
7448
7199
|
fn: __getGoogleDriveBackupReadiness_impl,
|
|
7449
7200
|
functionName: "getGoogleDriveBackupReadiness",
|
|
7450
|
-
getCore:
|
|
7451
|
-
try {
|
|
7452
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
7453
|
-
} catch {
|
|
7454
|
-
return;
|
|
7455
|
-
}
|
|
7456
|
-
}
|
|
7201
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
7457
7202
|
});
|
|
7458
7203
|
|
|
7459
7204
|
//#endregion
|
|
@@ -7705,6 +7450,43 @@ const getChainsFromWalletSchema = ({ wallet, walletKey }) => {
|
|
|
7705
7450
|
return Array.from(chains);
|
|
7706
7451
|
};
|
|
7707
7452
|
|
|
7453
|
+
//#endregion
|
|
7454
|
+
//#region src/modules/walletOptionsCatalogue/buildInstallationUrls/buildInstallationUrls.ts
|
|
7455
|
+
const PLAY_STORE_URL_TEMPLATE = "https://play.google.com/store/apps/details?id=";
|
|
7456
|
+
const APP_STORE_URL_TEMPLATE = "https://apps.apple.com/app/";
|
|
7457
|
+
const CHROME_WEB_STORE_URL_TEMPLATE = "https://chrome.google.com/webstore/detail/";
|
|
7458
|
+
const FIREFOX_ADDONS_URL_TEMPLATE = "https://addons.mozilla.org/firefox/addon/";
|
|
7459
|
+
const EDGE_ADDONS_URL_TEMPLATE = "https://microsoftedge.microsoft.com/addons/detail/";
|
|
7460
|
+
/**
|
|
7461
|
+
* Builds the install/download URL bag for a wallet book entry. Returns the
|
|
7462
|
+
* concrete URLs assembled from each store's ID field — Play Store, App
|
|
7463
|
+
* Store, Chrome Web Store, Firefox Add-ons, Edge Add-ons — plus the wallet's
|
|
7464
|
+
* own `desktop.universal` / `desktop.native` URLs when set.
|
|
7465
|
+
*
|
|
7466
|
+
* Fields the wallet book does not carry are left undefined; callers should
|
|
7467
|
+
* skip emitting an installation option for a wallet whose URL bag is empty.
|
|
7468
|
+
*
|
|
7469
|
+
* @param params.wallet - The wallet book entry.
|
|
7470
|
+
* @returns The URL bag, omitting fields the wallet does not provide.
|
|
7471
|
+
* @notInstrumented
|
|
7472
|
+
*/
|
|
7473
|
+
const buildInstallationUrls = ({ wallet }) => {
|
|
7474
|
+
const androidId = wallet.mobile?.androidId;
|
|
7475
|
+
const iosId = wallet.mobile?.iosId;
|
|
7476
|
+
const chromeId = wallet.desktop?.chromeId;
|
|
7477
|
+
const firefoxId = wallet.desktop?.firefoxId;
|
|
7478
|
+
const edgeId = wallet.desktop?.edgeId;
|
|
7479
|
+
const native = wallet.desktop?.universal ?? wallet.desktop?.native;
|
|
7480
|
+
return {
|
|
7481
|
+
android: androidId ? `${PLAY_STORE_URL_TEMPLATE}${androidId}` : void 0,
|
|
7482
|
+
chrome: chromeId ? `${CHROME_WEB_STORE_URL_TEMPLATE}${chromeId}` : void 0,
|
|
7483
|
+
edge: edgeId ? `${EDGE_ADDONS_URL_TEMPLATE}${edgeId}` : void 0,
|
|
7484
|
+
firefox: firefoxId ? `${FIREFOX_ADDONS_URL_TEMPLATE}${firefoxId}` : void 0,
|
|
7485
|
+
ios: iosId ? `${APP_STORE_URL_TEMPLATE}${iosId}` : void 0,
|
|
7486
|
+
native: native || void 0
|
|
7487
|
+
};
|
|
7488
|
+
};
|
|
7489
|
+
|
|
7708
7490
|
//#endregion
|
|
7709
7491
|
//#region src/modules/walletOptionsCatalogue/resolveWalletBookWalletOptionKey/resolveWalletBookWalletOptionKey.ts
|
|
7710
7492
|
/**
|
|
@@ -7724,21 +7506,99 @@ const getChainsFromWalletSchema = ({ wallet, walletKey }) => {
|
|
|
7724
7506
|
const resolveWalletBookWalletOptionKey = ({ wallet, walletKey }) => wallet.group ?? wallet.chainGroup ?? wallet.walletGroup ?? walletKey;
|
|
7725
7507
|
|
|
7726
7508
|
//#endregion
|
|
7727
|
-
//#region src/modules/walletOptionsCatalogue/
|
|
7509
|
+
//#region src/modules/walletOptionsCatalogue/buildInstallationUrlsByWalletOptionKey/buildInstallationUrlsByWalletOptionKey.ts
|
|
7728
7510
|
/**
|
|
7729
|
-
*
|
|
7730
|
-
*
|
|
7731
|
-
*
|
|
7732
|
-
* `?? undefined` collapses the schema's `string | null` typing down to
|
|
7733
|
-
* the `string | undefined` return contract.
|
|
7734
|
-
*
|
|
7735
|
-
* @param params.wallet - The wallet book wallet entry.
|
|
7736
|
-
* @returns The in-app browser URL, or `undefined` if neither field is set.
|
|
7737
|
-
* @notInstrumented
|
|
7511
|
+
* `buildInstallationUrls` always returns an object, but it can be fully
|
|
7512
|
+
* `undefined`-valued when the wallet book entry has no installable surface.
|
|
7513
|
+
* Skip those wallets — emitting an empty URL bag helps nobody.
|
|
7738
7514
|
*/
|
|
7739
|
-
const
|
|
7740
|
-
|
|
7741
|
-
|
|
7515
|
+
const hasAnyInstallationUrl = ({ urls }) => Object.values(urls).some(Boolean);
|
|
7516
|
+
/**
|
|
7517
|
+
* Collects install / download URLs for every wallet book entry that has
|
|
7518
|
+
* at least one installable surface, keyed by the wallet option key the
|
|
7519
|
+
* wallet groups under. The catalogue assembly step merges this map into
|
|
7520
|
+
* the per-key wallet option shell so `WalletOption.installationUrls` is
|
|
7521
|
+
* populated alongside (or instead of) `connectionOptions`.
|
|
7522
|
+
*
|
|
7523
|
+
* First-seen URLs win when multiple wallet book entries resolve to the
|
|
7524
|
+
* same wallet option key — wallet book authors put the most accurate
|
|
7525
|
+
* install links on the canonical entry, so the first-seen one is the
|
|
7526
|
+
* right pick.
|
|
7527
|
+
*
|
|
7528
|
+
* Reuses the generic `shouldFilterWallet` rules so embedded wallets do
|
|
7529
|
+
* not appear here either — they're not user-installable products.
|
|
7530
|
+
*
|
|
7531
|
+
* Wallets that advertise no chain this client has an extension for are
|
|
7532
|
+
* skipped: installing them would not make them connectable.
|
|
7533
|
+
*
|
|
7534
|
+
* @param params.enabledChains - Chains the client has an extension for.
|
|
7535
|
+
* @param params.walletBook - The fetched wallet book.
|
|
7536
|
+
* @returns A map from wallet option key to its install URL bag.
|
|
7537
|
+
* @notInstrumented
|
|
7538
|
+
*/
|
|
7539
|
+
const buildInstallationUrlsByWalletOptionKey = ({ enabledChains, walletBook }) => {
|
|
7540
|
+
const map = /* @__PURE__ */ new Map();
|
|
7541
|
+
for (const [walletKey, wallet] of Object.entries(walletBook.wallets)) {
|
|
7542
|
+
if (shouldFilterWallet({
|
|
7543
|
+
wallet,
|
|
7544
|
+
walletKey
|
|
7545
|
+
})) continue;
|
|
7546
|
+
if (!getChainsFromWalletSchema({
|
|
7547
|
+
wallet,
|
|
7548
|
+
walletKey
|
|
7549
|
+
}).some((chain) => enabledChains.has(chain))) continue;
|
|
7550
|
+
const urls = buildInstallationUrls({ wallet });
|
|
7551
|
+
if (!hasAnyInstallationUrl({ urls })) continue;
|
|
7552
|
+
const walletOptionKey = resolveWalletBookWalletOptionKey({
|
|
7553
|
+
wallet,
|
|
7554
|
+
walletKey
|
|
7555
|
+
});
|
|
7556
|
+
if (!map.has(walletOptionKey)) map.set(walletOptionKey, urls);
|
|
7557
|
+
}
|
|
7558
|
+
return map;
|
|
7559
|
+
};
|
|
7560
|
+
|
|
7561
|
+
//#endregion
|
|
7562
|
+
//#region src/modules/wallets/uriConnectionStarterRegistry/getUriConnectionStarterChains/getUriConnectionStarterChains.ts
|
|
7563
|
+
/**
|
|
7564
|
+
* Returns the chains that have a URI connection starter registered for a
|
|
7565
|
+
* given URI protocol. An empty set means no chain extension can mint a
|
|
7566
|
+
* pairing URI for that protocol, so surfaces driven by it are not
|
|
7567
|
+
* reachable on this client.
|
|
7568
|
+
*
|
|
7569
|
+
* @example
|
|
7570
|
+
* ```ts
|
|
7571
|
+
* const chains = getUriConnectionStarterChains({ type: 'walletConnect' }, client);
|
|
7572
|
+
* ```
|
|
7573
|
+
*
|
|
7574
|
+
* @param params.type - The URI protocol to look up starters for.
|
|
7575
|
+
* @param client - The Dynamic client instance.
|
|
7576
|
+
* @returns The chains with a registered starter for the given protocol.
|
|
7577
|
+
* @see getUriConnectionStarterRegistry
|
|
7578
|
+
* @see UriConnectionType
|
|
7579
|
+
* @notInstrumented
|
|
7580
|
+
*/
|
|
7581
|
+
const getUriConnectionStarterChains = ({ type }, client) => {
|
|
7582
|
+
const starters = require_getNetworkProviderFromNetworkId.getUriConnectionStarterRegistry(client).getAll();
|
|
7583
|
+
return new Set(starters.filter((starter) => starter.type === type).map((starter) => starter.chain));
|
|
7584
|
+
};
|
|
7585
|
+
|
|
7586
|
+
//#endregion
|
|
7587
|
+
//#region src/modules/walletOptionsCatalogue/buildInAppBrowserOptions/getInAppBrowserUrl/getInAppBrowserUrl.ts
|
|
7588
|
+
/**
|
|
7589
|
+
* Returns the wallet's in-app browser URL template, preferring the v2
|
|
7590
|
+
* field. `inAppBrowser` is deprecated but some wallet book entries
|
|
7591
|
+
* still carry only the v1 value, so it acts as a fallback. Trailing
|
|
7592
|
+
* `?? undefined` collapses the schema's `string | null` typing down to
|
|
7593
|
+
* the `string | undefined` return contract.
|
|
7594
|
+
*
|
|
7595
|
+
* @param params.wallet - The wallet book wallet entry.
|
|
7596
|
+
* @returns The in-app browser URL, or `undefined` if neither field is set.
|
|
7597
|
+
* @notInstrumented
|
|
7598
|
+
*/
|
|
7599
|
+
const getInAppBrowserUrl = ({ wallet }) => wallet.mobile?.inAppBrowserV2 ?? wallet.mobile?.inAppBrowser ?? void 0;
|
|
7600
|
+
|
|
7601
|
+
//#endregion
|
|
7742
7602
|
//#region src/modules/walletOptionsCatalogue/buildInAppBrowserOptions/buildInAppBrowserOptions.ts
|
|
7743
7603
|
/**
|
|
7744
7604
|
* Builds the `inAppBrowser` catalogue options from the wallet book. A wallet
|
|
@@ -7789,96 +7649,6 @@ const buildInAppBrowserOptions = ({ enabledChains, walletBook }) => {
|
|
|
7789
7649
|
return result;
|
|
7790
7650
|
};
|
|
7791
7651
|
|
|
7792
|
-
//#endregion
|
|
7793
|
-
//#region src/modules/walletOptionsCatalogue/buildInstallationUrls/buildInstallationUrls.ts
|
|
7794
|
-
const PLAY_STORE_URL_TEMPLATE = "https://play.google.com/store/apps/details?id=";
|
|
7795
|
-
const APP_STORE_URL_TEMPLATE = "https://apps.apple.com/app/";
|
|
7796
|
-
const CHROME_WEB_STORE_URL_TEMPLATE = "https://chrome.google.com/webstore/detail/";
|
|
7797
|
-
const FIREFOX_ADDONS_URL_TEMPLATE = "https://addons.mozilla.org/firefox/addon/";
|
|
7798
|
-
const EDGE_ADDONS_URL_TEMPLATE = "https://microsoftedge.microsoft.com/addons/detail/";
|
|
7799
|
-
/**
|
|
7800
|
-
* Builds the install/download URL bag for a wallet book entry. Returns the
|
|
7801
|
-
* concrete URLs assembled from each store's ID field — Play Store, App
|
|
7802
|
-
* Store, Chrome Web Store, Firefox Add-ons, Edge Add-ons — plus the wallet's
|
|
7803
|
-
* own `desktop.universal` / `desktop.native` URLs when set.
|
|
7804
|
-
*
|
|
7805
|
-
* Fields the wallet book does not carry are left undefined; callers should
|
|
7806
|
-
* skip emitting an installation option for a wallet whose URL bag is empty.
|
|
7807
|
-
*
|
|
7808
|
-
* @param params.wallet - The wallet book entry.
|
|
7809
|
-
* @returns The URL bag, omitting fields the wallet does not provide.
|
|
7810
|
-
* @notInstrumented
|
|
7811
|
-
*/
|
|
7812
|
-
const buildInstallationUrls = ({ wallet }) => {
|
|
7813
|
-
const androidId = wallet.mobile?.androidId;
|
|
7814
|
-
const iosId = wallet.mobile?.iosId;
|
|
7815
|
-
const chromeId = wallet.desktop?.chromeId;
|
|
7816
|
-
const firefoxId = wallet.desktop?.firefoxId;
|
|
7817
|
-
const edgeId = wallet.desktop?.edgeId;
|
|
7818
|
-
const native = wallet.desktop?.universal ?? wallet.desktop?.native;
|
|
7819
|
-
return {
|
|
7820
|
-
android: androidId ? `${PLAY_STORE_URL_TEMPLATE}${androidId}` : void 0,
|
|
7821
|
-
chrome: chromeId ? `${CHROME_WEB_STORE_URL_TEMPLATE}${chromeId}` : void 0,
|
|
7822
|
-
edge: edgeId ? `${EDGE_ADDONS_URL_TEMPLATE}${edgeId}` : void 0,
|
|
7823
|
-
firefox: firefoxId ? `${FIREFOX_ADDONS_URL_TEMPLATE}${firefoxId}` : void 0,
|
|
7824
|
-
ios: iosId ? `${APP_STORE_URL_TEMPLATE}${iosId}` : void 0,
|
|
7825
|
-
native: native || void 0
|
|
7826
|
-
};
|
|
7827
|
-
};
|
|
7828
|
-
|
|
7829
|
-
//#endregion
|
|
7830
|
-
//#region src/modules/walletOptionsCatalogue/buildInstallationUrlsByWalletOptionKey/buildInstallationUrlsByWalletOptionKey.ts
|
|
7831
|
-
/**
|
|
7832
|
-
* `buildInstallationUrls` always returns an object, but it can be fully
|
|
7833
|
-
* `undefined`-valued when the wallet book entry has no installable surface.
|
|
7834
|
-
* Skip those wallets — emitting an empty URL bag helps nobody.
|
|
7835
|
-
*/
|
|
7836
|
-
const hasAnyInstallationUrl = ({ urls }) => Object.values(urls).some(Boolean);
|
|
7837
|
-
/**
|
|
7838
|
-
* Collects install / download URLs for every wallet book entry that has
|
|
7839
|
-
* at least one installable surface, keyed by the wallet option key the
|
|
7840
|
-
* wallet groups under. The catalogue assembly step merges this map into
|
|
7841
|
-
* the per-key wallet option shell so `WalletOption.installationUrls` is
|
|
7842
|
-
* populated alongside (or instead of) `connectionOptions`.
|
|
7843
|
-
*
|
|
7844
|
-
* First-seen URLs win when multiple wallet book entries resolve to the
|
|
7845
|
-
* same wallet option key — wallet book authors put the most accurate
|
|
7846
|
-
* install links on the canonical entry, so the first-seen one is the
|
|
7847
|
-
* right pick.
|
|
7848
|
-
*
|
|
7849
|
-
* Reuses the generic `shouldFilterWallet` rules so embedded wallets do
|
|
7850
|
-
* not appear here either — they're not user-installable products.
|
|
7851
|
-
*
|
|
7852
|
-
* Wallets that advertise no chain this client has an extension for are
|
|
7853
|
-
* skipped: installing them would not make them connectable.
|
|
7854
|
-
*
|
|
7855
|
-
* @param params.enabledChains - Chains the client has an extension for.
|
|
7856
|
-
* @param params.walletBook - The fetched wallet book.
|
|
7857
|
-
* @returns A map from wallet option key to its install URL bag.
|
|
7858
|
-
* @notInstrumented
|
|
7859
|
-
*/
|
|
7860
|
-
const buildInstallationUrlsByWalletOptionKey = ({ enabledChains, walletBook }) => {
|
|
7861
|
-
const map = /* @__PURE__ */ new Map();
|
|
7862
|
-
for (const [walletKey, wallet] of Object.entries(walletBook.wallets)) {
|
|
7863
|
-
if (shouldFilterWallet({
|
|
7864
|
-
wallet,
|
|
7865
|
-
walletKey
|
|
7866
|
-
})) continue;
|
|
7867
|
-
if (!getChainsFromWalletSchema({
|
|
7868
|
-
wallet,
|
|
7869
|
-
walletKey
|
|
7870
|
-
}).some((chain) => enabledChains.has(chain))) continue;
|
|
7871
|
-
const urls = buildInstallationUrls({ wallet });
|
|
7872
|
-
if (!hasAnyInstallationUrl({ urls })) continue;
|
|
7873
|
-
const walletOptionKey = resolveWalletBookWalletOptionKey({
|
|
7874
|
-
wallet,
|
|
7875
|
-
walletKey
|
|
7876
|
-
});
|
|
7877
|
-
if (!map.has(walletOptionKey)) map.set(walletOptionKey, urls);
|
|
7878
|
-
}
|
|
7879
|
-
return map;
|
|
7880
|
-
};
|
|
7881
|
-
|
|
7882
7652
|
//#endregion
|
|
7883
7653
|
//#region src/modules/legacyWalletBook/hasUsableDeeplink/hasUsableDeeplink.ts
|
|
7884
7654
|
/**
|
|
@@ -7962,13 +7732,6 @@ const buildMetaMaskSdkUriOptions = ({ walletBook }) => {
|
|
|
7962
7732
|
//#endregion
|
|
7963
7733
|
//#region src/modules/walletOptionsCatalogue/buildWalletConnectOptions/buildWalletConnectOptions.ts
|
|
7964
7734
|
/**
|
|
7965
|
-
* Chains Dynamic ships a WalletConnect extension for. Anything else a
|
|
7966
|
-
* wallet book entry advertises (Cosmos, BTC, …) gets filtered out — the
|
|
7967
|
-
* catalogue should not surface a chain the SDK has no `connectWithWalletConnect<Chain>`
|
|
7968
|
-
* primitive for.
|
|
7969
|
-
*/
|
|
7970
|
-
const WALLETCONNECT_SUPPORTED_CHAINS = new Set(["EVM", "SOL"]);
|
|
7971
|
-
/**
|
|
7972
7735
|
* Builds the `walletConnect`-discriminator catalogue options from a fetched
|
|
7973
7736
|
* wallet book. Applies the WalletConnect-specific eligibility filter
|
|
7974
7737
|
* (`shouldFilterWalletForWalletConnect`) so embedded wallets and entries
|
|
@@ -7982,11 +7745,15 @@ const WALLETCONNECT_SUPPORTED_CHAINS = new Set(["EVM", "SOL"]);
|
|
|
7982
7745
|
* discriminator via `excludedConnectionOptionTypes` doesn't accidentally
|
|
7983
7746
|
* gate the other.
|
|
7984
7747
|
*
|
|
7748
|
+
* Chains a wallet book entry advertises without a registered WalletConnect
|
|
7749
|
+
* starter are filtered out.
|
|
7750
|
+
*
|
|
7985
7751
|
* @param params.walletBook - The fetched wallet book.
|
|
7752
|
+
* @param params.walletConnectChains - Chains with a registered `walletConnect` URI connection starter.
|
|
7986
7753
|
* @returns Tagged `walletConnect` options paired with their wallet option keys.
|
|
7987
7754
|
* @notInstrumented
|
|
7988
7755
|
*/
|
|
7989
|
-
const buildWalletConnectOptions = ({ walletBook }) => {
|
|
7756
|
+
const buildWalletConnectOptions = ({ walletBook, walletConnectChains }) => {
|
|
7990
7757
|
const result = [];
|
|
7991
7758
|
for (const [walletKey, wallet] of Object.entries(walletBook.wallets)) {
|
|
7992
7759
|
if (shouldFilterWalletForWalletConnect({
|
|
@@ -8002,7 +7769,7 @@ const buildWalletConnectOptions = ({ walletBook }) => {
|
|
|
8002
7769
|
const chains = getChainsFromWalletSchema({
|
|
8003
7770
|
wallet,
|
|
8004
7771
|
walletKey
|
|
8005
|
-
}).filter((chain) =>
|
|
7772
|
+
}).filter((chain) => walletConnectChains.has(chain));
|
|
8006
7773
|
for (const chain of chains) result.push({
|
|
8007
7774
|
option: {
|
|
8008
7775
|
chain,
|
|
@@ -8018,6 +7785,108 @@ const buildWalletConnectOptions = ({ walletBook }) => {
|
|
|
8018
7785
|
return result;
|
|
8019
7786
|
};
|
|
8020
7787
|
|
|
7788
|
+
//#endregion
|
|
7789
|
+
//#region src/modules/walletOptionsCatalogue/filterConnectionOptionsByEnabledChains/filterConnectionOptionsByEnabledChains.ts
|
|
7790
|
+
/**
|
|
7791
|
+
* Drops options whose chain has no extension on this client. The wallet
|
|
7792
|
+
* book advertises every chain a wallet supports, so options derived from
|
|
7793
|
+
* it have to be narrowed to the chains the client can actually connect
|
|
7794
|
+
* on — otherwise the catalogue surfaces a connection the customer has no
|
|
7795
|
+
* primitive to drive.
|
|
7796
|
+
*
|
|
7797
|
+
* @param params.enabledChains - Chains the client has an extension for.
|
|
7798
|
+
* @param params.options - The tagged options to narrow.
|
|
7799
|
+
* @returns The options on enabled chains, in input order.
|
|
7800
|
+
* @example
|
|
7801
|
+
* ```typescript
|
|
7802
|
+
* filterConnectionOptionsByEnabledChains({
|
|
7803
|
+
* enabledChains: new Set(['EVM']),
|
|
7804
|
+
* options: [evmOption, solOption],
|
|
7805
|
+
* }); // [evmOption]
|
|
7806
|
+
* ```
|
|
7807
|
+
* @see {@link getEnabledChains} for how the enabled chains are derived.
|
|
7808
|
+
* @see {@link getWalletOptionsCatalogue} for the catalogue that applies this filter.
|
|
7809
|
+
* @notInstrumented
|
|
7810
|
+
*/
|
|
7811
|
+
const filterConnectionOptionsByEnabledChains = ({ enabledChains, options }) => options.filter(({ option }) => enabledChains.has(option.chain));
|
|
7812
|
+
|
|
7813
|
+
//#endregion
|
|
7814
|
+
//#region src/modules/walletOptionsCatalogue/buildWalletBookConnectionOptions/buildWalletBookConnectionOptions.ts
|
|
7815
|
+
/**
|
|
7816
|
+
* Builds every wallet-book-sourced connection option — WalletConnect,
|
|
7817
|
+
* MetaMask SDK URI and in-app browser — narrowed to the chains this client
|
|
7818
|
+
* has an extension for.
|
|
7819
|
+
*
|
|
7820
|
+
* Each URI-deeplink discriminator has its own builder with its own
|
|
7821
|
+
* eligibility filter (WalletConnect requires `sign_v2`; MetaMask SDK URI
|
|
7822
|
+
* does not), so excluding one discriminator never gates the other.
|
|
7823
|
+
*
|
|
7824
|
+
* WalletConnect options are emitted only on the chains with a registered
|
|
7825
|
+
* `walletConnect` URI connection starter.
|
|
7826
|
+
*
|
|
7827
|
+
* @example
|
|
7828
|
+
* ```ts
|
|
7829
|
+
* const options = buildWalletBookConnectionOptions(
|
|
7830
|
+
* { enabledChains, excludedConnectionOptionTypes: new Set(), walletBook },
|
|
7831
|
+
* client
|
|
7832
|
+
* );
|
|
7833
|
+
* ```
|
|
7834
|
+
*
|
|
7835
|
+
* @param params.enabledChains - Chains the client has an extension for.
|
|
7836
|
+
* @param params.excludedConnectionOptionTypes - Connection types to drop.
|
|
7837
|
+
* @param params.walletBook - The fetched wallet book.
|
|
7838
|
+
* @param client - The Dynamic client instance.
|
|
7839
|
+
* @returns Tagged wallet-book options paired with their wallet option keys.
|
|
7840
|
+
* @see getWalletOptionsCatalogue
|
|
7841
|
+
* @see filterConnectionOptionsByEnabledChains
|
|
7842
|
+
* @notInstrumented
|
|
7843
|
+
*/
|
|
7844
|
+
const buildWalletBookConnectionOptions = ({ enabledChains, excludedConnectionOptionTypes, walletBook }, client) => {
|
|
7845
|
+
const options = [];
|
|
7846
|
+
const walletConnectChains = getUriConnectionStarterChains({ type: "walletConnect" }, client);
|
|
7847
|
+
const hasWalletConnectStarter = walletConnectChains.size > 0;
|
|
7848
|
+
if (!excludedConnectionOptionTypes.has("walletConnect") && hasWalletConnectStarter) options.push(...buildWalletConnectOptions({
|
|
7849
|
+
walletBook,
|
|
7850
|
+
walletConnectChains
|
|
7851
|
+
}));
|
|
7852
|
+
if (!excludedConnectionOptionTypes.has("metamaskSdkUri")) options.push(...buildMetaMaskSdkUriOptions({ walletBook }));
|
|
7853
|
+
if (!excludedConnectionOptionTypes.has("inAppBrowser")) options.push(...buildInAppBrowserOptions({
|
|
7854
|
+
enabledChains,
|
|
7855
|
+
walletBook
|
|
7856
|
+
}));
|
|
7857
|
+
return filterConnectionOptionsByEnabledChains({
|
|
7858
|
+
enabledChains,
|
|
7859
|
+
options
|
|
7860
|
+
});
|
|
7861
|
+
};
|
|
7862
|
+
|
|
7863
|
+
//#endregion
|
|
7864
|
+
//#region src/modules/walletOptionsCatalogue/deriveSupportedChains/deriveSupportedChains.ts
|
|
7865
|
+
/**
|
|
7866
|
+
* Derives the chains a wallet option can be connected on from its connection
|
|
7867
|
+
* options, deduped and sorted alphabetically so the order is stable
|
|
7868
|
+
* regardless of how the connection options rank.
|
|
7869
|
+
*
|
|
7870
|
+
* Install-only wallet options have no connection options, so they support no
|
|
7871
|
+
* chain until the wallet is installed.
|
|
7872
|
+
*
|
|
7873
|
+
* @example
|
|
7874
|
+
* ```ts
|
|
7875
|
+
* const supportedChains = deriveSupportedChains({ connectionOptions });
|
|
7876
|
+
* ```
|
|
7877
|
+
*
|
|
7878
|
+
* @param params.connectionOptions - The wallet option's connection options.
|
|
7879
|
+
* @returns The chains supported by the wallet option.
|
|
7880
|
+
* @see buildWalletOption
|
|
7881
|
+
* @see WalletOption
|
|
7882
|
+
* @notInstrumented
|
|
7883
|
+
*/
|
|
7884
|
+
const deriveSupportedChains = ({ connectionOptions }) => {
|
|
7885
|
+
const chains = /* @__PURE__ */ new Set();
|
|
7886
|
+
for (const connectionOption of connectionOptions) chains.add(connectionOption.chain);
|
|
7887
|
+
return Array.from(chains).sort((a, b) => a.localeCompare(b));
|
|
7888
|
+
};
|
|
7889
|
+
|
|
8021
7890
|
//#endregion
|
|
8022
7891
|
//#region src/modules/walletOptionsCatalogue/buildWalletOption/buildWalletOption.ts
|
|
8023
7892
|
/**
|
|
@@ -8066,7 +7935,8 @@ const buildWalletOption = ({ connectionOptions, displayOverride, installationUrl
|
|
|
8066
7935
|
installationUrls,
|
|
8067
7936
|
key: walletOptionKey,
|
|
8068
7937
|
name: displayOverride?.name ?? group?.name ?? walletEntry?.name ?? walletOptionKey,
|
|
8069
|
-
primaryColor: group?.brand?.primaryColor ?? walletEntry?.brand?.primaryColor
|
|
7938
|
+
primaryColor: group?.brand?.primaryColor ?? walletEntry?.brand?.primaryColor,
|
|
7939
|
+
supportedChains: deriveSupportedChains({ connectionOptions })
|
|
8070
7940
|
};
|
|
8071
7941
|
};
|
|
8072
7942
|
|
|
@@ -8343,31 +8213,6 @@ const buildWithWalletProviderOptions = ({ entries, walletBook }, client) => {
|
|
|
8343
8213
|
*/
|
|
8344
8214
|
const EXCLUDED_WALLET_OPTION_KEYS = new Set(["coinbase", "coinbasewallet"]);
|
|
8345
8215
|
|
|
8346
|
-
//#endregion
|
|
8347
|
-
//#region src/modules/walletOptionsCatalogue/filterConnectionOptionsByEnabledChains/filterConnectionOptionsByEnabledChains.ts
|
|
8348
|
-
/**
|
|
8349
|
-
* Drops options whose chain has no extension on this client. The wallet
|
|
8350
|
-
* book advertises every chain a wallet supports, so options derived from
|
|
8351
|
-
* it have to be narrowed to the chains the client can actually connect
|
|
8352
|
-
* on — otherwise the catalogue surfaces a connection the customer has no
|
|
8353
|
-
* primitive to drive.
|
|
8354
|
-
*
|
|
8355
|
-
* @param params.enabledChains - Chains the client has an extension for.
|
|
8356
|
-
* @param params.options - The tagged options to narrow.
|
|
8357
|
-
* @returns The options on enabled chains, in input order.
|
|
8358
|
-
* @example
|
|
8359
|
-
* ```typescript
|
|
8360
|
-
* filterConnectionOptionsByEnabledChains({
|
|
8361
|
-
* enabledChains: new Set(['EVM']),
|
|
8362
|
-
* options: [evmOption, solOption],
|
|
8363
|
-
* }); // [evmOption]
|
|
8364
|
-
* ```
|
|
8365
|
-
* @see {@link getEnabledChains} for how the enabled chains are derived.
|
|
8366
|
-
* @see {@link getWalletOptionsCatalogue} for the catalogue that applies this filter.
|
|
8367
|
-
* @notInstrumented
|
|
8368
|
-
*/
|
|
8369
|
-
const filterConnectionOptionsByEnabledChains = ({ enabledChains, options }) => options.filter(({ option }) => enabledChains.has(option.chain));
|
|
8370
|
-
|
|
8371
8216
|
//#endregion
|
|
8372
8217
|
//#region src/modules/walletOptionsCatalogue/groupOptionsByWalletOption/groupOptionsByWalletOption.ts
|
|
8373
8218
|
/**
|
|
@@ -8531,19 +8376,26 @@ const compareByRelevance = ({ a, b }) => {
|
|
|
8531
8376
|
const hasAnyConnectionOption = ({ walletOption }) => walletOption.connectionOptions.length > 0;
|
|
8532
8377
|
|
|
8533
8378
|
//#endregion
|
|
8534
|
-
//#region src/modules/walletOptionsCatalogue/
|
|
8379
|
+
//#region src/modules/walletOptionsCatalogue/isWalletExtensionInstalled/isWalletExtensionInstalled.ts
|
|
8535
8380
|
/**
|
|
8536
|
-
*
|
|
8537
|
-
*
|
|
8538
|
-
* Wallet Standard announcement, window injection, or an SDK-backed
|
|
8539
|
-
*
|
|
8540
|
-
* pre-sorted, so a registered provider always sits at index 0 when present.
|
|
8381
|
+
* Returns true when the wallet option has any `withWalletProvider` connection
|
|
8382
|
+
* option, meaning the wallet is available in the page through a browser
|
|
8383
|
+
* extension, Wallet Standard announcement, window injection, or an SDK-backed
|
|
8384
|
+
* provider registered by a chain extension.
|
|
8541
8385
|
*
|
|
8386
|
+
* @description Detects whether a wallet option is available through a provider
|
|
8387
|
+
* registered in the page.
|
|
8542
8388
|
* @param params.walletOption - The wallet option to inspect.
|
|
8543
|
-
* @returns True when
|
|
8389
|
+
* @returns True when the wallet is available in the page.
|
|
8390
|
+
* @example
|
|
8391
|
+
* ```ts
|
|
8392
|
+
* const isInstalled = isWalletExtensionInstalled({ walletOption });
|
|
8393
|
+
* ```
|
|
8394
|
+
* @see getWalletOptionsCatalogue
|
|
8395
|
+
* @see WalletOption
|
|
8544
8396
|
* @notInstrumented
|
|
8545
8397
|
*/
|
|
8546
|
-
const
|
|
8398
|
+
const isWalletExtensionInstalled = ({ walletOption }) => walletOption.connectionOptions.some(({ type }) => type === "withWalletProvider");
|
|
8547
8399
|
|
|
8548
8400
|
//#endregion
|
|
8549
8401
|
//#region src/modules/walletOptionsCatalogue/sortWalletOptions/sortWalletOptions.ts
|
|
@@ -8556,7 +8408,7 @@ const hasInstalledProvider = ({ walletOption }) => walletOption.connectionOption
|
|
|
8556
8408
|
* - `'relevance'` (default): bucket wallet options into three tiers, in
|
|
8557
8409
|
* this order:
|
|
8558
8410
|
* 1. **Installed provider** — user already has the wallet available
|
|
8559
|
-
* (`withWalletProvider`
|
|
8411
|
+
* (any `withWalletProvider` connection option).
|
|
8560
8412
|
* 2. **Connectable** — has at least one connection (URI deeplink
|
|
8561
8413
|
* or `inAppBrowser`) but no installed provider.
|
|
8562
8414
|
* 3. **Install-only** — no connection at all; only `installationUrls`.
|
|
@@ -8578,7 +8430,7 @@ const sortWalletOptions = ({ walletOptions, ordering }) => {
|
|
|
8578
8430
|
const installed = [];
|
|
8579
8431
|
const connectable = [];
|
|
8580
8432
|
const installOnly = [];
|
|
8581
|
-
for (const walletOption of walletOptions) if (
|
|
8433
|
+
for (const walletOption of walletOptions) if (isWalletExtensionInstalled({ walletOption })) installed.push(walletOption);
|
|
8582
8434
|
else if (hasAnyConnectionOption({ walletOption })) connectable.push(walletOption);
|
|
8583
8435
|
else installOnly.push(walletOption);
|
|
8584
8436
|
installed.sort((a, b) => compareByRelevance({
|
|
@@ -8616,6 +8468,10 @@ const EMPTY_WALLET_BOOK = {
|
|
|
8616
8468
|
* client has an extension for — a wallet is only surfaced on chains the
|
|
8617
8469
|
* customer can actually connect on.
|
|
8618
8470
|
*
|
|
8471
|
+
* WalletConnect surfaces require a registered `walletConnect` URI
|
|
8472
|
+
* connection starter, so they only appear once a chain extension that can
|
|
8473
|
+
* mint a WalletConnect URI is added to the client.
|
|
8474
|
+
*
|
|
8619
8475
|
* Pass `excludedConnectionOptionTypes` to drop specific connection types
|
|
8620
8476
|
* from the catalogue (e.g. `['inAppBrowser']` on desktop). Wallets whose
|
|
8621
8477
|
* only connection was an excluded type fall through to the install-only
|
|
@@ -8640,19 +8496,11 @@ const getWalletOptionsCatalogue = async (params = {}, client = require_logoutWit
|
|
|
8640
8496
|
walletBook
|
|
8641
8497
|
}, client));
|
|
8642
8498
|
}
|
|
8643
|
-
if (includeMobileOptions) {
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
enabledChains,
|
|
8649
|
-
walletBook
|
|
8650
|
-
}));
|
|
8651
|
-
allConnectionOptions.push(...filterConnectionOptionsByEnabledChains({
|
|
8652
|
-
enabledChains,
|
|
8653
|
-
options: walletBookOptions
|
|
8654
|
-
}));
|
|
8655
|
-
}
|
|
8499
|
+
if (includeMobileOptions) allConnectionOptions.push(...buildWalletBookConnectionOptions({
|
|
8500
|
+
enabledChains,
|
|
8501
|
+
excludedConnectionOptionTypes,
|
|
8502
|
+
walletBook
|
|
8503
|
+
}, client));
|
|
8656
8504
|
const installationUrlsByKey = includeMobileOptions ? buildInstallationUrlsByWalletOptionKey({
|
|
8657
8505
|
enabledChains,
|
|
8658
8506
|
walletBook
|
|
@@ -8731,13 +8579,7 @@ const __confirmTransaction_impl = confirmTransaction;
|
|
|
8731
8579
|
const __confirmTransaction_wrapped = require_logoutWithReason.instrumentFunction({
|
|
8732
8580
|
fn: __confirmTransaction_impl,
|
|
8733
8581
|
functionName: "confirmTransaction",
|
|
8734
|
-
getCore:
|
|
8735
|
-
try {
|
|
8736
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
8737
|
-
} catch {
|
|
8738
|
-
return;
|
|
8739
|
-
}
|
|
8740
|
-
}
|
|
8582
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
8741
8583
|
});
|
|
8742
8584
|
|
|
8743
8585
|
//#endregion
|
|
@@ -8831,13 +8673,7 @@ const __connectWithWalletProvider_impl = connectWithWalletProvider;
|
|
|
8831
8673
|
const __connectWithWalletProvider_wrapped = require_logoutWithReason.instrumentFunction({
|
|
8832
8674
|
fn: __connectWithWalletProvider_impl,
|
|
8833
8675
|
functionName: "connectWithWalletProvider",
|
|
8834
|
-
getCore:
|
|
8835
|
-
try {
|
|
8836
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
8837
|
-
} catch {
|
|
8838
|
-
return;
|
|
8839
|
-
}
|
|
8840
|
-
}
|
|
8676
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
8841
8677
|
});
|
|
8842
8678
|
|
|
8843
8679
|
//#endregion
|
|
@@ -8966,13 +8802,7 @@ const __proveWalletAccountOwnership_impl = proveWalletAccountOwnership;
|
|
|
8966
8802
|
const __proveWalletAccountOwnership_wrapped = require_logoutWithReason.instrumentFunction({
|
|
8967
8803
|
fn: __proveWalletAccountOwnership_impl,
|
|
8968
8804
|
functionName: "proveWalletAccountOwnership",
|
|
8969
|
-
getCore:
|
|
8970
|
-
try {
|
|
8971
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
8972
|
-
} catch {
|
|
8973
|
-
return;
|
|
8974
|
-
}
|
|
8975
|
-
}
|
|
8805
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
8976
8806
|
});
|
|
8977
8807
|
|
|
8978
8808
|
//#endregion
|
|
@@ -9082,13 +8912,7 @@ const __verifyWalletAccount_impl = verifyWalletAccount;
|
|
|
9082
8912
|
const __verifyWalletAccount_wrapped = require_logoutWithReason.instrumentFunction({
|
|
9083
8913
|
fn: __verifyWalletAccount_impl,
|
|
9084
8914
|
functionName: "verifyWalletAccount",
|
|
9085
|
-
getCore:
|
|
9086
|
-
try {
|
|
9087
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
9088
|
-
} catch {
|
|
9089
|
-
return;
|
|
9090
|
-
}
|
|
9091
|
-
}
|
|
8915
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
9092
8916
|
});
|
|
9093
8917
|
|
|
9094
8918
|
//#endregion
|
|
@@ -9153,13 +8977,7 @@ const __connectAndVerifyWithWalletProvider_impl = connectAndVerifyWithWalletProv
|
|
|
9153
8977
|
const __connectAndVerifyWithWalletProvider_wrapped = require_logoutWithReason.instrumentFunction({
|
|
9154
8978
|
fn: __connectAndVerifyWithWalletProvider_impl,
|
|
9155
8979
|
functionName: "connectAndVerifyWithWalletProvider",
|
|
9156
|
-
getCore:
|
|
9157
|
-
try {
|
|
9158
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
9159
|
-
} catch {
|
|
9160
|
-
return;
|
|
9161
|
-
}
|
|
9162
|
-
}
|
|
8980
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
9163
8981
|
});
|
|
9164
8982
|
|
|
9165
8983
|
//#endregion
|
|
@@ -9428,13 +9246,7 @@ const __redirectToInAppBrowser_impl = redirectToInAppBrowser;
|
|
|
9428
9246
|
const __redirectToInAppBrowser_wrapped = require_logoutWithReason.instrumentFunction({
|
|
9429
9247
|
fn: __redirectToInAppBrowser_impl,
|
|
9430
9248
|
functionName: "redirectToInAppBrowser",
|
|
9431
|
-
getCore:
|
|
9432
|
-
try {
|
|
9433
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
9434
|
-
} catch {
|
|
9435
|
-
return;
|
|
9436
|
-
}
|
|
9437
|
-
}
|
|
9249
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
9438
9250
|
});
|
|
9439
9251
|
|
|
9440
9252
|
//#endregion
|
|
@@ -9604,13 +9416,7 @@ const __connectWalletOption_impl = connectWalletOption;
|
|
|
9604
9416
|
const __connectWalletOption_wrapped = require_logoutWithReason.instrumentFunction({
|
|
9605
9417
|
fn: __connectWalletOption_impl,
|
|
9606
9418
|
functionName: "connectWalletOption",
|
|
9607
|
-
getCore:
|
|
9608
|
-
try {
|
|
9609
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
9610
|
-
} catch {
|
|
9611
|
-
return;
|
|
9612
|
-
}
|
|
9613
|
-
}
|
|
9419
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
9614
9420
|
});
|
|
9615
9421
|
|
|
9616
9422
|
//#endregion
|
|
@@ -9832,13 +9638,7 @@ const __addNetwork_impl = addNetwork;
|
|
|
9832
9638
|
const __addNetwork_wrapped = require_logoutWithReason.instrumentFunction({
|
|
9833
9639
|
fn: __addNetwork_impl,
|
|
9834
9640
|
functionName: "addNetwork",
|
|
9835
|
-
getCore:
|
|
9836
|
-
try {
|
|
9837
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
9838
|
-
} catch {
|
|
9839
|
-
return;
|
|
9840
|
-
}
|
|
9841
|
-
}
|
|
9641
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
9842
9642
|
});
|
|
9843
9643
|
|
|
9844
9644
|
//#endregion
|
|
@@ -10040,13 +9840,7 @@ const __switchActiveNetwork_impl = switchActiveNetwork;
|
|
|
10040
9840
|
const __switchActiveNetwork_wrapped = require_logoutWithReason.instrumentFunction({
|
|
10041
9841
|
fn: __switchActiveNetwork_impl,
|
|
10042
9842
|
functionName: "switchActiveNetwork",
|
|
10043
|
-
getCore:
|
|
10044
|
-
try {
|
|
10045
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
10046
|
-
} catch {
|
|
10047
|
-
return;
|
|
10048
|
-
}
|
|
10049
|
-
}
|
|
9843
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
10050
9844
|
});
|
|
10051
9845
|
|
|
10052
9846
|
//#endregion
|
|
@@ -10139,13 +9933,7 @@ const __setSelectedWalletAccount_impl = setSelectedWalletAccount;
|
|
|
10139
9933
|
const __setSelectedWalletAccount_wrapped = require_logoutWithReason.instrumentFunction({
|
|
10140
9934
|
fn: __setSelectedWalletAccount_impl,
|
|
10141
9935
|
functionName: "setSelectedWalletAccount",
|
|
10142
|
-
getCore:
|
|
10143
|
-
try {
|
|
10144
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
10145
|
-
} catch {
|
|
10146
|
-
return;
|
|
10147
|
-
}
|
|
10148
|
-
}
|
|
9936
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
10149
9937
|
});
|
|
10150
9938
|
|
|
10151
9939
|
//#endregion
|
|
@@ -10201,13 +9989,7 @@ const __selectPrimaryWalletAccount_impl = selectPrimaryWalletAccount;
|
|
|
10201
9989
|
const __selectPrimaryWalletAccount_wrapped = require_logoutWithReason.instrumentFunction({
|
|
10202
9990
|
fn: __selectPrimaryWalletAccount_impl,
|
|
10203
9991
|
functionName: "selectPrimaryWalletAccount",
|
|
10204
|
-
getCore:
|
|
10205
|
-
try {
|
|
10206
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
10207
|
-
} catch {
|
|
10208
|
-
return;
|
|
10209
|
-
}
|
|
10210
|
-
}
|
|
9992
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
10211
9993
|
});
|
|
10212
9994
|
|
|
10213
9995
|
//#endregion
|
|
@@ -10280,13 +10062,7 @@ const __removeWalletAccount_impl = removeWalletAccount;
|
|
|
10280
10062
|
const __removeWalletAccount_wrapped = require_logoutWithReason.instrumentFunction({
|
|
10281
10063
|
fn: __removeWalletAccount_impl,
|
|
10282
10064
|
functionName: "removeWalletAccount",
|
|
10283
|
-
getCore:
|
|
10284
|
-
try {
|
|
10285
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
10286
|
-
} catch {
|
|
10287
|
-
return;
|
|
10288
|
-
}
|
|
10289
|
-
}
|
|
10065
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
10290
10066
|
});
|
|
10291
10067
|
|
|
10292
10068
|
//#endregion
|
|
@@ -10327,13 +10103,7 @@ const __signMessage_impl = signMessage;
|
|
|
10327
10103
|
const __signMessage_wrapped = require_logoutWithReason.instrumentFunction({
|
|
10328
10104
|
fn: __signMessage_impl,
|
|
10329
10105
|
functionName: "signMessage",
|
|
10330
|
-
getCore:
|
|
10331
|
-
try {
|
|
10332
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
10333
|
-
} catch {
|
|
10334
|
-
return;
|
|
10335
|
-
}
|
|
10336
|
-
}
|
|
10106
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
10337
10107
|
});
|
|
10338
10108
|
|
|
10339
10109
|
//#endregion
|
|
@@ -10379,13 +10149,7 @@ const __transferAmount_impl = transferAmount;
|
|
|
10379
10149
|
const __transferAmount_wrapped = require_logoutWithReason.instrumentFunction({
|
|
10380
10150
|
fn: __transferAmount_impl,
|
|
10381
10151
|
functionName: "transferAmount",
|
|
10382
|
-
getCore:
|
|
10383
|
-
try {
|
|
10384
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
10385
|
-
} catch {
|
|
10386
|
-
return;
|
|
10387
|
-
}
|
|
10388
|
-
}
|
|
10152
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
10389
10153
|
});
|
|
10390
10154
|
|
|
10391
10155
|
//#endregion
|
|
@@ -10423,13 +10187,7 @@ const __transferWalletAccount_impl = transferWalletAccount;
|
|
|
10423
10187
|
const __transferWalletAccount_wrapped = require_logoutWithReason.instrumentFunction({
|
|
10424
10188
|
fn: __transferWalletAccount_impl,
|
|
10425
10189
|
functionName: "transferWalletAccount",
|
|
10426
|
-
getCore:
|
|
10427
|
-
try {
|
|
10428
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
10429
|
-
} catch {
|
|
10430
|
-
return;
|
|
10431
|
-
}
|
|
10432
|
-
}
|
|
10190
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
10433
10191
|
});
|
|
10434
10192
|
|
|
10435
10193
|
//#endregion
|
|
@@ -10572,13 +10330,7 @@ const __claimYieldRewards_impl = claimYieldRewards;
|
|
|
10572
10330
|
const __claimYieldRewards_wrapped = require_logoutWithReason.instrumentFunction({
|
|
10573
10331
|
fn: __claimYieldRewards_impl,
|
|
10574
10332
|
functionName: "claimYieldRewards",
|
|
10575
|
-
getCore:
|
|
10576
|
-
try {
|
|
10577
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
10578
|
-
} catch {
|
|
10579
|
-
return;
|
|
10580
|
-
}
|
|
10581
|
-
}
|
|
10333
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
10582
10334
|
});
|
|
10583
10335
|
|
|
10584
10336
|
//#endregion
|
|
@@ -10630,13 +10382,7 @@ const __depositToYieldVault_impl = depositToYieldVault;
|
|
|
10630
10382
|
const __depositToYieldVault_wrapped = require_logoutWithReason.instrumentFunction({
|
|
10631
10383
|
fn: __depositToYieldVault_impl,
|
|
10632
10384
|
functionName: "depositToYieldVault",
|
|
10633
|
-
getCore:
|
|
10634
|
-
try {
|
|
10635
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
10636
|
-
} catch {
|
|
10637
|
-
return;
|
|
10638
|
-
}
|
|
10639
|
-
}
|
|
10385
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
10640
10386
|
});
|
|
10641
10387
|
|
|
10642
10388
|
//#endregion
|
|
@@ -10802,13 +10548,7 @@ const __withdrawFromYieldVault_impl = withdrawFromYieldVault;
|
|
|
10802
10548
|
const __withdrawFromYieldVault_wrapped = require_logoutWithReason.instrumentFunction({
|
|
10803
10549
|
fn: __withdrawFromYieldVault_impl,
|
|
10804
10550
|
functionName: "withdrawFromYieldVault",
|
|
10805
|
-
getCore:
|
|
10806
|
-
try {
|
|
10807
|
-
return require_logoutWithReason.getCore(require_logoutWithReason.getDefaultClient());
|
|
10808
|
-
} catch {
|
|
10809
|
-
return;
|
|
10810
|
-
}
|
|
10811
|
-
}
|
|
10551
|
+
getCore: require_logoutWithReason.resolveInstrumentationCore
|
|
10812
10552
|
});
|
|
10813
10553
|
|
|
10814
10554
|
//#endregion
|
|
@@ -11015,8 +10755,8 @@ exports.getBalances = getBalances;
|
|
|
11015
10755
|
exports.getCaptchaSettings = getCaptchaSettings;
|
|
11016
10756
|
exports.getCheckoutTransaction = getCheckoutTransaction;
|
|
11017
10757
|
exports.getCheckoutTransactionQuote = getCheckoutTransactionQuote;
|
|
11018
|
-
exports.getCoinbaseAccounts =
|
|
11019
|
-
exports.getCoinbaseBuyUrl =
|
|
10758
|
+
exports.getCoinbaseAccounts = __getCoinbaseAccounts_wrapped;
|
|
10759
|
+
exports.getCoinbaseBuyUrl = __getCoinbaseBuyUrl_wrapped;
|
|
11020
10760
|
exports.getConnectedAddresses = getConnectedAddresses;
|
|
11021
10761
|
exports.getDefaultClient = require_logoutWithReason.getDefaultClient;
|
|
11022
10762
|
exports.getDeviceRegistrationTokenFromUrl = getDeviceRegistrationTokenFromUrl;
|
|
@@ -11025,8 +10765,8 @@ exports.getFlow = getFlow;
|
|
|
11025
10765
|
exports.getFlowQuote = getFlowQuote;
|
|
11026
10766
|
exports.getGoogleDriveBackupReadiness = __getGoogleDriveBackupReadiness_wrapped;
|
|
11027
10767
|
exports.getInstallationLinkForCurrentPlatform = getInstallationLinkForCurrentPlatform;
|
|
11028
|
-
exports.getKrakenAccounts =
|
|
11029
|
-
exports.getKrakenWhitelistedAddresses =
|
|
10768
|
+
exports.getKrakenAccounts = __getKrakenAccounts_wrapped;
|
|
10769
|
+
exports.getKrakenWhitelistedAddresses = __getKrakenWhitelistedAddresses_wrapped;
|
|
11030
10770
|
exports.getMfaDevices = getMfaDevices;
|
|
11031
10771
|
exports.getMfaMethods = require_isMfaRequiredForAction.getMfaMethods;
|
|
11032
10772
|
exports.getMfaRecoveryCodes = getMfaRecoveryCodes;
|
|
@@ -11076,6 +10816,7 @@ exports.isSignedIn = require_logoutWithReason.isSignedIn;
|
|
|
11076
10816
|
exports.isUserMissingMfaAuth = require_logoutWithReason.isUserMissingMfaAuth;
|
|
11077
10817
|
exports.isUserOnboardingComplete = require_isUserOnboardingComplete.isUserOnboardingComplete;
|
|
11078
10818
|
exports.isWalletAccountVerified = isWalletAccountVerified;
|
|
10819
|
+
exports.isWalletExtensionInstalled = isWalletExtensionInstalled;
|
|
11079
10820
|
exports.listYieldVaults = listYieldVaults;
|
|
11080
10821
|
exports.logout = logout;
|
|
11081
10822
|
exports.matchWalletProvidersToCatalogGroup = matchWalletProvidersToCatalogGroup;
|