@dynamic-labs-sdk/client 1.8.2 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/src/main/java/xyz/dynamic/client/DynamicClientPackage.kt +10 -0
- package/android/src/main/java/xyz/dynamic/client/screenshot/ScreenshotProtectionModule.kt +48 -0
- package/dist/{InvalidParamError-c1J0Vmze.esm.js → InvalidParamError-BmFmxeXx.esm.js} +52 -5
- package/dist/InvalidParamError-BmFmxeXx.esm.js.map +1 -0
- package/dist/{InvalidParamError-BqFQnYCi.native.esm.js → InvalidParamError-BxBgwLQB.native.esm.js} +273 -5
- package/dist/InvalidParamError-BxBgwLQB.native.esm.js.map +1 -0
- package/dist/{InvalidParamError-CmwKWCyr.cjs → InvalidParamError-CGZRSAOn.cjs} +70 -5
- package/dist/InvalidParamError-CGZRSAOn.cjs.map +1 -0
- package/dist/NotWaasWalletAccountError-CkH85cm5.native.esm.js +18 -0
- package/dist/NotWaasWalletAccountError-CkH85cm5.native.esm.js.map +1 -0
- package/dist/NotWaasWalletAccountError-DO313zza.esm.js +18 -0
- package/dist/NotWaasWalletAccountError-DO313zza.esm.js.map +1 -0
- package/dist/NotWaasWalletAccountError-cIj987D7.cjs +23 -0
- package/dist/NotWaasWalletAccountError-cIj987D7.cjs.map +1 -0
- package/dist/core.cjs +29 -10
- package/dist/core.cjs.map +1 -1
- package/dist/core.esm.js +24 -6
- package/dist/core.esm.js.map +1 -1
- package/dist/core.native.esm.js +32 -7
- package/dist/core.native.esm.js.map +1 -1
- package/dist/errors/FlowSessionTokenMissingError.d.ts +7 -0
- package/dist/errors/FlowSessionTokenMissingError.d.ts.map +1 -0
- package/dist/exports/core.d.ts +4 -0
- package/dist/exports/core.d.ts.map +1 -1
- package/dist/exports/index.d.ts +28 -25
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/exports/waasCore.d.ts +2 -0
- package/dist/exports/waasCore.d.ts.map +1 -1
- package/dist/{getNetworkProviderFromNetworkId-DXzopnuR.cjs → getNetworkProviderFromNetworkId-2wYAIZ6w.cjs} +20 -20
- package/dist/{getNetworkProviderFromNetworkId-DXzopnuR.cjs.map → getNetworkProviderFromNetworkId-2wYAIZ6w.cjs.map} +1 -1
- package/dist/{getNetworkProviderFromNetworkId-CGpE_Y95.esm.js → getNetworkProviderFromNetworkId-CsAg0JU7.esm.js} +18 -18
- package/dist/{getNetworkProviderFromNetworkId-CGpE_Y95.esm.js.map → getNetworkProviderFromNetworkId-CsAg0JU7.esm.js.map} +1 -1
- package/dist/{getNetworkProviderFromNetworkId-Cke-DBhx.native.esm.js → getNetworkProviderFromNetworkId-CxGbMwFL.native.esm.js} +13 -8
- package/dist/getNetworkProviderFromNetworkId-CxGbMwFL.native.esm.js.map +1 -0
- package/dist/{getSignedSessionId-C7YR-jNH.native.esm.js → getSignedSessionId-BZHJglv0.native.esm.js} +3 -3
- package/dist/{getSignedSessionId-C7YR-jNH.native.esm.js.map → getSignedSessionId-BZHJglv0.native.esm.js.map} +1 -1
- package/dist/{getSignedSessionId-CbWFH_TM.cjs → getSignedSessionId-E3o2_FL7.cjs} +3 -3
- package/dist/{getSignedSessionId-CbWFH_TM.cjs.map → getSignedSessionId-E3o2_FL7.cjs.map} +1 -1
- package/dist/{getSignedSessionId-C1uLkDjy.esm.js → getSignedSessionId-E9JM9zum.esm.js} +3 -3
- package/dist/{getSignedSessionId-C1uLkDjy.esm.js.map → getSignedSessionId-E9JM9zum.esm.js.map} +1 -1
- package/dist/getWaasWalletProviderFromWalletAccount-BaxUhLEp.cjs +19 -0
- package/dist/getWaasWalletProviderFromWalletAccount-BaxUhLEp.cjs.map +1 -0
- package/dist/getWaasWalletProviderFromWalletAccount-CXv6xEJZ.esm.js +14 -0
- package/dist/getWaasWalletProviderFromWalletAccount-CXv6xEJZ.esm.js.map +1 -0
- package/dist/getWaasWalletProviderFromWalletAccount-CeoFLRbo.native.esm.js +14 -0
- package/dist/getWaasWalletProviderFromWalletAccount-CeoFLRbo.native.esm.js.map +1 -0
- package/dist/{getVerifiedCredentialForWalletAccount-DPTHL1pO.esm.js → getWalletProviderByKey-AQmQQpmk.esm.js} +10 -17
- package/dist/getWalletProviderByKey-AQmQQpmk.esm.js.map +1 -0
- package/dist/{getVerifiedCredentialForWalletAccount-DAmdvMY5.native.esm.js → getWalletProviderByKey-C5w8qJ0f.native.esm.js} +10 -243
- package/dist/getWalletProviderByKey-C5w8qJ0f.native.esm.js.map +1 -0
- package/dist/{getVerifiedCredentialForWalletAccount-DidFNLGP.cjs → getWalletProviderByKey-DMNpwDEn.cjs} +11 -24
- package/dist/{getVerifiedCredentialForWalletAccount-DidFNLGP.cjs.map → getWalletProviderByKey-DMNpwDEn.cjs.map} +1 -1
- package/dist/index.cjs +2475 -2205
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +2439 -2174
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.esm.js +2479 -2210
- package/dist/index.native.esm.js.map +1 -1
- package/dist/{isMfaRequiredForAction-DCwLx4Ik.esm.js → isMfaRequiredForAction-BNgq1huY.esm.js} +2 -2
- package/dist/{isMfaRequiredForAction-DCwLx4Ik.esm.js.map → isMfaRequiredForAction-BNgq1huY.esm.js.map} +1 -1
- package/dist/{isMfaRequiredForAction-Dx4BPJVg.native.esm.js → isMfaRequiredForAction-BmJKVaMQ.native.esm.js} +2 -2
- package/dist/{isMfaRequiredForAction-Dx4BPJVg.native.esm.js.map → isMfaRequiredForAction-BmJKVaMQ.native.esm.js.map} +1 -1
- package/dist/{isMfaRequiredForAction-BNipdNF5.cjs → isMfaRequiredForAction-C9Fw0v_g.cjs} +2 -2
- package/dist/{isMfaRequiredForAction-BNipdNF5.cjs.map → isMfaRequiredForAction-C9Fw0v_g.cjs.map} +1 -1
- package/dist/modules/auth/social/oauth/signInWithSocialPopUp/signInWithSocialPopUp.d.ts +1 -1
- package/dist/modules/auth/social/oauth/signInWithSocialPopUp/signInWithSocialPopUp.d.ts.map +1 -1
- package/dist/modules/auth/social/oauth/signInWithSocialPopUp/signInWithSocialPopUp.types.d.ts +8 -0
- package/dist/modules/auth/social/oauth/signInWithSocialPopUp/signInWithSocialPopUp.types.d.ts.map +1 -1
- package/dist/modules/auth/social/oauth/unlinkSocialAccount/unlinkSocialAccount.d.ts +7 -1
- package/dist/modules/auth/social/oauth/unlinkSocialAccount/unlinkSocialAccount.d.ts.map +1 -1
- package/dist/modules/balances/getBalances/getBalances.d.ts +5 -2
- package/dist/modules/balances/getBalances/getBalances.d.ts.map +1 -1
- package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts +6 -3
- package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts.map +1 -1
- package/dist/modules/checkout/checkout.types.d.ts +6 -6
- package/dist/modules/checkout/checkout.types.d.ts.map +1 -1
- package/dist/modules/flow/attachFlowSource/attachFlowSource.d.ts +45 -0
- package/dist/modules/flow/attachFlowSource/attachFlowSource.d.ts.map +1 -0
- package/dist/modules/flow/attachFlowSource/index.d.ts +3 -0
- package/dist/modules/flow/attachFlowSource/index.d.ts.map +1 -0
- package/dist/modules/flow/events.d.ts +27 -0
- package/dist/modules/flow/events.d.ts.map +1 -0
- package/dist/modules/flow/flow.types.d.ts +8 -0
- package/dist/modules/flow/flow.types.d.ts.map +1 -0
- package/dist/modules/flow/getFlow/getFlow.d.ts +15 -0
- package/dist/modules/flow/getFlow/getFlow.d.ts.map +1 -0
- package/dist/modules/flow/getFlow/index.d.ts +3 -0
- package/dist/modules/flow/getFlow/index.d.ts.map +1 -0
- package/dist/modules/flow/getFlowQuote/getFlowQuote.d.ts +28 -0
- package/dist/modules/flow/getFlowQuote/getFlowQuote.d.ts.map +1 -0
- package/dist/modules/flow/getFlowQuote/index.d.ts +3 -0
- package/dist/modules/flow/getFlowQuote/index.d.ts.map +1 -0
- package/dist/modules/flow/prepareFlowSigning/index.d.ts +3 -0
- package/dist/modules/flow/prepareFlowSigning/index.d.ts.map +1 -0
- package/dist/modules/flow/prepareFlowSigning/prepareFlowSigning.d.ts +28 -0
- package/dist/modules/flow/prepareFlowSigning/prepareFlowSigning.d.ts.map +1 -0
- package/dist/modules/flow/utils/clearFlowSessionToken/clearFlowSessionToken.d.ts +22 -0
- package/dist/modules/flow/utils/clearFlowSessionToken/clearFlowSessionToken.d.ts.map +1 -0
- package/dist/modules/flow/utils/clearFlowSessionToken/index.d.ts +3 -0
- package/dist/modules/flow/utils/clearFlowSessionToken/index.d.ts.map +1 -0
- package/dist/modules/flow/utils/createFlowApiClient/createFlowApiClient.d.ts +14 -0
- package/dist/modules/flow/utils/createFlowApiClient/createFlowApiClient.d.ts.map +1 -0
- package/dist/modules/flow/utils/createFlowApiClient/index.d.ts +2 -0
- package/dist/modules/flow/utils/createFlowApiClient/index.d.ts.map +1 -0
- package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.d.ts +3 -0
- package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.d.ts.map +1 -0
- package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/index.d.ts +2 -0
- package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/index.d.ts.map +1 -0
- package/dist/modules/flow/utils/withFlowSessionTokenCleanupOn401/index.d.ts +3 -0
- package/dist/modules/flow/utils/withFlowSessionTokenCleanupOn401/index.d.ts.map +1 -0
- package/dist/modules/flow/utils/withFlowSessionTokenCleanupOn401/withFlowSessionTokenCleanupOn401.d.ts +16 -0
- package/dist/modules/flow/utils/withFlowSessionTokenCleanupOn401/withFlowSessionTokenCleanupOn401.d.ts.map +1 -0
- package/dist/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.d.ts +15 -0
- package/dist/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.d.ts.map +1 -0
- package/dist/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.types.d.ts +14 -0
- package/dist/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.types.d.ts.map +1 -0
- package/dist/modules/waas/createWaasClient/createNativeWaasSDKContainer.d.ts +15 -0
- package/dist/modules/waas/createWaasClient/createNativeWaasSDKContainer.d.ts.map +1 -0
- package/dist/modules/waas/createWaasProvider/createWaasProvider.d.ts.map +1 -1
- package/dist/modules/waas/exportWaasPrivateKeyToContainer/exportWaasPrivateKeyToContainer.d.ts +33 -0
- package/dist/modules/waas/exportWaasPrivateKeyToContainer/exportWaasPrivateKeyToContainer.d.ts.map +1 -0
- package/dist/modules/waas/exportWaasPrivateKeyToContainer/index.d.ts +2 -0
- package/dist/modules/waas/exportWaasPrivateKeyToContainer/index.d.ts.map +1 -0
- package/dist/modules/waas/waas.types.d.ts +3 -1
- package/dist/modules/waas/waas.types.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getBalance/getBalance.d.ts +5 -1
- package/dist/modules/wallets/networks/getBalance/getBalance.d.ts.map +1 -1
- package/dist/{NotWaasWalletAccountError-CgwG_c2-.esm.js → refreshAuth-CVUpYNs6.native.esm.js} +4 -18
- package/dist/refreshAuth-CVUpYNs6.native.esm.js.map +1 -0
- package/dist/{NotWaasWalletAccountError-Be0QB89x.native.esm.js → refreshAuth-D8dU3BLP.esm.js} +4 -18
- package/dist/refreshAuth-D8dU3BLP.esm.js.map +1 -0
- package/dist/{NotWaasWalletAccountError-DKEpLrGc.cjs → refreshAuth-DfcR3CWf.cjs} +4 -24
- package/dist/refreshAuth-DfcR3CWf.cjs.map +1 -0
- package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts.map +1 -1
- package/dist/services/instrumentation/instrumentFunction/instrumentFunction.d.ts.map +1 -1
- package/dist/services/instrumentation/instrumentation.types.d.ts +6 -0
- package/dist/services/instrumentation/instrumentation.types.d.ts.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/utils/getOperatingSystem/getOperatingSystem.d.ts +13 -0
- package/dist/utils/getOperatingSystem/getOperatingSystem.d.ts.map +1 -0
- package/dist/utils/getOperatingSystem/getOperatingSystem.types.d.ts +8 -0
- package/dist/utils/getOperatingSystem/getOperatingSystem.types.d.ts.map +1 -0
- package/dist/utils/getPlatform/getPlatform.d.ts +11 -0
- package/dist/utils/getPlatform/getPlatform.d.ts.map +1 -0
- package/dist/utils/getPlatform/getPlatform.types.d.ts +8 -0
- package/dist/utils/getPlatform/getPlatform.types.d.ts.map +1 -0
- package/dist/waas.cjs +24 -32
- package/dist/waas.cjs.map +1 -1
- package/dist/waas.esm.js +4 -12
- package/dist/waas.esm.js.map +1 -1
- package/dist/waas.native.esm.js +4 -12
- package/dist/waas.native.esm.js.map +1 -1
- package/dist/waasCore.cjs +39 -4
- package/dist/waasCore.cjs.map +1 -1
- package/dist/waasCore.esm.js +39 -5
- package/dist/waasCore.esm.js.map +1 -1
- package/dist/waasCore.native.esm.js +68 -10
- package/dist/waasCore.native.esm.js.map +1 -1
- package/ios/DynamicClientScreenshotProtection.h +4 -0
- package/ios/DynamicClientScreenshotProtection.mm +137 -0
- package/package.json +5 -5
- package/src/turboModules/NativeScreenshotProtection.native.spec.ts +57 -0
- package/src/turboModules/NativeScreenshotProtection.ts +26 -0
- package/dist/InvalidParamError-BqFQnYCi.native.esm.js.map +0 -1
- package/dist/InvalidParamError-CmwKWCyr.cjs.map +0 -1
- package/dist/InvalidParamError-c1J0Vmze.esm.js.map +0 -1
- package/dist/NotWaasWalletAccountError-Be0QB89x.native.esm.js.map +0 -1
- package/dist/NotWaasWalletAccountError-CgwG_c2-.esm.js.map +0 -1
- package/dist/NotWaasWalletAccountError-DKEpLrGc.cjs.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-Cke-DBhx.native.esm.js.map +0 -1
- package/dist/getVerifiedCredentialForWalletAccount-DAmdvMY5.native.esm.js.map +0 -1
- package/dist/getVerifiedCredentialForWalletAccount-DPTHL1pO.esm.js.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Flow } from '../flow.types';
|
|
2
|
+
export type GetFlowQuoteParams = {
|
|
3
|
+
flowId: string;
|
|
4
|
+
/**
|
|
5
|
+
* Optional chain identifier the source funds will originate from for this
|
|
6
|
+
* quote. When provided, this overrides the fromChainId recorded at
|
|
7
|
+
* attachFlowSource time. The chain family (fromChainName) and source address
|
|
8
|
+
* (fromAddress) are locked at attachFlowSource time — to switch chain families
|
|
9
|
+
* or wallets, call attachFlowSource again.
|
|
10
|
+
*/
|
|
11
|
+
fromChainId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* When omitted, defaults to native token for the chain specified in
|
|
14
|
+
* fromChainName in the attach source step.
|
|
15
|
+
*/
|
|
16
|
+
fromTokenAddress?: string;
|
|
17
|
+
slippage?: number;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Fetches a quote for a flow
|
|
21
|
+
*
|
|
22
|
+
* @param params GetFlowQuoteParams - The quote parameters.
|
|
23
|
+
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
24
|
+
* @returns The updated flow with quote data
|
|
25
|
+
* @not-instrumented
|
|
26
|
+
*/
|
|
27
|
+
export declare const getFlowQuote: ({ flowId, fromChainId, fromTokenAddress, slippage }: GetFlowQuoteParams, client?: import("../../../exports").DynamicClient) => Promise<Flow>;
|
|
28
|
+
//# sourceMappingURL=getFlowQuote.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowQuote.d.ts","sourceRoot":"","sources":["../../../../src/modules/flow/getFlowQuote/getFlowQuote.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAI1C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,wDAC8B,kBAAkB,wDAEtE,OAAO,CAAC,IAAI,CAuBd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/flow/getFlowQuote/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/flow/prepareFlowSigning/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Flow } from '../flow.types';
|
|
2
|
+
export type PrepareFlowSigningParams = {
|
|
3
|
+
/**
|
|
4
|
+
* Whether to assert the balance for the gas cost of the transaction.
|
|
5
|
+
* If true, the prepare signing request will fail if the balance is not sufficient for the gas cost.
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
assertBalanceForGasCost?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Whether to assert the balance for the transfer amount of the transaction.
|
|
11
|
+
* If true, the prepare signing request will fail if the balance is not sufficient for the transfer amount.
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
assertBalanceForTransferAmount?: boolean;
|
|
15
|
+
flowId: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Prepares a flow transaction for signing
|
|
19
|
+
* This should be called immediately before triggering the flow signing.
|
|
20
|
+
* It will confirm the quote is still valid, the risk state is cleared, and the flow is ready to be signed.
|
|
21
|
+
*
|
|
22
|
+
* @param params PrepareFlowSigningParams - The flow to prepare.
|
|
23
|
+
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
24
|
+
* @returns The updated flow
|
|
25
|
+
* @instrumented
|
|
26
|
+
*/
|
|
27
|
+
export declare const prepareFlowSigning: ({ assertBalanceForGasCost, assertBalanceForTransferAmount, flowId, }: PrepareFlowSigningParams, client?: import("../../../exports").DynamicClient) => Promise<Flow>;
|
|
28
|
+
//# sourceMappingURL=prepareFlowSigning.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prepareFlowSigning.d.ts","sourceRoot":"","sources":["../../../../src/modules/flow/prepareFlowSigning/prepareFlowSigning.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAI1C,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,yEAK1B,wBAAwB,wDAE1B,OAAO,CAAC,IAAI,CAuBd,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { DynamicClient } from '../../../../client/types';
|
|
2
|
+
export type ClearFlowSessionTokenParams = {
|
|
3
|
+
flowId: string;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Removes the locally stored flow session token for the given flow.
|
|
7
|
+
*
|
|
8
|
+
* The flow session token is the anonymous credential that authorizes
|
|
9
|
+
* mutations to a single in-flight flow. Once the flow has reached a
|
|
10
|
+
* terminal state (cancelled, expired, failed, completed) it can no
|
|
11
|
+
* longer be advanced, and the token is dead weight that should not be
|
|
12
|
+
* persisted in browser storage — leaving it around lets a later XSS payload
|
|
13
|
+
* exfiltrate a credential with no further use, and it can also confuse the
|
|
14
|
+
* SDK on subsequent loads into believing an active session exists.
|
|
15
|
+
*
|
|
16
|
+
* The server-side revocation lives in dashboard-api; this is the SDK-side
|
|
17
|
+
* defense-in-depth.
|
|
18
|
+
*
|
|
19
|
+
* @not-instrumented
|
|
20
|
+
*/
|
|
21
|
+
export declare const clearFlowSessionToken: ({ flowId }: ClearFlowSessionTokenParams, client: DynamicClient) => Promise<void>;
|
|
22
|
+
//# sourceMappingURL=clearFlowSessionToken.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clearFlowSessionToken.d.ts","sourceRoot":"","sources":["../../../../../src/modules/flow/utils/clearFlowSessionToken/clearFlowSessionToken.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAG9D,MAAM,MAAM,2BAA2B,GAAG;IACxC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,qBAAqB,eACpB,2BAA2B,UAC/B,aAAa,KACpB,OAAO,CAAC,IAAI,CAId,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/flow/utils/clearFlowSessionToken/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,YAAY,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SDKApi } from '@dynamic-labs/sdk-api-core';
|
|
2
|
+
import type { DynamicClient } from '../../../../client/types';
|
|
3
|
+
type CreateFlowApiClientParams = {
|
|
4
|
+
flowId: string;
|
|
5
|
+
};
|
|
6
|
+
type FlowApiClientResult = {
|
|
7
|
+
apiClient: SDKApi;
|
|
8
|
+
environmentId: string;
|
|
9
|
+
sessionToken: string;
|
|
10
|
+
};
|
|
11
|
+
/** @not-instrumented */
|
|
12
|
+
export declare const createFlowApiClient: ({ flowId }: CreateFlowApiClientParams, client: DynamicClient) => Promise<FlowApiClientResult>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=createFlowApiClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createFlowApiClient.d.ts","sourceRoot":"","sources":["../../../../../src/modules/flow/utils/createFlowApiClient/createFlowApiClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAGzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAK9D,KAAK,yBAAyB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,wBAAwB;AACxB,eAAO,MAAM,mBAAmB,eAClB,yBAAyB,UAC7B,aAAa,KACpB,OAAO,CAAC,mBAAmB,CAiB7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/flow/utils/createFlowApiClient/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createFlowSessionTokenStorageKey.d.ts","sourceRoot":"","sources":["../../../../../src/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.ts"],"names":[],"mappings":"AAIA,wBAAwB;AAExB,eAAO,MAAM,gCAAgC,WAAY,MAAM,oEAK9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/flow/utils/createFlowSessionTokenStorageKey/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/flow/utils/withFlowSessionTokenCleanupOn401/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,YAAY,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { DynamicClient } from '../../../../client/types';
|
|
2
|
+
export type WithFlowSessionTokenCleanupOn401Params<T> = {
|
|
3
|
+
call: () => Promise<T>;
|
|
4
|
+
flowId: string;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Flow mutation routes are guarded server-side only by session-token
|
|
8
|
+
* validation, so a 401 means the token is dead (revoked, expired, deleted,
|
|
9
|
+
* or invalid). Leaving a dead token in `localStorage` widens the XSS
|
|
10
|
+
* exfiltration surface for no benefit and makes the next SDK load attempt
|
|
11
|
+
* requests that are guaranteed to fail.
|
|
12
|
+
*
|
|
13
|
+
* @not-instrumented
|
|
14
|
+
*/
|
|
15
|
+
export declare const withFlowSessionTokenCleanupOn401: <T>({ call, flowId }: WithFlowSessionTokenCleanupOn401Params<T>, client: DynamicClient) => Promise<T>;
|
|
16
|
+
//# sourceMappingURL=withFlowSessionTokenCleanupOn401.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withFlowSessionTokenCleanupOn401.d.ts","sourceRoot":"","sources":["../../../../../src/modules/flow/utils/withFlowSessionTokenCleanupOn401/withFlowSessionTokenCleanupOn401.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAI9D,MAAM,MAAM,sCAAsC,CAAC,CAAC,IAAI;IACtD,IAAI,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,gCAAgC,GAAU,CAAC,oBACpC,sCAAsC,CAAC,CAAC,CAAC,UACnD,aAAa,KACpB,OAAO,CAAC,CAAC,CAgBX,CAAC"}
|
package/dist/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { SetScreenshotProtectionParams } from './setScreenshotProtection.types';
|
|
2
|
+
/**
|
|
3
|
+
* Web/desktop counterpart of the React Native `setScreenshotProtection` (see
|
|
4
|
+
* `setScreenshotProtection.native.ts`).
|
|
5
|
+
*
|
|
6
|
+
* Screenshot/recording protection is a native window-level capability with no
|
|
7
|
+
* web equivalent. Rather than silently no-op (which would let a desktop caller
|
|
8
|
+
* believe content is protected when it is not), this throws a
|
|
9
|
+
* `ReactNativeOnlyError` so an accidental web/desktop call is loud — the API is
|
|
10
|
+
* intentionally React-Native-only.
|
|
11
|
+
*
|
|
12
|
+
* @not-instrumented
|
|
13
|
+
*/
|
|
14
|
+
export declare const setScreenshotProtection: ({ enabled, }: SetScreenshotProtectionParams) => void;
|
|
15
|
+
//# sourceMappingURL=setScreenshotProtection.d.ts.map
|
package/dist/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setScreenshotProtection.d.ts","sourceRoot":"","sources":["../../../../src/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAErF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB,iBAKjC,6BAA6B,KAAG,IAElC,CAAC"}
|
package/dist/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.types.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parameters for `setScreenshotProtection`. Shared between the React Native
|
|
3
|
+
* implementation and the web no-op so both expose an identical signature for
|
|
4
|
+
* the platform-type parity check.
|
|
5
|
+
*/
|
|
6
|
+
export type SetScreenshotProtectionParams = {
|
|
7
|
+
/**
|
|
8
|
+
* `true` to turn on screenshot/recording protection (e.g. while sensitive
|
|
9
|
+
* content such as a private-key export is on screen), `false` to turn it off
|
|
10
|
+
* once that content is dismissed.
|
|
11
|
+
*/
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=setScreenshotProtection.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setScreenshotProtection.types.d.ts","sourceRoot":"","sources":["../../../../src/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { WaasSDKContainer } from '@dynamic-labs-wallet/core';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a `WaasSDKContainer` backed by a hidden, headless native WebView for
|
|
4
|
+
* MPC operations (signing, key-share management).
|
|
5
|
+
*
|
|
6
|
+
* This factory only exists for React Native (see
|
|
7
|
+
* `createNativeWaasSDKContainer.native.ts`). On web, WaaS containers are backed
|
|
8
|
+
* by DOM iframes via the WaaS SDK, so this function is never called — it throws
|
|
9
|
+
* a `ReactNativeOnlyError` to make an accidental web invocation explicit rather
|
|
10
|
+
* than silently no-op.
|
|
11
|
+
*
|
|
12
|
+
* @not-instrumented
|
|
13
|
+
*/
|
|
14
|
+
export declare const createNativeWaasSDKContainer: () => WaasSDKContainer;
|
|
15
|
+
//# sourceMappingURL=createNativeWaasSDKContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createNativeWaasSDKContainer.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/createWaasClient/createNativeWaasSDKContainer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAIlE;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,4BAA4B,QAAO,gBAE/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createWaasProvider.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/createWaasProvider/createWaasProvider.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAKzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAIlD,KAAK,wBAAwB,GAAG;IAC9B,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,aAAa,CAAC;CAC1B,CAAC;AAEF,wBAAwB;AACxB,eAAO,MAAM,kBAAkB,0BAG5B,wBAAwB,KAAG,
|
|
1
|
+
{"version":3,"file":"createWaasProvider.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/createWaasProvider/createWaasProvider.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAKzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAIlD,KAAK,wBAAwB,GAAG;IAC9B,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,aAAa,CAAC;CAC1B,CAAC;AAEF,wBAAwB;AACxB,eAAO,MAAM,kBAAkB,0BAG5B,wBAAwB,KAAG,YAuZ7B,CAAC"}
|
package/dist/modules/waas/exportWaasPrivateKeyToContainer/exportWaasPrivateKeyToContainer.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { WaasSDKContainer } from '@dynamic-labs-wallet/core';
|
|
2
|
+
import type { DynamicClient } from '../../../client/types/DynamicClient';
|
|
3
|
+
import type { WalletAccount } from '../../wallets/walletAccount';
|
|
4
|
+
type ExportWaasPrivateKeyToContainerParams = {
|
|
5
|
+
container: WaasSDKContainer;
|
|
6
|
+
password?: string;
|
|
7
|
+
walletAccount: WalletAccount;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Exports the private key for a WaaS wallet account into a caller-provided
|
|
11
|
+
* {@link WaasSDKContainer} (e.g. a visible React Native WebView) instead of a
|
|
12
|
+
* DOM element.
|
|
13
|
+
*
|
|
14
|
+
* This is the container-based counterpart to `exportWaasPrivateKey` (which
|
|
15
|
+
* injects an iframe into a DOM `displayContainer` on web). The export ceremony
|
|
16
|
+
* runs — and the private key is rendered — entirely inside the container's own
|
|
17
|
+
* sandboxed document; the key is never exposed to the host JS layer. The caller
|
|
18
|
+
* owns the container's lifecycle and must call `container.destroy()` when the
|
|
19
|
+
* display is dismissed.
|
|
20
|
+
*
|
|
21
|
+
* @param params.walletAccount - The WaaS wallet account to export the private key from.
|
|
22
|
+
* @param params.container - The container that hosts the secure key display.
|
|
23
|
+
* @param [params.password] - Optional password to decrypt the private key.
|
|
24
|
+
* @param client - The Dynamic client instance. This is an internal API (exposed
|
|
25
|
+
* only via `@dynamic-labs-sdk/client/waas/core`), so the client is passed
|
|
26
|
+
* explicitly rather than defaulted — callers resolve it (e.g. via
|
|
27
|
+
* `getDefaultClient()`) and thread it in.
|
|
28
|
+
* @returns A promise that resolves when the private key export is complete.
|
|
29
|
+
* @not-instrumented
|
|
30
|
+
*/
|
|
31
|
+
export declare const exportWaasPrivateKeyToContainer: ({ container, password, walletAccount }: ExportWaasPrivateKeyToContainerParams, client: DynamicClient) => Promise<void>;
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=exportWaasPrivateKeyToContainer.d.ts.map
|
package/dist/modules/waas/exportWaasPrivateKeyToContainer/exportWaasPrivateKeyToContainer.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportWaasPrivateKeyToContainer.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/exportWaasPrivateKeyToContainer/exportWaasPrivateKeyToContainer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,qCAAqC,GAAG;IAC3C,SAAS,EAAE,gBAAgB,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,+BAA+B,2CACF,qCAAqC,UACrE,aAAa,kBAYtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/exportWaasPrivateKeyToContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DynamicWalletClient, GetWalletResponse, ThresholdSignatureScheme, WalletRecoveryState } from '@dynamic-labs-wallet/browser-wallet-client';
|
|
2
|
+
import type { WaasSDKContainer } from '@dynamic-labs-wallet/core';
|
|
2
3
|
import type { Chain } from '../chain';
|
|
3
4
|
import type { LogoutReason } from '../auth/logoutReason';
|
|
4
5
|
import type { WalletAccount } from '../wallets/walletAccount';
|
|
@@ -44,7 +45,8 @@ export type WaasProvider = {
|
|
|
44
45
|
walletAccount: WalletAccount;
|
|
45
46
|
}) => Promise<void>;
|
|
46
47
|
exportPrivateKey: (args: {
|
|
47
|
-
|
|
48
|
+
container?: WaasSDKContainer;
|
|
49
|
+
displayContainer?: HTMLElement;
|
|
48
50
|
password?: string;
|
|
49
51
|
walletAccount: WalletAccount;
|
|
50
52
|
}) => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waas.types.d.ts","sourceRoot":"","sources":["../../../src/modules/waas/waas.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"waas.types.d.ts","sourceRoot":"","sources":["../../../src/modules/waas/waas.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,4CAA4C,CAAC;AACpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,YAAY,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAE3F;;;;GAIG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,aAAa,CAAC,EAAE,2BAA2B,CAAC;IAC5C,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,4BAA4B,EAAE,CAAC,IAAI,EAAE;QACnC,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,E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AAE,CAAC,CAAC;IACrC,YAAY,EAAE,CAAC,IAAI,EAAE;QACnB,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACjC,cAAc,EAAE,CAAC,IAAI,EAAE;QACrB,eAAe,EAAE,MAAM,CAAC;QACxB,WAAW,EAAE,MAAM,CAAC;QACpB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAC7C,IAAI,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import { getNativeBalance } from '../getNativeBalance/getNativeBalance';
|
|
2
|
+
type GetBalanceParams = Parameters<typeof getNativeBalance>[0];
|
|
1
3
|
/**
|
|
2
4
|
* @deprecated Use {@link getNativeBalance} instead. Renamed so its name
|
|
3
5
|
* states what it returns (native gas balance) and is no longer confusable
|
|
4
6
|
* with the token-balance fetchers (`getTokenBalances` /
|
|
5
7
|
* `getMultichainTokenBalances`).
|
|
8
|
+
*
|
|
6
9
|
* @not-instrumented
|
|
7
10
|
*/
|
|
8
|
-
export
|
|
11
|
+
export declare const getBalance: (params: GetBalanceParams, client?: import("../../../../exports").DynamicClient) => ReturnType<typeof getNativeBalance>;
|
|
12
|
+
export {};
|
|
9
13
|
//# sourceMappingURL=getBalance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBalance.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/getBalance/getBalance.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getBalance.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/getBalance/getBalance.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/D;;;;;;;GAOG;AAGH,eAAO,MAAM,UAAU,WACb,gBAAgB,2DAEvB,UAAU,CAAC,OAAO,gBAAgB,CAAqC,CAAC"}
|
package/dist/{NotWaasWalletAccountError-CgwG_c2-.esm.js → refreshAuth-CVUpYNs6.native.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as updateAuthFromVerifyResponse } from "./
|
|
1
|
+
import { J as getDefaultClient, L as instrumentFunction, Q as getCore, b as createApiClient } from "./InvalidParamError-BxBgwLQB.native.esm.js";
|
|
2
|
+
import { r as updateAuthFromVerifyResponse } from "./getWalletProviderByKey-C5w8qJ0f.native.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/user/refreshAuth/refreshAuth.ts
|
|
5
5
|
/**
|
|
@@ -34,19 +34,5 @@ const __refreshAuth_wrapped = instrumentFunction({
|
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
constructor({ walletAddress }) {
|
|
40
|
-
super({
|
|
41
|
-
cause: null,
|
|
42
|
-
code: "not_waas_wallet_account_error",
|
|
43
|
-
docsUrl: null,
|
|
44
|
-
name: "NotWaasWalletAccountError",
|
|
45
|
-
shortMessage: `Wallet account ${walletAddress} is not a Dynamic WaaS wallet account`
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
//#endregion
|
|
51
|
-
export { __refreshAuth_wrapped as n, NotWaasWalletAccountError as t };
|
|
52
|
-
//# sourceMappingURL=NotWaasWalletAccountError-CgwG_c2-.esm.js.map
|
|
37
|
+
export { __refreshAuth_wrapped as t };
|
|
38
|
+
//# sourceMappingURL=refreshAuth-CVUpYNs6.native.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refreshAuth-CVUpYNs6.native.esm.js","names":[],"sources":["../src/modules/user/refreshAuth/refreshAuth.ts"],"sourcesContent":["import type { VerifyResponse } from '@dynamic-labs/sdk-api-core';\n\nimport { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\nimport { updateAuthFromVerifyResponse } from '../../auth/updateAuthFromVerifyResponse';\n\n/**\n * Refreshes the current user's data from the server.\n *\n * This function fetches the latest user information and token from the backend\n * updating the local user and token states with any changes.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the verify response.\n * @instrumented\n * @redact-params\n */\nexport const refreshAuth = async (\n client = getDefaultClient()\n): Promise<VerifyResponse> => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const response = await apiClient.refreshAuth({\n environmentId: core.environmentId,\n });\n\n updateAuthFromVerifyResponse({ response }, client);\n\n return response;\n};\n"],"mappings":";;;;;;;;;;;;;;;AAqBA,MAAE,cAAa,OACb,SAAM,kBAAY;CAElB,MAAM,OAAA,QAAW,OAAM;wBACN,gBAAK,EAAa,EAAA,OAAA,eAGnC,eAAA,KAAA;AAGD,8BAAA,EAAA,UAAA,EAAA,OAAA"}
|
package/dist/{NotWaasWalletAccountError-Be0QB89x.native.esm.js → refreshAuth-D8dU3BLP.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as updateAuthFromVerifyResponse } from "./
|
|
1
|
+
import { A as createApiClient, ct as getCore, it as getDefaultClient, q as instrumentFunction } from "./InvalidParamError-BmFmxeXx.esm.js";
|
|
2
|
+
import { r as updateAuthFromVerifyResponse } from "./getWalletProviderByKey-AQmQQpmk.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/user/refreshAuth/refreshAuth.ts
|
|
5
5
|
/**
|
|
@@ -34,19 +34,5 @@ const __refreshAuth_wrapped = instrumentFunction({
|
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
constructor({ walletAddress }) {
|
|
40
|
-
super({
|
|
41
|
-
cause: null,
|
|
42
|
-
code: "not_waas_wallet_account_error",
|
|
43
|
-
docsUrl: null,
|
|
44
|
-
name: "NotWaasWalletAccountError",
|
|
45
|
-
shortMessage: `Wallet account ${walletAddress} is not a Dynamic WaaS wallet account`
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
//#endregion
|
|
51
|
-
export { __refreshAuth_wrapped as n, NotWaasWalletAccountError as t };
|
|
52
|
-
//# sourceMappingURL=NotWaasWalletAccountError-Be0QB89x.native.esm.js.map
|
|
37
|
+
export { __refreshAuth_wrapped as t };
|
|
38
|
+
//# sourceMappingURL=refreshAuth-D8dU3BLP.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refreshAuth-D8dU3BLP.esm.js","names":[],"sources":["../src/modules/user/refreshAuth/refreshAuth.ts"],"sourcesContent":["import type { VerifyResponse } from '@dynamic-labs/sdk-api-core';\n\nimport { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\nimport { updateAuthFromVerifyResponse } from '../../auth/updateAuthFromVerifyResponse';\n\n/**\n * Refreshes the current user's data from the server.\n *\n * This function fetches the latest user information and token from the backend\n * updating the local user and token states with any changes.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the verify response.\n * @instrumented\n * @redact-params\n */\nexport const refreshAuth = async (\n client = getDefaultClient()\n): Promise<VerifyResponse> => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const response = await apiClient.refreshAuth({\n environmentId: core.environmentId,\n });\n\n updateAuthFromVerifyResponse({ response }, client);\n\n return response;\n};\n"],"mappings":";;;;;;;;;;;;;;;AAqBA,MAAE,cAAa,OACb,SAAM,kBAAY;CAElB,MAAM,OAAA,QAAW,OAAM;wBACN,gBAAK,EAAa,EAAA,OAAA,eAGnC,eAAA,KAAA;AAGD,8BAAA,EAAA,UAAA,EAAA,OAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_InvalidParamError = require('./InvalidParamError-
|
|
2
|
-
const
|
|
1
|
+
const require_InvalidParamError = require('./InvalidParamError-CGZRSAOn.cjs');
|
|
2
|
+
const require_getWalletProviderByKey = require('./getWalletProviderByKey-DMNpwDEn.cjs');
|
|
3
3
|
|
|
4
4
|
//#region src/modules/user/refreshAuth/refreshAuth.ts
|
|
5
5
|
/**
|
|
@@ -16,7 +16,7 @@ const require_getVerifiedCredentialForWalletAccount = require('./getVerifiedCred
|
|
|
16
16
|
const refreshAuth = async (client = require_InvalidParamError.getDefaultClient()) => {
|
|
17
17
|
const core = require_InvalidParamError.getCore(client);
|
|
18
18
|
const response = await require_InvalidParamError.createApiClient({}, client).refreshAuth({ environmentId: core.environmentId });
|
|
19
|
-
|
|
19
|
+
require_getWalletProviderByKey.updateAuthFromVerifyResponse({ response }, client);
|
|
20
20
|
return response;
|
|
21
21
|
};
|
|
22
22
|
const __refreshAuth_impl = refreshAuth;
|
|
@@ -34,30 +34,10 @@ const __refreshAuth_wrapped = require_InvalidParamError.instrumentFunction({
|
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region src/errors/NotWaasWalletAccountError.ts
|
|
38
|
-
var NotWaasWalletAccountError = class extends require_InvalidParamError.BaseError {
|
|
39
|
-
constructor({ walletAddress }) {
|
|
40
|
-
super({
|
|
41
|
-
cause: null,
|
|
42
|
-
code: "not_waas_wallet_account_error",
|
|
43
|
-
docsUrl: null,
|
|
44
|
-
name: "NotWaasWalletAccountError",
|
|
45
|
-
shortMessage: `Wallet account ${walletAddress} is not a Dynamic WaaS wallet account`
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
//#endregion
|
|
51
|
-
Object.defineProperty(exports, 'NotWaasWalletAccountError', {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function () {
|
|
54
|
-
return NotWaasWalletAccountError;
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
37
|
Object.defineProperty(exports, '__refreshAuth_wrapped', {
|
|
58
38
|
enumerable: true,
|
|
59
39
|
get: function () {
|
|
60
40
|
return __refreshAuth_wrapped;
|
|
61
41
|
}
|
|
62
42
|
});
|
|
63
|
-
//# sourceMappingURL=
|
|
43
|
+
//# sourceMappingURL=refreshAuth-DfcR3CWf.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refreshAuth-DfcR3CWf.cjs","names":[],"sources":["../src/modules/user/refreshAuth/refreshAuth.ts"],"sourcesContent":["import type { VerifyResponse } from '@dynamic-labs/sdk-api-core';\n\nimport { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\nimport { updateAuthFromVerifyResponse } from '../../auth/updateAuthFromVerifyResponse';\n\n/**\n * Refreshes the current user's data from the server.\n *\n * This function fetches the latest user information and token from the backend\n * updating the local user and token states with any changes.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the verify response.\n * @instrumented\n * @redact-params\n */\nexport const refreshAuth = async (\n client = getDefaultClient()\n): Promise<VerifyResponse> => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const response = await apiClient.refreshAuth({\n environmentId: core.environmentId,\n });\n\n updateAuthFromVerifyResponse({ response }, client);\n\n return response;\n};\n"],"mappings":";;;;;;;;;;;;;;;AAqBA,MAAE,cAAa,OACb,SAAM,4CAAY;CAElB,MAAM,OAAA,kCAAW,OAAM;wBACN,0CAAK,EAAa,EAAA,OAAA,eAGnC,eAAA,KAAA;AAGD,6DAAA,EAAA,UAAA,EAAA,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectLoggerToInstrumentation.d.ts","sourceRoot":"","sources":["../../../../src/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"connectLoggerToInstrumentation.d.ts","sourceRoot":"","sources":["../../../../src/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAIxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAElF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAGhE,KAAK,oCAAoC,GAAG;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxB,eAAe,EAAE,eAAe,CAAC;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAC;CAC1C,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B,6FAQxC,oCAAoC,SAgCtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instrumentFunction.d.ts","sourceRoot":"","sources":["../../../../src/services/instrumentation/instrumentFunction/instrumentFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"instrumentFunction.d.ts","sourceRoot":"","sources":["../../../../src/services/instrumentation/instrumentFunction/instrumentFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAsB1E,KAAK,wBAAwB,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,IAAI;IACzE,qCAAqC;IACrC,EAAE,EAAE,CAAC,CAAC;IACN,2DAA2D;IAC3D,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,EAAE,MAAM,WAAW,GAAG,SAAS,CAAC;IACvC;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AAEH,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,6CAKzE,wBAAwB,CAAC,CAAC,CAAC,KAAG,CAkGhC,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { SdkOperatingSystem } from '../../utils/getOperatingSystem/getOperatingSystem.types';
|
|
2
|
+
import type { SdkPlatform } from '../../utils/getPlatform/getPlatform.types';
|
|
1
3
|
export type InstrumentationEventPhase = 'started' | 'resolved' | 'rejected';
|
|
2
4
|
/**
|
|
3
5
|
* Datadog reserved attribute for log severity. DD uses this field to colour-
|
|
@@ -12,7 +14,11 @@ export type InstrumentationStatus = 'error' | 'info' | 'debug';
|
|
|
12
14
|
*/
|
|
13
15
|
export type InstrumentationEvent = {
|
|
14
16
|
environmentId: string;
|
|
17
|
+
/** The operating system the SDK is executing on. */
|
|
18
|
+
operatingSystem: SdkOperatingSystem;
|
|
15
19
|
parameters: Record<string, unknown>;
|
|
20
|
+
/** The runtime platform the SDK is executing on. */
|
|
21
|
+
platform: SdkPlatform;
|
|
16
22
|
/** Extension keys registered on the client at the time the event was emitted. */
|
|
17
23
|
registeredExtensionKeys: string[];
|
|
18
24
|
sdkSessionId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instrumentation.types.d.ts","sourceRoot":"","sources":["../../../src/services/instrumentation/instrument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ACH,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,qBAAqB,CAAC;IAC9B,GAAG,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC3C,WAAW,EAAE,CAAC,KAAK,EAAE,4BAA4B,KAAK,IAAI,CAAC;IAC3D,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,YAAY,EAAE,CAAC,SAAS,EAAE,wBAAwB,KAAK,IAAI,CAAC;CAC7D,CAAC"}
|
|
1
|
+
{"version":3,"file":"instrumentation.types.d.ts","sourceRoot":"","sources":["../../../src/services/instrumentation/instrumentation.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,MAAM,MAAM,yBAAyB,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AAE5E;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,oDAAoD;IACpD,eAAe,EAAE,kBAAkB,CAAC;IACpC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,oDAAoD;IACpD,QAAQ,EAAE,WAAW,CAAC;IACtB,iFAAiF;IACjF,uBAAuB,EAAE,MAAM,EAAE,CAAC;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IAEnB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC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