@dynamic-labs-sdk/client 1.28.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.
Files changed (550) hide show
  1. package/android/src/main/java/xyz/dynamic/client/webview/DynamicWebViewHost.kt +8 -3
  2. package/android/src/main/java/xyz/dynamic/client/webview/DynamicWebViewModule.kt +27 -0
  3. package/dist/client/defaultClient/defaultClient.d.ts.map +1 -1
  4. package/dist/core.cjs +5 -5
  5. package/dist/core.cjs.map +1 -1
  6. package/dist/core.esm.js +7 -7
  7. package/dist/core.esm.js.map +1 -1
  8. package/dist/core.native.esm.js +7 -7
  9. package/dist/core.native.esm.js.map +1 -1
  10. package/dist/errors/ScreeningNotRequiredError.d.ts +23 -0
  11. package/dist/errors/ScreeningNotRequiredError.d.ts.map +1 -0
  12. package/dist/errors/base/BaseError.d.ts.map +1 -1
  13. package/dist/exports/core.d.ts +2 -1
  14. package/dist/exports/core.d.ts.map +1 -1
  15. package/dist/exports/index.d.ts +10 -1
  16. package/dist/exports/index.d.ts.map +1 -1
  17. package/dist/exports/waas.d.ts +26 -2
  18. package/dist/exports/waas.d.ts.map +1 -1
  19. package/dist/{getNetworkProviderFromNetworkId-CKWQLHSE.native.esm.js → getNetworkProviderFromNetworkId-BUjaD1Hl.native.esm.js} +7 -7
  20. package/dist/getNetworkProviderFromNetworkId-BUjaD1Hl.native.esm.js.map +1 -0
  21. package/dist/{getNetworkProviderFromNetworkId-DBjVmBmy.esm.js → getNetworkProviderFromNetworkId-ChdEfI2Q.esm.js} +6 -6
  22. package/dist/getNetworkProviderFromNetworkId-ChdEfI2Q.esm.js.map +1 -0
  23. package/dist/{getNetworkProviderFromNetworkId-OhoRrL_X.cjs → getNetworkProviderFromNetworkId-wbWC24tw.cjs} +2 -2
  24. package/dist/getNetworkProviderFromNetworkId-wbWC24tw.cjs.map +1 -0
  25. package/dist/{getSignedSessionId-BncZzHdQ.esm.js → getSignedSessionId-CAcYlAuB.esm.js} +3 -3
  26. package/dist/getSignedSessionId-CAcYlAuB.esm.js.map +1 -0
  27. package/dist/{getSignedSessionId-gwqj9h2p.cjs → getSignedSessionId-Ccdmqz-E.cjs} +3 -3
  28. package/dist/getSignedSessionId-Ccdmqz-E.cjs.map +1 -0
  29. package/dist/{getSignedSessionId-Dwqj_Cxx.native.esm.js → getSignedSessionId-GpNy9mNZ.native.esm.js} +3 -3
  30. package/dist/getSignedSessionId-GpNy9mNZ.native.esm.js.map +1 -0
  31. package/dist/{getWalletProviderByKey-CnpXHkmq.cjs → getWalletProviderByKey-BapuuI8t.cjs} +2 -2
  32. package/dist/getWalletProviderByKey-BapuuI8t.cjs.map +1 -0
  33. package/dist/{getWalletProviderByKey-Dh1slnTF.native.esm.js → getWalletProviderByKey-Bo8REwtt.native.esm.js} +4 -2
  34. package/dist/getWalletProviderByKey-Bo8REwtt.native.esm.js.map +1 -0
  35. package/dist/{getWalletProviderByKey-C9TWlmDD.esm.js → getWalletProviderByKey-D678OktF.esm.js} +2 -2
  36. package/dist/getWalletProviderByKey-D678OktF.esm.js.map +1 -0
  37. package/dist/index.cjs +351 -6
  38. package/dist/index.cjs.map +1 -1
  39. package/dist/index.esm.js +349 -10
  40. package/dist/index.esm.js.map +1 -1
  41. package/dist/index.native.esm.js +349 -10
  42. package/dist/index.native.esm.js.map +1 -1
  43. package/dist/{isDynamicWaasEnabled-CvxVdfKf.native.esm.js → isDynamicWaasEnabled-6Fvh5fsA.native.esm.js} +2 -2
  44. package/dist/{isDynamicWaasEnabled-CvxVdfKf.native.esm.js.map → isDynamicWaasEnabled-6Fvh5fsA.native.esm.js.map} +1 -1
  45. package/dist/{isDynamicWaasEnabled-DnDhv_Uj.cjs → isDynamicWaasEnabled-BPEtdwZI.cjs} +2 -2
  46. package/dist/{isDynamicWaasEnabled-DnDhv_Uj.cjs.map → isDynamicWaasEnabled-BPEtdwZI.cjs.map} +1 -1
  47. package/dist/{isDynamicWaasEnabled-D3-nDwVw.esm.js → isDynamicWaasEnabled-CIJILHSm.esm.js} +2 -2
  48. package/dist/{isDynamicWaasEnabled-D3-nDwVw.esm.js.map → isDynamicWaasEnabled-CIJILHSm.esm.js.map} +1 -1
  49. package/dist/{isMfaRequiredForAction-BjRiou3K.cjs → isMfaRequiredForAction-DjZ5p_og.cjs} +2 -2
  50. package/dist/isMfaRequiredForAction-DjZ5p_og.cjs.map +1 -0
  51. package/dist/{isMfaRequiredForAction-BJGirRfD.native.esm.js → isMfaRequiredForAction-WvmXGQKP.native.esm.js} +2 -2
  52. package/dist/isMfaRequiredForAction-WvmXGQKP.native.esm.js.map +1 -0
  53. package/dist/{isMfaRequiredForAction-D5rzx59E.esm.js → isMfaRequiredForAction-h3H3j2fJ.esm.js} +2 -2
  54. package/dist/isMfaRequiredForAction-h3H3j2fJ.esm.js.map +1 -0
  55. package/dist/{isUserOnboardingComplete-OFxAxj23.esm.js → isUserOnboardingComplete-BYM3G09A.esm.js} +3 -3
  56. package/dist/{isUserOnboardingComplete-OFxAxj23.esm.js.map → isUserOnboardingComplete-BYM3G09A.esm.js.map} +1 -1
  57. package/dist/{isUserOnboardingComplete-KCtF3oaO.cjs → isUserOnboardingComplete-CxIX-dC1.cjs} +3 -3
  58. package/dist/{isUserOnboardingComplete-KCtF3oaO.cjs.map → isUserOnboardingComplete-CxIX-dC1.cjs.map} +1 -1
  59. package/dist/{isUserOnboardingComplete-B3cHYyNI.native.esm.js → isUserOnboardingComplete-HLRIFAZb.native.esm.js} +3 -3
  60. package/dist/{isUserOnboardingComplete-B3cHYyNI.native.esm.js.map → isUserOnboardingComplete-HLRIFAZb.native.esm.js.map} +1 -1
  61. package/dist/{migrateFromFireblocks-DY0SAilk.native.esm.js → migrateFromFireblocks-4jrfIkDp.native.esm.js} +3 -3
  62. package/dist/{migrateFromFireblocks-DY0SAilk.native.esm.js.map → migrateFromFireblocks-4jrfIkDp.native.esm.js.map} +1 -1
  63. package/dist/{migrateFromFireblocks-BM6Iaii-.esm.js → migrateFromFireblocks-R-aPmpUZ.esm.js} +3 -3
  64. package/dist/{migrateFromFireblocks-BM6Iaii-.esm.js.map → migrateFromFireblocks-R-aPmpUZ.esm.js.map} +1 -1
  65. package/dist/{migrateFromFireblocks-Dg6igmRk.cjs → migrateFromFireblocks-mA-hvJcQ.cjs} +3 -3
  66. package/dist/{migrateFromFireblocks-Dg6igmRk.cjs.map → migrateFromFireblocks-mA-hvJcQ.cjs.map} +1 -1
  67. package/dist/modules/apiClient/createApiClient.d.ts +2 -1
  68. package/dist/modules/apiClient/createApiClient.d.ts.map +1 -1
  69. package/dist/modules/apiClient/createBaseApiClient.d.ts.map +1 -1
  70. package/dist/modules/auth/createVisit/createVisit.d.ts.map +1 -1
  71. package/dist/modules/auth/decodeJwt/decodeJwt.d.ts +2 -1
  72. package/dist/modules/auth/decodeJwt/decodeJwt.d.ts.map +1 -1
  73. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts +2 -1
  74. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts.map +1 -1
  75. package/dist/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.d.ts +2 -1
  76. package/dist/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.d.ts.map +1 -1
  77. package/dist/modules/auth/initializeAuth/initializeAuth.d.ts.map +1 -1
  78. package/dist/modules/auth/isSignedIn/isSignedIn.d.ts.map +1 -1
  79. package/dist/modules/auth/logout/logout.d.ts.map +1 -1
  80. package/dist/modules/auth/logoutReason.d.ts +1 -1
  81. package/dist/modules/auth/logoutReason.d.ts.map +1 -1
  82. package/dist/modules/auth/logoutWithReason/logoutWithReason.d.ts.map +1 -1
  83. package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts +3 -2
  84. package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts.map +1 -1
  85. package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts +2 -2
  86. package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts.map +1 -1
  87. package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts +2 -2
  88. package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts.map +1 -1
  89. package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts +2 -2
  90. package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts.map +1 -1
  91. package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts +2 -2
  92. package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts.map +1 -1
  93. package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts +2 -1
  94. package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts.map +1 -1
  95. package/dist/modules/auth/social/oauth/authenticateWithSocial/authenticateWithSocial.d.ts.map +1 -1
  96. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/signInWithSocialRedirect.d.ts.map +1 -1
  97. package/dist/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.d.ts.map +1 -1
  98. package/dist/modules/auth/updateAuthFromVerifyResponse/checkAndRaiseWalletAccountsChangedEvent/checkAndRaiseWalletAccountsChangedEvent.d.ts.map +1 -1
  99. package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts.map +1 -1
  100. package/dist/modules/captcha/isCaptchaRequired/isCaptchaRequired.d.ts.map +1 -1
  101. package/dist/modules/captcha/setCaptchaToken/setCaptchaToken.d.ts.map +1 -1
  102. package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts +2 -1
  103. package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts.map +1 -1
  104. package/dist/modules/checkout/utils/createCheckoutTransactionChannelSchema/createCheckoutTransactionChannelSchema.d.ts +9 -7
  105. package/dist/modules/checkout/utils/createCheckoutTransactionChannelSchema/createCheckoutTransactionChannelSchema.d.ts.map +1 -1
  106. package/dist/modules/clientEvents/clientEvents.d.ts +2 -2
  107. package/dist/modules/clientEvents/clientEvents.d.ts.map +1 -1
  108. package/dist/modules/crossTabEventSync/setupCrossTabEventSync/setupCrossTabEventSync.d.ts +1 -1
  109. package/dist/modules/crossTabEventSync/setupCrossTabEventSync/setupCrossTabEventSync.d.ts.map +1 -1
  110. package/dist/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.d.ts +1 -1
  111. package/dist/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.d.ts.map +1 -1
  112. package/dist/modules/extension/hasExtension/hasExtension.d.ts +1 -1
  113. package/dist/modules/extension/hasExtension/hasExtension.d.ts.map +1 -1
  114. package/dist/modules/extension/registerExtension/registerExtension.d.ts +1 -1
  115. package/dist/modules/extension/registerExtension/registerExtension.d.ts.map +1 -1
  116. package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.d.ts +2 -1
  117. package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.d.ts.map +1 -1
  118. package/dist/modules/initializeClient/initializeClient.d.ts.map +1 -1
  119. package/dist/modules/initializeClient/logoutIfSessionPublicKeyMismatched/logoutIfSessionPublicKeyMismatched.d.ts +18 -0
  120. package/dist/modules/initializeClient/logoutIfSessionPublicKeyMismatched/logoutIfSessionPublicKeyMismatched.d.ts.map +1 -0
  121. package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts.map +1 -1
  122. package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts +2 -1
  123. package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts.map +1 -1
  124. package/dist/modules/instrumentation/setInstrumentationEnabled/setInstrumentationEnabled.d.ts.map +1 -1
  125. package/dist/modules/mfa/acknowledgeRecoveryCodes/acknowledgeRecoveryCodes.d.ts +3 -2
  126. package/dist/modules/mfa/acknowledgeRecoveryCodes/acknowledgeRecoveryCodes.d.ts.map +1 -1
  127. package/dist/modules/mfa/authenticateMfaRecoveryCode/authenticateMfaRecoveryCode.d.ts +2 -2
  128. package/dist/modules/mfa/authenticateMfaRecoveryCode/authenticateMfaRecoveryCode.d.ts.map +1 -1
  129. package/dist/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts +2 -2
  130. package/dist/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts.map +1 -1
  131. package/dist/modules/mfa/authenticateTotpMfaDevice/authenticateTotpMfaDevice.d.ts +2 -2
  132. package/dist/modules/mfa/authenticateTotpMfaDevice/authenticateTotpMfaDevice.d.ts.map +1 -1
  133. package/dist/modules/mfa/consumeMfaToken/consumeMfaToken.d.ts.map +1 -1
  134. package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts +2 -1
  135. package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts.map +1 -1
  136. package/dist/modules/mfa/deleteMfaDevice/deleteMfaDevice.d.ts +1 -1
  137. package/dist/modules/mfa/deleteMfaDevice/deleteMfaDevice.d.ts.map +1 -1
  138. package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts +3 -2
  139. package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts.map +1 -1
  140. package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts +3 -2
  141. package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts.map +1 -1
  142. package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts +3 -2
  143. package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts.map +1 -1
  144. package/dist/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.d.ts +1 -1
  145. package/dist/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.d.ts.map +1 -1
  146. package/dist/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.d.ts +1 -1
  147. package/dist/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.d.ts.map +1 -1
  148. package/dist/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.d.ts +1 -1
  149. package/dist/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.d.ts.map +1 -1
  150. package/dist/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.d.ts +2 -1
  151. package/dist/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.d.ts.map +1 -1
  152. package/dist/modules/mfa/setDefaultMfaDevice/setDefaultMfaDevice.d.ts +1 -1
  153. package/dist/modules/mfa/setDefaultMfaDevice/setDefaultMfaDevice.d.ts.map +1 -1
  154. package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts +2 -1
  155. package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts.map +1 -1
  156. package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts +2 -1
  157. package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts.map +1 -1
  158. package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts +2 -1
  159. package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts.map +1 -1
  160. package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts +4 -3
  161. package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts.map +1 -1
  162. package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts +4 -3
  163. package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts.map +1 -1
  164. package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts +5 -3
  165. package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts.map +1 -1
  166. package/dist/modules/state/raiseStateEvents/raiseStateEvents.d.ts.map +1 -1
  167. package/dist/modules/storageSync/initializeStorageSync.d.ts.map +1 -1
  168. package/dist/modules/storageSync/syncStateWithStorage/syncStateWithStorage.d.ts.map +1 -1
  169. package/dist/modules/swap/executeSwapTransaction/executeSwapTransaction.d.ts +4 -3
  170. package/dist/modules/swap/executeSwapTransaction/executeSwapTransaction.d.ts.map +1 -1
  171. package/dist/modules/swap/utils/ensureCorrectActiveNetwork/ensureCorrectActiveNetwork.d.ts.map +1 -1
  172. package/dist/modules/user/isUserOnboardingComplete/isUserOnboardingComplete.d.ts.map +1 -1
  173. package/dist/modules/waas/backupWaasKeySharesToGoogleDrive/backupWaasKeySharesToGoogleDrive.d.ts +1 -1
  174. package/dist/modules/waas/backupWaasKeySharesToGoogleDrive/backupWaasKeySharesToGoogleDrive.d.ts.map +1 -1
  175. package/dist/modules/waas/businessAccounts/addBusinessAccountSigner/addBusinessAccountSigner.d.ts +6 -5
  176. package/dist/modules/waas/businessAccounts/addBusinessAccountSigner/addBusinessAccountSigner.d.ts.map +1 -1
  177. package/dist/modules/waas/businessAccounts/createWalletForBusinessAccount/createWalletForBusinessAccount.d.ts +6 -5
  178. package/dist/modules/waas/businessAccounts/createWalletForBusinessAccount/createWalletForBusinessAccount.d.ts.map +1 -1
  179. package/dist/modules/waas/createWaasOfflineRecoveryShares/createWaasOfflineRecoveryShares.d.ts.map +1 -1
  180. package/dist/modules/waas/exportWaasClientKeyshares/exportWaasClientKeyshares.d.ts +1 -1
  181. package/dist/modules/waas/exportWaasClientKeyshares/exportWaasClientKeyshares.d.ts.map +1 -1
  182. package/dist/modules/waas/exportWaasPrivateKey/exportWaasPrivateKey.d.ts +1 -1
  183. package/dist/modules/waas/exportWaasPrivateKey/exportWaasPrivateKey.d.ts.map +1 -1
  184. package/dist/modules/waas/exportWaasPrivateKeyToContainer/exportWaasPrivateKeyToContainer.d.ts.map +1 -1
  185. package/dist/modules/waas/getWalletAccountShareSets/getWalletAccountShareSets.d.ts +27 -0
  186. package/dist/modules/waas/getWalletAccountShareSets/getWalletAccountShareSets.d.ts.map +1 -0
  187. package/dist/modules/waas/getWalletAccountShareSets/index.d.ts +3 -0
  188. package/dist/modules/waas/getWalletAccountShareSets/index.d.ts.map +1 -0
  189. package/dist/modules/waas/importWaasPrivateKey/importWaasPrivateKey.d.ts +1 -1
  190. package/dist/modules/waas/importWaasPrivateKey/importWaasPrivateKey.d.ts.map +1 -1
  191. package/dist/modules/waas/injectWaasVerifiedCredentialFields/injectWaasVerifiedCredentialFields.d.ts +26 -0
  192. package/dist/modules/waas/injectWaasVerifiedCredentialFields/injectWaasVerifiedCredentialFields.d.ts.map +1 -0
  193. package/dist/modules/waas/isDynamicWaasEnabled/isDynamicWaasEnabled.d.ts +1 -1
  194. package/dist/modules/waas/isDynamicWaasEnabled/isDynamicWaasEnabled.d.ts.map +1 -1
  195. package/dist/modules/waas/policies/applyPolicyLayerBatch/applyPolicyLayerBatch.d.ts +18 -0
  196. package/dist/modules/waas/policies/applyPolicyLayerBatch/applyPolicyLayerBatch.d.ts.map +1 -0
  197. package/dist/modules/waas/policies/applyPolicyLayerBatch/index.d.ts +2 -0
  198. package/dist/modules/waas/policies/applyPolicyLayerBatch/index.d.ts.map +1 -0
  199. package/dist/modules/waas/policies/buildAllowAddressesRule/buildAllowAddressesRule.d.ts +10 -0
  200. package/dist/modules/waas/policies/buildAllowAddressesRule/buildAllowAddressesRule.d.ts.map +1 -0
  201. package/dist/modules/waas/policies/buildAllowAddressesRule/index.d.ts +2 -0
  202. package/dist/modules/waas/policies/buildAllowAddressesRule/index.d.ts.map +1 -0
  203. package/dist/modules/waas/policies/buildAllowPolicyRule/buildAllowPolicyRule.d.ts +11 -0
  204. package/dist/modules/waas/policies/buildAllowPolicyRule/buildAllowPolicyRule.d.ts.map +1 -0
  205. package/dist/modules/waas/policies/buildAllowPolicyRule/index.d.ts +2 -0
  206. package/dist/modules/waas/policies/buildAllowPolicyRule/index.d.ts.map +1 -0
  207. package/dist/modules/waas/policies/buildBlockExportRule/buildBlockExportRule.d.ts +11 -0
  208. package/dist/modules/waas/policies/buildBlockExportRule/buildBlockExportRule.d.ts.map +1 -0
  209. package/dist/modules/waas/policies/buildBlockExportRule/index.d.ts +2 -0
  210. package/dist/modules/waas/policies/buildBlockExportRule/index.d.ts.map +1 -0
  211. package/dist/modules/waas/policies/buildDenyAddressesRule/buildDenyAddressesRule.d.ts +8 -0
  212. package/dist/modules/waas/policies/buildDenyAddressesRule/buildDenyAddressesRule.d.ts.map +1 -0
  213. package/dist/modules/waas/policies/buildDenyAddressesRule/index.d.ts +2 -0
  214. package/dist/modules/waas/policies/buildDenyAddressesRule/index.d.ts.map +1 -0
  215. package/dist/modules/waas/policies/buildDenyPolicyRule/buildDenyPolicyRule.d.ts +11 -0
  216. package/dist/modules/waas/policies/buildDenyPolicyRule/buildDenyPolicyRule.d.ts.map +1 -0
  217. package/dist/modules/waas/policies/buildDenyPolicyRule/index.d.ts +2 -0
  218. package/dist/modules/waas/policies/buildDenyPolicyRule/index.d.ts.map +1 -0
  219. package/dist/modules/waas/policies/buildMaxAmountPerTransactionRule/buildMaxAmountPerTransactionRule.d.ts +10 -0
  220. package/dist/modules/waas/policies/buildMaxAmountPerTransactionRule/buildMaxAmountPerTransactionRule.d.ts.map +1 -0
  221. package/dist/modules/waas/policies/buildMaxAmountPerTransactionRule/index.d.ts +2 -0
  222. package/dist/modules/waas/policies/buildMaxAmountPerTransactionRule/index.d.ts.map +1 -0
  223. package/dist/modules/waas/policies/buildOperationForExistingRule/buildOperationForExistingRule.d.ts +26 -0
  224. package/dist/modules/waas/policies/buildOperationForExistingRule/buildOperationForExistingRule.d.ts.map +1 -0
  225. package/dist/modules/waas/policies/buildOperationForExistingRule/index.d.ts +2 -0
  226. package/dist/modules/waas/policies/buildOperationForExistingRule/index.d.ts.map +1 -0
  227. package/dist/modules/waas/policies/buildOperationsForRule/buildOperationsForRule.d.ts +24 -0
  228. package/dist/modules/waas/policies/buildOperationsForRule/buildOperationsForRule.d.ts.map +1 -0
  229. package/dist/modules/waas/policies/buildOperationsForRule/index.d.ts +2 -0
  230. package/dist/modules/waas/policies/buildOperationsForRule/index.d.ts.map +1 -0
  231. package/dist/modules/waas/policies/buildValueLimit/buildValueLimit.d.ts +12 -0
  232. package/dist/modules/waas/policies/buildValueLimit/buildValueLimit.d.ts.map +1 -0
  233. package/dist/modules/waas/policies/buildValueLimit/index.d.ts +2 -0
  234. package/dist/modules/waas/policies/buildValueLimit/index.d.ts.map +1 -0
  235. package/dist/modules/waas/policies/createPolicy/createPolicy.d.ts +39 -0
  236. package/dist/modules/waas/policies/createPolicy/createPolicy.d.ts.map +1 -0
  237. package/dist/modules/waas/policies/createPolicy/index.d.ts +2 -0
  238. package/dist/modules/waas/policies/createPolicy/index.d.ts.map +1 -0
  239. package/dist/modules/waas/policies/desugarPolicyRules/desugarPolicyRules.d.ts +23 -0
  240. package/dist/modules/waas/policies/desugarPolicyRules/desugarPolicyRules.d.ts.map +1 -0
  241. package/dist/modules/waas/policies/desugarPolicyRules/index.d.ts +2 -0
  242. package/dist/modules/waas/policies/desugarPolicyRules/index.d.ts.map +1 -0
  243. package/dist/modules/waas/policies/expandPolicyRules/expandPolicyRules.d.ts +22 -0
  244. package/dist/modules/waas/policies/expandPolicyRules/expandPolicyRules.d.ts.map +1 -0
  245. package/dist/modules/waas/policies/expandPolicyRules/index.d.ts +2 -0
  246. package/dist/modules/waas/policies/expandPolicyRules/index.d.ts.map +1 -0
  247. package/dist/modules/waas/policies/fillOmittedRuleValues/fillOmittedRuleValues.d.ts +26 -0
  248. package/dist/modules/waas/policies/fillOmittedRuleValues/fillOmittedRuleValues.d.ts.map +1 -0
  249. package/dist/modules/waas/policies/fillOmittedRuleValues/index.d.ts +2 -0
  250. package/dist/modules/waas/policies/fillOmittedRuleValues/index.d.ts.map +1 -0
  251. package/dist/modules/waas/policies/findMatchedRuleKind/findMatchedRuleKind.d.ts +22 -0
  252. package/dist/modules/waas/policies/findMatchedRuleKind/findMatchedRuleKind.d.ts.map +1 -0
  253. package/dist/modules/waas/policies/findMatchedRuleKind/index.d.ts +3 -0
  254. package/dist/modules/waas/policies/findMatchedRuleKind/index.d.ts.map +1 -0
  255. package/dist/modules/waas/policies/getAccountPolicyLayer/getAccountPolicyLayer.d.ts +18 -0
  256. package/dist/modules/waas/policies/getAccountPolicyLayer/getAccountPolicyLayer.d.ts.map +1 -0
  257. package/dist/modules/waas/policies/getAccountPolicyLayer/index.d.ts +2 -0
  258. package/dist/modules/waas/policies/getAccountPolicyLayer/index.d.ts.map +1 -0
  259. package/dist/modules/waas/policies/getPolicy/getPolicy.d.ts +34 -0
  260. package/dist/modules/waas/policies/getPolicy/getPolicy.d.ts.map +1 -0
  261. package/dist/modules/waas/policies/getPolicy/index.d.ts +2 -0
  262. package/dist/modules/waas/policies/getPolicy/index.d.ts.map +1 -0
  263. package/dist/modules/waas/policies/getResolvedPolicyLayer/getResolvedPolicyLayer.d.ts +16 -0
  264. package/dist/modules/waas/policies/getResolvedPolicyLayer/getResolvedPolicyLayer.d.ts.map +1 -0
  265. package/dist/modules/waas/policies/getResolvedPolicyLayer/index.d.ts +2 -0
  266. package/dist/modules/waas/policies/getResolvedPolicyLayer/index.d.ts.map +1 -0
  267. package/dist/modules/waas/policies/getSignerPolicyLayer/getSignerPolicyLayer.d.ts +25 -0
  268. package/dist/modules/waas/policies/getSignerPolicyLayer/getSignerPolicyLayer.d.ts.map +1 -0
  269. package/dist/modules/waas/policies/getSignerPolicyLayer/index.d.ts +2 -0
  270. package/dist/modules/waas/policies/getSignerPolicyLayer/index.d.ts.map +1 -0
  271. package/dist/modules/waas/policies/getWalletPolicyLayer/getWalletPolicyLayer.d.ts +20 -0
  272. package/dist/modules/waas/policies/getWalletPolicyLayer/getWalletPolicyLayer.d.ts.map +1 -0
  273. package/dist/modules/waas/policies/getWalletPolicyLayer/index.d.ts +2 -0
  274. package/dist/modules/waas/policies/getWalletPolicyLayer/index.d.ts.map +1 -0
  275. package/dist/modules/waas/policies/hasAddresses/hasAddresses.d.ts +7 -0
  276. package/dist/modules/waas/policies/hasAddresses/hasAddresses.d.ts.map +1 -0
  277. package/dist/modules/waas/policies/hasAddresses/index.d.ts +2 -0
  278. package/dist/modules/waas/policies/hasAddresses/index.d.ts.map +1 -0
  279. package/dist/modules/waas/policies/hasUnrecognizedFields/hasUnrecognizedFields.d.ts +6 -0
  280. package/dist/modules/waas/policies/hasUnrecognizedFields/hasUnrecognizedFields.d.ts.map +1 -0
  281. package/dist/modules/waas/policies/hasUnrecognizedFields/index.d.ts +2 -0
  282. package/dist/modules/waas/policies/hasUnrecognizedFields/index.d.ts.map +1 -0
  283. package/dist/modules/waas/policies/isPolicyRuleDeletionMarker/index.d.ts +2 -0
  284. package/dist/modules/waas/policies/isPolicyRuleDeletionMarker/index.d.ts.map +1 -0
  285. package/dist/modules/waas/policies/isPolicyRuleDeletionMarker/isPolicyRuleDeletionMarker.d.ts +14 -0
  286. package/dist/modules/waas/policies/isPolicyRuleDeletionMarker/isPolicyRuleDeletionMarker.d.ts.map +1 -0
  287. package/dist/modules/waas/policies/matchExistingRules/index.d.ts +3 -0
  288. package/dist/modules/waas/policies/matchExistingRules/index.d.ts.map +1 -0
  289. package/dist/modules/waas/policies/matchExistingRules/matchExistingRules.d.ts +33 -0
  290. package/dist/modules/waas/policies/matchExistingRules/matchExistingRules.d.ts.map +1 -0
  291. package/dist/modules/waas/policies/policies.types.d.ts +91 -0
  292. package/dist/modules/waas/policies/policies.types.d.ts.map +1 -0
  293. package/dist/modules/waas/policies/policyRuleDefaultNames.d.ts +10 -0
  294. package/dist/modules/waas/policies/policyRuleDefaultNames.d.ts.map +1 -0
  295. package/dist/modules/waas/policies/policyRuleKinds.d.ts +34 -0
  296. package/dist/modules/waas/policies/policyRuleKinds.d.ts.map +1 -0
  297. package/dist/modules/waas/policies/readAllowAddressesRule/index.d.ts +2 -0
  298. package/dist/modules/waas/policies/readAllowAddressesRule/index.d.ts.map +1 -0
  299. package/dist/modules/waas/policies/readAllowAddressesRule/readAllowAddressesRule.d.ts +9 -0
  300. package/dist/modules/waas/policies/readAllowAddressesRule/readAllowAddressesRule.d.ts.map +1 -0
  301. package/dist/modules/waas/policies/readBlockExportRule/index.d.ts +2 -0
  302. package/dist/modules/waas/policies/readBlockExportRule/index.d.ts.map +1 -0
  303. package/dist/modules/waas/policies/readBlockExportRule/readBlockExportRule.d.ts +8 -0
  304. package/dist/modules/waas/policies/readBlockExportRule/readBlockExportRule.d.ts.map +1 -0
  305. package/dist/modules/waas/policies/readCoveredRule/index.d.ts +3 -0
  306. package/dist/modules/waas/policies/readCoveredRule/index.d.ts.map +1 -0
  307. package/dist/modules/waas/policies/readCoveredRule/readCoveredRule.d.ts +31 -0
  308. package/dist/modules/waas/policies/readCoveredRule/readCoveredRule.d.ts.map +1 -0
  309. package/dist/modules/waas/policies/readDenyAddressesRule/index.d.ts +2 -0
  310. package/dist/modules/waas/policies/readDenyAddressesRule/index.d.ts.map +1 -0
  311. package/dist/modules/waas/policies/readDenyAddressesRule/readDenyAddressesRule.d.ts +8 -0
  312. package/dist/modules/waas/policies/readDenyAddressesRule/readDenyAddressesRule.d.ts.map +1 -0
  313. package/dist/modules/waas/policies/readMaxAmountPerTransactionRule/index.d.ts +2 -0
  314. package/dist/modules/waas/policies/readMaxAmountPerTransactionRule/index.d.ts.map +1 -0
  315. package/dist/modules/waas/policies/readMaxAmountPerTransactionRule/readMaxAmountPerTransactionRule.d.ts +8 -0
  316. package/dist/modules/waas/policies/readMaxAmountPerTransactionRule/readMaxAmountPerTransactionRule.d.ts.map +1 -0
  317. package/dist/modules/waas/policies/readValueLimit/index.d.ts +2 -0
  318. package/dist/modules/waas/policies/readValueLimit/index.d.ts.map +1 -0
  319. package/dist/modules/waas/policies/readValueLimit/readValueLimit.d.ts +10 -0
  320. package/dist/modules/waas/policies/readValueLimit/readValueLimit.d.ts.map +1 -0
  321. package/dist/modules/waas/policies/removeAccountPolicyRule/index.d.ts +2 -0
  322. package/dist/modules/waas/policies/removeAccountPolicyRule/index.d.ts.map +1 -0
  323. package/dist/modules/waas/policies/removeAccountPolicyRule/removeAccountPolicyRule.d.ts +20 -0
  324. package/dist/modules/waas/policies/removeAccountPolicyRule/removeAccountPolicyRule.d.ts.map +1 -0
  325. package/dist/modules/waas/policies/removePolicyRules/index.d.ts +2 -0
  326. package/dist/modules/waas/policies/removePolicyRules/index.d.ts.map +1 -0
  327. package/dist/modules/waas/policies/removePolicyRules/removePolicyRules.d.ts +30 -0
  328. package/dist/modules/waas/policies/removePolicyRules/removePolicyRules.d.ts.map +1 -0
  329. package/dist/modules/waas/policies/removeSignerPolicyRule/index.d.ts +2 -0
  330. package/dist/modules/waas/policies/removeSignerPolicyRule/index.d.ts.map +1 -0
  331. package/dist/modules/waas/policies/removeSignerPolicyRule/removeSignerPolicyRule.d.ts +25 -0
  332. package/dist/modules/waas/policies/removeSignerPolicyRule/removeSignerPolicyRule.d.ts.map +1 -0
  333. package/dist/modules/waas/policies/removeWalletPolicyRule/index.d.ts +2 -0
  334. package/dist/modules/waas/policies/removeWalletPolicyRule/index.d.ts.map +1 -0
  335. package/dist/modules/waas/policies/removeWalletPolicyRule/removeWalletPolicyRule.d.ts +22 -0
  336. package/dist/modules/waas/policies/removeWalletPolicyRule/removeWalletPolicyRule.d.ts.map +1 -0
  337. package/dist/modules/waas/policies/resolvePolicyScope/index.d.ts +3 -0
  338. package/dist/modules/waas/policies/resolvePolicyScope/index.d.ts.map +1 -0
  339. package/dist/modules/waas/policies/resolvePolicyScope/resolvePolicyScope.d.ts +31 -0
  340. package/dist/modules/waas/policies/resolvePolicyScope/resolvePolicyScope.d.ts.map +1 -0
  341. package/dist/modules/waas/policies/resolveRuleName/index.d.ts +2 -0
  342. package/dist/modules/waas/policies/resolveRuleName/index.d.ts.map +1 -0
  343. package/dist/modules/waas/policies/resolveRuleName/resolveRuleName.d.ts +20 -0
  344. package/dist/modules/waas/policies/resolveRuleName/resolveRuleName.d.ts.map +1 -0
  345. package/dist/modules/waas/policies/sameChainIds/index.d.ts +2 -0
  346. package/dist/modules/waas/policies/sameChainIds/index.d.ts.map +1 -0
  347. package/dist/modules/waas/policies/sameChainIds/sameChainIds.d.ts +14 -0
  348. package/dist/modules/waas/policies/sameChainIds/sameChainIds.d.ts.map +1 -0
  349. package/dist/modules/waas/policies/sortRulesByRuleId/index.d.ts +2 -0
  350. package/dist/modules/waas/policies/sortRulesByRuleId/index.d.ts.map +1 -0
  351. package/dist/modules/waas/policies/sortRulesByRuleId/sortRulesByRuleId.d.ts +12 -0
  352. package/dist/modules/waas/policies/sortRulesByRuleId/sortRulesByRuleId.d.ts.map +1 -0
  353. package/dist/modules/waas/policies/upsertAccountPolicyRule/index.d.ts +2 -0
  354. package/dist/modules/waas/policies/upsertAccountPolicyRule/index.d.ts.map +1 -0
  355. package/dist/modules/waas/policies/upsertAccountPolicyRule/upsertAccountPolicyRule.d.ts +24 -0
  356. package/dist/modules/waas/policies/upsertAccountPolicyRule/upsertAccountPolicyRule.d.ts.map +1 -0
  357. package/dist/modules/waas/policies/upsertSignerPolicyRule/index.d.ts +2 -0
  358. package/dist/modules/waas/policies/upsertSignerPolicyRule/index.d.ts.map +1 -0
  359. package/dist/modules/waas/policies/upsertSignerPolicyRule/upsertSignerPolicyRule.d.ts +28 -0
  360. package/dist/modules/waas/policies/upsertSignerPolicyRule/upsertSignerPolicyRule.d.ts.map +1 -0
  361. package/dist/modules/waas/policies/upsertWalletPolicyRule/index.d.ts +2 -0
  362. package/dist/modules/waas/policies/upsertWalletPolicyRule/index.d.ts.map +1 -0
  363. package/dist/modules/waas/policies/upsertWalletPolicyRule/upsertWalletPolicyRule.d.ts +25 -0
  364. package/dist/modules/waas/policies/upsertWalletPolicyRule/upsertWalletPolicyRule.d.ts.map +1 -0
  365. package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts +1 -1
  366. package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts.map +1 -1
  367. package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts +1 -1
  368. package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts.map +1 -1
  369. package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts +1 -1
  370. package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts.map +1 -1
  371. package/dist/modules/waas/signSerializedTransaction/index.d.ts +2 -0
  372. package/dist/modules/waas/signSerializedTransaction/index.d.ts.map +1 -0
  373. package/dist/modules/waas/signSerializedTransaction/signSerializedTransaction.d.ts +24 -0
  374. package/dist/modules/waas/signSerializedTransaction/signSerializedTransaction.d.ts.map +1 -0
  375. package/dist/modules/waas/updateWaasPassword/updateWaasPassword.d.ts +1 -1
  376. package/dist/modules/waas/updateWaasPassword/updateWaasPassword.d.ts.map +1 -1
  377. package/dist/modules/waas/waas.types.d.ts +22 -1
  378. package/dist/modules/waas/waas.types.d.ts.map +1 -1
  379. package/dist/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.d.ts +1 -1
  380. package/dist/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.d.ts.map +1 -1
  381. package/dist/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.d.ts +2 -1
  382. package/dist/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.d.ts.map +1 -1
  383. package/dist/modules/wallets/destroyWalletProviders/destroyWalletProviders.d.ts.map +1 -1
  384. package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts +4 -3
  385. package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts.map +1 -1
  386. package/dist/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.d.ts.map +1 -1
  387. package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts +2 -1
  388. package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts.map +1 -1
  389. package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts +3 -2
  390. package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts.map +1 -1
  391. package/dist/modules/wallets/isExternalWalletScreeningEnabled/index.d.ts +2 -0
  392. package/dist/modules/wallets/isExternalWalletScreeningEnabled/index.d.ts.map +1 -0
  393. package/dist/modules/wallets/isExternalWalletScreeningEnabled/isExternalWalletScreeningEnabled.d.ts +28 -0
  394. package/dist/modules/wallets/isExternalWalletScreeningEnabled/isExternalWalletScreeningEnabled.d.ts.map +1 -0
  395. package/dist/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.d.ts.map +1 -1
  396. package/dist/modules/wallets/networks/addNetwork/addNetwork.d.ts +1 -1
  397. package/dist/modules/wallets/networks/addNetwork/addNetwork.d.ts.map +1 -1
  398. package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts +5 -3
  399. package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts.map +1 -1
  400. package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts +5 -4
  401. package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts.map +1 -1
  402. package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts +4 -3
  403. package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts.map +1 -1
  404. package/dist/modules/wallets/networks/getNativeBalance/getNativeBalance.d.ts +4 -3
  405. package/dist/modules/wallets/networks/getNativeBalance/getNativeBalance.d.ts.map +1 -1
  406. package/dist/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.d.ts +1 -1
  407. package/dist/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.d.ts.map +1 -1
  408. package/dist/modules/wallets/networks/switchActiveNetwork/switchActiveNetwork.d.ts.map +1 -1
  409. package/dist/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts +5 -4
  410. package/dist/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts.map +1 -1
  411. package/dist/modules/wallets/screenTransaction/index.d.ts +2 -0
  412. package/dist/modules/wallets/screenTransaction/index.d.ts.map +1 -0
  413. package/dist/modules/wallets/screenTransaction/screenTransaction.d.ts +47 -0
  414. package/dist/modules/wallets/screenTransaction/screenTransaction.d.ts.map +1 -0
  415. package/dist/modules/wallets/signMessage/signMessage.d.ts +4 -3
  416. package/dist/modules/wallets/signMessage/signMessage.d.ts.map +1 -1
  417. package/dist/modules/wallets/transferAmount/transferAmount.d.ts +5 -3
  418. package/dist/modules/wallets/transferAmount/transferAmount.d.ts.map +1 -1
  419. package/dist/modules/wallets/transferWalletAccount/transferWalletAccount.d.ts +2 -1
  420. package/dist/modules/wallets/transferWalletAccount/transferWalletAccount.d.ts.map +1 -1
  421. package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts +1 -1
  422. package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts.map +1 -1
  423. package/dist/modules/wallets/userHasExternalWallet/userHasExternalWallet.d.ts.map +1 -1
  424. package/dist/modules/wallets/utils/convertVerifiedCredentialToWalletAccount/convertVerifiedCredentialToWalletAccount.d.ts.map +1 -1
  425. package/dist/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts +1 -1
  426. package/dist/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts.map +1 -1
  427. package/dist/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts +1 -1
  428. package/dist/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts.map +1 -1
  429. package/dist/modules/wallets/utils/getAvailableWalletProvidersFromWalletAccounts/getAvailableWalletProvidersFromWalletAccounts.d.ts.map +1 -1
  430. package/dist/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.d.ts.map +1 -1
  431. package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts.map +1 -1
  432. package/dist/modules/wallets/utils/getSignInMessage/getSignInMessage.d.ts.map +1 -1
  433. package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts +2 -1
  434. package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts.map +1 -1
  435. package/dist/modules/wallets/utils/getWalletAccountFromAddress/getWalletAccountFromAddress.d.ts +2 -1
  436. package/dist/modules/wallets/utils/getWalletAccountFromAddress/getWalletAccountFromAddress.d.ts.map +1 -1
  437. package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts +2 -1
  438. package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts.map +1 -1
  439. package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts +1 -1
  440. package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts.map +1 -1
  441. package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts +1 -1
  442. package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts.map +1 -1
  443. package/dist/modules/wallets/walletAccount/walletAccount.types.d.ts +0 -2
  444. package/dist/modules/wallets/walletAccount/walletAccount.types.d.ts.map +1 -1
  445. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts +8 -7
  446. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts.map +1 -1
  447. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/index.d.ts +1 -0
  448. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/index.d.ts.map +1 -1
  449. package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts +1 -1
  450. package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts.map +1 -1
  451. package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts +2 -2
  452. package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts.map +1 -1
  453. package/dist/modules/wallets/walletProvider/index.d.ts +1 -1
  454. package/dist/modules/wallets/walletProvider/index.d.ts.map +1 -1
  455. package/dist/modules/wallets/walletProvider/walletProvider.types.d.ts +15 -1
  456. package/dist/modules/wallets/walletProvider/walletProvider.types.d.ts.map +1 -1
  457. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts +3 -2
  458. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts.map +1 -1
  459. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts.map +1 -1
  460. package/dist/modules/yield/claimYieldRewards/claimYieldRewards.d.ts +43 -0
  461. package/dist/modules/yield/claimYieldRewards/claimYieldRewards.d.ts.map +1 -0
  462. package/dist/modules/yield/claimYieldRewards/index.d.ts +3 -0
  463. package/dist/modules/yield/claimYieldRewards/index.d.ts.map +1 -0
  464. package/dist/modules/yield/depositToYieldVault/depositToYieldVault.d.ts +66 -0
  465. package/dist/modules/yield/depositToYieldVault/depositToYieldVault.d.ts.map +1 -0
  466. package/dist/modules/yield/depositToYieldVault/index.d.ts +3 -0
  467. package/dist/modules/yield/depositToYieldVault/index.d.ts.map +1 -0
  468. package/dist/modules/yield/utils/executeYieldTransaction/executeYieldTransaction.d.ts +40 -0
  469. package/dist/modules/yield/utils/executeYieldTransaction/executeYieldTransaction.d.ts.map +1 -0
  470. package/dist/modules/yield/utils/executeYieldTransaction/index.d.ts +3 -0
  471. package/dist/modules/yield/utils/executeYieldTransaction/index.d.ts.map +1 -0
  472. package/dist/modules/yield/withdrawFromYieldVault/index.d.ts +3 -0
  473. package/dist/modules/yield/withdrawFromYieldVault/index.d.ts.map +1 -0
  474. package/dist/modules/yield/withdrawFromYieldVault/withdrawFromYieldVault.d.ts +57 -0
  475. package/dist/modules/yield/withdrawFromYieldVault/withdrawFromYieldVault.d.ts.map +1 -0
  476. package/dist/modules/yield/yield.types.d.ts +27 -1
  477. package/dist/modules/yield/yield.types.d.ts.map +1 -1
  478. package/dist/services/eventEmitter/createEventEmitter.d.ts +1 -1
  479. package/dist/services/eventEmitter/createEventEmitter.d.ts.map +1 -1
  480. package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts +1 -1
  481. package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts.map +1 -1
  482. package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts +2 -2
  483. package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts.map +1 -1
  484. package/dist/services/storage/createStorage/formatForStorage/storageFormat.d.ts.map +1 -1
  485. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  486. package/dist/{updateAuthFromVerifyResponse-DcwFCD-Y.esm.js → updateAuthFromVerifyResponse-CFIyg2PR.esm.js} +62 -37
  487. package/dist/updateAuthFromVerifyResponse-CFIyg2PR.esm.js.map +1 -0
  488. package/dist/{updateAuthFromVerifyResponse-DtnQfhJ1.native.esm.js → updateAuthFromVerifyResponse-Cc1OH9i1.native.esm.js} +60 -37
  489. package/dist/updateAuthFromVerifyResponse-Cc1OH9i1.native.esm.js.map +1 -0
  490. package/dist/{updateAuthFromVerifyResponse-DD_rZDrQ.cjs → updateAuthFromVerifyResponse-Dvd40QfL.cjs} +67 -36
  491. package/dist/updateAuthFromVerifyResponse-Dvd40QfL.cjs.map +1 -0
  492. package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts +2 -2
  493. package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts.map +1 -1
  494. package/dist/utils/bufferToHex/bufferToHex.d.ts +1 -1
  495. package/dist/utils/bufferToHex/bufferToHex.d.ts.map +1 -1
  496. package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts +2 -2
  497. package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts.map +1 -1
  498. package/dist/utils/createTranslateRejection/createTranslateRejection.d.ts +1 -1
  499. package/dist/utils/createTranslateRejection/createTranslateRejection.d.ts.map +1 -1
  500. package/dist/utils/digestSHA256/digestSHA256.d.ts.map +1 -1
  501. package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts +1 -1
  502. package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts.map +1 -1
  503. package/dist/utils/getBuffer/getBuffer.d.ts.map +1 -1
  504. package/dist/utils/isEqualShallow/isEqualShallow.d.ts +1 -1
  505. package/dist/utils/isEqualShallow/isEqualShallow.d.ts.map +1 -1
  506. package/dist/utils/isMobile/isMobile.d.ts.map +1 -1
  507. package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts +1 -1
  508. package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts.map +1 -1
  509. package/dist/utils/objectKeys/index.d.ts +2 -0
  510. package/dist/utils/objectKeys/index.d.ts.map +1 -0
  511. package/dist/utils/objectKeys/objectKeys.d.ts +8 -0
  512. package/dist/utils/objectKeys/objectKeys.d.ts.map +1 -0
  513. package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts +2 -2
  514. package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts.map +1 -1
  515. package/dist/utils/p256Keygen/p256Keygen.d.ts +5 -3
  516. package/dist/utils/p256Keygen/p256Keygen.d.ts.map +1 -1
  517. package/dist/utils/p256Sign/p256Sign.d.ts +1 -1
  518. package/dist/utils/p256Sign/p256Sign.d.ts.map +1 -1
  519. package/dist/utils/randomString/randomString.d.ts.map +1 -1
  520. package/dist/utils/retryOnFail/retryOnFail.d.ts.map +1 -1
  521. package/dist/utils/setCookie/setCookie.d.ts +1 -1
  522. package/dist/utils/setCookie/setCookie.d.ts.map +1 -1
  523. package/dist/waas.cjs +1198 -4
  524. package/dist/waas.cjs.map +1 -1
  525. package/dist/waas.esm.js +1176 -7
  526. package/dist/waas.esm.js.map +1 -1
  527. package/dist/waas.native.esm.js +1176 -7
  528. package/dist/waas.native.esm.js.map +1 -1
  529. package/dist/waasCore.cjs +6 -6
  530. package/dist/waasCore.cjs.map +1 -1
  531. package/dist/waasCore.esm.js +6 -6
  532. package/dist/waasCore.esm.js.map +1 -1
  533. package/dist/waasCore.native.esm.js +6 -6
  534. package/dist/waasCore.native.esm.js.map +1 -1
  535. package/package.json +4 -4
  536. package/dist/getNetworkProviderFromNetworkId-CKWQLHSE.native.esm.js.map +0 -1
  537. package/dist/getNetworkProviderFromNetworkId-DBjVmBmy.esm.js.map +0 -1
  538. package/dist/getNetworkProviderFromNetworkId-OhoRrL_X.cjs.map +0 -1
  539. package/dist/getSignedSessionId-BncZzHdQ.esm.js.map +0 -1
  540. package/dist/getSignedSessionId-Dwqj_Cxx.native.esm.js.map +0 -1
  541. package/dist/getSignedSessionId-gwqj9h2p.cjs.map +0 -1
  542. package/dist/getWalletProviderByKey-C9TWlmDD.esm.js.map +0 -1
  543. package/dist/getWalletProviderByKey-CnpXHkmq.cjs.map +0 -1
  544. package/dist/getWalletProviderByKey-Dh1slnTF.native.esm.js.map +0 -1
  545. package/dist/isMfaRequiredForAction-BJGirRfD.native.esm.js.map +0 -1
  546. package/dist/isMfaRequiredForAction-BjRiou3K.cjs.map +0 -1
  547. package/dist/isMfaRequiredForAction-D5rzx59E.esm.js.map +0 -1
  548. package/dist/updateAuthFromVerifyResponse-DD_rZDrQ.cjs.map +0 -1
  549. package/dist/updateAuthFromVerifyResponse-DcwFCD-Y.esm.js.map +0 -1
  550. package/dist/updateAuthFromVerifyResponse-DtnQfhJ1.native.esm.js.map +0 -1
