@dynamic-labs-sdk/client 1.29.0 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/defaultClient/defaultClient.d.ts.map +1 -1
- package/dist/core.cjs +7 -30
- package/dist/core.cjs.map +1 -1
- package/dist/core.esm.js +9 -32
- package/dist/core.esm.js.map +1 -1
- package/dist/core.native.esm.js +7 -30
- package/dist/core.native.esm.js.map +1 -1
- package/dist/errors/ScreeningNotRequiredError.d.ts +23 -0
- package/dist/errors/ScreeningNotRequiredError.d.ts.map +1 -0
- package/dist/errors/base/BaseError.d.ts.map +1 -1
- package/dist/exports/core.d.ts +2 -1
- package/dist/exports/core.d.ts.map +1 -1
- package/dist/exports/index.d.ts +10 -1
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/{getNetworkProviderFromNetworkId-DReHSnab.native.esm.js → getNetworkProviderFromNetworkId-BUjaD1Hl.native.esm.js} +3 -3
- package/dist/getNetworkProviderFromNetworkId-BUjaD1Hl.native.esm.js.map +1 -0
- package/dist/{getNetworkProviderFromNetworkId-Be2CBFTv.esm.js → getNetworkProviderFromNetworkId-ChdEfI2Q.esm.js} +6 -6
- package/dist/getNetworkProviderFromNetworkId-ChdEfI2Q.esm.js.map +1 -0
- package/dist/{getNetworkProviderFromNetworkId-BsmqXKF_.cjs → getNetworkProviderFromNetworkId-wbWC24tw.cjs} +2 -2
- package/dist/getNetworkProviderFromNetworkId-wbWC24tw.cjs.map +1 -0
- package/dist/{getSignedSessionId-CLvqM34v.esm.js → getSignedSessionId-CAcYlAuB.esm.js} +3 -3
- package/dist/getSignedSessionId-CAcYlAuB.esm.js.map +1 -0
- package/dist/{getSignedSessionId-CcV_jWux.cjs → getSignedSessionId-Ccdmqz-E.cjs} +3 -3
- package/dist/getSignedSessionId-Ccdmqz-E.cjs.map +1 -0
- package/dist/{getSignedSessionId-DdslNjRv.native.esm.js → getSignedSessionId-GpNy9mNZ.native.esm.js} +3 -3
- package/dist/getSignedSessionId-GpNy9mNZ.native.esm.js.map +1 -0
- package/dist/{getWalletProviderByKey-BMsrnfN2.cjs → getWalletProviderByKey-BapuuI8t.cjs} +2 -2
- package/dist/getWalletProviderByKey-BapuuI8t.cjs.map +1 -0
- package/dist/{getWalletProviderByKey-BtcGKhh6.native.esm.js → getWalletProviderByKey-Bo8REwtt.native.esm.js} +4 -2
- package/dist/getWalletProviderByKey-Bo8REwtt.native.esm.js.map +1 -0
- package/dist/{getWalletProviderByKey-FfQmRcK1.esm.js → getWalletProviderByKey-D678OktF.esm.js} +2 -2
- package/dist/getWalletProviderByKey-D678OktF.esm.js.map +1 -0
- package/dist/index.cjs +316 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +314 -10
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.esm.js +311 -7
- package/dist/index.native.esm.js.map +1 -1
- package/dist/{isDynamicWaasEnabled-GTkHpRu6.native.esm.js → isDynamicWaasEnabled-6Fvh5fsA.native.esm.js} +2 -2
- package/dist/{isDynamicWaasEnabled-GTkHpRu6.native.esm.js.map → isDynamicWaasEnabled-6Fvh5fsA.native.esm.js.map} +1 -1
- package/dist/{isDynamicWaasEnabled-DT4jhqkC.cjs → isDynamicWaasEnabled-BPEtdwZI.cjs} +2 -2
- package/dist/{isDynamicWaasEnabled-DT4jhqkC.cjs.map → isDynamicWaasEnabled-BPEtdwZI.cjs.map} +1 -1
- package/dist/{isDynamicWaasEnabled-B8e0N7Bb.esm.js → isDynamicWaasEnabled-CIJILHSm.esm.js} +2 -2
- package/dist/{isDynamicWaasEnabled-B8e0N7Bb.esm.js.map → isDynamicWaasEnabled-CIJILHSm.esm.js.map} +1 -1
- package/dist/{isMfaRequiredForAction-9ZrKcsTN.cjs → isMfaRequiredForAction-DjZ5p_og.cjs} +2 -2
- package/dist/isMfaRequiredForAction-DjZ5p_og.cjs.map +1 -0
- package/dist/{isMfaRequiredForAction-e4Bdq2tD.native.esm.js → isMfaRequiredForAction-WvmXGQKP.native.esm.js} +2 -2
- package/dist/isMfaRequiredForAction-WvmXGQKP.native.esm.js.map +1 -0
- package/dist/{isMfaRequiredForAction-DRqf4xyv.esm.js → isMfaRequiredForAction-h3H3j2fJ.esm.js} +2 -2
- package/dist/isMfaRequiredForAction-h3H3j2fJ.esm.js.map +1 -0
- package/dist/{isUserOnboardingComplete-Bq_7_Fck.esm.js → isUserOnboardingComplete-BYM3G09A.esm.js} +3 -3
- package/dist/{isUserOnboardingComplete-Bq_7_Fck.esm.js.map → isUserOnboardingComplete-BYM3G09A.esm.js.map} +1 -1
- package/dist/{isUserOnboardingComplete-DINsEIfi.cjs → isUserOnboardingComplete-CxIX-dC1.cjs} +3 -3
- package/dist/{isUserOnboardingComplete-DINsEIfi.cjs.map → isUserOnboardingComplete-CxIX-dC1.cjs.map} +1 -1
- package/dist/{isUserOnboardingComplete-DKt0bwXg.native.esm.js → isUserOnboardingComplete-HLRIFAZb.native.esm.js} +3 -3
- package/dist/{isUserOnboardingComplete-DKt0bwXg.native.esm.js.map → isUserOnboardingComplete-HLRIFAZb.native.esm.js.map} +1 -1
- package/dist/{migrateFromFireblocks-3naM4iCQ.native.esm.js → migrateFromFireblocks-4jrfIkDp.native.esm.js} +3 -3
- package/dist/{migrateFromFireblocks-3naM4iCQ.native.esm.js.map → migrateFromFireblocks-4jrfIkDp.native.esm.js.map} +1 -1
- package/dist/{migrateFromFireblocks-DbTnFE38.esm.js → migrateFromFireblocks-R-aPmpUZ.esm.js} +3 -3
- package/dist/{migrateFromFireblocks-DbTnFE38.esm.js.map → migrateFromFireblocks-R-aPmpUZ.esm.js.map} +1 -1
- package/dist/{migrateFromFireblocks-Dyh2dGWB.cjs → migrateFromFireblocks-mA-hvJcQ.cjs} +3 -3
- package/dist/{migrateFromFireblocks-Dyh2dGWB.cjs.map → migrateFromFireblocks-mA-hvJcQ.cjs.map} +1 -1
- package/dist/modules/apiClient/createApiClient.d.ts +2 -1
- package/dist/modules/apiClient/createApiClient.d.ts.map +1 -1
- package/dist/modules/apiClient/createBaseApiClient.d.ts.map +1 -1
- package/dist/modules/auth/createVisit/createVisit.d.ts.map +1 -1
- package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts +2 -1
- package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts.map +1 -1
- package/dist/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.d.ts +2 -1
- package/dist/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.d.ts.map +1 -1
- package/dist/modules/auth/initializeAuth/initializeAuth.d.ts.map +1 -1
- package/dist/modules/auth/isSignedIn/isSignedIn.d.ts.map +1 -1
- package/dist/modules/auth/logout/logout.d.ts.map +1 -1
- package/dist/modules/auth/logoutWithReason/logoutWithReason.d.ts.map +1 -1
- package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts +3 -2
- package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts.map +1 -1
- package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts +2 -2
- package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts.map +1 -1
- package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts +2 -2
- package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts.map +1 -1
- package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts +2 -2
- package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts.map +1 -1
- package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts +2 -2
- package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts.map +1 -1
- package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts +2 -1
- package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts.map +1 -1
- package/dist/modules/auth/social/oauth/authenticateWithSocial/authenticateWithSocial.d.ts.map +1 -1
- package/dist/modules/auth/social/oauth/signInWithSocialRedirect/signInWithSocialRedirect.d.ts.map +1 -1
- package/dist/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.d.ts.map +1 -1
- package/dist/modules/auth/updateAuthFromVerifyResponse/checkAndRaiseWalletAccountsChangedEvent/checkAndRaiseWalletAccountsChangedEvent.d.ts.map +1 -1
- package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts.map +1 -1
- package/dist/modules/captcha/isCaptchaRequired/isCaptchaRequired.d.ts.map +1 -1
- package/dist/modules/captcha/setCaptchaToken/setCaptchaToken.d.ts.map +1 -1
- package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts +2 -1
- package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts.map +1 -1
- package/dist/modules/checkout/utils/createCheckoutTransactionChannelSchema/createCheckoutTransactionChannelSchema.d.ts +9 -7
- package/dist/modules/checkout/utils/createCheckoutTransactionChannelSchema/createCheckoutTransactionChannelSchema.d.ts.map +1 -1
- package/dist/modules/clientEvents/clientEvents.d.ts +2 -2
- package/dist/modules/clientEvents/clientEvents.d.ts.map +1 -1
- package/dist/modules/crossTabEventSync/setupCrossTabEventSync/setupCrossTabEventSync.d.ts +1 -1
- package/dist/modules/crossTabEventSync/setupCrossTabEventSync/setupCrossTabEventSync.d.ts.map +1 -1
- package/dist/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.d.ts +1 -1
- package/dist/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.d.ts.map +1 -1
- package/dist/modules/extension/hasExtension/hasExtension.d.ts +1 -1
- package/dist/modules/extension/hasExtension/hasExtension.d.ts.map +1 -1
- package/dist/modules/extension/registerExtension/registerExtension.d.ts +1 -1
- package/dist/modules/extension/registerExtension/registerExtension.d.ts.map +1 -1
- package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.d.ts +2 -1
- package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.d.ts.map +1 -1
- package/dist/modules/initializeClient/initializeClient.d.ts.map +1 -1
- package/dist/modules/initializeClient/logoutIfSessionPublicKeyMismatched/logoutIfSessionPublicKeyMismatched.d.ts.map +1 -1
- package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts.map +1 -1
- package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts +2 -1
- package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts.map +1 -1
- package/dist/modules/instrumentation/setInstrumentationEnabled/setInstrumentationEnabled.d.ts.map +1 -1
- package/dist/modules/mfa/acknowledgeRecoveryCodes/acknowledgeRecoveryCodes.d.ts +3 -2
- package/dist/modules/mfa/acknowledgeRecoveryCodes/acknowledgeRecoveryCodes.d.ts.map +1 -1
- package/dist/modules/mfa/authenticateMfaRecoveryCode/authenticateMfaRecoveryCode.d.ts +2 -2
- package/dist/modules/mfa/authenticateMfaRecoveryCode/authenticateMfaRecoveryCode.d.ts.map +1 -1
- package/dist/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts +2 -2
- package/dist/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts.map +1 -1
- package/dist/modules/mfa/authenticateTotpMfaDevice/authenticateTotpMfaDevice.d.ts +2 -2
- package/dist/modules/mfa/authenticateTotpMfaDevice/authenticateTotpMfaDevice.d.ts.map +1 -1
- package/dist/modules/mfa/consumeMfaToken/consumeMfaToken.d.ts.map +1 -1
- package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts +2 -1
- package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts.map +1 -1
- package/dist/modules/mfa/deleteMfaDevice/deleteMfaDevice.d.ts +1 -1
- package/dist/modules/mfa/deleteMfaDevice/deleteMfaDevice.d.ts.map +1 -1
- package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts +3 -2
- package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts.map +1 -1
- package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts +3 -2
- package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts.map +1 -1
- package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts +3 -2
- package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts.map +1 -1
- package/dist/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.d.ts +1 -1
- package/dist/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.d.ts.map +1 -1
- package/dist/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.d.ts +1 -1
- package/dist/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.d.ts.map +1 -1
- package/dist/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.d.ts +1 -1
- package/dist/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.d.ts.map +1 -1
- package/dist/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.d.ts +2 -1
- package/dist/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.d.ts.map +1 -1
- package/dist/modules/mfa/setDefaultMfaDevice/setDefaultMfaDevice.d.ts +1 -1
- package/dist/modules/mfa/setDefaultMfaDevice/setDefaultMfaDevice.d.ts.map +1 -1
- package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts +2 -1
- package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts.map +1 -1
- package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts +2 -1
- package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts.map +1 -1
- package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts +2 -1
- package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts.map +1 -1
- package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts +4 -3
- package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts.map +1 -1
- package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts +4 -3
- package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts.map +1 -1
- package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts +5 -3
- package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts.map +1 -1
- package/dist/modules/state/raiseStateEvents/raiseStateEvents.d.ts.map +1 -1
- package/dist/modules/storageSync/initializeStorageSync.d.ts.map +1 -1
- package/dist/modules/storageSync/syncStateWithStorage/syncStateWithStorage.d.ts.map +1 -1
- package/dist/modules/swap/executeSwapTransaction/executeSwapTransaction.d.ts +4 -3
- package/dist/modules/swap/executeSwapTransaction/executeSwapTransaction.d.ts.map +1 -1
- package/dist/modules/swap/utils/ensureCorrectActiveNetwork/ensureCorrectActiveNetwork.d.ts.map +1 -1
- package/dist/modules/user/isUserOnboardingComplete/isUserOnboardingComplete.d.ts.map +1 -1
- package/dist/modules/waas/backupWaasKeySharesToGoogleDrive/backupWaasKeySharesToGoogleDrive.d.ts +1 -1
- package/dist/modules/waas/backupWaasKeySharesToGoogleDrive/backupWaasKeySharesToGoogleDrive.d.ts.map +1 -1
- package/dist/modules/waas/businessAccounts/addBusinessAccountSigner/addBusinessAccountSigner.d.ts +4 -3
- package/dist/modules/waas/businessAccounts/addBusinessAccountSigner/addBusinessAccountSigner.d.ts.map +1 -1
- package/dist/modules/waas/businessAccounts/createWalletForBusinessAccount/createWalletForBusinessAccount.d.ts +6 -5
- package/dist/modules/waas/businessAccounts/createWalletForBusinessAccount/createWalletForBusinessAccount.d.ts.map +1 -1
- package/dist/modules/waas/createWaasOfflineRecoveryShares/createWaasOfflineRecoveryShares.d.ts.map +1 -1
- package/dist/modules/waas/exportWaasClientKeyshares/exportWaasClientKeyshares.d.ts +1 -1
- package/dist/modules/waas/exportWaasClientKeyshares/exportWaasClientKeyshares.d.ts.map +1 -1
- package/dist/modules/waas/exportWaasPrivateKey/exportWaasPrivateKey.d.ts +1 -1
- package/dist/modules/waas/exportWaasPrivateKey/exportWaasPrivateKey.d.ts.map +1 -1
- package/dist/modules/waas/exportWaasPrivateKeyToContainer/exportWaasPrivateKeyToContainer.d.ts.map +1 -1
- package/dist/modules/waas/importWaasPrivateKey/importWaasPrivateKey.d.ts +1 -1
- package/dist/modules/waas/importWaasPrivateKey/importWaasPrivateKey.d.ts.map +1 -1
- package/dist/modules/waas/injectWaasVerifiedCredentialFields/injectWaasVerifiedCredentialFields.d.ts +7 -6
- package/dist/modules/waas/injectWaasVerifiedCredentialFields/injectWaasVerifiedCredentialFields.d.ts.map +1 -1
- package/dist/modules/waas/isDynamicWaasEnabled/isDynamicWaasEnabled.d.ts +1 -1
- package/dist/modules/waas/isDynamicWaasEnabled/isDynamicWaasEnabled.d.ts.map +1 -1
- package/dist/modules/waas/policies/buildValueLimit/buildValueLimit.d.ts +6 -4
- package/dist/modules/waas/policies/buildValueLimit/buildValueLimit.d.ts.map +1 -1
- package/dist/modules/waas/policies/matchExistingRules/matchExistingRules.d.ts.map +1 -1
- package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts +1 -1
- package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts.map +1 -1
- package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts +1 -1
- package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts.map +1 -1
- package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts +1 -1
- package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts.map +1 -1
- package/dist/modules/waas/signSerializedTransaction/signSerializedTransaction.d.ts +4 -3
- package/dist/modules/waas/signSerializedTransaction/signSerializedTransaction.d.ts.map +1 -1
- package/dist/modules/waas/updateWaasPassword/updateWaasPassword.d.ts +1 -1
- package/dist/modules/waas/updateWaasPassword/updateWaasPassword.d.ts.map +1 -1
- package/dist/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.d.ts +1 -1
- package/dist/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.d.ts.map +1 -1
- package/dist/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.d.ts +2 -1
- package/dist/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.d.ts.map +1 -1
- package/dist/modules/wallets/destroyWalletProviders/destroyWalletProviders.d.ts.map +1 -1
- package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts +4 -3
- package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts.map +1 -1
- package/dist/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.d.ts.map +1 -1
- package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts +2 -1
- package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts.map +1 -1
- package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts +3 -2
- package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts.map +1 -1
- package/dist/modules/wallets/isExternalWalletScreeningEnabled/index.d.ts +2 -0
- package/dist/modules/wallets/isExternalWalletScreeningEnabled/index.d.ts.map +1 -0
- package/dist/modules/wallets/isExternalWalletScreeningEnabled/isExternalWalletScreeningEnabled.d.ts +28 -0
- package/dist/modules/wallets/isExternalWalletScreeningEnabled/isExternalWalletScreeningEnabled.d.ts.map +1 -0
- package/dist/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.d.ts.map +1 -1
- package/dist/modules/wallets/networks/addNetwork/addNetwork.d.ts +1 -1
- package/dist/modules/wallets/networks/addNetwork/addNetwork.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts +5 -3
- package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts +5 -4
- package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts +4 -3
- package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getNativeBalance/getNativeBalance.d.ts +4 -3
- package/dist/modules/wallets/networks/getNativeBalance/getNativeBalance.d.ts.map +1 -1
- package/dist/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.d.ts +1 -1
- package/dist/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.d.ts.map +1 -1
- package/dist/modules/wallets/networks/switchActiveNetwork/switchActiveNetwork.d.ts.map +1 -1
- package/dist/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts +5 -4
- package/dist/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts.map +1 -1
- package/dist/modules/wallets/screenTransaction/index.d.ts +2 -0
- package/dist/modules/wallets/screenTransaction/index.d.ts.map +1 -0
- package/dist/modules/wallets/screenTransaction/screenTransaction.d.ts +47 -0
- package/dist/modules/wallets/screenTransaction/screenTransaction.d.ts.map +1 -0
- package/dist/modules/wallets/signMessage/signMessage.d.ts +4 -3
- package/dist/modules/wallets/signMessage/signMessage.d.ts.map +1 -1
- package/dist/modules/wallets/transferAmount/transferAmount.d.ts +5 -3
- package/dist/modules/wallets/transferAmount/transferAmount.d.ts.map +1 -1
- package/dist/modules/wallets/transferWalletAccount/transferWalletAccount.d.ts +2 -1
- package/dist/modules/wallets/transferWalletAccount/transferWalletAccount.d.ts.map +1 -1
- package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts +1 -1
- package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts.map +1 -1
- package/dist/modules/wallets/userHasExternalWallet/userHasExternalWallet.d.ts.map +1 -1
- package/dist/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts +1 -1
- package/dist/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts.map +1 -1
- package/dist/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts +1 -1
- package/dist/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getAvailableWalletProvidersFromWalletAccounts/getAvailableWalletProvidersFromWalletAccounts.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getSignInMessage/getSignInMessage.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts +2 -1
- package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getWalletAccountFromAddress/getWalletAccountFromAddress.d.ts +2 -1
- package/dist/modules/wallets/utils/getWalletAccountFromAddress/getWalletAccountFromAddress.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts +2 -1
- package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts.map +1 -1
- package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts +1 -1
- package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts.map +1 -1
- package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts +1 -1
- package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts +8 -8
- package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/index.d.ts +1 -0
- package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/index.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts +1 -1
- package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts +2 -2
- package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/index.d.ts +1 -1
- package/dist/modules/wallets/walletProvider/index.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/walletProvider.types.d.ts +15 -1
- package/dist/modules/wallets/walletProvider/walletProvider.types.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts +3 -2
- package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts.map +1 -1
- package/dist/modules/yield/claimYieldRewards/claimYieldRewards.d.ts +43 -0
- package/dist/modules/yield/claimYieldRewards/claimYieldRewards.d.ts.map +1 -0
- package/dist/modules/yield/claimYieldRewards/index.d.ts +3 -0
- package/dist/modules/yield/claimYieldRewards/index.d.ts.map +1 -0
- package/dist/modules/yield/depositToYieldVault/depositToYieldVault.d.ts +66 -0
- package/dist/modules/yield/depositToYieldVault/depositToYieldVault.d.ts.map +1 -0
- package/dist/modules/yield/depositToYieldVault/index.d.ts +3 -0
- package/dist/modules/yield/depositToYieldVault/index.d.ts.map +1 -0
- package/dist/modules/yield/utils/executeYieldTransaction/executeYieldTransaction.d.ts +40 -0
- package/dist/modules/yield/utils/executeYieldTransaction/executeYieldTransaction.d.ts.map +1 -0
- package/dist/modules/yield/utils/executeYieldTransaction/index.d.ts +3 -0
- package/dist/modules/yield/utils/executeYieldTransaction/index.d.ts.map +1 -0
- package/dist/modules/yield/withdrawFromYieldVault/index.d.ts +3 -0
- package/dist/modules/yield/withdrawFromYieldVault/index.d.ts.map +1 -0
- package/dist/modules/yield/withdrawFromYieldVault/withdrawFromYieldVault.d.ts +57 -0
- package/dist/modules/yield/withdrawFromYieldVault/withdrawFromYieldVault.d.ts.map +1 -0
- package/dist/modules/yield/yield.types.d.ts +27 -1
- package/dist/modules/yield/yield.types.d.ts.map +1 -1
- package/dist/services/eventEmitter/createEventEmitter.d.ts +1 -1
- package/dist/services/eventEmitter/createEventEmitter.d.ts.map +1 -1
- package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts +1 -1
- package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts.map +1 -1
- package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts +2 -2
- package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts.map +1 -1
- package/dist/services/storage/createStorage/formatForStorage/storageFormat.d.ts.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/{updateAuthFromVerifyResponse-B42kkGLd.esm.js → updateAuthFromVerifyResponse-CFIyg2PR.esm.js} +27 -25
- package/dist/updateAuthFromVerifyResponse-CFIyg2PR.esm.js.map +1 -0
- package/dist/{updateAuthFromVerifyResponse-Dd0q0rPX.native.esm.js → updateAuthFromVerifyResponse-Cc1OH9i1.native.esm.js} +25 -25
- package/dist/updateAuthFromVerifyResponse-Cc1OH9i1.native.esm.js.map +1 -0
- package/dist/{updateAuthFromVerifyResponse-CePaJzru.cjs → updateAuthFromVerifyResponse-Dvd40QfL.cjs} +26 -24
- package/dist/updateAuthFromVerifyResponse-Dvd40QfL.cjs.map +1 -0
- package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts +2 -2
- package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts.map +1 -1
- package/dist/utils/bufferToHex/bufferToHex.d.ts +1 -1
- package/dist/utils/bufferToHex/bufferToHex.d.ts.map +1 -1
- package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts +2 -2
- package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts.map +1 -1
- package/dist/utils/createTranslateRejection/createTranslateRejection.d.ts +1 -1
- package/dist/utils/createTranslateRejection/createTranslateRejection.d.ts.map +1 -1
- package/dist/utils/digestSHA256/digestSHA256.d.ts.map +1 -1
- package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts +1 -1
- package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts.map +1 -1
- package/dist/utils/getBuffer/getBuffer.d.ts.map +1 -1
- package/dist/utils/isEqualShallow/isEqualShallow.d.ts +1 -1
- package/dist/utils/isEqualShallow/isEqualShallow.d.ts.map +1 -1
- package/dist/utils/isMobile/isMobile.d.ts.map +1 -1
- package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts +1 -1
- package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts.map +1 -1
- package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts +2 -2
- package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts.map +1 -1
- package/dist/utils/p256Keygen/p256Keygen.d.ts +5 -3
- package/dist/utils/p256Keygen/p256Keygen.d.ts.map +1 -1
- package/dist/utils/p256Sign/p256Sign.d.ts +1 -1
- package/dist/utils/p256Sign/p256Sign.d.ts.map +1 -1
- package/dist/utils/randomString/randomString.d.ts.map +1 -1
- package/dist/utils/retryOnFail/retryOnFail.d.ts.map +1 -1
- package/dist/utils/setCookie/setCookie.d.ts +1 -1
- package/dist/utils/setCookie/setCookie.d.ts.map +1 -1
- package/dist/waas.cjs +4 -4
- package/dist/waas.cjs.map +1 -1
- package/dist/waas.esm.js +4 -4
- package/dist/waas.esm.js.map +1 -1
- package/dist/waas.native.esm.js +4 -4
- package/dist/waas.native.esm.js.map +1 -1
- package/dist/waasCore.cjs +6 -6
- package/dist/waasCore.cjs.map +1 -1
- package/dist/waasCore.esm.js +6 -6
- package/dist/waasCore.esm.js.map +1 -1
- package/dist/waasCore.native.esm.js +6 -6
- package/dist/waasCore.native.esm.js.map +1 -1
- package/package.json +2 -2
- package/dist/getNetworkProviderFromNetworkId-Be2CBFTv.esm.js.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-BsmqXKF_.cjs.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-DReHSnab.native.esm.js.map +0 -1
- package/dist/getSignedSessionId-CLvqM34v.esm.js.map +0 -1
- package/dist/getSignedSessionId-CcV_jWux.cjs.map +0 -1
- package/dist/getSignedSessionId-DdslNjRv.native.esm.js.map +0 -1
- package/dist/getWalletProviderByKey-BMsrnfN2.cjs.map +0 -1
- package/dist/getWalletProviderByKey-BtcGKhh6.native.esm.js.map +0 -1
- package/dist/getWalletProviderByKey-FfQmRcK1.esm.js.map +0 -1
- package/dist/isMfaRequiredForAction-9ZrKcsTN.cjs.map +0 -1
- package/dist/isMfaRequiredForAction-DRqf4xyv.esm.js.map +0 -1
- package/dist/isMfaRequiredForAction-e4Bdq2tD.native.esm.js.map +0 -1
- package/dist/updateAuthFromVerifyResponse-B42kkGLd.esm.js.map +0 -1
- package/dist/updateAuthFromVerifyResponse-CePaJzru.cjs.map +0 -1
- package/dist/updateAuthFromVerifyResponse-Dd0q0rPX.native.esm.js.map +0 -1
package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ type RefreshWaasWalletAccountSharesParams = {
|
|
|
13
13
|
* @param [params.password] - Optional password for key share operations.
|
|
14
14
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
15
15
|
* @returns A promise that resolves when the key shares are refreshed.
|
|
16
|
-
|
|
16
|
+
* @notInstrumented
|
|
17
17
|
*/
|
|
18
18
|
export declare const refreshWaasWalletAccountShares: ({ walletAccount, password }: RefreshWaasWalletAccountSharesParams, client?: import("../../../exports").DynamicClient) => Promise<void>;
|
|
19
19
|
export {};
|
package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refreshWaasWalletAccountShares.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,oCAAoC,GAAG;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,8BAA8B,gCACZ,oCAAoC,
|
|
1
|
+
{"version":3,"file":"refreshWaasWalletAccountShares.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,oCAAoC,GAAG;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,8BAA8B,gCACZ,oCAAoC,wDAEhE,OAAO,CAAC,IAAI,CAUd,CAAC"}
|
|
@@ -10,7 +10,7 @@ type SetWaasWalletAccountPasswordParams = {
|
|
|
10
10
|
* @param params.password - The password to set for the wallet.
|
|
11
11
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
12
12
|
* @returns A promise that resolves when the password is successfully set.
|
|
13
|
-
|
|
13
|
+
* @notInstrumented
|
|
14
14
|
*/
|
|
15
15
|
export declare const setWaasWalletAccountPassword: ({ password, walletAccount }: SetWaasWalletAccountPasswordParams, client?: import("../../../exports").DynamicClient) => Promise<void>;
|
|
16
16
|
export {};
|
package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setWaasWalletAccountPassword.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,kCAAkC,GAAG;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,gCACV,kCAAkC,
|
|
1
|
+
{"version":3,"file":"setWaasWalletAccountPassword.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,kCAAkC,GAAG;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,gCACV,kCAAkC,wDAE9D,OAAO,CAAC,IAAI,CAUd,CAAC"}
|
package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ type ShouldAutoCreateWalletForChainParams = {
|
|
|
12
12
|
* @param params.chain - The blockchain network to check.
|
|
13
13
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
14
14
|
* @returns True if a wallet should be auto-created for the chain, false otherwise.
|
|
15
|
-
|
|
15
|
+
* @notInstrumented
|
|
16
16
|
*/
|
|
17
17
|
export declare const shouldAutoCreateWalletForChain: ({ chain }: ShouldAutoCreateWalletForChainParams, client?: import("../../../exports").DynamicClient) => boolean;
|
|
18
18
|
export {};
|
package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shouldAutoCreateWalletForChain.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAIzC,KAAK,oCAAoC,GAAG;IAC1C,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,8BAA8B,cAC9B,oCAAoC
|
|
1
|
+
{"version":3,"file":"shouldAutoCreateWalletForChain.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAIzC,KAAK,oCAAoC,GAAG;IAC1C,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,8BAA8B,cAC9B,oCAAoC,wDAE9C,OA6BF,CAAC"}
|
|
@@ -5,6 +5,9 @@ type SignSerializedTransactionParams = {
|
|
|
5
5
|
serializedTransaction: string;
|
|
6
6
|
walletAccount: WalletAccount;
|
|
7
7
|
};
|
|
8
|
+
type SignSerializedTransactionResult = {
|
|
9
|
+
signature: string;
|
|
10
|
+
};
|
|
8
11
|
/**
|
|
9
12
|
* No gas estimation, balance check, or broadcast — unlike `transferAmount`.
|
|
10
13
|
* Useful for exercising WaaS policy enforcement in isolation.
|
|
@@ -16,8 +19,6 @@ type SignSerializedTransactionParams = {
|
|
|
16
19
|
* @returns The raw signature.
|
|
17
20
|
* @notInstrumented
|
|
18
21
|
*/
|
|
19
|
-
export declare const signSerializedTransaction: ({ chainId, serializedTransaction, walletAccount }: SignSerializedTransactionParams, client?: DynamicClient) => Promise<
|
|
20
|
-
signature: string;
|
|
21
|
-
}>;
|
|
22
|
+
export declare const signSerializedTransaction: ({ chainId, serializedTransaction, walletAccount }: SignSerializedTransactionParams, client?: DynamicClient) => Promise<SignSerializedTransactionResult>;
|
|
22
23
|
export {};
|
|
23
24
|
//# sourceMappingURL=signSerializedTransaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signSerializedTransaction.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/signSerializedTransaction/signSerializedTransaction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,+BAA+B,GAAG;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB,sDACe,+BAA+B,WAC1E,aAAa,KACpB,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"signSerializedTransaction.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/signSerializedTransaction/signSerializedTransaction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,+BAA+B,GAAG;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,KAAK,+BAA+B,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7D;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB,sDACe,+BAA+B,WAC1E,aAAa,KACpB,OAAO,CAAC,+BAA+B,CAWzC,CAAC"}
|
|
@@ -15,7 +15,7 @@ type UpdateWaasPasswordParams = {
|
|
|
15
15
|
* @param params.newPassword - The new password to set for the wallet.
|
|
16
16
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
17
17
|
* @returns A promise that resolves when the password is successfully updated.
|
|
18
|
-
|
|
18
|
+
* @notInstrumented
|
|
19
19
|
*/
|
|
20
20
|
export declare const updateWaasPassword: ({ currentPassword, newPassword, walletAccount }: UpdateWaasPasswordParams, client?: import("../../../exports").DynamicClient) => Promise<void>;
|
|
21
21
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateWaasPassword.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/updateWaasPassword/updateWaasPassword.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,wBAAwB,GAAG;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,kBAAkB,oDACoB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"updateWaasPassword.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/updateWaasPassword/updateWaasPassword.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,wBAAwB,GAAG;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,kBAAkB,oDACoB,wBAAwB,wDAExE,OAAO,CAAC,IAAI,CAWd,CAAC"}
|
|
@@ -15,7 +15,7 @@ type AssertWalletAccountSigningAvailabilityParams = {
|
|
|
15
15
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
16
16
|
* @returns A promise that resolves if the wallet is available for signing.
|
|
17
17
|
* @throws WalletAccountNotSelectedError If the wallet account is not currently selected.
|
|
18
|
-
|
|
18
|
+
* @notInstrumented
|
|
19
19
|
*/
|
|
20
20
|
export declare const assertWalletAccountSigningAvailability: ({ walletAccount }: AssertWalletAccountSigningAvailabilityParams, client?: import("../../../exports").DynamicClient) => Promise<void>;
|
|
21
21
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assertWalletAccountSigningAvailability.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,KAAK,4CAA4C,GAAG;IAClD,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sCAAsC,sBAC9B,4CAA4C,
|
|
1
|
+
{"version":3,"file":"assertWalletAccountSigningAvailability.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,KAAK,4CAA4C,GAAG;IAClD,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sCAAsC,sBAC9B,4CAA4C,wDAE9D,OAAO,CAAC,IAAI,CAgBd,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { HardwareWalletVendor } from '../hardwareWallet/hardwareWallet.types';
|
|
2
|
+
import type { WalletAccount } from '../walletAccount';
|
|
2
3
|
type ConnectAndVerifyWithWalletProviderParams = {
|
|
3
4
|
hardwareWalletVendor?: HardwareWalletVendor;
|
|
4
5
|
walletProviderKey: string;
|
|
@@ -36,6 +37,6 @@ type ConnectAndVerifyWithWalletProviderParams = {
|
|
|
36
37
|
* @see verifyWalletAccount
|
|
37
38
|
* @instrumented
|
|
38
39
|
*/
|
|
39
|
-
export declare const connectAndVerifyWithWalletProvider: ({ walletProviderKey, hardwareWalletVendor }: ConnectAndVerifyWithWalletProviderParams, client?: import("../../../exports").DynamicClient) => Promise<
|
|
40
|
+
export declare const connectAndVerifyWithWalletProvider: ({ walletProviderKey, hardwareWalletVendor, }: ConnectAndVerifyWithWalletProviderParams, client?: import("../../../exports").DynamicClient) => Promise<WalletAccount>;
|
|
40
41
|
export {};
|
|
41
42
|
//# sourceMappingURL=connectAndVerifyWithWalletProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectAndVerifyWithWalletProvider.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"connectAndVerifyWithWalletProvider.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAGnF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,KAAK,wCAAwC,GAAG;IAC9C,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,kCAAkC,iDAI1C,wCAAwC,wDAE1C,OAAO,CAAC,aAAa,CAyBvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destroyWalletProviders.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/destroyWalletProviders/destroyWalletProviders.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAG5D;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,eACrB;IAAE,MAAM,CAAC,EAAE,YAAY,CAAA;CAAE,UAC7B,aAAa,
|
|
1
|
+
{"version":3,"file":"destroyWalletProviders.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/destroyWalletProviders/destroyWalletProviders.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAG5D;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,eACrB;IAAE,MAAM,CAAC,EAAE,YAAY,CAAA;CAAE,UAC7B,aAAa,KACpB,OAAO,CAAC,IAAI,CAkBd,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
type GetConnectedAddressesParams = {
|
|
2
2
|
walletProviderKey: string;
|
|
3
3
|
};
|
|
4
|
+
type GetConnectedAddressesResult = {
|
|
5
|
+
addresses: string[];
|
|
6
|
+
};
|
|
4
7
|
/**
|
|
5
8
|
* Retrieves all connected addresses for a specific wallet provider.
|
|
6
9
|
*
|
|
@@ -20,8 +23,6 @@ type GetConnectedAddressesParams = {
|
|
|
20
23
|
* @see getWalletAccounts
|
|
21
24
|
* @notInstrumented
|
|
22
25
|
*/
|
|
23
|
-
export declare const getConnectedAddresses: ({ walletProviderKey }: GetConnectedAddressesParams, client?: import("../../../exports").DynamicClient) => Promise<
|
|
24
|
-
addresses: string[];
|
|
25
|
-
}>;
|
|
26
|
+
export declare const getConnectedAddresses: ({ walletProviderKey }: GetConnectedAddressesParams, client?: import("../../../exports").DynamicClient) => Promise<GetConnectedAddressesResult>;
|
|
26
27
|
export {};
|
|
27
28
|
//# sourceMappingURL=getConnectedAddresses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConnectedAddresses.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/getConnectedAddresses/getConnectedAddresses.ts"],"names":[],"mappings":"AAGA,KAAK,2BAA2B,GAAG;IACjC,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,qBAAqB,0BACT,2BAA2B
|
|
1
|
+
{"version":3,"file":"getConnectedAddresses.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/getConnectedAddresses/getConnectedAddresses.ts"],"names":[],"mappings":"AAGA,KAAK,2BAA2B,GAAG;IACjC,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,KAAK,2BAA2B,GAAG;IAAE,SAAS,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAE3D;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,qBAAqB,0BACT,2BAA2B,wDAEjD,OAAO,CAAC,2BAA2B,CAIrC,CAAC"}
|
package/dist/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWalletAccountAddressByType.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEzE,KAAK,mCAAmC,GAAG;IACzC,IAAI,EAAE,iBAAiB,CAAC;IACxB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,uBAAuB;AACvB,eAAO,MAAM,6BAA6B,6BAGvC,mCAAmC,
|
|
1
|
+
{"version":3,"file":"getWalletAccountAddressByType.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEzE,KAAK,mCAAmC,GAAG;IACzC,IAAI,EAAE,iBAAiB,CAAC;IACxB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,uBAAuB;AACvB,eAAO,MAAM,6BAA6B,6BAGvC,mCAAmC,KAAG,MAAM,GAAG,SAIjD,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { DynamicClient } from '../../../client/types';
|
|
2
|
+
import type { WalletProvider } from '../walletProvider';
|
|
2
3
|
type GetWalletProviderByKeyParams = {
|
|
3
4
|
walletProviderKey: string;
|
|
4
5
|
};
|
|
5
6
|
/** @notInstrumented */
|
|
6
|
-
export declare const getWalletProviderByKey: ({ walletProviderKey }: GetWalletProviderByKeyParams, client: DynamicClient) =>
|
|
7
|
+
export declare const getWalletProviderByKey: ({ walletProviderKey }: GetWalletProviderByKeyParams, client: DynamicClient) => WalletProvider;
|
|
7
8
|
export {};
|
|
8
9
|
//# sourceMappingURL=getWalletProviderByKey.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWalletProviderByKey.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"getWalletProviderByKey.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAG3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,KAAK,4BAA4B,GAAG;IAClC,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,uBAAuB;AACvB,eAAO,MAAM,sBAAsB,0BACV,4BAA4B,UAC3C,aAAa,KACpB,cAYF,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { DynamicClient } from '../../../client/types';
|
|
2
|
+
import type { WalletProvider } from '../walletProvider';
|
|
2
3
|
/**
|
|
3
4
|
* Get all available wallet providers to interact with internally.
|
|
4
|
-
|
|
5
|
+
* @notInstrumented
|
|
5
6
|
*/
|
|
6
|
-
export declare const getWalletProviders: (client: DynamicClient) =>
|
|
7
|
+
export declare const getWalletProviders: (client: DynamicClient) => WalletProvider[];
|
|
7
8
|
//# sourceMappingURL=getWalletProviders.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWalletProviders.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/getWalletProviders/getWalletProviders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"getWalletProviders.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/getWalletProviders/getWalletProviders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,WAAY,aAAa,KAAG,cAAc,EAIxE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/isExternalWalletScreeningEnabled/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC"}
|
package/dist/modules/wallets/isExternalWalletScreeningEnabled/isExternalWalletScreeningEnabled.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks whether the environment expects connected-wallet transactions to be
|
|
3
|
+
* screened for sanctions before signing.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```ts
|
|
7
|
+
* if (isExternalWalletScreeningEnabled()) {
|
|
8
|
+
* const { decision } = await screenTransaction({
|
|
9
|
+
* chain: 'EVM',
|
|
10
|
+
* context: { evmTransaction: { to } },
|
|
11
|
+
* senderAddress: walletAccount.address,
|
|
12
|
+
* });
|
|
13
|
+
*
|
|
14
|
+
* if (decision === 'block') return;
|
|
15
|
+
* }
|
|
16
|
+
*
|
|
17
|
+
* await walletClient.sendTransaction(transaction);
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
21
|
+
* @returns True if the environment has enabled on-transaction sanctions screening for connected wallets, false otherwise.
|
|
22
|
+
* @throws {ValueMustBeDefinedError} If the client has no project settings loaded yet.
|
|
23
|
+
* @see screenTransaction
|
|
24
|
+
* @see isSolanaGasSponsorshipEnabled
|
|
25
|
+
* @notInstrumented
|
|
26
|
+
*/
|
|
27
|
+
export declare const isExternalWalletScreeningEnabled: (client?: import("../../../exports").DynamicClient) => boolean;
|
|
28
|
+
//# sourceMappingURL=isExternalWalletScreeningEnabled.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isExternalWalletScreeningEnabled.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/isExternalWalletScreeningEnabled/isExternalWalletScreeningEnabled.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,gCAAgC,yDAE1C,OAOF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isWalletAccountVerified.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,KAAK,6BAA6B,GAAG;IACnC,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,uBAAuB,uBAEjC,6BAA6B,
|
|
1
|
+
{"version":3,"file":"isWalletAccountVerified.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,KAAK,6BAA6B,GAAG;IACnC,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,uBAAuB,uBAEjC,6BAA6B,KAAG,OAElC,CAAC"}
|
|
@@ -15,7 +15,7 @@ type AddNetworkParams = {
|
|
|
15
15
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
16
16
|
* @returns A promise that resolves when the network addition is complete.
|
|
17
17
|
* @throws NetworkAddingUnavailableError If the wallet provider doesn't support adding networks.
|
|
18
|
-
|
|
18
|
+
* @instrumented
|
|
19
19
|
*/
|
|
20
20
|
export declare const addNetwork: ({ networkData, walletAccount }: AddNetworkParams, client?: import("../../../../exports").DynamicClient) => Promise<void>;
|
|
21
21
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addNetwork.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/addNetwork/addNetwork.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAE5E,KAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,UAAU,mCACW,gBAAgB,
|
|
1
|
+
{"version":3,"file":"addNetwork.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/addNetwork/addNetwork.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAE5E,KAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,UAAU,mCACW,gBAAgB,2DAE/C,OAAO,CAAC,IAAI,CAiBd,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { WalletAccount } from '../../walletAccount';
|
|
2
|
+
import type { NetworkData } from '../networkProvider/networkProvider.types';
|
|
2
3
|
type GetActiveNetworkDataParams = {
|
|
3
4
|
walletAccount: WalletAccount;
|
|
4
5
|
};
|
|
6
|
+
type GetActiveNetworkDataResult = {
|
|
7
|
+
networkData: NetworkData | undefined;
|
|
8
|
+
};
|
|
5
9
|
/**
|
|
6
10
|
* Retrieves the network configuration data for the currently active network.
|
|
7
11
|
*
|
|
@@ -14,8 +18,6 @@ type GetActiveNetworkDataParams = {
|
|
|
14
18
|
* @returns A promise that resolves to the network data, or undefined if not found.
|
|
15
19
|
* @notInstrumented
|
|
16
20
|
*/
|
|
17
|
-
export declare const getActiveNetworkData: ({ walletAccount }: GetActiveNetworkDataParams, client?: import("../../../../exports").DynamicClient) => Promise<
|
|
18
|
-
networkData: import("../networkProvider/networkProvider.types").NetworkData | undefined;
|
|
19
|
-
}>;
|
|
21
|
+
export declare const getActiveNetworkData: ({ walletAccount }: GetActiveNetworkDataParams, client?: import("../../../../exports").DynamicClient) => Promise<GetActiveNetworkDataResult>;
|
|
20
22
|
export {};
|
|
21
23
|
//# sourceMappingURL=getActiveNetworkData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getActiveNetworkData.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"getActiveNetworkData.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAE5E,KAAK,0BAA0B,GAAG;IAChC,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAAE,WAAW,EAAE,WAAW,GAAG,SAAS,CAAA;CAAE,CAAC;AAE3E;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,sBACZ,0BAA0B,2DAE5C,OAAO,CAAC,0BAA0B,CAgBpC,CAAC"}
|
|
@@ -2,16 +2,17 @@ import type { WalletAccount } from '../../walletAccount';
|
|
|
2
2
|
type GetActiveNetworkIdParams = {
|
|
3
3
|
walletAccount: WalletAccount;
|
|
4
4
|
};
|
|
5
|
+
type GetActiveNetworkIdResult = {
|
|
6
|
+
networkId: string;
|
|
7
|
+
};
|
|
5
8
|
/**
|
|
6
9
|
* This function returns the network identifier that this wallet account's provider is currently connected to.
|
|
7
10
|
*
|
|
8
11
|
* @param params.walletAccount - The wallet account to get the network ID for.
|
|
9
12
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
10
13
|
* @returns A promise that resolves to the active network ID for the wallet account.
|
|
11
|
-
|
|
14
|
+
* @notInstrumented
|
|
12
15
|
*/
|
|
13
|
-
export declare const getActiveNetworkId: ({ walletAccount }: GetActiveNetworkIdParams, client?: import("../../../../exports").DynamicClient) => Promise<
|
|
14
|
-
networkId: string;
|
|
15
|
-
}>;
|
|
16
|
+
export declare const getActiveNetworkId: ({ walletAccount }: GetActiveNetworkIdParams, client?: import("../../../../exports").DynamicClient) => Promise<GetActiveNetworkIdResult>;
|
|
16
17
|
export {};
|
|
17
18
|
//# sourceMappingURL=getActiveNetworkId.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getActiveNetworkId.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,KAAK,wBAAwB,GAAG;IAC9B,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,sBACV,wBAAwB
|
|
1
|
+
{"version":3,"file":"getActiveNetworkId.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,KAAK,wBAAwB,GAAG;IAC9B,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtD;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,sBACV,wBAAwB,2DAE1C,OAAO,CAAC,wBAAwB,CAOlC,CAAC"}
|
|
@@ -4,6 +4,9 @@ type GetBalanceForAddressParams = {
|
|
|
4
4
|
chain: Chain;
|
|
5
5
|
networkId: string;
|
|
6
6
|
};
|
|
7
|
+
type GetBalanceForAddressResult = {
|
|
8
|
+
balance: string | null;
|
|
9
|
+
};
|
|
7
10
|
/**
|
|
8
11
|
* Retrieves the native token balance for a specific address on a given network.
|
|
9
12
|
*
|
|
@@ -17,8 +20,6 @@ type GetBalanceForAddressParams = {
|
|
|
17
20
|
* @returns A promise that resolves to an object containing the balance as a string or null.
|
|
18
21
|
* @notInstrumented
|
|
19
22
|
*/
|
|
20
|
-
export declare const getBalanceForAddress: ({ address, chain, networkId }: GetBalanceForAddressParams, client?: import("../../../../exports").DynamicClient) => Promise<
|
|
21
|
-
balance: string | null;
|
|
22
|
-
}>;
|
|
23
|
+
export declare const getBalanceForAddress: ({ address, chain, networkId }: GetBalanceForAddressParams, client?: import("../../../../exports").DynamicClient) => Promise<GetBalanceForAddressResult>;
|
|
23
24
|
export {};
|
|
24
25
|
//# sourceMappingURL=getBalanceForAddress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBalanceForAddress.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAG5C,KAAK,0BAA0B,GAAG;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB,kCACA,0BAA0B,2DAExD,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"getBalanceForAddress.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAG5C,KAAK,0BAA0B,GAAG;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAE7D;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB,kCACA,0BAA0B,2DAExD,OAAO,CAAC,0BAA0B,CAYpC,CAAC"}
|
|
@@ -2,6 +2,9 @@ import type { WalletAccount } from '../../walletAccount';
|
|
|
2
2
|
type GetNativeBalanceParams = {
|
|
3
3
|
walletAccount: WalletAccount;
|
|
4
4
|
};
|
|
5
|
+
type GetNativeBalanceResult = {
|
|
6
|
+
balance: string | null;
|
|
7
|
+
};
|
|
5
8
|
/**
|
|
6
9
|
* Retrieves the native token balance for a wallet account on its active
|
|
7
10
|
* network. Reads directly from the chain's network provider (RPC), not
|
|
@@ -25,8 +28,6 @@ type GetNativeBalanceParams = {
|
|
|
25
28
|
* @see switchActiveNetwork
|
|
26
29
|
* @notInstrumented
|
|
27
30
|
*/
|
|
28
|
-
export declare const getNativeBalance: ({ walletAccount }: GetNativeBalanceParams, client?: import("../../../../exports").DynamicClient) => Promise<
|
|
29
|
-
balance: string | null;
|
|
30
|
-
}>;
|
|
31
|
+
export declare const getNativeBalance: ({ walletAccount }: GetNativeBalanceParams, client?: import("../../../../exports").DynamicClient) => Promise<GetNativeBalanceResult>;
|
|
31
32
|
export {};
|
|
32
33
|
//# sourceMappingURL=getNativeBalance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNativeBalance.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/getNativeBalance/getNativeBalance.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGzD,KAAK,sBAAsB,GAAG;IAC5B,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,gBAAgB,sBACR,sBAAsB,2DAExC,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"getNativeBalance.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/getNativeBalance/getNativeBalance.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGzD,KAAK,sBAAsB,GAAG;IAC5B,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAEzD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,gBAAgB,sBACR,sBAAsB,2DAExC,OAAO,CAAC,sBAAsB,CAgBhC,CAAC"}
|
|
@@ -11,7 +11,7 @@ type IsProgrammaticNetworkSwitchAvailableParams = {
|
|
|
11
11
|
* @param params.walletAccount - The wallet account to check network switching support for.
|
|
12
12
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
13
13
|
* @returns True if programmatic network switching is available, false otherwise.
|
|
14
|
-
|
|
14
|
+
* @notInstrumented
|
|
15
15
|
*/
|
|
16
16
|
export declare const isProgrammaticNetworkSwitchAvailable: ({ walletAccount }: IsProgrammaticNetworkSwitchAvailableParams, client?: import("../../../../exports").DynamicClient) => boolean;
|
|
17
17
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isProgrammaticNetworkSwitchAvailable.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,KAAK,0CAA0C,GAAG;IAChD,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oCAAoC,sBAC5B,0CAA0C,
|
|
1
|
+
{"version":3,"file":"isProgrammaticNetworkSwitchAvailable.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,KAAK,0CAA0C,GAAG;IAChD,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oCAAoC,sBAC5B,0CAA0C,2DAE5D,OAOF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switchActiveNetwork.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/switchActiveNetwork/switchActiveNetwork.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,KAAK,yBAAyB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,mBAAmB,iCACA,yBAAyB,
|
|
1
|
+
{"version":3,"file":"switchActiveNetwork.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/networks/switchActiveNetwork/switchActiveNetwork.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,KAAK,yBAAyB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,mBAAmB,iCACA,yBAAyB,2DAEtD,OAAO,CAAC,IAAI,CAiBd,CAAC"}
|
|
@@ -2,6 +2,10 @@ import type { WalletAccount } from '../walletAccount';
|
|
|
2
2
|
type ProveWalletAccountOwnershipParams = {
|
|
3
3
|
walletAccount: WalletAccount;
|
|
4
4
|
};
|
|
5
|
+
type ProveWalletAccountOwnershipResult = {
|
|
6
|
+
messageToSign: string;
|
|
7
|
+
signature: string;
|
|
8
|
+
};
|
|
5
9
|
/**
|
|
6
10
|
* Proves ownership of a wallet account by signing a verification message.
|
|
7
11
|
*
|
|
@@ -23,9 +27,6 @@ type ProveWalletAccountOwnershipParams = {
|
|
|
23
27
|
* @see verifyWalletAccount
|
|
24
28
|
* @instrumented
|
|
25
29
|
*/
|
|
26
|
-
export declare const proveWalletAccountOwnership: ({ walletAccount }: ProveWalletAccountOwnershipParams, client?: import("../../../exports").DynamicClient) => Promise<
|
|
27
|
-
messageToSign: string;
|
|
28
|
-
signature: string;
|
|
29
|
-
}>;
|
|
30
|
+
export declare const proveWalletAccountOwnership: ({ walletAccount }: ProveWalletAccountOwnershipParams, client?: import("../../../exports").DynamicClient) => Promise<ProveWalletAccountOwnershipResult>;
|
|
30
31
|
export {};
|
|
31
32
|
//# sourceMappingURL=proveWalletAccountOwnership.d.ts.map
|
package/dist/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proveWalletAccountOwnership.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,KAAK,iCAAiC,GAAG;IACvC,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"proveWalletAccountOwnership.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,KAAK,iCAAiC,GAAG;IACvC,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,KAAK,iCAAiC,GAAG;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,2BAA2B,sBACnB,iCAAiC,wDAEnD,OAAO,CAAC,iCAAiC,CAqB3C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/screenTransaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { ScreenTransactionRequestContext, ScreenTransactionResponse } from '@dynamic-labs/sdk-api-core';
|
|
2
|
+
import type { Chain } from '../../chain';
|
|
3
|
+
type ScreenTransactionParams = {
|
|
4
|
+
chain: Chain;
|
|
5
|
+
context: ScreenTransactionRequestContext;
|
|
6
|
+
/** The network within the chain family. Recorded for audit; never changes the verdict. */
|
|
7
|
+
networkId?: string;
|
|
8
|
+
senderAddress?: string;
|
|
9
|
+
/** Cancels the in-flight request, e.g. `AbortSignal.timeout(2000)`. */
|
|
10
|
+
signal?: AbortSignal;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Screens a connected wallet's transaction for sanctioned addresses before you
|
|
14
|
+
* prompt it to sign, and returns the verdict. Requires an authenticated
|
|
15
|
+
* session.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* if (isExternalWalletScreeningEnabled()) {
|
|
20
|
+
* const { decision, blockedAddresses } = await screenTransaction({
|
|
21
|
+
* chain: 'EVM',
|
|
22
|
+
* context: { evmTransaction: { to } },
|
|
23
|
+
* senderAddress: walletAccount.address,
|
|
24
|
+
* });
|
|
25
|
+
*
|
|
26
|
+
* if (decision === 'block') {
|
|
27
|
+
* throw new Error(`Blocked destination: ${blockedAddresses?.join(', ')}`);
|
|
28
|
+
* }
|
|
29
|
+
* }
|
|
30
|
+
*
|
|
31
|
+
* await walletClient.sendTransaction(transaction);
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* @param params.chain - The chain family the transaction is for.
|
|
35
|
+
* @param params.context - The per-chain transaction payload the server extracts addresses from.
|
|
36
|
+
* @param [params.networkId] - The network within the chain family, recorded for audit only.
|
|
37
|
+
* @param [params.senderAddress] - The transaction sender, screened alongside the destinations.
|
|
38
|
+
* @param [params.signal] - Cancels the in-flight request, e.g. `AbortSignal.timeout(2000)`.
|
|
39
|
+
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
40
|
+
* @returns The screening verdict, including the addresses that caused a block.
|
|
41
|
+
* @see isExternalWalletScreeningEnabled
|
|
42
|
+
* @see screenSolanaTransactions
|
|
43
|
+
* @notInstrumented
|
|
44
|
+
*/
|
|
45
|
+
export declare const screenTransaction: ({ chain, context, networkId, senderAddress, signal }: ScreenTransactionParams, client?: import("../../../exports").DynamicClient) => Promise<ScreenTransactionResponse>;
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=screenTransaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screenTransaction.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/screenTransaction/screenTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,4BAA4B,CAAC;AAKpC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,KAAK,uBAAuB,GAAG;IAC7B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,+BAA+B,CAAC;IACzC,0FAA0F;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uEAAuE;IACvE,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,iBAAiB,yDAC0B,uBAAuB,wDAE5E,OAAO,CAAC,yBAAyB,CAajC,CAAC"}
|
|
@@ -3,6 +3,9 @@ type SignMessageParams = {
|
|
|
3
3
|
message: string;
|
|
4
4
|
walletAccount: WalletAccount;
|
|
5
5
|
};
|
|
6
|
+
type SignMessageResult = {
|
|
7
|
+
signature: string;
|
|
8
|
+
};
|
|
6
9
|
/**
|
|
7
10
|
* Signs a message using the specified wallet account.
|
|
8
11
|
*
|
|
@@ -26,8 +29,6 @@ type SignMessageParams = {
|
|
|
26
29
|
* @see connectWithWalletProvider
|
|
27
30
|
* @instrumented
|
|
28
31
|
*/
|
|
29
|
-
export declare const signMessage: ({ walletAccount, message }: SignMessageParams, client?: import("../../../exports").DynamicClient) => Promise<
|
|
30
|
-
signature: string;
|
|
31
|
-
}>;
|
|
32
|
+
export declare const signMessage: ({ walletAccount, message }: SignMessageParams, client?: import("../../../exports").DynamicClient) => Promise<SignMessageResult>;
|
|
32
33
|
export {};
|
|
33
34
|
//# sourceMappingURL=signMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signMessage.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/signMessage/signMessage.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,WAAW,+BACM,iBAAiB,wDAE5C,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"signMessage.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/signMessage/signMessage.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,KAAK,iBAAiB,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,WAAW,+BACM,iBAAiB,wDAE5C,OAAO,CAAC,iBAAiB,CAgB3B,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { TransferAmountParams } from '../walletProvider/walletProvider.types';
|
|
2
|
+
type TransferAmountResult = {
|
|
3
|
+
transactionHash: string;
|
|
4
|
+
};
|
|
2
5
|
/**
|
|
3
6
|
* Transfers an amount of currency from the wallet account to a recipient.
|
|
4
7
|
*
|
|
@@ -25,7 +28,6 @@ import type { TransferAmountParams } from '../walletProvider/walletProvider.type
|
|
|
25
28
|
* @see signMessage
|
|
26
29
|
* @instrumented
|
|
27
30
|
*/
|
|
28
|
-
export declare const transferAmount: ({ walletAccount, amount, recipient, token }: TransferAmountParams, client?: import("../../../exports").DynamicClient) => Promise<
|
|
29
|
-
|
|
30
|
-
}>;
|
|
31
|
+
export declare const transferAmount: ({ walletAccount, amount, recipient, token }: TransferAmountParams, client?: import("../../../exports").DynamicClient) => Promise<TransferAmountResult>;
|
|
32
|
+
export {};
|
|
31
33
|
//# sourceMappingURL=transferAmount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transferAmount.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/transferAmount/transferAmount.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAEnF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,cAAc,gDACoB,oBAAoB,wDAEhE,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"transferAmount.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/transferAmount/transferAmount.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAEnF,KAAK,oBAAoB,GAAG;IAAE,eAAe,EAAE,MAAM,CAAA;CAAE,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,cAAc,gDACoB,oBAAoB,wDAEhE,OAAO,CAAC,oBAAoB,CAkB9B,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { WalletAccount } from '../walletAccount';
|
|
1
2
|
type TransferWalletAccountParams = {
|
|
2
3
|
walletProviderKey: string;
|
|
3
4
|
};
|
|
@@ -21,6 +22,6 @@ type TransferWalletAccountParams = {
|
|
|
21
22
|
* @see verifyWalletAccount
|
|
22
23
|
* @instrumented
|
|
23
24
|
*/
|
|
24
|
-
export declare const transferWalletAccount: ({ walletProviderKey }: TransferWalletAccountParams, client?: import("../../../exports").DynamicClient) => Promise<
|
|
25
|
+
export declare const transferWalletAccount: ({ walletProviderKey }: TransferWalletAccountParams, client?: import("../../../exports").DynamicClient) => Promise<WalletAccount>;
|
|
25
26
|
export {};
|
|
26
27
|
//# sourceMappingURL=transferWalletAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transferWalletAccount.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/transferWalletAccount/transferWalletAccount.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transferWalletAccount.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/transferWalletAccount/transferWalletAccount.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,KAAK,2BAA2B,GAAG;IACjC,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,qBAAqB,0BACT,2BAA2B,wDAEjD,OAAO,CAAC,aAAa,CAavB,CAAC"}
|
|
@@ -5,7 +5,7 @@ type RemoveUnverifiedWalletAccountParams = {
|
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* Removes an unverified wallet account from the client's state.
|
|
8
|
-
|
|
8
|
+
* @notInstrumented
|
|
9
9
|
*/
|
|
10
10
|
export declare const removeUnverifiedWalletAccount: ({ unverifiedWalletAccount }: RemoveUnverifiedWalletAccountParams, client: DynamicClient) => void;
|
|
11
11
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeUnverifiedWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,KAAK,mCAAmC,GAAG;IACzC,uBAAuB,EAAE,uBAAuB,CAAC;CAClD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,gCACX,mCAAmC,UACxD,aAAa,
|
|
1
|
+
{"version":3,"file":"removeUnverifiedWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../src/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,KAAK,mCAAmC,GAAG;IACzC,uBAAuB,EAAE,uBAAuB,CAAC;CAClD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,gCACX,mCAAmC,UACxD,aAAa,KACpB,IAoBF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userHasExternalWallet.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/userHasExternalWallet/userHasExternalWallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EAEb,MAAM,4BAA4B,CAAC;AAEpC,uBAAuB;AACvB,eAAO,MAAM,qBAAqB,SAAU,OAAO,
|
|
1
|
+
{"version":3,"file":"userHasExternalWallet.d.ts","sourceRoot":"","sources":["../../../../src/modules/wallets/userHasExternalWallet/userHasExternalWallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EAEb,MAAM,4BAA4B,CAAC;AAEpC,uBAAuB;AACvB,eAAO,MAAM,qBAAqB,SAAU,OAAO,KAAG,OAQrD,CAAC"}
|
|
@@ -12,7 +12,7 @@ type FormatSignInMessageParams = {
|
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* Formats a sign in message to prove ownership of an address.
|
|
15
|
-
|
|
15
|
+
* @notInstrumented
|
|
16
16
|
*/
|
|
17
17
|
export declare const formatSignInMessage: ({ domain, blockchainName, address, uri, chainId, nonce, issuedAt, requestId, statement, resources, }: FormatSignInMessageParams) => Promise<string>;
|
|
18
18
|
export {};
|