@@ -0,0 +1,34 @@
1
+ import type { WaasChainEnum, WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
2
+ import type { DynamicClient } from '../../../../client/types';
3
+ import type { PolicyRules, PolicyScope } from '../policies.types';
4
+ type GetPolicyParams = {
5
+ chain: WaasChainEnum;
6
+ chainIds?: number[];
7
+ scope: PolicyScope;
8
+ };
9
+ type GetPolicyResult = {
10
+ layerId: string;
11
+ rules: PolicyRules;
12
+ unmapped: WaasPolicyRule[];
13
+ updatedAt: Date;
14
+ };
15
+ /**
16
+ * Fetches a policy layer and reads its `chain`/`chainIds` scope back into
17
+ * the {@link PolicyRules} sugar map (see {@link desugarPolicyRules}). A
18
+ * layer can hold rules for more than one chain, so entries are narrowed to
19
+ * `chain`/`chainIds` first — the same scoping {@link createPolicy} uses —
20
+ * to keep the `getPolicy` → edit → `createPolicy` round-trip safe for
21
+ * multi-chain wallets. Calls the SDK API directly (no MPC step), so a
22
+ * rejection surfaces as a thrown error.
23
+ *
24
+ * @param params.scope - Which policy layer to read — see {@link resolvePolicyScope}.
25
+ * @param params.chain - The chain to read rules for.
26
+ * @param params.chainIds - The chain ids to read rules for; omit to read the wildcard rule matching every chain id of `chain`.
27
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
28
+ * @returns The recognized rules as a {@link PolicyRules} map, whatever wasn't recognized within `chain`/`chainIds`, and the layer's id and last-updated timestamp.
29
+ * @throws Via {@link resolvePolicyScope}'s scope-resolution errors.
30
+ * @notInstrumented
31
+ */
32
+ export declare const getPolicy: ({ chain, chainIds, scope }: GetPolicyParams, client?: DynamicClient) => Promise<GetPolicyResult>;
33
+ export {};
34
+ //# sourceMappingURL=getPolicy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPolicy.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/getPolicy/getPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAGhF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAG9D,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIlE,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,SAAS,+BACQ,eAAe,WACnC,aAAa,KACpB,OAAO,CAAC,eAAe,CAmBzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getPolicy } from './getPolicy';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/getPolicy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { WaasPolicyLayerResponse } from '@dynamic-labs/sdk-api-core';
2
+ import type { DynamicClient } from '../../../../client/types';
3
+ import type { ResolvedPolicyScope } from '../resolvePolicyScope';
4
+ type GetResolvedPolicyLayerParams = {
5
+ resolvedScope: ResolvedPolicyScope;
6
+ };
7
+ /**
8
+ * Fetches the policy layer a {@link ResolvedPolicyScope} points at. Shared
9
+ * by {@link createPolicy}, {@link getPolicy}, and {@link removePolicyRules}
10
+ * so the account/wallet/signer branch is written once.
11
+ *
12
+ * @notInstrumented
13
+ */
14
+ export declare const getResolvedPolicyLayer: ({ resolvedScope }: GetResolvedPolicyLayerParams, client: DynamicClient) => Promise<WaasPolicyLayerResponse>;
15
+ export {};
16
+ //# sourceMappingURL=getResolvedPolicyLayer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getResolvedPolicyLayer.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/getResolvedPolicyLayer/getResolvedPolicyLayer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAG9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,KAAK,4BAA4B,GAAG;IAClC,aAAa,EAAE,mBAAmB,CAAC;CACpC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,sBACd,4BAA4B,UACvC,aAAa,KACpB,OAAO,CAAC,uBAAuB,CAgCjC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getResolvedPolicyLayer } from './getResolvedPolicyLayer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/getResolvedPolicyLayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,25 @@
1
+ import type { WaasPolicyLayerResponse } from '@dynamic-labs/sdk-api-core';
2
+ import type { DynamicClient } from '../../../../client/types';
3
+ import type { WalletAccount } from '../../../wallets/walletAccount';
4
+ type GetSignerPolicyLayerParams = {
5
+ /** Targets a share set other than the caller's own. Omit to read the caller's own active share set. */
6
+ shareSetId?: string;
7
+ walletAccount: WalletAccount;
8
+ };
9
+ /**
10
+ * Fetches a signer's active policy rules (the signer-Layer) — the caller's
11
+ * own active share set by default, or another share set on the same wallet
12
+ * (e.g. a delegated share set) when `shareSetId` is given. Calls the SDK API
13
+ * directly (no MPC step), so a rejection surfaces as a thrown error.
14
+ *
15
+ * @param params.walletAccount - The wallet account whose signer-Layer to read.
16
+ * @param [params.shareSetId] - The share set to target; defaults to the caller's own.
17
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
18
+ * @returns The signer-Layer, including its current rules.
19
+ * @throws {ValueMustBeDefinedError} When `walletAccount` has no `verifiedCredentialId` (it isn't a verified wallet account yet).
20
+ * @throws {APIError} When the SDK API request fails, for example an unauthorized, not-found, or server error response.
21
+ * @notInstrumented
22
+ */
23
+ export declare const getSignerPolicyLayer: ({ shareSetId, walletAccount }: GetSignerPolicyLayerParams, client?: DynamicClient) => Promise<WaasPolicyLayerResponse>;
24
+ export {};
25
+ //# sourceMappingURL=getSignerPolicyLayer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSignerPolicyLayer.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/getSignerPolicyLayer/getSignerPolicyLayer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAI1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAG9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEpE,KAAK,0BAA0B,GAAG;IAChC,uGAAuG;IACvG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,oBAAoB,kCACA,0BAA0B,WACjD,aAAa,KACpB,OAAO,CAAC,uBAAuB,CAcjC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getSignerPolicyLayer } from './getSignerPolicyLayer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/getSignerPolicyLayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { WaasPolicyLayerResponse } from '@dynamic-labs/sdk-api-core';
2
+ import type { DynamicClient } from '../../../../client/types';
3
+ import type { WalletAccount } from '../../../wallets/walletAccount';
4
+ type GetWalletPolicyLayerParams = {
5
+ walletAccount: WalletAccount;
6
+ };
7
+ /**
8
+ * Fetches a wallet's active policy rules (the wallet-Layer). Calls the SDK
9
+ * API directly (no MPC step), so a rejection surfaces as a thrown error.
10
+ *
11
+ * @param params.walletAccount - The wallet account to read policy rules for.
12
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
13
+ * @returns The wallet-Layer, including its current rules.
14
+ * @throws {ValueMustBeDefinedError} When `walletAccount` has no `verifiedCredentialId` (it isn't a verified wallet account yet).
15
+ * @throws {APIError} When the SDK API request fails, for example an unauthorized, not-found, or server error response.
16
+ * @notInstrumented
17
+ */
18
+ export declare const getWalletPolicyLayer: ({ walletAccount }: GetWalletPolicyLayerParams, client?: DynamicClient) => Promise<WaasPolicyLayerResponse>;
19
+ export {};
20
+ //# sourceMappingURL=getWalletPolicyLayer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWalletPolicyLayer.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/getWalletPolicyLayer/getWalletPolicyLayer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAI1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAG9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEpE,KAAK,0BAA0B,GAAG;IAChC,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB,sBACZ,0BAA0B,WACrC,aAAa,KACpB,OAAO,CAAC,uBAAuB,CAajC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getWalletPolicyLayer } from './getWalletPolicyLayer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/getWalletPolicyLayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
2
+ /**
3
+ * Checks both the current `addresses` array and the legacy singular `address` field.
4
+ * @notInstrumented
5
+ */
6
+ export declare const hasAddresses: (rule: WaasPolicyRule) => boolean;
7
+ //# sourceMappingURL=hasAddresses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hasAddresses.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/hasAddresses/hasAddresses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE;;;GAGG;AACH,eAAO,MAAM,YAAY,SAAU,cAAc,KAAG,OAE9B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { hasAddresses } from './hasAddresses';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/hasAddresses/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
2
+ /**
3
+ * @notInstrumented
4
+ */
5
+ export declare const hasUnrecognizedFields: (rule: WaasPolicyRule) => boolean;
6
+ //# sourceMappingURL=hasUnrecognizedFields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hasUnrecognizedFields.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/hasUnrecognizedFields/hasUnrecognizedFields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAuBjE;;GAEG;AACH,eAAO,MAAM,qBAAqB,SAAU,cAAc,KAAG,OAML,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { hasUnrecognizedFields } from './hasUnrecognizedFields';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/hasUnrecognizedFields/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { isPolicyRuleDeletionMarker } from './isPolicyRuleDeletionMarker';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/isPolicyRuleDeletionMarker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
2
+ import type { PolicyRuleDeletionMarker } from '../policies.types';
3
+ /**
4
+ * Recognizes a policy-Layer deletion marker — the enclave's stand-in for a
5
+ * rule it couldn't drop outright, kept so the removal stays attributable.
6
+ * Matches on the entry's exact key set, not field presence, since the read
7
+ * response types every entry as a live rule.
8
+ *
9
+ * @param entry - The raw policy-Layer rule entry to check.
10
+ * @returns Whether `entry` is a deletion marker rather than a live rule.
11
+ * @notInstrumented
12
+ */
13
+ export declare const isPolicyRuleDeletionMarker: (entry: PolicyRuleDeletionMarker | WaasPolicyRule) => entry is PolicyRuleDeletionMarker;
14
+ //# sourceMappingURL=isPolicyRuleDeletionMarker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isPolicyRuleDeletionMarker.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/isPolicyRuleDeletionMarker/isPolicyRuleDeletionMarker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AASlE;;;;;;;;;GASG;AAEH,eAAO,MAAM,0BAA0B,UAC9B,wBAAwB,GAAG,cAAc,KAC/C,KAAK,IAAI,wBASX,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { matchExistingRules } from './matchExistingRules';
2
+ export type { RuleMatch } from './matchExistingRules';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/matchExistingRules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,33 @@
1
+ import type { WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
2
+ type MatchExistingRulesParams = {
3
+ builtRule: WaasPolicyRule;
4
+ consumedRuleIds: Set<string>;
5
+ existingRulesInScope: WaasPolicyRule[];
6
+ };
7
+ /** A rule that can be reused or superseded always has a `ruleId` — see the `matches` filter below. */
8
+ type MatchedRule = WaasPolicyRule & {
9
+ ruleId: string;
10
+ };
11
+ export type RuleMatch = {
12
+ /** The rule to upsert `builtRule` onto, if any existing rule covers one of its keys. */
13
+ reused: MatchedRule | undefined;
14
+ /** Rules fully absorbed into `builtRule` — safe to remove. */
15
+ superseded: MatchedRule[];
16
+ };
17
+ /**
18
+ * Matches existing rules covering any of `builtRule`'s keys. Only rules
19
+ * being *absorbed* into it — i.e. no other match claims the same key — are
20
+ * superseded (safe to remove). Two matches claiming the SAME key (e.g. two
21
+ * hand-authored `denyAddresses` rules for this chain scope) are a
22
+ * legitimate duplicate, not one superseding the other, so are left alone
23
+ * rather than removed.
24
+ *
25
+ * @param params.builtRule - The newly built rule to match existing rules against.
26
+ * @param params.consumedRuleIds - `ruleId`s already reused or removed for a prior built rule this call, so none is touched twice.
27
+ * @param params.existingRulesInScope - The layer's rules already narrowed to the target chain scope.
28
+ * @returns The rule to reuse `builtRule`'s upsert onto (if any), and every rule it supersedes.
29
+ * @notInstrumented
30
+ */
31
+ export declare const matchExistingRules: ({ builtRule, consumedRuleIds, existingRulesInScope, }: MatchExistingRulesParams) => RuleMatch;
32
+ export {};
33
+ //# sourceMappingURL=matchExistingRules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"matchExistingRules.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/matchExistingRules/matchExistingRules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAMjE,KAAK,wBAAwB,GAAG;IAC9B,SAAS,EAAE,cAAc,CAAC;IAC1B,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,oBAAoB,EAAE,cAAc,EAAE,CAAC;CACxC,CAAC;AAEF,sGAAsG;AACtG,KAAK,WAAW,GAAG,cAAc,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvD,MAAM,MAAM,SAAS,GAAG;IACtB,wFAAwF;IACxF,MAAM,EAAE,WAAW,GAAG,SAAS,CAAC;IAChC,8DAA8D;IAC9D,UAAU,EAAE,WAAW,EAAE,CAAC;CAC3B,CAAC;AAKF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,0DAI5B,wBAAwB,KAAG,SA2B7B,CAAC"}
@@ -0,0 +1,91 @@
1
+ import type { WaasChainEnum, WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
2
+ import type { PolicyRuleKind } from './policyRuleKinds';
3
+ /**
4
+ * The fields a caller supplies for a policy rule, minus `ruleType` — set
5
+ * instead via {@link buildAllowPolicyRule} or {@link buildDenyPolicyRule}.
6
+ */
7
+ export type PolicyRuleInput = Omit<WaasPolicyRule, 'ruleType'>;
8
+ /**
9
+ * A value cap on a single transaction, in the smallest unit of the asset
10
+ * (e.g. wei). Omit `asset` to cap the chain's native asset.
11
+ */
12
+ export type PolicyRuleMaxAmountPerTransaction = {
13
+ amount: string;
14
+ asset?: string;
15
+ };
16
+ /**
17
+ * The chain scope every rule a {@link PolicyRules} key produces is stamped
18
+ * with — but not every kind's enforcement reads it back (some
19
+ * `operationRestrictions` kinds ignore it; see the `blockExport` rule
20
+ * builder).
21
+ */
22
+ export type RuleKindContext = {
23
+ chain: WaasChainEnum;
24
+ chainIds: number[];
25
+ };
26
+ /**
27
+ * The params every rule kind's `buildRule` takes — shared here so the
28
+ * individual builders and `RuleKindDefinition.buildRule` in
29
+ * `policyRuleKinds.ts` can't drift out of sync.
30
+ */
31
+ export type BuildRuleParams = {
32
+ context: RuleKindContext;
33
+ rules: PolicyRules;
34
+ };
35
+ /**
36
+ * The declarative, sugared surface over a wallet's or signer's policy rules
37
+ * — one key per concern instead of a full {@link WaasPolicyRule}. Setting a
38
+ * key again replaces its rule rather than adding a second one.
39
+ *
40
+ * Deliberately excludes `valueLimit.totalLimit`, `contractAbi`,
41
+ * `functionName`, `argumentConstraints`, `blockClientSigning`,
42
+ * `blockRevocation`, and `disableBlockaidSecurityChecks` — the evaluator
43
+ * has no read site for these against a wallet/signer layer, so a shortcut
44
+ * would silently no-op. Use {@link upsertWalletPolicyRule} or
45
+ * {@link upsertSignerPolicyRule} directly instead.
46
+ */
47
+ export type PolicyRules = {
48
+ /** Restricts transactions to only these addresses (default-deny of everything else). Combine freely with `maxAmountPerTransaction`, which is merged onto the same rule rather than emitting a second one. */
49
+ allowAddresses?: string[];
50
+ /** Blocks key-export operations, enforced wallet-wide — despite the rule carrying `chain`/`chainIds`, this is not scoped to them. */
51
+ blockExport?: boolean;
52
+ /** Denies these addresses, independent of `allowAddresses`. */
53
+ denyAddresses?: string[];
54
+ /** Caps the value of a single transaction. Merged onto the `allowAddresses` rule when both are given, otherwise stands alone. */
55
+ maxAmountPerTransaction?: PolicyRuleMaxAmountPerTransaction;
56
+ /**
57
+ * Overrides the default human-readable name a rule kind would otherwise get
58
+ * (e.g. `'Allowed addresses'`). When `allowAddresses` and
59
+ * `maxAmountPerTransaction` are merged onto one rule, `allowAddresses`'s
60
+ * name wins.
61
+ */
62
+ names?: Partial<Record<PolicyRuleKind, string>>;
63
+ };
64
+ /**
65
+ * A policy-Layer deletion marker — the enclave's stand-in for a rule it
66
+ * removed but couldn't drop outright, kept so the removal stays
67
+ * attributable. Layer reads type every entry as a live rule, so a marker
68
+ * must be recognized structurally — see {@link isPolicyRuleDeletionMarker}.
69
+ */
70
+ export type PolicyRuleDeletionMarker = {
71
+ deletedById: string;
72
+ deletedByType: string;
73
+ ruleId: string;
74
+ };
75
+ /**
76
+ * Identifies which policy layer a {@link PolicyRules} operation targets: a
77
+ * business account's account-Layer (by `businessAccountId`), a wallet's own
78
+ * wallet-Layer, or a specific share set's signer-Layer (by `walletId` +
79
+ * `shareSetId`, or by `shareSetId` alone when the owning wallet isn't
80
+ * already known). Resolved to a concrete API target by
81
+ * {@link resolvePolicyScope}.
82
+ */
83
+ export type PolicyScope = {
84
+ businessAccountId: string;
85
+ } | {
86
+ shareSetId?: string;
87
+ walletId: string;
88
+ } | {
89
+ shareSetId: string;
90
+ };
91
+ //# sourceMappingURL=policies.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policies.types.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/policies/policies.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACf,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,eAAe,CAAC;IACzB,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,6MAA6M;IAC7M,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,qIAAqI;IACrI,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,+DAA+D;IAC/D,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,iIAAiI;IACjI,uBAAuB,CAAC,EAAE,iCAAiC,CAAC;IAC5D;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC;CACjD,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,GACnB;IAAE,iBAAiB,EAAE,MAAM,CAAA;CAAE,GAC7B;IAAE,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GACzC;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { PolicyRuleKind } from './policyRuleKinds';
2
+ /**
3
+ * Each rule kind's name when the caller doesn't override it via
4
+ * `PolicyRules['names']`. Shared between the `build*Rule` functions and
5
+ * `desugarPolicyRules` so a rename can't drift the two out of sync — the
6
+ * same reason `RULE_KINDS` in `policyRuleKinds.ts` is a single table
7
+ * instead of parallel switches.
8
+ */
9
+ export declare const DEFAULT_POLICY_RULE_NAMES: Record<PolicyRuleKind, string>;
10
+ //# sourceMappingURL=policyRuleDefaultNames.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policyRuleDefaultNames.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/policies/policyRuleDefaultNames.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAKpE,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
2
+ import type { BuildRuleParams, PolicyRules } from './policies.types';
3
+ export type { RuleKindContext } from './policies.types';
4
+ /**
5
+ * Kept as a data table, not parallel switches in
6
+ * `expandPolicyRules`/`desugarPolicyRules`, so the two can't drift out of sync.
7
+ */
8
+ type RuleKindDefinition = {
9
+ /**
10
+ * Builds this kind's rule from the full sugar map, not just this key's
11
+ * own value, so a key can be absorbed into another kind's rule instead of
12
+ * emitting its own (see `allowAddresses` / `maxAmountPerTransaction`).
13
+ */
14
+ buildRule: (params: BuildRuleParams) => WaasPolicyRule | undefined;
15
+ /**
16
+ * Recognizes an existing rule as this kind and reads its sugar value
17
+ * back. Undefined when it doesn't match, including when it carries a
18
+ * field outside the sugar vocabulary, so that data is never silently
19
+ * dropped.
20
+ */
21
+ readRule: (rule: WaasPolicyRule) => Partial<PolicyRules> | undefined;
22
+ };
23
+ /** The four keys of {@link PolicyRules}, each of which produces its own rule. */
24
+ export declare const RULE_KIND_KEYS: readonly ["blockExport", "allowAddresses", "denyAddresses", "maxAmountPerTransaction"];
25
+ export type PolicyRuleKind = (typeof RULE_KIND_KEYS)[number];
26
+ /**
27
+ * The single source of truth {@link expandPolicyRules} and
28
+ * {@link desugarPolicyRules} both build on. Entries are alphabetized
29
+ * (enforced by lint), not grouped by relationship — `allowAddresses` and
30
+ * `maxAmountPerTransaction` cooperate (see their builders' comments) despite
31
+ * sitting apart here.
32
+ */
33
+ export declare const RULE_KINDS: Record<PolicyRuleKind, RuleKindDefinition>;
34
+ //# sourceMappingURL=policyRuleKinds.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policyRuleKinds.d.ts","sourceRoot":"","sources":["../../../../src/modules/waas/policies/policyRuleKinds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAMjE,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAMrE,YAAY,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD;;;GAGG;AACH,KAAK,kBAAkB,GAAG;IACxB;;;;OAIG;IACH,SAAS,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,cAAc,GAAG,SAAS,CAAC;IACnE;;;;;OAKG;IACH,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,OAAO,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;CACtE,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,cAAc,wFAKjB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7D;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,cAAc,EAAE,kBAAkB,CAiBjE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { readAllowAddressesRule } from './readAllowAddressesRule';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/readAllowAddressesRule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
2
+ import type { PolicyRules } from '../policies.types';
3
+ /**
4
+ * Recognizes an existing rule as `allowAddresses`, reading back a merged
5
+ * `maxAmountPerTransaction` cap too when the rule carries one.
6
+ * @notInstrumented
7
+ */
8
+ export declare const readAllowAddressesRule: (rule: WaasPolicyRule) => Partial<PolicyRules> | undefined;
9
+ //# sourceMappingURL=readAllowAddressesRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readAllowAddressesRule.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/readAllowAddressesRule/readAllowAddressesRule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrD;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,SAC3B,cAAc,KACnB,OAAO,CAAC,WAAW,CAAC,GAAG,SAoBzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { readBlockExportRule } from './readBlockExportRule';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/readBlockExportRule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
2
+ import type { PolicyRules } from '../policies.types';
3
+ /**
4
+ * Recognizes an existing rule as `blockExport`.
5
+ * @notInstrumented
6
+ */
7
+ export declare const readBlockExportRule: (rule: WaasPolicyRule) => Partial<PolicyRules> | undefined;
8
+ //# sourceMappingURL=readBlockExportRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readBlockExportRule.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/readBlockExportRule/readBlockExportRule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,SACxB,cAAc,KACnB,OAAO,CAAC,WAAW,CAAC,GAAG,SAUzB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { readCoveredRule } from './readCoveredRule';
2
+ export type { CoveredRule } from './readCoveredRule';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/readCoveredRule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,31 @@
1
+ import type { WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
2
+ import type { PolicyRules } from '../policies.types';
3
+ import { type PolicyRuleKind } from '../policyRuleKinds';
4
+ export type CoveredRule = {
5
+ keys: PolicyRuleKind[];
6
+ /** The rule kind whose builder owns this rule's `name` when kinds are merged (e.g. `allowAddresses` over `maxAmountPerTransaction`). */
7
+ kind: PolicyRuleKind;
8
+ values: Partial<PolicyRules>;
9
+ };
10
+ /**
11
+ * Statically asserts every {@link PolicyRuleKind} is a {@link PolicyRules}
12
+ * key, so `objectKeys(values)` below is safe to widen to `PolicyRuleKind[]`
13
+ * without a runtime cast — fails to compile if a kind and its sugar key
14
+ * ever drift apart. Exported (unused otherwise) purely so `noUnusedLocals`
15
+ * leaves it alone; not part of this module's public surface.
16
+ */
17
+ export type KindsCoverPolicyRules = PolicyRuleKind extends keyof PolicyRules ? true : never;
18
+ /**
19
+ * The sugar keys and values an existing rule structurally represents — a
20
+ * single rule can cover more than one key (see `allowAddresses` absorbing
21
+ * `maxAmountPerTransaction` in `policyRuleKinds.ts`). A rule carrying a
22
+ * per-rule `modifiableBySigner` grant is never matched here — treating it
23
+ * as covering keys would let a caller's batch reuse/replace/remove it and
24
+ * silently revoke that signer's edit permission (mirrors `desugarPolicyRules`).
25
+ *
26
+ * @param rule - The existing policy-layer rule to read.
27
+ * @returns The sugar keys and values the rule covers, or undefined when it matches no kind or carries a signer grant.
28
+ * @notInstrumented
29
+ */
30
+ export declare const readCoveredRule: (rule: WaasPolicyRule) => CoveredRule | undefined;
31
+ //# sourceMappingURL=readCoveredRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readCoveredRule.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/readCoveredRule/readCoveredRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAGjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EACL,KAAK,cAAc,EAGpB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,wIAAwI;IACxI,IAAI,EAAE,cAAc,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;CAC9B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,qBAAqB,GAAG,cAAc,SAAS,MAAM,WAAW,GACxE,IAAI,GACJ,KAAK,CAAC;AAEV;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,SACpB,cAAc,KACnB,WAAW,GAAG,SAehB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { readDenyAddressesRule } from './readDenyAddressesRule';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/readDenyAddressesRule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
2
+ import type { PolicyRules } from '../policies.types';
3
+ /**
4
+ * Recognizes an existing rule as `denyAddresses`.
5
+ * @notInstrumented
6
+ */
7
+ export declare const readDenyAddressesRule: (rule: WaasPolicyRule) => Partial<PolicyRules> | undefined;
8
+ //# sourceMappingURL=readDenyAddressesRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readDenyAddressesRule.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/readDenyAddressesRule/readDenyAddressesRule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,qBAAqB,SAC1B,cAAc,KACnB,OAAO,CAAC,WAAW,CAAC,GAAG,SAUzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { readMaxAmountPerTransactionRule } from './readMaxAmountPerTransactionRule';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/readMaxAmountPerTransactionRule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
2
+ import type { PolicyRules } from '../policies.types';
3
+ /**
4
+ * Recognizes an existing rule as a standalone `maxAmountPerTransaction` cap.
5
+ * @notInstrumented
6
+ */
7
+ export declare const readMaxAmountPerTransactionRule: (rule: WaasPolicyRule) => Partial<PolicyRules> | undefined;
8
+ //# sourceMappingURL=readMaxAmountPerTransactionRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readMaxAmountPerTransactionRule.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/readMaxAmountPerTransactionRule/readMaxAmountPerTransactionRule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrD;;;GAGG;AACH,eAAO,MAAM,+BAA+B,SACpC,cAAc,KACnB,OAAO,CAAC,WAAW,CAAC,GAAG,SAezB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { readValueLimit } from './readValueLimit';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/readValueLimit/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { PolicyRuleMaxAmountPerTransaction } from '../policies.types';
2
+ /**
3
+ * Reads a stored `valueLimit` back into a {@link PolicyRuleMaxAmountPerTransaction}.
4
+ * @notInstrumented
5
+ */
6
+ export declare const readValueLimit: ({ asset, maxPerCall, }: {
7
+ asset: string | null | undefined;
8
+ maxPerCall: string;
9
+ }) => PolicyRuleMaxAmountPerTransaction;
10
+ //# sourceMappingURL=readValueLimit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readValueLimit.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/readValueLimit/readValueLimit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,mBAAmB,CAAC;AAE3E;;;GAGG;AACH,eAAO,MAAM,cAAc,2BAGxB;IACD,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;CACpB,KAAG,iCAGF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { removeAccountPolicyRule } from './removeAccountPolicyRule';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/waas/policies/removeAccountPolicyRule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC"}