@ordanetwork/sdk 1.3.0 → 2.0.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/CHANGELOG.md +92 -0
- package/README.md +37 -34
- package/dist/browser/api/Balances.d.ts +2 -2
- package/dist/browser/api/JWT.d.ts +2 -2
- package/dist/browser/api/OffRamp.d.ts +2 -2
- package/dist/browser/api/OnRamp.d.ts +2 -2
- package/dist/browser/api/Prices.d.ts +2 -2
- package/dist/browser/api/Quote.d.ts +2 -2
- package/dist/browser/api/Recipient.d.ts +2 -2
- package/dist/browser/api/Transaction.d.ts +2 -2
- package/dist/browser/api/Transaction.js +1 -1
- package/dist/browser/auth/hmac.js +1 -1
- package/dist/browser/crypto/factory.d.ts +1 -1
- package/dist/browser/crypto/factory.js +2 -2
- package/dist/browser/crypto/node-crypto.d.ts +1 -1
- package/dist/browser/crypto/node-crypto.js +1 -1
- package/dist/browser/crypto/web-crypto.d.ts +1 -1
- package/dist/browser/http/client.d.ts +2 -2
- package/dist/browser/http/client.js +3 -3
- package/dist/browser/index.d.ts +27 -31
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +33 -37
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/types/guards.d.ts +3 -3
- package/dist/browser/types/index.d.ts +6 -8
- package/dist/browser/types/index.d.ts.map +1 -1
- package/dist/browser/types/index.js +3 -5
- package/dist/browser/types/index.js.map +1 -1
- package/dist/browser/types/jwt.d.ts +1 -2
- package/dist/browser/types/jwt.d.ts.map +1 -1
- package/dist/browser/types/offramp.d.ts +2 -2
- package/dist/browser/types/onramp.d.ts +1 -1
- package/dist/cjs/index.d.ts +2 -6
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +7 -20
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +0 -2
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +0 -2
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/types/jwt.d.ts +1 -2
- package/dist/cjs/types/jwt.d.ts.map +1 -1
- package/dist/esm/api/Balances.d.ts +2 -2
- package/dist/esm/api/JWT.d.ts +2 -2
- package/dist/esm/api/OffRamp.d.ts +2 -2
- package/dist/esm/api/OnRamp.d.ts +2 -2
- package/dist/esm/api/Prices.d.ts +2 -2
- package/dist/esm/api/Quote.d.ts +2 -2
- package/dist/esm/api/Recipient.d.ts +2 -2
- package/dist/esm/api/Transaction.d.ts +2 -2
- package/dist/esm/api/Transaction.js +1 -1
- package/dist/esm/auth/hmac.js +1 -1
- package/dist/esm/crypto/factory.d.ts +1 -1
- package/dist/esm/crypto/factory.js +2 -2
- package/dist/esm/crypto/node-crypto.d.ts +1 -1
- package/dist/esm/crypto/node-crypto.js +1 -1
- package/dist/esm/crypto/web-crypto.d.ts +1 -1
- package/dist/esm/http/client.d.ts +2 -2
- package/dist/esm/http/client.js +3 -3
- package/dist/esm/index.d.ts +27 -31
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +33 -37
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/guards.d.ts +3 -3
- package/dist/esm/types/index.d.ts +6 -8
- package/dist/esm/types/index.d.ts.map +1 -1
- package/dist/esm/types/index.js +3 -5
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/types/jwt.d.ts +1 -2
- package/dist/esm/types/jwt.d.ts.map +1 -1
- package/dist/esm/types/offramp.d.ts +2 -2
- package/dist/esm/types/onramp.d.ts +1 -1
- package/dist/types/index.d.ts +2 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +0 -2
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/jwt.d.ts +1 -2
- package/dist/types/types/jwt.d.ts.map +1 -1
- package/package.json +9 -94
- package/dist/browser/react/assets/animations/completed.json +0 -1
- package/dist/browser/react/assets/animations/converting.json +0 -1
- package/dist/browser/react/assets/animations/error.json +0 -1
- package/dist/browser/react/assets/animations/index.d.ts +0 -4
- package/dist/browser/react/assets/animations/index.d.ts.map +0 -1
- package/dist/browser/react/assets/animations/index.js +0 -6
- package/dist/browser/react/assets/animations/index.js.map +0 -1
- package/dist/browser/react/assets/chains/index.d.ts +0 -3
- package/dist/browser/react/assets/chains/index.d.ts.map +0 -1
- package/dist/browser/react/assets/chains/index.js +0 -31
- package/dist/browser/react/assets/chains/index.js.map +0 -1
- package/dist/browser/react/assets/icons/index.d.ts +0 -10
- package/dist/browser/react/assets/icons/index.d.ts.map +0 -1
- package/dist/browser/react/assets/icons/index.js +0 -10
- package/dist/browser/react/assets/icons/index.js.map +0 -1
- package/dist/browser/react/assets/index.d.ts +0 -6
- package/dist/browser/react/assets/index.d.ts.map +0 -1
- package/dist/browser/react/assets/index.js +0 -9
- package/dist/browser/react/assets/index.js.map +0 -1
- package/dist/browser/react/assets/tokens/index.d.ts +0 -3
- package/dist/browser/react/assets/tokens/index.d.ts.map +0 -1
- package/dist/browser/react/assets/tokens/index.js +0 -45
- package/dist/browser/react/assets/tokens/index.js.map +0 -1
- package/dist/browser/react/components/Widget/Widget.d.ts +0 -2
- package/dist/browser/react/components/Widget/Widget.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/Widget.js +0 -682
- package/dist/browser/react/components/Widget/Widget.js.map +0 -1
- package/dist/browser/react/components/Widget/components/CollapsibleDetails.d.ts +0 -15
- package/dist/browser/react/components/Widget/components/CollapsibleDetails.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/CollapsibleDetails.js +0 -50
- package/dist/browser/react/components/Widget/components/CollapsibleDetails.js.map +0 -1
- package/dist/browser/react/components/Widget/components/CustomDialogHeader.d.ts +0 -13
- package/dist/browser/react/components/Widget/components/CustomDialogHeader.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/CustomDialogHeader.js +0 -27
- package/dist/browser/react/components/Widget/components/CustomDialogHeader.js.map +0 -1
- package/dist/browser/react/components/Widget/components/Footer.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/Footer.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/Footer.js +0 -6
- package/dist/browser/react/components/Widget/components/Footer.js.map +0 -1
- package/dist/browser/react/components/Widget/components/Header.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/Header.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/Header.js +0 -33
- package/dist/browser/react/components/Widget/components/Header.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts +0 -15
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js +0 -79
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts +0 -8
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js +0 -79
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts +0 -21
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js +0 -90
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts +0 -3
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js +0 -2
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts +0 -9
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js +0 -15
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts +0 -3
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/index.js +0 -3
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/index.js +0 -2
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/Recipient.d.ts +0 -8
- package/dist/browser/react/components/Widget/components/Recipient.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/Recipient.js +0 -9
- package/dist/browser/react/components/Widget/components/Recipient.js.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts +0 -13
- package/dist/browser/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/RecipientDialog.js +0 -114
- package/dist/browser/react/components/Widget/components/RecipientDialog/RecipientDialog.js.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts +0 -24
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js +0 -49
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/index.js +0 -2
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/RecipientDialog/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/index.js +0 -2
- package/dist/browser/react/components/Widget/components/RecipientDialog/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts +0 -15
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js +0 -100
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts +0 -27
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js +0 -10
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts +0 -18
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js +0 -55
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts +0 -14
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js +0 -35
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts +0 -12
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js +0 -11
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts +0 -4
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js +0 -4
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js +0 -2
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/index.js +0 -2
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/index.js +0 -2
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TokenInput.d.ts +0 -16
- package/dist/browser/react/components/Widget/components/TokenInput.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TokenInput.js +0 -21
- package/dist/browser/react/components/Widget/components/TokenInput.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts +0 -25
- package/dist/browser/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/TransactionDialog.js +0 -33
- package/dist/browser/react/components/Widget/components/TransactionDialog/TransactionDialog.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts +0 -17
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js +0 -313
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts +0 -21
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js +0 -75
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts +0 -16
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js +0 -93
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts +0 -10
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js +0 -32
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts +0 -9
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js +0 -32
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts +0 -17
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js +0 -37
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts +0 -4
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js +0 -4
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts +0 -18
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js +0 -357
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts +0 -17
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js +0 -45
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts +0 -10
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js +0 -49
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/index.d.ts +0 -5
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/index.js +0 -5
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts +0 -7
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js +0 -25
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts +0 -7
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js +0 -30
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts +0 -12
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js +0 -17
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts +0 -7
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js +0 -68
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts +0 -16
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js +0 -36
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/index.d.ts +0 -3
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/index.js +0 -3
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/index.js +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/index.d.ts +0 -13
- package/dist/browser/react/components/Widget/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/index.js +0 -13
- package/dist/browser/react/components/Widget/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/shared/TokenIconDisplay.d.ts +0 -15
- package/dist/browser/react/components/Widget/components/shared/TokenIconDisplay.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/shared/TokenIconDisplay.js +0 -31
- package/dist/browser/react/components/Widget/components/shared/TokenIconDisplay.js.map +0 -1
- package/dist/browser/react/components/Widget/components/shared/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/shared/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/shared/index.js +0 -2
- package/dist/browser/react/components/Widget/components/shared/index.js.map +0 -1
- package/dist/browser/react/components/Widget/index.d.ts +0 -3
- package/dist/browser/react/components/Widget/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/index.js +0 -2
- package/dist/browser/react/components/Widget/index.js.map +0 -1
- package/dist/browser/react/components/Widget/types/quote.d.ts +0 -205
- package/dist/browser/react/components/Widget/types/quote.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/types/quote.js +0 -53
- package/dist/browser/react/components/Widget/types/quote.js.map +0 -1
- package/dist/browser/react/components/Widget/types.d.ts +0 -24
- package/dist/browser/react/components/Widget/types.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/types.js +0 -3
- package/dist/browser/react/components/Widget/types.js.map +0 -1
- package/dist/browser/react/components/ui/badge.d.ts +0 -10
- package/dist/browser/react/components/ui/badge.d.ts.map +0 -1
- package/dist/browser/react/components/ui/badge.js +0 -21
- package/dist/browser/react/components/ui/badge.js.map +0 -1
- package/dist/browser/react/components/ui/button.d.ts +0 -12
- package/dist/browser/react/components/ui/button.d.ts.map +0 -1
- package/dist/browser/react/components/ui/button.js +0 -34
- package/dist/browser/react/components/ui/button.js.map +0 -1
- package/dist/browser/react/components/ui/dialog.d.ts +0 -18
- package/dist/browser/react/components/ui/dialog.d.ts.map +0 -1
- package/dist/browser/react/components/ui/dialog.js +0 -41
- package/dist/browser/react/components/ui/dialog.js.map +0 -1
- package/dist/browser/react/components/ui/drawer.d.ts +0 -23
- package/dist/browser/react/components/ui/drawer.d.ts.map +0 -1
- package/dist/browser/react/components/ui/drawer.js +0 -24
- package/dist/browser/react/components/ui/drawer.js.map +0 -1
- package/dist/browser/react/components/ui/index.d.ts +0 -12
- package/dist/browser/react/components/ui/index.d.ts.map +0 -1
- package/dist/browser/react/components/ui/index.js +0 -10
- package/dist/browser/react/components/ui/index.js.map +0 -1
- package/dist/browser/react/components/ui/input.d.ts +0 -4
- package/dist/browser/react/components/ui/input.d.ts.map +0 -1
- package/dist/browser/react/components/ui/input.js +0 -9
- package/dist/browser/react/components/ui/input.js.map +0 -1
- package/dist/browser/react/components/ui/label.d.ts +0 -6
- package/dist/browser/react/components/ui/label.d.ts.map +0 -1
- package/dist/browser/react/components/ui/label.js +0 -10
- package/dist/browser/react/components/ui/label.js.map +0 -1
- package/dist/browser/react/components/ui/popover.d.ts +0 -8
- package/dist/browser/react/components/ui/popover.d.ts.map +0 -1
- package/dist/browser/react/components/ui/popover.js +0 -12
- package/dist/browser/react/components/ui/popover.js.map +0 -1
- package/dist/browser/react/components/ui/select.d.ts +0 -14
- package/dist/browser/react/components/ui/select.d.ts.map +0 -1
- package/dist/browser/react/components/ui/select.js +0 -27
- package/dist/browser/react/components/ui/select.js.map +0 -1
- package/dist/browser/react/components/ui/sheet.d.ts +0 -26
- package/dist/browser/react/components/ui/sheet.d.ts.map +0 -1
- package/dist/browser/react/components/ui/sheet.js +0 -38
- package/dist/browser/react/components/ui/sheet.js.map +0 -1
- package/dist/browser/react/config/appkit.d.ts +0 -2719
- package/dist/browser/react/config/appkit.d.ts.map +0 -1
- package/dist/browser/react/config/appkit.js +0 -79
- package/dist/browser/react/config/appkit.js.map +0 -1
- package/dist/browser/react/config/index.d.ts +0 -3
- package/dist/browser/react/config/index.d.ts.map +0 -1
- package/dist/browser/react/config/index.js +0 -2
- package/dist/browser/react/config/index.js.map +0 -1
- package/dist/browser/react/hooks/index.d.ts +0 -18
- package/dist/browser/react/hooks/index.d.ts.map +0 -1
- package/dist/browser/react/hooks/index.js +0 -11
- package/dist/browser/react/hooks/index.js.map +0 -1
- package/dist/browser/react/hooks/useBalances.d.ts +0 -41
- package/dist/browser/react/hooks/useBalances.d.ts.map +0 -1
- package/dist/browser/react/hooks/useBalances.js +0 -65
- package/dist/browser/react/hooks/useBalances.js.map +0 -1
- package/dist/browser/react/hooks/useLocalRecipients.d.ts +0 -69
- package/dist/browser/react/hooks/useLocalRecipients.d.ts.map +0 -1
- package/dist/browser/react/hooks/useLocalRecipients.js +0 -166
- package/dist/browser/react/hooks/useLocalRecipients.js.map +0 -1
- package/dist/browser/react/hooks/useMediaQuery.d.ts +0 -21
- package/dist/browser/react/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/browser/react/hooks/useMediaQuery.js +0 -38
- package/dist/browser/react/hooks/useMediaQuery.js.map +0 -1
- package/dist/browser/react/hooks/useMultiChainBalances.d.ts +0 -58
- package/dist/browser/react/hooks/useMultiChainBalances.d.ts.map +0 -1
- package/dist/browser/react/hooks/useMultiChainBalances.js +0 -179
- package/dist/browser/react/hooks/useMultiChainBalances.js.map +0 -1
- package/dist/browser/react/hooks/useOffRamp.d.ts +0 -34
- package/dist/browser/react/hooks/useOffRamp.d.ts.map +0 -1
- package/dist/browser/react/hooks/useOffRamp.js +0 -109
- package/dist/browser/react/hooks/useOffRamp.js.map +0 -1
- package/dist/browser/react/hooks/useOnRamp.d.ts +0 -34
- package/dist/browser/react/hooks/useOnRamp.d.ts.map +0 -1
- package/dist/browser/react/hooks/useOnRamp.js +0 -109
- package/dist/browser/react/hooks/useOnRamp.js.map +0 -1
- package/dist/browser/react/hooks/useQuote.d.ts +0 -28
- package/dist/browser/react/hooks/useQuote.d.ts.map +0 -1
- package/dist/browser/react/hooks/useQuote.js +0 -79
- package/dist/browser/react/hooks/useQuote.js.map +0 -1
- package/dist/browser/react/hooks/useRecipient.d.ts +0 -30
- package/dist/browser/react/hooks/useRecipient.d.ts.map +0 -1
- package/dist/browser/react/hooks/useRecipient.js +0 -158
- package/dist/browser/react/hooks/useRecipient.js.map +0 -1
- package/dist/browser/react/hooks/useTokenPrices.d.ts +0 -34
- package/dist/browser/react/hooks/useTokenPrices.d.ts.map +0 -1
- package/dist/browser/react/hooks/useTokenPrices.js +0 -58
- package/dist/browser/react/hooks/useTokenPrices.js.map +0 -1
- package/dist/browser/react/hooks/useTransaction.d.ts +0 -31
- package/dist/browser/react/hooks/useTransaction.d.ts.map +0 -1
- package/dist/browser/react/hooks/useTransaction.js +0 -102
- package/dist/browser/react/hooks/useTransaction.js.map +0 -1
- package/dist/browser/react/index.d.ts +0 -16
- package/dist/browser/react/index.d.ts.map +0 -1
- package/dist/browser/react/index.js +0 -10
- package/dist/browser/react/index.js.map +0 -1
- package/dist/browser/react/lib/constants/chains.d.ts +0 -65
- package/dist/browser/react/lib/constants/chains.d.ts.map +0 -1
- package/dist/browser/react/lib/constants/chains.js +0 -259
- package/dist/browser/react/lib/constants/chains.js.map +0 -1
- package/dist/browser/react/lib/constants/index.d.ts +0 -6
- package/dist/browser/react/lib/constants/index.d.ts.map +0 -1
- package/dist/browser/react/lib/constants/index.js +0 -4
- package/dist/browser/react/lib/constants/index.js.map +0 -1
- package/dist/browser/react/lib/constants/tokens.d.ts +0 -30
- package/dist/browser/react/lib/constants/tokens.d.ts.map +0 -1
- package/dist/browser/react/lib/constants/tokens.js +0 -418
- package/dist/browser/react/lib/constants/tokens.js.map +0 -1
- package/dist/browser/react/lib/constants/wrappedTokens.d.ts +0 -21
- package/dist/browser/react/lib/constants/wrappedTokens.d.ts.map +0 -1
- package/dist/browser/react/lib/constants/wrappedTokens.js +0 -63
- package/dist/browser/react/lib/constants/wrappedTokens.js.map +0 -1
- package/dist/browser/react/lib/index.d.ts +0 -5
- package/dist/browser/react/lib/index.d.ts.map +0 -1
- package/dist/browser/react/lib/index.js +0 -4
- package/dist/browser/react/lib/index.js.map +0 -1
- package/dist/browser/react/lib/sdk-client.d.ts +0 -17
- package/dist/browser/react/lib/sdk-client.d.ts.map +0 -1
- package/dist/browser/react/lib/sdk-client.js +0 -51
- package/dist/browser/react/lib/sdk-client.js.map +0 -1
- package/dist/browser/react/lib/utils/chain.d.ts +0 -11
- package/dist/browser/react/lib/utils/chain.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/chain.js +0 -31
- package/dist/browser/react/lib/utils/chain.js.map +0 -1
- package/dist/browser/react/lib/utils/cn.d.ts +0 -3
- package/dist/browser/react/lib/utils/cn.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/cn.js +0 -6
- package/dist/browser/react/lib/utils/cn.js.map +0 -1
- package/dist/browser/react/lib/utils/copyToClipboard.d.ts +0 -2
- package/dist/browser/react/lib/utils/copyToClipboard.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/copyToClipboard.js +0 -16
- package/dist/browser/react/lib/utils/copyToClipboard.js.map +0 -1
- package/dist/browser/react/lib/utils/errors.d.ts +0 -11
- package/dist/browser/react/lib/utils/errors.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/errors.js +0 -15
- package/dist/browser/react/lib/utils/errors.js.map +0 -1
- package/dist/browser/react/lib/utils/format.d.ts +0 -38
- package/dist/browser/react/lib/utils/format.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/format.js +0 -92
- package/dist/browser/react/lib/utils/format.js.map +0 -1
- package/dist/browser/react/lib/utils/formatUsd.d.ts +0 -19
- package/dist/browser/react/lib/utils/formatUsd.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/formatUsd.js +0 -58
- package/dist/browser/react/lib/utils/formatUsd.js.map +0 -1
- package/dist/browser/react/lib/utils/index.d.ts +0 -12
- package/dist/browser/react/lib/utils/index.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/index.js +0 -11
- package/dist/browser/react/lib/utils/index.js.map +0 -1
- package/dist/browser/react/lib/utils/inputFormatters.d.ts +0 -6
- package/dist/browser/react/lib/utils/inputFormatters.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/inputFormatters.js +0 -32
- package/dist/browser/react/lib/utils/inputFormatters.js.map +0 -1
- package/dist/browser/react/lib/utils/network-mapping.d.ts +0 -45
- package/dist/browser/react/lib/utils/network-mapping.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/network-mapping.js +0 -153
- package/dist/browser/react/lib/utils/network-mapping.js.map +0 -1
- package/dist/browser/react/lib/utils/transaction.d.ts +0 -57
- package/dist/browser/react/lib/utils/transaction.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/transaction.js +0 -136
- package/dist/browser/react/lib/utils/transaction.js.map +0 -1
- package/dist/browser/react/lib/utils/validation.d.ts +0 -27
- package/dist/browser/react/lib/utils/validation.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/validation.js +0 -36
- package/dist/browser/react/lib/utils/validation.js.map +0 -1
- package/dist/browser/react/providers/OrdaProvider.d.ts +0 -38
- package/dist/browser/react/providers/OrdaProvider.d.ts.map +0 -1
- package/dist/browser/react/providers/OrdaProvider.js +0 -55
- package/dist/browser/react/providers/OrdaProvider.js.map +0 -1
- package/dist/browser/react/providers/OrdaSDKContext.d.ts +0 -26
- package/dist/browser/react/providers/OrdaSDKContext.d.ts.map +0 -1
- package/dist/browser/react/providers/OrdaSDKContext.js +0 -154
- package/dist/browser/react/providers/OrdaSDKContext.js.map +0 -1
- package/dist/browser/react/providers/index.d.ts +0 -4
- package/dist/browser/react/providers/index.d.ts.map +0 -1
- package/dist/browser/react/providers/index.js +0 -3
- package/dist/browser/react/providers/index.js.map +0 -1
- package/dist/browser/react/providers/types.d.ts +0 -68
- package/dist/browser/react/providers/types.d.ts.map +0 -1
- package/dist/browser/react/providers/types.js +0 -2
- package/dist/browser/react/providers/types.js.map +0 -1
- package/dist/browser/smart-wallets/LocalSigner.d.ts +0 -19
- package/dist/browser/smart-wallets/LocalSigner.d.ts.map +0 -1
- package/dist/browser/smart-wallets/LocalSigner.js +0 -57
- package/dist/browser/smart-wallets/LocalSigner.js.map +0 -1
- package/dist/browser/smart-wallets/SmartWalletClient.d.ts +0 -19
- package/dist/browser/smart-wallets/SmartWalletClient.d.ts.map +0 -1
- package/dist/browser/smart-wallets/SmartWalletClient.js +0 -180
- package/dist/browser/smart-wallets/SmartWalletClient.js.map +0 -1
- package/dist/browser/smart-wallets/SmartWalletManager.d.ts +0 -17
- package/dist/browser/smart-wallets/SmartWalletManager.d.ts.map +0 -1
- package/dist/browser/smart-wallets/SmartWalletManager.js +0 -59
- package/dist/browser/smart-wallets/SmartWalletManager.js.map +0 -1
- package/dist/browser/smart-wallets/chains.d.ts +0 -11
- package/dist/browser/smart-wallets/chains.d.ts.map +0 -1
- package/dist/browser/smart-wallets/chains.js +0 -30
- package/dist/browser/smart-wallets/chains.js.map +0 -1
- package/dist/browser/smart-wallets/errors.d.ts +0 -23
- package/dist/browser/smart-wallets/errors.d.ts.map +0 -1
- package/dist/browser/smart-wallets/errors.js +0 -44
- package/dist/browser/smart-wallets/errors.js.map +0 -1
- package/dist/browser/smart-wallets/index.d.ts +0 -11
- package/dist/browser/smart-wallets/index.d.ts.map +0 -1
- package/dist/browser/smart-wallets/index.js +0 -13
- package/dist/browser/smart-wallets/index.js.map +0 -1
- package/dist/browser/smart-wallets/types.d.ts +0 -47
- package/dist/browser/smart-wallets/types.d.ts.map +0 -1
- package/dist/browser/smart-wallets/types.js +0 -2
- package/dist/browser/smart-wallets/types.js.map +0 -1
- package/dist/browser/smart-wallets/utils.d.ts +0 -22
- package/dist/browser/smart-wallets/utils.d.ts.map +0 -1
- package/dist/browser/smart-wallets/utils.js +0 -57
- package/dist/browser/smart-wallets/utils.js.map +0 -1
- package/dist/cjs/react/assets/animations/completed.json +0 -1
- package/dist/cjs/react/assets/animations/converting.json +0 -1
- package/dist/cjs/react/assets/animations/error.json +0 -1
- package/dist/cjs/react/assets/animations/index.d.ts +0 -4
- package/dist/cjs/react/assets/animations/index.d.ts.map +0 -1
- package/dist/cjs/react/assets/animations/index.js +0 -15
- package/dist/cjs/react/assets/animations/index.js.map +0 -1
- package/dist/cjs/react/assets/chains/index.d.ts +0 -3
- package/dist/cjs/react/assets/chains/index.d.ts.map +0 -1
- package/dist/cjs/react/assets/chains/index.js +0 -35
- package/dist/cjs/react/assets/chains/index.js.map +0 -1
- package/dist/cjs/react/assets/icons/index.d.ts +0 -10
- package/dist/cjs/react/assets/icons/index.d.ts.map +0 -1
- package/dist/cjs/react/assets/icons/index.js +0 -13
- package/dist/cjs/react/assets/icons/index.js.map +0 -1
- package/dist/cjs/react/assets/index.d.ts +0 -6
- package/dist/cjs/react/assets/index.d.ts.map +0 -1
- package/dist/cjs/react/assets/index.js +0 -31
- package/dist/cjs/react/assets/index.js.map +0 -1
- package/dist/cjs/react/assets/tokens/index.d.ts +0 -3
- package/dist/cjs/react/assets/tokens/index.d.ts.map +0 -1
- package/dist/cjs/react/assets/tokens/index.js +0 -49
- package/dist/cjs/react/assets/tokens/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/Widget.d.ts +0 -2
- package/dist/cjs/react/components/Widget/Widget.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/Widget.js +0 -686
- package/dist/cjs/react/components/Widget/Widget.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/CollapsibleDetails.d.ts +0 -15
- package/dist/cjs/react/components/Widget/components/CollapsibleDetails.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/CollapsibleDetails.js +0 -54
- package/dist/cjs/react/components/Widget/components/CollapsibleDetails.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/CustomDialogHeader.d.ts +0 -13
- package/dist/cjs/react/components/Widget/components/CustomDialogHeader.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/CustomDialogHeader.js +0 -34
- package/dist/cjs/react/components/Widget/components/CustomDialogHeader.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/Footer.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/Footer.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/Footer.js +0 -10
- package/dist/cjs/react/components/Widget/components/Footer.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/Header.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/Header.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/Header.js +0 -37
- package/dist/cjs/react/components/Widget/components/Header.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts +0 -15
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js +0 -83
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts +0 -8
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js +0 -83
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts +0 -21
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js +0 -93
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts +0 -3
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts +0 -9
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js +0 -19
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts +0 -3
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/index.js +0 -8
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/Recipient.d.ts +0 -8
- package/dist/cjs/react/components/Widget/components/Recipient.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/Recipient.js +0 -13
- package/dist/cjs/react/components/Widget/components/Recipient.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts +0 -13
- package/dist/cjs/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/RecipientDialog.js +0 -118
- package/dist/cjs/react/components/Widget/components/RecipientDialog/RecipientDialog.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts +0 -24
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js +0 -53
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/RecipientDialog/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/RecipientDialog/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts +0 -15
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js +0 -104
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts +0 -27
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js +0 -14
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts +0 -18
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js +0 -59
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts +0 -14
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js +0 -39
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts +0 -12
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js +0 -15
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts +0 -4
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js +0 -10
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TokenInput.d.ts +0 -16
- package/dist/cjs/react/components/Widget/components/TokenInput.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TokenInput.js +0 -25
- package/dist/cjs/react/components/Widget/components/TokenInput.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts +0 -25
- package/dist/cjs/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/TransactionDialog.js +0 -37
- package/dist/cjs/react/components/Widget/components/TransactionDialog/TransactionDialog.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts +0 -17
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js +0 -317
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts +0 -21
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js +0 -79
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts +0 -16
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js +0 -97
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts +0 -10
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js +0 -36
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts +0 -9
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js +0 -36
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts +0 -17
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js +0 -41
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts +0 -4
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js +0 -10
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts +0 -18
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js +0 -361
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts +0 -17
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js +0 -49
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts +0 -10
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js +0 -53
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/index.d.ts +0 -5
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/index.js +0 -12
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts +0 -7
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js +0 -29
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts +0 -7
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js +0 -34
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts +0 -12
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js +0 -21
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts +0 -7
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js +0 -72
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts +0 -16
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js +0 -40
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/index.d.ts +0 -3
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/index.js +0 -8
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/index.d.ts +0 -13
- package/dist/cjs/react/components/Widget/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/index.js +0 -28
- package/dist/cjs/react/components/Widget/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/shared/TokenIconDisplay.d.ts +0 -15
- package/dist/cjs/react/components/Widget/components/shared/TokenIconDisplay.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/shared/TokenIconDisplay.js +0 -34
- package/dist/cjs/react/components/Widget/components/shared/TokenIconDisplay.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/shared/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/shared/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/shared/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/shared/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/index.d.ts +0 -3
- package/dist/cjs/react/components/Widget/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/index.js +0 -6
- package/dist/cjs/react/components/Widget/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/types/quote.d.ts +0 -205
- package/dist/cjs/react/components/Widget/types/quote.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/types/quote.js +0 -59
- package/dist/cjs/react/components/Widget/types/quote.js.map +0 -1
- package/dist/cjs/react/components/Widget/types.d.ts +0 -24
- package/dist/cjs/react/components/Widget/types.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/types.js +0 -19
- package/dist/cjs/react/components/Widget/types.js.map +0 -1
- package/dist/cjs/react/components/ui/badge.d.ts +0 -10
- package/dist/cjs/react/components/ui/badge.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/badge.js +0 -25
- package/dist/cjs/react/components/ui/badge.js.map +0 -1
- package/dist/cjs/react/components/ui/button.d.ts +0 -12
- package/dist/cjs/react/components/ui/button.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/button.js +0 -71
- package/dist/cjs/react/components/ui/button.js.map +0 -1
- package/dist/cjs/react/components/ui/dialog.d.ts +0 -18
- package/dist/cjs/react/components/ui/dialog.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/dialog.js +0 -86
- package/dist/cjs/react/components/ui/dialog.js.map +0 -1
- package/dist/cjs/react/components/ui/drawer.d.ts +0 -23
- package/dist/cjs/react/components/ui/drawer.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/drawer.js +0 -69
- package/dist/cjs/react/components/ui/drawer.js.map +0 -1
- package/dist/cjs/react/components/ui/index.d.ts +0 -12
- package/dist/cjs/react/components/ui/index.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/index.js +0 -63
- package/dist/cjs/react/components/ui/index.js.map +0 -1
- package/dist/cjs/react/components/ui/input.d.ts +0 -4
- package/dist/cjs/react/components/ui/input.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/input.js +0 -45
- package/dist/cjs/react/components/ui/input.js.map +0 -1
- package/dist/cjs/react/components/ui/label.d.ts +0 -6
- package/dist/cjs/react/components/ui/label.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/label.js +0 -46
- package/dist/cjs/react/components/ui/label.js.map +0 -1
- package/dist/cjs/react/components/ui/popover.d.ts +0 -8
- package/dist/cjs/react/components/ui/popover.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/popover.js +0 -51
- package/dist/cjs/react/components/ui/popover.js.map +0 -1
- package/dist/cjs/react/components/ui/select.d.ts +0 -14
- package/dist/cjs/react/components/ui/select.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/select.js +0 -72
- package/dist/cjs/react/components/ui/select.js.map +0 -1
- package/dist/cjs/react/components/ui/sheet.d.ts +0 -26
- package/dist/cjs/react/components/ui/sheet.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/sheet.js +0 -83
- package/dist/cjs/react/components/ui/sheet.js.map +0 -1
- package/dist/cjs/react/config/appkit.d.ts +0 -2719
- package/dist/cjs/react/config/appkit.d.ts.map +0 -1
- package/dist/cjs/react/config/appkit.js +0 -83
- package/dist/cjs/react/config/appkit.js.map +0 -1
- package/dist/cjs/react/config/index.d.ts +0 -3
- package/dist/cjs/react/config/index.d.ts.map +0 -1
- package/dist/cjs/react/config/index.js +0 -8
- package/dist/cjs/react/config/index.js.map +0 -1
- package/dist/cjs/react/hooks/index.d.ts +0 -18
- package/dist/cjs/react/hooks/index.d.ts.map +0 -1
- package/dist/cjs/react/hooks/index.js +0 -23
- package/dist/cjs/react/hooks/index.js.map +0 -1
- package/dist/cjs/react/hooks/useBalances.d.ts +0 -41
- package/dist/cjs/react/hooks/useBalances.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useBalances.js +0 -68
- package/dist/cjs/react/hooks/useBalances.js.map +0 -1
- package/dist/cjs/react/hooks/useLocalRecipients.d.ts +0 -69
- package/dist/cjs/react/hooks/useLocalRecipients.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useLocalRecipients.js +0 -169
- package/dist/cjs/react/hooks/useLocalRecipients.js.map +0 -1
- package/dist/cjs/react/hooks/useMediaQuery.d.ts +0 -21
- package/dist/cjs/react/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useMediaQuery.js +0 -41
- package/dist/cjs/react/hooks/useMediaQuery.js.map +0 -1
- package/dist/cjs/react/hooks/useMultiChainBalances.d.ts +0 -58
- package/dist/cjs/react/hooks/useMultiChainBalances.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useMultiChainBalances.js +0 -215
- package/dist/cjs/react/hooks/useMultiChainBalances.js.map +0 -1
- package/dist/cjs/react/hooks/useOffRamp.d.ts +0 -34
- package/dist/cjs/react/hooks/useOffRamp.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useOffRamp.js +0 -112
- package/dist/cjs/react/hooks/useOffRamp.js.map +0 -1
- package/dist/cjs/react/hooks/useOnRamp.d.ts +0 -34
- package/dist/cjs/react/hooks/useOnRamp.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useOnRamp.js +0 -112
- package/dist/cjs/react/hooks/useOnRamp.js.map +0 -1
- package/dist/cjs/react/hooks/useQuote.d.ts +0 -28
- package/dist/cjs/react/hooks/useQuote.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useQuote.js +0 -82
- package/dist/cjs/react/hooks/useQuote.js.map +0 -1
- package/dist/cjs/react/hooks/useRecipient.d.ts +0 -30
- package/dist/cjs/react/hooks/useRecipient.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useRecipient.js +0 -161
- package/dist/cjs/react/hooks/useRecipient.js.map +0 -1
- package/dist/cjs/react/hooks/useTokenPrices.d.ts +0 -34
- package/dist/cjs/react/hooks/useTokenPrices.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useTokenPrices.js +0 -61
- package/dist/cjs/react/hooks/useTokenPrices.js.map +0 -1
- package/dist/cjs/react/hooks/useTransaction.d.ts +0 -31
- package/dist/cjs/react/hooks/useTransaction.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useTransaction.js +0 -105
- package/dist/cjs/react/hooks/useTransaction.js.map +0 -1
- package/dist/cjs/react/index.d.ts +0 -16
- package/dist/cjs/react/index.d.ts.map +0 -1
- package/dist/cjs/react/index.js +0 -89
- package/dist/cjs/react/index.js.map +0 -1
- package/dist/cjs/react/lib/constants/chains.d.ts +0 -65
- package/dist/cjs/react/lib/constants/chains.d.ts.map +0 -1
- package/dist/cjs/react/lib/constants/chains.js +0 -269
- package/dist/cjs/react/lib/constants/chains.js.map +0 -1
- package/dist/cjs/react/lib/constants/index.d.ts +0 -6
- package/dist/cjs/react/lib/constants/index.d.ts.map +0 -1
- package/dist/cjs/react/lib/constants/index.js +0 -27
- package/dist/cjs/react/lib/constants/index.js.map +0 -1
- package/dist/cjs/react/lib/constants/tokens.d.ts +0 -30
- package/dist/cjs/react/lib/constants/tokens.d.ts.map +0 -1
- package/dist/cjs/react/lib/constants/tokens.js +0 -421
- package/dist/cjs/react/lib/constants/tokens.js.map +0 -1
- package/dist/cjs/react/lib/constants/wrappedTokens.d.ts +0 -21
- package/dist/cjs/react/lib/constants/wrappedTokens.d.ts.map +0 -1
- package/dist/cjs/react/lib/constants/wrappedTokens.js +0 -68
- package/dist/cjs/react/lib/constants/wrappedTokens.js.map +0 -1
- package/dist/cjs/react/lib/index.d.ts +0 -5
- package/dist/cjs/react/lib/index.d.ts.map +0 -1
- package/dist/cjs/react/lib/index.js +0 -49
- package/dist/cjs/react/lib/index.js.map +0 -1
- package/dist/cjs/react/lib/sdk-client.d.ts +0 -17
- package/dist/cjs/react/lib/sdk-client.d.ts.map +0 -1
- package/dist/cjs/react/lib/sdk-client.js +0 -56
- package/dist/cjs/react/lib/sdk-client.js.map +0 -1
- package/dist/cjs/react/lib/utils/chain.d.ts +0 -11
- package/dist/cjs/react/lib/utils/chain.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/chain.js +0 -35
- package/dist/cjs/react/lib/utils/chain.js.map +0 -1
- package/dist/cjs/react/lib/utils/cn.d.ts +0 -3
- package/dist/cjs/react/lib/utils/cn.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/cn.js +0 -9
- package/dist/cjs/react/lib/utils/cn.js.map +0 -1
- package/dist/cjs/react/lib/utils/copyToClipboard.d.ts +0 -2
- package/dist/cjs/react/lib/utils/copyToClipboard.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/copyToClipboard.js +0 -20
- package/dist/cjs/react/lib/utils/copyToClipboard.js.map +0 -1
- package/dist/cjs/react/lib/utils/errors.d.ts +0 -11
- package/dist/cjs/react/lib/utils/errors.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/errors.js +0 -19
- package/dist/cjs/react/lib/utils/errors.js.map +0 -1
- package/dist/cjs/react/lib/utils/format.d.ts +0 -38
- package/dist/cjs/react/lib/utils/format.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/format.js +0 -98
- package/dist/cjs/react/lib/utils/format.js.map +0 -1
- package/dist/cjs/react/lib/utils/formatUsd.d.ts +0 -19
- package/dist/cjs/react/lib/utils/formatUsd.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/formatUsd.js +0 -62
- package/dist/cjs/react/lib/utils/formatUsd.js.map +0 -1
- package/dist/cjs/react/lib/utils/index.d.ts +0 -12
- package/dist/cjs/react/lib/utils/index.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/index.js +0 -47
- package/dist/cjs/react/lib/utils/index.js.map +0 -1
- package/dist/cjs/react/lib/utils/inputFormatters.d.ts +0 -6
- package/dist/cjs/react/lib/utils/inputFormatters.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/inputFormatters.js +0 -40
- package/dist/cjs/react/lib/utils/inputFormatters.js.map +0 -1
- package/dist/cjs/react/lib/utils/network-mapping.d.ts +0 -45
- package/dist/cjs/react/lib/utils/network-mapping.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/network-mapping.js +0 -162
- package/dist/cjs/react/lib/utils/network-mapping.js.map +0 -1
- package/dist/cjs/react/lib/utils/transaction.d.ts +0 -57
- package/dist/cjs/react/lib/utils/transaction.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/transaction.js +0 -144
- package/dist/cjs/react/lib/utils/transaction.js.map +0 -1
- package/dist/cjs/react/lib/utils/validation.d.ts +0 -27
- package/dist/cjs/react/lib/utils/validation.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/validation.js +0 -41
- package/dist/cjs/react/lib/utils/validation.js.map +0 -1
- package/dist/cjs/react/providers/OrdaProvider.d.ts +0 -38
- package/dist/cjs/react/providers/OrdaProvider.d.ts.map +0 -1
- package/dist/cjs/react/providers/OrdaProvider.js +0 -58
- package/dist/cjs/react/providers/OrdaProvider.js.map +0 -1
- package/dist/cjs/react/providers/OrdaSDKContext.d.ts +0 -26
- package/dist/cjs/react/providers/OrdaSDKContext.d.ts.map +0 -1
- package/dist/cjs/react/providers/OrdaSDKContext.js +0 -158
- package/dist/cjs/react/providers/OrdaSDKContext.js.map +0 -1
- package/dist/cjs/react/providers/index.d.ts +0 -4
- package/dist/cjs/react/providers/index.d.ts.map +0 -1
- package/dist/cjs/react/providers/index.js +0 -8
- package/dist/cjs/react/providers/index.js.map +0 -1
- package/dist/cjs/react/providers/types.d.ts +0 -68
- package/dist/cjs/react/providers/types.d.ts.map +0 -1
- package/dist/cjs/react/providers/types.js +0 -3
- package/dist/cjs/react/providers/types.js.map +0 -1
- package/dist/cjs/smart-wallets/LocalSigner.d.ts +0 -19
- package/dist/cjs/smart-wallets/LocalSigner.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/LocalSigner.js +0 -61
- package/dist/cjs/smart-wallets/LocalSigner.js.map +0 -1
- package/dist/cjs/smart-wallets/SmartWalletClient.d.ts +0 -19
- package/dist/cjs/smart-wallets/SmartWalletClient.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/SmartWalletClient.js +0 -184
- package/dist/cjs/smart-wallets/SmartWalletClient.js.map +0 -1
- package/dist/cjs/smart-wallets/SmartWalletManager.d.ts +0 -17
- package/dist/cjs/smart-wallets/SmartWalletManager.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/SmartWalletManager.js +0 -63
- package/dist/cjs/smart-wallets/SmartWalletManager.js.map +0 -1
- package/dist/cjs/smart-wallets/chains.d.ts +0 -11
- package/dist/cjs/smart-wallets/chains.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/chains.js +0 -36
- package/dist/cjs/smart-wallets/chains.js.map +0 -1
- package/dist/cjs/smart-wallets/errors.d.ts +0 -23
- package/dist/cjs/smart-wallets/errors.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/errors.js +0 -54
- package/dist/cjs/smart-wallets/errors.js.map +0 -1
- package/dist/cjs/smart-wallets/index.d.ts +0 -11
- package/dist/cjs/smart-wallets/index.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/index.js +0 -36
- package/dist/cjs/smart-wallets/index.js.map +0 -1
- package/dist/cjs/smart-wallets/types.d.ts +0 -47
- package/dist/cjs/smart-wallets/types.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/types.js +0 -3
- package/dist/cjs/smart-wallets/types.js.map +0 -1
- package/dist/cjs/smart-wallets/utils.d.ts +0 -22
- package/dist/cjs/smart-wallets/utils.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/utils.js +0 -64
- package/dist/cjs/smart-wallets/utils.js.map +0 -1
- package/dist/esm/react/assets/animations/completed.json +0 -1
- package/dist/esm/react/assets/animations/converting.json +0 -1
- package/dist/esm/react/assets/animations/error.json +0 -1
- package/dist/esm/react/assets/animations/index.d.ts +0 -4
- package/dist/esm/react/assets/animations/index.d.ts.map +0 -1
- package/dist/esm/react/assets/animations/index.js +0 -6
- package/dist/esm/react/assets/animations/index.js.map +0 -1
- package/dist/esm/react/assets/chains/index.d.ts +0 -3
- package/dist/esm/react/assets/chains/index.d.ts.map +0 -1
- package/dist/esm/react/assets/chains/index.js +0 -31
- package/dist/esm/react/assets/chains/index.js.map +0 -1
- package/dist/esm/react/assets/icons/index.d.ts +0 -10
- package/dist/esm/react/assets/icons/index.d.ts.map +0 -1
- package/dist/esm/react/assets/icons/index.js +0 -10
- package/dist/esm/react/assets/icons/index.js.map +0 -1
- package/dist/esm/react/assets/index.d.ts +0 -6
- package/dist/esm/react/assets/index.d.ts.map +0 -1
- package/dist/esm/react/assets/index.js +0 -9
- package/dist/esm/react/assets/index.js.map +0 -1
- package/dist/esm/react/assets/tokens/index.d.ts +0 -3
- package/dist/esm/react/assets/tokens/index.d.ts.map +0 -1
- package/dist/esm/react/assets/tokens/index.js +0 -45
- package/dist/esm/react/assets/tokens/index.js.map +0 -1
- package/dist/esm/react/components/Widget/Widget.d.ts +0 -2
- package/dist/esm/react/components/Widget/Widget.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/Widget.js +0 -682
- package/dist/esm/react/components/Widget/Widget.js.map +0 -1
- package/dist/esm/react/components/Widget/components/CollapsibleDetails.d.ts +0 -15
- package/dist/esm/react/components/Widget/components/CollapsibleDetails.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/CollapsibleDetails.js +0 -50
- package/dist/esm/react/components/Widget/components/CollapsibleDetails.js.map +0 -1
- package/dist/esm/react/components/Widget/components/CustomDialogHeader.d.ts +0 -13
- package/dist/esm/react/components/Widget/components/CustomDialogHeader.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/CustomDialogHeader.js +0 -27
- package/dist/esm/react/components/Widget/components/CustomDialogHeader.js.map +0 -1
- package/dist/esm/react/components/Widget/components/Footer.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/Footer.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/Footer.js +0 -6
- package/dist/esm/react/components/Widget/components/Footer.js.map +0 -1
- package/dist/esm/react/components/Widget/components/Header.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/Header.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/Header.js +0 -33
- package/dist/esm/react/components/Widget/components/Header.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts +0 -15
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js +0 -79
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts +0 -8
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js +0 -79
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts +0 -21
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js +0 -90
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts +0 -3
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js +0 -2
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts +0 -9
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js +0 -15
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts +0 -3
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/index.js +0 -3
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/index.js +0 -2
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/Recipient.d.ts +0 -8
- package/dist/esm/react/components/Widget/components/Recipient.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/Recipient.js +0 -9
- package/dist/esm/react/components/Widget/components/Recipient.js.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts +0 -13
- package/dist/esm/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/RecipientDialog.js +0 -114
- package/dist/esm/react/components/Widget/components/RecipientDialog/RecipientDialog.js.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts +0 -24
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js +0 -49
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/index.js +0 -2
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/RecipientDialog/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/index.js +0 -2
- package/dist/esm/react/components/Widget/components/RecipientDialog/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts +0 -15
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js +0 -100
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts +0 -27
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js +0 -10
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts +0 -18
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js +0 -55
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts +0 -14
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js +0 -35
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts +0 -12
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js +0 -11
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts +0 -4
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js +0 -4
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js +0 -2
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/index.js +0 -2
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/index.js +0 -2
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TokenInput.d.ts +0 -16
- package/dist/esm/react/components/Widget/components/TokenInput.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TokenInput.js +0 -21
- package/dist/esm/react/components/Widget/components/TokenInput.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts +0 -25
- package/dist/esm/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/TransactionDialog.js +0 -33
- package/dist/esm/react/components/Widget/components/TransactionDialog/TransactionDialog.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts +0 -17
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js +0 -313
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts +0 -21
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js +0 -75
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts +0 -16
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js +0 -93
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts +0 -10
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js +0 -32
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts +0 -9
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js +0 -32
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts +0 -17
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js +0 -37
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts +0 -4
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js +0 -4
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts +0 -18
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js +0 -357
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts +0 -17
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js +0 -45
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts +0 -10
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js +0 -49
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/index.d.ts +0 -5
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/index.js +0 -5
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts +0 -7
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js +0 -25
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts +0 -7
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js +0 -30
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts +0 -12
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js +0 -17
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts +0 -7
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js +0 -68
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts +0 -16
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js +0 -36
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/index.d.ts +0 -3
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/index.js +0 -3
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/index.js +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/index.d.ts +0 -13
- package/dist/esm/react/components/Widget/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/index.js +0 -13
- package/dist/esm/react/components/Widget/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/shared/TokenIconDisplay.d.ts +0 -15
- package/dist/esm/react/components/Widget/components/shared/TokenIconDisplay.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/shared/TokenIconDisplay.js +0 -31
- package/dist/esm/react/components/Widget/components/shared/TokenIconDisplay.js.map +0 -1
- package/dist/esm/react/components/Widget/components/shared/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/shared/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/shared/index.js +0 -2
- package/dist/esm/react/components/Widget/components/shared/index.js.map +0 -1
- package/dist/esm/react/components/Widget/index.d.ts +0 -3
- package/dist/esm/react/components/Widget/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/index.js +0 -2
- package/dist/esm/react/components/Widget/index.js.map +0 -1
- package/dist/esm/react/components/Widget/types/quote.d.ts +0 -205
- package/dist/esm/react/components/Widget/types/quote.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/types/quote.js +0 -53
- package/dist/esm/react/components/Widget/types/quote.js.map +0 -1
- package/dist/esm/react/components/Widget/types.d.ts +0 -24
- package/dist/esm/react/components/Widget/types.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/types.js +0 -3
- package/dist/esm/react/components/Widget/types.js.map +0 -1
- package/dist/esm/react/components/ui/badge.d.ts +0 -10
- package/dist/esm/react/components/ui/badge.d.ts.map +0 -1
- package/dist/esm/react/components/ui/badge.js +0 -21
- package/dist/esm/react/components/ui/badge.js.map +0 -1
- package/dist/esm/react/components/ui/button.d.ts +0 -12
- package/dist/esm/react/components/ui/button.d.ts.map +0 -1
- package/dist/esm/react/components/ui/button.js +0 -34
- package/dist/esm/react/components/ui/button.js.map +0 -1
- package/dist/esm/react/components/ui/dialog.d.ts +0 -18
- package/dist/esm/react/components/ui/dialog.d.ts.map +0 -1
- package/dist/esm/react/components/ui/dialog.js +0 -41
- package/dist/esm/react/components/ui/dialog.js.map +0 -1
- package/dist/esm/react/components/ui/drawer.d.ts +0 -23
- package/dist/esm/react/components/ui/drawer.d.ts.map +0 -1
- package/dist/esm/react/components/ui/drawer.js +0 -24
- package/dist/esm/react/components/ui/drawer.js.map +0 -1
- package/dist/esm/react/components/ui/index.d.ts +0 -12
- package/dist/esm/react/components/ui/index.d.ts.map +0 -1
- package/dist/esm/react/components/ui/index.js +0 -10
- package/dist/esm/react/components/ui/index.js.map +0 -1
- package/dist/esm/react/components/ui/input.d.ts +0 -4
- package/dist/esm/react/components/ui/input.d.ts.map +0 -1
- package/dist/esm/react/components/ui/input.js +0 -9
- package/dist/esm/react/components/ui/input.js.map +0 -1
- package/dist/esm/react/components/ui/label.d.ts +0 -6
- package/dist/esm/react/components/ui/label.d.ts.map +0 -1
- package/dist/esm/react/components/ui/label.js +0 -10
- package/dist/esm/react/components/ui/label.js.map +0 -1
- package/dist/esm/react/components/ui/popover.d.ts +0 -8
- package/dist/esm/react/components/ui/popover.d.ts.map +0 -1
- package/dist/esm/react/components/ui/popover.js +0 -12
- package/dist/esm/react/components/ui/popover.js.map +0 -1
- package/dist/esm/react/components/ui/select.d.ts +0 -14
- package/dist/esm/react/components/ui/select.d.ts.map +0 -1
- package/dist/esm/react/components/ui/select.js +0 -27
- package/dist/esm/react/components/ui/select.js.map +0 -1
- package/dist/esm/react/components/ui/sheet.d.ts +0 -26
- package/dist/esm/react/components/ui/sheet.d.ts.map +0 -1
- package/dist/esm/react/components/ui/sheet.js +0 -38
- package/dist/esm/react/components/ui/sheet.js.map +0 -1
- package/dist/esm/react/config/appkit.d.ts +0 -2719
- package/dist/esm/react/config/appkit.d.ts.map +0 -1
- package/dist/esm/react/config/appkit.js +0 -79
- package/dist/esm/react/config/appkit.js.map +0 -1
- package/dist/esm/react/config/index.d.ts +0 -3
- package/dist/esm/react/config/index.d.ts.map +0 -1
- package/dist/esm/react/config/index.js +0 -2
- package/dist/esm/react/config/index.js.map +0 -1
- package/dist/esm/react/hooks/index.d.ts +0 -18
- package/dist/esm/react/hooks/index.d.ts.map +0 -1
- package/dist/esm/react/hooks/index.js +0 -11
- package/dist/esm/react/hooks/index.js.map +0 -1
- package/dist/esm/react/hooks/useBalances.d.ts +0 -41
- package/dist/esm/react/hooks/useBalances.d.ts.map +0 -1
- package/dist/esm/react/hooks/useBalances.js +0 -65
- package/dist/esm/react/hooks/useBalances.js.map +0 -1
- package/dist/esm/react/hooks/useLocalRecipients.d.ts +0 -69
- package/dist/esm/react/hooks/useLocalRecipients.d.ts.map +0 -1
- package/dist/esm/react/hooks/useLocalRecipients.js +0 -166
- package/dist/esm/react/hooks/useLocalRecipients.js.map +0 -1
- package/dist/esm/react/hooks/useMediaQuery.d.ts +0 -21
- package/dist/esm/react/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/esm/react/hooks/useMediaQuery.js +0 -38
- package/dist/esm/react/hooks/useMediaQuery.js.map +0 -1
- package/dist/esm/react/hooks/useMultiChainBalances.d.ts +0 -58
- package/dist/esm/react/hooks/useMultiChainBalances.d.ts.map +0 -1
- package/dist/esm/react/hooks/useMultiChainBalances.js +0 -179
- package/dist/esm/react/hooks/useMultiChainBalances.js.map +0 -1
- package/dist/esm/react/hooks/useOffRamp.d.ts +0 -34
- package/dist/esm/react/hooks/useOffRamp.d.ts.map +0 -1
- package/dist/esm/react/hooks/useOffRamp.js +0 -109
- package/dist/esm/react/hooks/useOffRamp.js.map +0 -1
- package/dist/esm/react/hooks/useOnRamp.d.ts +0 -34
- package/dist/esm/react/hooks/useOnRamp.d.ts.map +0 -1
- package/dist/esm/react/hooks/useOnRamp.js +0 -109
- package/dist/esm/react/hooks/useOnRamp.js.map +0 -1
- package/dist/esm/react/hooks/useQuote.d.ts +0 -28
- package/dist/esm/react/hooks/useQuote.d.ts.map +0 -1
- package/dist/esm/react/hooks/useQuote.js +0 -79
- package/dist/esm/react/hooks/useQuote.js.map +0 -1
- package/dist/esm/react/hooks/useRecipient.d.ts +0 -30
- package/dist/esm/react/hooks/useRecipient.d.ts.map +0 -1
- package/dist/esm/react/hooks/useRecipient.js +0 -158
- package/dist/esm/react/hooks/useRecipient.js.map +0 -1
- package/dist/esm/react/hooks/useTokenPrices.d.ts +0 -34
- package/dist/esm/react/hooks/useTokenPrices.d.ts.map +0 -1
- package/dist/esm/react/hooks/useTokenPrices.js +0 -58
- package/dist/esm/react/hooks/useTokenPrices.js.map +0 -1
- package/dist/esm/react/hooks/useTransaction.d.ts +0 -31
- package/dist/esm/react/hooks/useTransaction.d.ts.map +0 -1
- package/dist/esm/react/hooks/useTransaction.js +0 -102
- package/dist/esm/react/hooks/useTransaction.js.map +0 -1
- package/dist/esm/react/index.d.ts +0 -16
- package/dist/esm/react/index.d.ts.map +0 -1
- package/dist/esm/react/index.js +0 -10
- package/dist/esm/react/index.js.map +0 -1
- package/dist/esm/react/lib/constants/chains.d.ts +0 -65
- package/dist/esm/react/lib/constants/chains.d.ts.map +0 -1
- package/dist/esm/react/lib/constants/chains.js +0 -259
- package/dist/esm/react/lib/constants/chains.js.map +0 -1
- package/dist/esm/react/lib/constants/index.d.ts +0 -6
- package/dist/esm/react/lib/constants/index.d.ts.map +0 -1
- package/dist/esm/react/lib/constants/index.js +0 -4
- package/dist/esm/react/lib/constants/index.js.map +0 -1
- package/dist/esm/react/lib/constants/tokens.d.ts +0 -30
- package/dist/esm/react/lib/constants/tokens.d.ts.map +0 -1
- package/dist/esm/react/lib/constants/tokens.js +0 -418
- package/dist/esm/react/lib/constants/tokens.js.map +0 -1
- package/dist/esm/react/lib/constants/wrappedTokens.d.ts +0 -21
- package/dist/esm/react/lib/constants/wrappedTokens.d.ts.map +0 -1
- package/dist/esm/react/lib/constants/wrappedTokens.js +0 -63
- package/dist/esm/react/lib/constants/wrappedTokens.js.map +0 -1
- package/dist/esm/react/lib/index.d.ts +0 -5
- package/dist/esm/react/lib/index.d.ts.map +0 -1
- package/dist/esm/react/lib/index.js +0 -4
- package/dist/esm/react/lib/index.js.map +0 -1
- package/dist/esm/react/lib/sdk-client.d.ts +0 -17
- package/dist/esm/react/lib/sdk-client.d.ts.map +0 -1
- package/dist/esm/react/lib/sdk-client.js +0 -51
- package/dist/esm/react/lib/sdk-client.js.map +0 -1
- package/dist/esm/react/lib/utils/chain.d.ts +0 -11
- package/dist/esm/react/lib/utils/chain.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/chain.js +0 -31
- package/dist/esm/react/lib/utils/chain.js.map +0 -1
- package/dist/esm/react/lib/utils/cn.d.ts +0 -3
- package/dist/esm/react/lib/utils/cn.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/cn.js +0 -6
- package/dist/esm/react/lib/utils/cn.js.map +0 -1
- package/dist/esm/react/lib/utils/copyToClipboard.d.ts +0 -2
- package/dist/esm/react/lib/utils/copyToClipboard.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/copyToClipboard.js +0 -16
- package/dist/esm/react/lib/utils/copyToClipboard.js.map +0 -1
- package/dist/esm/react/lib/utils/errors.d.ts +0 -11
- package/dist/esm/react/lib/utils/errors.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/errors.js +0 -15
- package/dist/esm/react/lib/utils/errors.js.map +0 -1
- package/dist/esm/react/lib/utils/format.d.ts +0 -38
- package/dist/esm/react/lib/utils/format.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/format.js +0 -92
- package/dist/esm/react/lib/utils/format.js.map +0 -1
- package/dist/esm/react/lib/utils/formatUsd.d.ts +0 -19
- package/dist/esm/react/lib/utils/formatUsd.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/formatUsd.js +0 -58
- package/dist/esm/react/lib/utils/formatUsd.js.map +0 -1
- package/dist/esm/react/lib/utils/index.d.ts +0 -12
- package/dist/esm/react/lib/utils/index.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/index.js +0 -11
- package/dist/esm/react/lib/utils/index.js.map +0 -1
- package/dist/esm/react/lib/utils/inputFormatters.d.ts +0 -6
- package/dist/esm/react/lib/utils/inputFormatters.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/inputFormatters.js +0 -32
- package/dist/esm/react/lib/utils/inputFormatters.js.map +0 -1
- package/dist/esm/react/lib/utils/network-mapping.d.ts +0 -45
- package/dist/esm/react/lib/utils/network-mapping.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/network-mapping.js +0 -153
- package/dist/esm/react/lib/utils/network-mapping.js.map +0 -1
- package/dist/esm/react/lib/utils/transaction.d.ts +0 -57
- package/dist/esm/react/lib/utils/transaction.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/transaction.js +0 -136
- package/dist/esm/react/lib/utils/transaction.js.map +0 -1
- package/dist/esm/react/lib/utils/validation.d.ts +0 -27
- package/dist/esm/react/lib/utils/validation.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/validation.js +0 -36
- package/dist/esm/react/lib/utils/validation.js.map +0 -1
- package/dist/esm/react/providers/OrdaProvider.d.ts +0 -38
- package/dist/esm/react/providers/OrdaProvider.d.ts.map +0 -1
- package/dist/esm/react/providers/OrdaProvider.js +0 -55
- package/dist/esm/react/providers/OrdaProvider.js.map +0 -1
- package/dist/esm/react/providers/OrdaSDKContext.d.ts +0 -26
- package/dist/esm/react/providers/OrdaSDKContext.d.ts.map +0 -1
- package/dist/esm/react/providers/OrdaSDKContext.js +0 -154
- package/dist/esm/react/providers/OrdaSDKContext.js.map +0 -1
- package/dist/esm/react/providers/index.d.ts +0 -4
- package/dist/esm/react/providers/index.d.ts.map +0 -1
- package/dist/esm/react/providers/index.js +0 -3
- package/dist/esm/react/providers/index.js.map +0 -1
- package/dist/esm/react/providers/types.d.ts +0 -68
- package/dist/esm/react/providers/types.d.ts.map +0 -1
- package/dist/esm/react/providers/types.js +0 -2
- package/dist/esm/react/providers/types.js.map +0 -1
- package/dist/esm/smart-wallets/LocalSigner.d.ts +0 -19
- package/dist/esm/smart-wallets/LocalSigner.d.ts.map +0 -1
- package/dist/esm/smart-wallets/LocalSigner.js +0 -57
- package/dist/esm/smart-wallets/LocalSigner.js.map +0 -1
- package/dist/esm/smart-wallets/SmartWalletClient.d.ts +0 -19
- package/dist/esm/smart-wallets/SmartWalletClient.d.ts.map +0 -1
- package/dist/esm/smart-wallets/SmartWalletClient.js +0 -180
- package/dist/esm/smart-wallets/SmartWalletClient.js.map +0 -1
- package/dist/esm/smart-wallets/SmartWalletManager.d.ts +0 -17
- package/dist/esm/smart-wallets/SmartWalletManager.d.ts.map +0 -1
- package/dist/esm/smart-wallets/SmartWalletManager.js +0 -59
- package/dist/esm/smart-wallets/SmartWalletManager.js.map +0 -1
- package/dist/esm/smart-wallets/chains.d.ts +0 -11
- package/dist/esm/smart-wallets/chains.d.ts.map +0 -1
- package/dist/esm/smart-wallets/chains.js +0 -30
- package/dist/esm/smart-wallets/chains.js.map +0 -1
- package/dist/esm/smart-wallets/errors.d.ts +0 -23
- package/dist/esm/smart-wallets/errors.d.ts.map +0 -1
- package/dist/esm/smart-wallets/errors.js +0 -44
- package/dist/esm/smart-wallets/errors.js.map +0 -1
- package/dist/esm/smart-wallets/index.d.ts +0 -11
- package/dist/esm/smart-wallets/index.d.ts.map +0 -1
- package/dist/esm/smart-wallets/index.js +0 -13
- package/dist/esm/smart-wallets/index.js.map +0 -1
- package/dist/esm/smart-wallets/types.d.ts +0 -47
- package/dist/esm/smart-wallets/types.d.ts.map +0 -1
- package/dist/esm/smart-wallets/types.js +0 -2
- package/dist/esm/smart-wallets/types.js.map +0 -1
- package/dist/esm/smart-wallets/utils.d.ts +0 -22
- package/dist/esm/smart-wallets/utils.d.ts.map +0 -1
- package/dist/esm/smart-wallets/utils.js +0 -57
- package/dist/esm/smart-wallets/utils.js.map +0 -1
- package/dist/react/chunk-2DNKUSZW.mjs +0 -26
- package/dist/react/chunk-DOIEWRNM.cjs +0 -29
- package/dist/react/index.cjs +0 -8447
- package/dist/react/index.d.mts +0 -4581
- package/dist/react/index.d.ts +0 -4581
- package/dist/react/index.mjs +0 -8310
- package/dist/react/styles.css +0 -2
- package/dist/react/web-crypto-DE5M6GOD.mjs +0 -1
- package/dist/react/web-crypto-MCH7ICH6.cjs +0 -10
- package/dist/types/react/assets/animations/index.d.ts +0 -4
- package/dist/types/react/assets/animations/index.d.ts.map +0 -1
- package/dist/types/react/assets/chains/index.d.ts +0 -3
- package/dist/types/react/assets/chains/index.d.ts.map +0 -1
- package/dist/types/react/assets/icons/index.d.ts +0 -10
- package/dist/types/react/assets/icons/index.d.ts.map +0 -1
- package/dist/types/react/assets/index.d.ts +0 -6
- package/dist/types/react/assets/index.d.ts.map +0 -1
- package/dist/types/react/assets/tokens/index.d.ts +0 -3
- package/dist/types/react/assets/tokens/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/Widget.d.ts +0 -2
- package/dist/types/react/components/Widget/Widget.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/CollapsibleDetails.d.ts +0 -15
- package/dist/types/react/components/Widget/components/CollapsibleDetails.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/CustomDialogHeader.d.ts +0 -13
- package/dist/types/react/components/Widget/components/CustomDialogHeader.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/Footer.d.ts +0 -2
- package/dist/types/react/components/Widget/components/Footer.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/Header.d.ts +0 -2
- package/dist/types/react/components/Widget/components/Header.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts +0 -15
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts +0 -8
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts +0 -21
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts +0 -3
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts +0 -9
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts +0 -3
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/Recipient.d.ts +0 -8
- package/dist/types/react/components/Widget/components/Recipient.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts +0 -13
- package/dist/types/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts +0 -24
- package/dist/types/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/RecipientDialog/components/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/RecipientDialog/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/RecipientDialog/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/RecipientDialog/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts +0 -15
- package/dist/types/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts +0 -27
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts +0 -18
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts +0 -14
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts +0 -12
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts +0 -4
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/SelectAssetDialog/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TokenInput.d.ts +0 -16
- package/dist/types/react/components/Widget/components/TokenInput.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts +0 -25
- package/dist/types/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts +0 -17
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts +0 -21
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts +0 -16
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts +0 -10
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts +0 -9
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts +0 -17
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts +0 -4
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts +0 -18
- package/dist/types/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts +0 -17
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts +0 -10
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/index.d.ts +0 -5
- package/dist/types/react/components/Widget/components/TransactionDialog/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts +0 -7
- package/dist/types/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts +0 -7
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts +0 -12
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts +0 -7
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts +0 -16
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/index.d.ts +0 -3
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/UserAccountDrawer/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/index.d.ts +0 -13
- package/dist/types/react/components/Widget/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/shared/TokenIconDisplay.d.ts +0 -15
- package/dist/types/react/components/Widget/components/shared/TokenIconDisplay.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/shared/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/shared/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/index.d.ts +0 -3
- package/dist/types/react/components/Widget/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/types/quote.d.ts +0 -205
- package/dist/types/react/components/Widget/types/quote.d.ts.map +0 -1
- package/dist/types/react/components/Widget/types.d.ts +0 -24
- package/dist/types/react/components/Widget/types.d.ts.map +0 -1
- package/dist/types/react/components/ui/badge.d.ts +0 -10
- package/dist/types/react/components/ui/badge.d.ts.map +0 -1
- package/dist/types/react/components/ui/button.d.ts +0 -12
- package/dist/types/react/components/ui/button.d.ts.map +0 -1
- package/dist/types/react/components/ui/dialog.d.ts +0 -18
- package/dist/types/react/components/ui/dialog.d.ts.map +0 -1
- package/dist/types/react/components/ui/drawer.d.ts +0 -23
- package/dist/types/react/components/ui/drawer.d.ts.map +0 -1
- package/dist/types/react/components/ui/index.d.ts +0 -12
- package/dist/types/react/components/ui/index.d.ts.map +0 -1
- package/dist/types/react/components/ui/input.d.ts +0 -4
- package/dist/types/react/components/ui/input.d.ts.map +0 -1
- package/dist/types/react/components/ui/label.d.ts +0 -6
- package/dist/types/react/components/ui/label.d.ts.map +0 -1
- package/dist/types/react/components/ui/popover.d.ts +0 -8
- package/dist/types/react/components/ui/popover.d.ts.map +0 -1
- package/dist/types/react/components/ui/select.d.ts +0 -14
- package/dist/types/react/components/ui/select.d.ts.map +0 -1
- package/dist/types/react/components/ui/sheet.d.ts +0 -26
- package/dist/types/react/components/ui/sheet.d.ts.map +0 -1
- package/dist/types/react/config/appkit.d.ts +0 -2719
- package/dist/types/react/config/appkit.d.ts.map +0 -1
- package/dist/types/react/config/index.d.ts +0 -3
- package/dist/types/react/config/index.d.ts.map +0 -1
- package/dist/types/react/hooks/index.d.ts +0 -18
- package/dist/types/react/hooks/index.d.ts.map +0 -1
- package/dist/types/react/hooks/useBalances.d.ts +0 -41
- package/dist/types/react/hooks/useBalances.d.ts.map +0 -1
- package/dist/types/react/hooks/useLocalRecipients.d.ts +0 -69
- package/dist/types/react/hooks/useLocalRecipients.d.ts.map +0 -1
- package/dist/types/react/hooks/useMediaQuery.d.ts +0 -21
- package/dist/types/react/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/types/react/hooks/useMultiChainBalances.d.ts +0 -58
- package/dist/types/react/hooks/useMultiChainBalances.d.ts.map +0 -1
- package/dist/types/react/hooks/useOffRamp.d.ts +0 -34
- package/dist/types/react/hooks/useOffRamp.d.ts.map +0 -1
- package/dist/types/react/hooks/useOnRamp.d.ts +0 -34
- package/dist/types/react/hooks/useOnRamp.d.ts.map +0 -1
- package/dist/types/react/hooks/useQuote.d.ts +0 -28
- package/dist/types/react/hooks/useQuote.d.ts.map +0 -1
- package/dist/types/react/hooks/useRecipient.d.ts +0 -30
- package/dist/types/react/hooks/useRecipient.d.ts.map +0 -1
- package/dist/types/react/hooks/useTokenPrices.d.ts +0 -34
- package/dist/types/react/hooks/useTokenPrices.d.ts.map +0 -1
- package/dist/types/react/hooks/useTransaction.d.ts +0 -31
- package/dist/types/react/hooks/useTransaction.d.ts.map +0 -1
- package/dist/types/react/index.d.ts +0 -16
- package/dist/types/react/index.d.ts.map +0 -1
- package/dist/types/react/lib/constants/chains.d.ts +0 -65
- package/dist/types/react/lib/constants/chains.d.ts.map +0 -1
- package/dist/types/react/lib/constants/index.d.ts +0 -6
- package/dist/types/react/lib/constants/index.d.ts.map +0 -1
- package/dist/types/react/lib/constants/tokens.d.ts +0 -30
- package/dist/types/react/lib/constants/tokens.d.ts.map +0 -1
- package/dist/types/react/lib/constants/wrappedTokens.d.ts +0 -21
- package/dist/types/react/lib/constants/wrappedTokens.d.ts.map +0 -1
- package/dist/types/react/lib/index.d.ts +0 -5
- package/dist/types/react/lib/index.d.ts.map +0 -1
- package/dist/types/react/lib/sdk-client.d.ts +0 -17
- package/dist/types/react/lib/sdk-client.d.ts.map +0 -1
- package/dist/types/react/lib/utils/chain.d.ts +0 -11
- package/dist/types/react/lib/utils/chain.d.ts.map +0 -1
- package/dist/types/react/lib/utils/cn.d.ts +0 -3
- package/dist/types/react/lib/utils/cn.d.ts.map +0 -1
- package/dist/types/react/lib/utils/copyToClipboard.d.ts +0 -2
- package/dist/types/react/lib/utils/copyToClipboard.d.ts.map +0 -1
- package/dist/types/react/lib/utils/errors.d.ts +0 -11
- package/dist/types/react/lib/utils/errors.d.ts.map +0 -1
- package/dist/types/react/lib/utils/format.d.ts +0 -38
- package/dist/types/react/lib/utils/format.d.ts.map +0 -1
- package/dist/types/react/lib/utils/formatUsd.d.ts +0 -19
- package/dist/types/react/lib/utils/formatUsd.d.ts.map +0 -1
- package/dist/types/react/lib/utils/index.d.ts +0 -12
- package/dist/types/react/lib/utils/index.d.ts.map +0 -1
- package/dist/types/react/lib/utils/inputFormatters.d.ts +0 -6
- package/dist/types/react/lib/utils/inputFormatters.d.ts.map +0 -1
- package/dist/types/react/lib/utils/network-mapping.d.ts +0 -45
- package/dist/types/react/lib/utils/network-mapping.d.ts.map +0 -1
- package/dist/types/react/lib/utils/transaction.d.ts +0 -57
- package/dist/types/react/lib/utils/transaction.d.ts.map +0 -1
- package/dist/types/react/lib/utils/validation.d.ts +0 -27
- package/dist/types/react/lib/utils/validation.d.ts.map +0 -1
- package/dist/types/react/providers/OrdaProvider.d.ts +0 -38
- package/dist/types/react/providers/OrdaProvider.d.ts.map +0 -1
- package/dist/types/react/providers/OrdaSDKContext.d.ts +0 -26
- package/dist/types/react/providers/OrdaSDKContext.d.ts.map +0 -1
- package/dist/types/react/providers/index.d.ts +0 -4
- package/dist/types/react/providers/index.d.ts.map +0 -1
- package/dist/types/react/providers/types.d.ts +0 -68
- package/dist/types/react/providers/types.d.ts.map +0 -1
- package/dist/types/smart-wallets/LocalSigner.d.ts +0 -19
- package/dist/types/smart-wallets/LocalSigner.d.ts.map +0 -1
- package/dist/types/smart-wallets/SmartWalletClient.d.ts +0 -19
- package/dist/types/smart-wallets/SmartWalletClient.d.ts.map +0 -1
- package/dist/types/smart-wallets/SmartWalletManager.d.ts +0 -17
- package/dist/types/smart-wallets/SmartWalletManager.d.ts.map +0 -1
- package/dist/types/smart-wallets/chains.d.ts +0 -11
- package/dist/types/smart-wallets/chains.d.ts.map +0 -1
- package/dist/types/smart-wallets/errors.d.ts +0 -23
- package/dist/types/smart-wallets/errors.d.ts.map +0 -1
- package/dist/types/smart-wallets/index.d.ts +0 -11
- package/dist/types/smart-wallets/index.d.ts.map +0 -1
- package/dist/types/smart-wallets/types.d.ts +0 -47
- package/dist/types/smart-wallets/types.d.ts.map +0 -1
- package/dist/types/smart-wallets/utils.d.ts +0 -22
- package/dist/types/smart-wallets/utils.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/react/providers/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;;;;;;OAWG;IACH,QAAQ,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;IAEvC;;;;;;;;;;;;OAYG;IACH,YAAY,EAAE,YAAY,CAAC;IAE3B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,OAAO,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACrC;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/react/providers/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type SmartAccountSigner } from '@aa-sdk/core';
|
|
2
|
-
import type { EntityType } from './types';
|
|
3
|
-
export declare class LocalSigner {
|
|
4
|
-
private signer;
|
|
5
|
-
private entityType;
|
|
6
|
-
private privateKey;
|
|
7
|
-
constructor(privateKey: string, entityType: EntityType);
|
|
8
|
-
getSigner(): SmartAccountSigner;
|
|
9
|
-
getEntityType(): EntityType;
|
|
10
|
-
getAddress(): Promise<string>;
|
|
11
|
-
static isValidPrivateKey(privateKey: string): boolean;
|
|
12
|
-
static generateNewSigner(): Promise<{
|
|
13
|
-
signer: SmartAccountSigner;
|
|
14
|
-
privateKey: string;
|
|
15
|
-
address: string;
|
|
16
|
-
}>;
|
|
17
|
-
static getAddressFromPrivateKey(privateKey: string): Promise<string>;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=LocalSigner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LocalSigner.d.ts","sourceRoot":"","sources":["../../../src/smart-wallets/LocalSigner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAG3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,qBAAa,WAAW;IACtB,OAAO,CAAC,MAAM,CAAqB;IACnC,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,UAAU,CAAS;gBAEf,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU;IAUtD,SAAS,IAAI,kBAAkB;IAI/B,aAAa,IAAI,UAAU;IAIrB,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC;IAKnC,MAAM,CAAC,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;WAkBxC,iBAAiB,IAAI,OAAO,CAAC;QACxC,MAAM,EAAE,kBAAkB,CAAC;QAC3B,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;WAYW,wBAAwB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAQ3E"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { LocalAccountSigner } from '@aa-sdk/core';
|
|
2
|
-
import { generatePrivateKey, privateKeyToAccount } from 'viem/accounts';
|
|
3
|
-
import { InvalidPrivateKeyError } from './errors';
|
|
4
|
-
export class LocalSigner {
|
|
5
|
-
constructor(privateKey, entityType) {
|
|
6
|
-
if (!LocalSigner.isValidPrivateKey(privateKey)) {
|
|
7
|
-
throw new InvalidPrivateKeyError();
|
|
8
|
-
}
|
|
9
|
-
this.privateKey = privateKey;
|
|
10
|
-
this.entityType = entityType;
|
|
11
|
-
this.signer = LocalAccountSigner.privateKeyToAccountSigner(privateKey);
|
|
12
|
-
}
|
|
13
|
-
getSigner() {
|
|
14
|
-
return this.signer;
|
|
15
|
-
}
|
|
16
|
-
getEntityType() {
|
|
17
|
-
return this.entityType;
|
|
18
|
-
}
|
|
19
|
-
async getAddress() {
|
|
20
|
-
const account = privateKeyToAccount(this.privateKey);
|
|
21
|
-
return account.address;
|
|
22
|
-
}
|
|
23
|
-
static isValidPrivateKey(privateKey) {
|
|
24
|
-
if (!privateKey || typeof privateKey !== 'string') {
|
|
25
|
-
return false;
|
|
26
|
-
}
|
|
27
|
-
// Check if it starts with 0x and has correct length (64 hex chars + 0x = 66)
|
|
28
|
-
if (!/^0x[0-9a-fA-F]{64}$/.test(privateKey)) {
|
|
29
|
-
return false;
|
|
30
|
-
}
|
|
31
|
-
try {
|
|
32
|
-
privateKeyToAccount(privateKey);
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
catch {
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
static async generateNewSigner() {
|
|
40
|
-
const privateKey = generatePrivateKey();
|
|
41
|
-
const signer = LocalAccountSigner.privateKeyToAccountSigner(privateKey);
|
|
42
|
-
const account = privateKeyToAccount(privateKey);
|
|
43
|
-
return {
|
|
44
|
-
signer,
|
|
45
|
-
privateKey,
|
|
46
|
-
address: account.address
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
static async getAddressFromPrivateKey(privateKey) {
|
|
50
|
-
if (!LocalSigner.isValidPrivateKey(privateKey)) {
|
|
51
|
-
throw new InvalidPrivateKeyError();
|
|
52
|
-
}
|
|
53
|
-
const account = privateKeyToAccount(privateKey);
|
|
54
|
-
return account.address;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=LocalSigner.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LocalSigner.js","sourceRoot":"","sources":["../../../src/smart-wallets/LocalSigner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAA2B,MAAM,cAAc,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,OAAO,WAAW;IAKtB,YAAY,UAAkB,EAAE,UAAsB;QACpD,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC,EAAE,CAAC;YAC/C,MAAM,IAAI,sBAAsB,EAAE,CAAC;QACrC,CAAC;QAED,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,MAAM,GAAG,kBAAkB,CAAC,yBAAyB,CAAC,UAA2B,CAAC,CAAC;IAC1F,CAAC;IAED,SAAS;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,aAAa;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,KAAK,CAAC,UAAU;QACd,MAAM,OAAO,GAAG,mBAAmB,CAAC,IAAI,CAAC,UAA2B,CAAC,CAAC;QACtE,OAAO,OAAO,CAAC,OAAO,CAAC;IACzB,CAAC;IAED,MAAM,CAAC,iBAAiB,CAAC,UAAkB;QACzC,IAAI,CAAC,UAAU,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE,CAAC;YAClD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,6EAA6E;QAC7E,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAC5C,OAAO,KAAK,CAAC;QACf,CAAC;QAED,IAAI,CAAC;YACH,mBAAmB,CAAC,UAA2B,CAAC,CAAC;YACjD,OAAO,IAAI,CAAC;QACd,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,iBAAiB;QAK5B,MAAM,UAAU,GAAG,kBAAkB,EAAE,CAAC;QACxC,MAAM,MAAM,GAAG,kBAAkB,CAAC,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACxE,MAAM,OAAO,GAAG,mBAAmB,CAAC,UAAU,CAAC,CAAC;QAEhD,OAAO;YACL,MAAM;YACN,UAAU;YACV,OAAO,EAAE,OAAO,CAAC,OAAO;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,wBAAwB,CAAC,UAAkB;QACtD,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC,EAAE,CAAC;YAC/C,MAAM,IAAI,sBAAsB,EAAE,CAAC;QACrC,CAAC;QAED,MAAM,OAAO,GAAG,mBAAmB,CAAC,UAA2B,CAAC,CAAC;QACjE,OAAO,OAAO,CAAC,OAAO,CAAC;IACzB,CAAC;CACF"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { SmartWalletConfig, SmartWalletInterface, SmartWalletState, UserOperationRequest, TransactionResult } from './types';
|
|
2
|
-
export declare class SmartWalletClient implements SmartWalletInterface {
|
|
3
|
-
private client?;
|
|
4
|
-
private publicClient?;
|
|
5
|
-
private config;
|
|
6
|
-
private state;
|
|
7
|
-
private signer;
|
|
8
|
-
constructor(config: SmartWalletConfig);
|
|
9
|
-
connect(): Promise<void>;
|
|
10
|
-
disconnect(): void;
|
|
11
|
-
sendUserOperation(request: UserOperationRequest): Promise<TransactionResult>;
|
|
12
|
-
sendBatchUserOperation(requests: UserOperationRequest[]): Promise<TransactionResult>;
|
|
13
|
-
getAddress(): string;
|
|
14
|
-
isDeployed(): Promise<boolean>;
|
|
15
|
-
getState(): SmartWalletState;
|
|
16
|
-
private getTransport;
|
|
17
|
-
waitForUserOperationReceipt(hash: string, timeout?: number): Promise<TransactionResult>;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=SmartWalletClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SmartWalletClient.d.ts","sourceRoot":"","sources":["../../../src/smart-wallets/SmartWalletClient.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAMjB,qBAAa,iBAAkB,YAAW,oBAAoB;IAC5D,OAAO,CAAC,MAAM,CAAC,CAAqB;IACpC,OAAO,CAAC,YAAY,CAAC,CAAe;IACpC,OAAO,CAAC,MAAM,CAAoB;IAClC,OAAO,CAAC,KAAK,CAAmB;IAChC,OAAO,CAAC,MAAM,CAAc;gBAEhB,MAAM,EAAE,iBAAiB;IAc/B,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IA+C9B,UAAU,IAAI,IAAI;IAOZ,iBAAiB,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IA4B5E,sBAAsB,CAAC,QAAQ,EAAE,oBAAoB,EAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAgC1F,UAAU,IAAI,MAAM;IAOd,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC;IAiBpC,QAAQ,IAAI,gBAAgB;IAI5B,OAAO,CAAC,YAAY;IAmBd,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,SAAQ,GAAG,OAAO,CAAC,iBAAiB,CAAC;CA+B7F"}
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import { createModularAccountV2Client } from '@account-kit/smart-contracts';
|
|
2
|
-
import { alchemy } from '@account-kit/infra';
|
|
3
|
-
import { http, createPublicClient } from 'viem';
|
|
4
|
-
import { LocalSigner } from './LocalSigner';
|
|
5
|
-
import { getChainConfig, isSupportedChain } from './chains';
|
|
6
|
-
import { toHex, toAddress, toBigInt } from './utils';
|
|
7
|
-
import { ConnectionError, ChainNotSupportedError, UserOperationError } from './errors';
|
|
8
|
-
export class SmartWalletClient {
|
|
9
|
-
constructor(config) {
|
|
10
|
-
if (!isSupportedChain(config.chain)) {
|
|
11
|
-
throw new ChainNotSupportedError(config.chain);
|
|
12
|
-
}
|
|
13
|
-
this.config = config;
|
|
14
|
-
this.signer = new LocalSigner(config.credentials.privateKey, config.credentials.entityType);
|
|
15
|
-
this.state = {
|
|
16
|
-
isConnected: false,
|
|
17
|
-
chainId: config.chain,
|
|
18
|
-
address: config.credentials.address
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
async connect() {
|
|
22
|
-
try {
|
|
23
|
-
const chain = getChainConfig(this.config.chain);
|
|
24
|
-
if (!chain) {
|
|
25
|
-
throw new ChainNotSupportedError(this.config.chain);
|
|
26
|
-
}
|
|
27
|
-
// validate address matches private key (skip if address is empty for new wallet generation)
|
|
28
|
-
if (this.config.credentials.address && this.config.credentials.address !== '') {
|
|
29
|
-
const derivedAddress = await this.signer.getAddress();
|
|
30
|
-
if (derivedAddress.toLowerCase() !== this.config.credentials.address.toLowerCase()) {
|
|
31
|
-
throw new ConnectionError(`Private key address mismatch. Expected: ${this.config.credentials.address}, got: ${derivedAddress}`);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
const transport = this.getTransport();
|
|
35
|
-
const signer = this.signer.getSigner();
|
|
36
|
-
// TODO: Add support for Light Account when credentials.type === 'LIGHT_ACCOUNT'
|
|
37
|
-
// TODO: Add support for '7702' mode variant
|
|
38
|
-
this.client = await createModularAccountV2Client({
|
|
39
|
-
chain,
|
|
40
|
-
transport,
|
|
41
|
-
signer,
|
|
42
|
-
mode: 'default' // default for modular acc v2
|
|
43
|
-
});
|
|
44
|
-
this.publicClient = createPublicClient({
|
|
45
|
-
chain,
|
|
46
|
-
transport: http(chain.rpcUrls?.default?.http?.[0] || this.config.rpcUrl)
|
|
47
|
-
});
|
|
48
|
-
this.state.isConnected = true;
|
|
49
|
-
this.state.address = this.client.account?.address || this.config.credentials.address;
|
|
50
|
-
this.state.isDeployed = await this.isDeployed(); // check if account is deployed
|
|
51
|
-
}
|
|
52
|
-
catch (error) {
|
|
53
|
-
this.state.isConnected = false;
|
|
54
|
-
throw new ConnectionError(error instanceof Error ? error.message : 'Failed to connect to smart wallet', error);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
disconnect() {
|
|
58
|
-
this.client = undefined;
|
|
59
|
-
this.publicClient = undefined;
|
|
60
|
-
this.state.isConnected = false;
|
|
61
|
-
this.state.isDeployed = undefined;
|
|
62
|
-
}
|
|
63
|
-
async sendUserOperation(request) {
|
|
64
|
-
if (!this.client || !this.client.account) {
|
|
65
|
-
throw new ConnectionError('Client not connected. Call connect() first.');
|
|
66
|
-
}
|
|
67
|
-
try {
|
|
68
|
-
const result = await this.client.sendUserOperation({
|
|
69
|
-
uo: {
|
|
70
|
-
target: toAddress(request.target),
|
|
71
|
-
data: toHex(request.data),
|
|
72
|
-
value: toBigInt(request.value)
|
|
73
|
-
},
|
|
74
|
-
account: this.client.account
|
|
75
|
-
});
|
|
76
|
-
return {
|
|
77
|
-
hash: result.hash,
|
|
78
|
-
sender: result.request.sender,
|
|
79
|
-
status: 'pending'
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
catch (error) {
|
|
83
|
-
throw new UserOperationError(error instanceof Error ? error.message : 'Failed to send user operation', error);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
async sendBatchUserOperation(requests) {
|
|
87
|
-
if (!this.client || !this.client.account) {
|
|
88
|
-
throw new ConnectionError('Client not connected. Call connect() first.');
|
|
89
|
-
}
|
|
90
|
-
try {
|
|
91
|
-
// convert requests to the format expected by the client
|
|
92
|
-
// the uo field accepts arrays directly for batch operations
|
|
93
|
-
const operations = requests.map((req) => ({
|
|
94
|
-
target: toAddress(req.target),
|
|
95
|
-
data: toHex(req.data),
|
|
96
|
-
value: toBigInt(req.value)
|
|
97
|
-
}));
|
|
98
|
-
const result = await this.client.sendUserOperation({
|
|
99
|
-
uo: operations,
|
|
100
|
-
account: this.client.account
|
|
101
|
-
});
|
|
102
|
-
return {
|
|
103
|
-
hash: result.hash,
|
|
104
|
-
sender: result.request.sender,
|
|
105
|
-
status: 'pending'
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
catch (error) {
|
|
109
|
-
throw new UserOperationError(error instanceof Error ? error.message : 'Failed to send batch user operation', error);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
getAddress() {
|
|
113
|
-
if (!this.state.address) {
|
|
114
|
-
throw new ConnectionError('Address not available. Call connect() first.');
|
|
115
|
-
}
|
|
116
|
-
return this.state.address;
|
|
117
|
-
}
|
|
118
|
-
async isDeployed() {
|
|
119
|
-
if (!this.client || !this.client.account || !this.publicClient) {
|
|
120
|
-
throw new ConnectionError('Client not connected. Call connect() first.');
|
|
121
|
-
}
|
|
122
|
-
try {
|
|
123
|
-
const code = await this.publicClient.getCode({
|
|
124
|
-
address: toAddress(this.client.account.address)
|
|
125
|
-
});
|
|
126
|
-
return code !== undefined && code !== '0x';
|
|
127
|
-
}
|
|
128
|
-
catch (error) {
|
|
129
|
-
// Return false if unable to check deployment status
|
|
130
|
-
return false;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
getState() {
|
|
134
|
-
return { ...this.state };
|
|
135
|
-
}
|
|
136
|
-
getTransport() {
|
|
137
|
-
if (this.config.transport === 'alchemy' && this.config.alchemyApiKey) {
|
|
138
|
-
return alchemy({ apiKey: this.config.alchemyApiKey });
|
|
139
|
-
}
|
|
140
|
-
// default to HTTP transport
|
|
141
|
-
if (this.config.rpcUrl) {
|
|
142
|
-
return http(this.config.rpcUrl);
|
|
143
|
-
}
|
|
144
|
-
// use chain's default RPC if available
|
|
145
|
-
const chain = getChainConfig(this.config.chain);
|
|
146
|
-
if (chain?.rpcUrls?.default?.http?.[0]) {
|
|
147
|
-
return http(chain.rpcUrls.default.http[0]);
|
|
148
|
-
}
|
|
149
|
-
throw new ConnectionError('No valid transport configuration provided');
|
|
150
|
-
}
|
|
151
|
-
async waitForUserOperationReceipt(hash, timeout = 60000) {
|
|
152
|
-
if (!this.client || !this.client.account || !this.publicClient) {
|
|
153
|
-
throw new ConnectionError('Client not connected. Call connect() first.');
|
|
154
|
-
}
|
|
155
|
-
const startTime = Date.now();
|
|
156
|
-
const pollInterval = 5000;
|
|
157
|
-
const maxPollTime = 10000; // 10 seconds per attempt
|
|
158
|
-
while (Date.now() - startTime < timeout) {
|
|
159
|
-
try {
|
|
160
|
-
const receipt = await this.publicClient.waitForTransactionReceipt({
|
|
161
|
-
hash: toHex(hash),
|
|
162
|
-
timeout: maxPollTime
|
|
163
|
-
});
|
|
164
|
-
return {
|
|
165
|
-
hash,
|
|
166
|
-
sender: this.client.account.address,
|
|
167
|
-
status: receipt.status === 'success' ? 'success' : 'failed'
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
catch (error) {
|
|
171
|
-
// continue polling if not found yet
|
|
172
|
-
if (Date.now() - startTime < timeout) {
|
|
173
|
-
await new Promise((resolve) => setTimeout(resolve, pollInterval));
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
throw new UserOperationError(`Timeout waiting for user operation receipt: ${hash}`);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
//# sourceMappingURL=SmartWalletClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SmartWalletClient.js","sourceRoot":"","sources":["../../../src/smart-wallets/SmartWalletClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAE5E,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAqB,MAAM,MAAM,CAAC;AAQnE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEvF,MAAM,OAAO,iBAAiB;IAO5B,YAAY,MAAyB;QACnC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;YACpC,MAAM,IAAI,sBAAsB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACjD,CAAC;QAED,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,IAAI,WAAW,CAAC,MAAM,CAAC,WAAW,CAAC,UAAU,EAAE,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAC5F,IAAI,CAAC,KAAK,GAAG;YACX,WAAW,EAAE,KAAK;YAClB,OAAO,EAAE,MAAM,CAAC,KAAK;YACrB,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,OAAO;SACpC,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,OAAO;QACX,IAAI,CAAC;YACH,MAAM,KAAK,GAAG,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAChD,IAAI,CAAC,KAAK,EAAE,CAAC;gBACX,MAAM,IAAI,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACtD,CAAC;YAED,4FAA4F;YAC5F,IAAI,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,KAAK,EAAE,EAAE,CAAC;gBAC9E,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC;gBACtD,IAAI,cAAc,CAAC,WAAW,EAAE,KAAK,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC;oBACnF,MAAM,IAAI,eAAe,CACvB,2CAA2C,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,UAAU,cAAc,EAAE,CACrG,CAAC;gBACJ,CAAC;YACH,CAAC;YAED,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;YACtC,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC;YAEvC,gFAAgF;YAChF,4CAA4C;YAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,4BAA4B,CAAC;gBAC/C,KAAK;gBACL,SAAS;gBACT,MAAM;gBACN,IAAI,EAAE,SAAS,CAAC,6BAA6B;aAC9C,CAAC,CAAC;YAEH,IAAI,CAAC,YAAY,GAAG,kBAAkB,CAAC;gBACrC,KAAK;gBACL,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC;aACzE,CAAC,CAAC;YAEH,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;YAC9B,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC;YAErF,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,+BAA+B;QAClF,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC;YAC/B,MAAM,IAAI,eAAe,CACvB,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,mCAAmC,EAC5E,KAAK,CACN,CAAC;QACJ,CAAC;IACH,CAAC;IAED,UAAU;QACR,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC;QACxB,IAAI,CAAC,YAAY,GAAG,SAAS,CAAC;QAC9B,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC;QAC/B,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,SAAS,CAAC;IACpC,CAAC;IAED,KAAK,CAAC,iBAAiB,CAAC,OAA6B;QACnD,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;YACzC,MAAM,IAAI,eAAe,CAAC,6CAA6C,CAAC,CAAC;QAC3E,CAAC;QAED,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC;gBACjD,EAAE,EAAE;oBACF,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC;oBACjC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;oBACzB,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC;iBAC/B;gBACD,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,OAAQ;aAC9B,CAAC,CAAC;YAEH,OAAO;gBACL,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM;gBAC7B,MAAM,EAAE,SAAS;aAClB,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,kBAAkB,CAC1B,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,+BAA+B,EACxE,KAAK,CACN,CAAC;QACJ,CAAC;IACH,CAAC;IAED,KAAK,CAAC,sBAAsB,CAAC,QAAgC;QAC3D,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;YACzC,MAAM,IAAI,eAAe,CAAC,6CAA6C,CAAC,CAAC;QAC3E,CAAC;QAED,IAAI,CAAC;YACH,wDAAwD;YACxD,4DAA4D;YAC5D,MAAM,UAAU,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;gBACxC,MAAM,EAAE,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC;gBAC7B,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC;gBACrB,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC;aAC3B,CAAC,CAAC,CAAC;YAEJ,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC;gBACjD,EAAE,EAAE,UAAU;gBACd,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,OAAQ;aAC9B,CAAC,CAAC;YAEH,OAAO;gBACL,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM;gBAC7B,MAAM,EAAE,SAAS;aAClB,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,kBAAkB,CAC1B,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,qCAAqC,EAC9E,KAAK,CACN,CAAC;QACJ,CAAC;IACH,CAAC;IAED,UAAU;QACR,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;YACxB,MAAM,IAAI,eAAe,CAAC,8CAA8C,CAAC,CAAC;QAC5E,CAAC;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;IAC5B,CAAC;IAED,KAAK,CAAC,UAAU;QACd,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YAC/D,MAAM,IAAI,eAAe,CAAC,6CAA6C,CAAC,CAAC;QAC3E,CAAC;QAED,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC;gBAC3C,OAAO,EAAE,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC;aAChD,CAAC,CAAC;YAEH,OAAO,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,IAAI,CAAC;QAC7C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,oDAAoD;YACpD,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IAED,QAAQ;QACN,OAAO,EAAE,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;IAC3B,CAAC;IAEO,YAAY;QAClB,IAAI,IAAI,CAAC,MAAM,CAAC,SAAS,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,aAAa,EAAE,CAAC;YACrE,OAAO,OAAO,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa,EAAE,CAAC,CAAC;QACxD,CAAC;QAED,4BAA4B;QAC5B,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;YACvB,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAClC,CAAC;QAED,uCAAuC;QACvC,MAAM,KAAK,GAAG,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAChD,IAAI,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACvC,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7C,CAAC;QAED,MAAM,IAAI,eAAe,CAAC,2CAA2C,CAAC,CAAC;IACzE,CAAC;IAED,KAAK,CAAC,2BAA2B,CAAC,IAAY,EAAE,OAAO,GAAG,KAAK;QAC7D,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YAC/D,MAAM,IAAI,eAAe,CAAC,6CAA6C,CAAC,CAAC;QAC3E,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAC7B,MAAM,YAAY,GAAG,IAAI,CAAC;QAC1B,MAAM,WAAW,GAAG,KAAK,CAAC,CAAC,yBAAyB;QAEpD,OAAO,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,GAAG,OAAO,EAAE,CAAC;YACxC,IAAI,CAAC;gBACH,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,yBAAyB,CAAC;oBAChE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;oBACjB,OAAO,EAAE,WAAW;iBACrB,CAAC,CAAC;gBAEH,OAAO;oBACL,IAAI;oBACJ,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO;oBACnC,MAAM,EAAE,OAAO,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ;iBAC5D,CAAC;YACJ,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,oCAAoC;gBACpC,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,GAAG,OAAO,EAAE,CAAC;oBACrC,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC;gBACpE,CAAC;YACH,CAAC;QACH,CAAC;QAED,MAAM,IAAI,kBAAkB,CAAC,+CAA+C,IAAI,EAAE,CAAC,CAAC;IACtF,CAAC;CACF"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SmartWalletClient } from './SmartWalletClient';
|
|
2
|
-
export interface SmartWalletManagerConfig {
|
|
3
|
-
alchemyApiKey?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare class SmartWalletManager {
|
|
6
|
-
private config;
|
|
7
|
-
constructor(config?: SmartWalletManagerConfig);
|
|
8
|
-
createProjectWallet(projectId: string, privateKey: string, chainId: number, accountType?: 'MODULAR_ACCOUNT_V2' | 'LIGHT_ACCOUNT'): Promise<SmartWalletClient>;
|
|
9
|
-
createRecipientWallet(recipientId: string, privateKey: string, chainId: number, accountType?: 'MODULAR_ACCOUNT_V2' | 'LIGHT_ACCOUNT'): Promise<SmartWalletClient>;
|
|
10
|
-
validatePrivateKey(privateKey: string): boolean;
|
|
11
|
-
generatePrivateKey(): Promise<{
|
|
12
|
-
privateKey: string;
|
|
13
|
-
address: string;
|
|
14
|
-
}>;
|
|
15
|
-
getAddressFromPrivateKey(privateKey: string): Promise<string>;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=SmartWalletManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SmartWalletManager.d.ts","sourceRoot":"","sources":["../../../src/smart-wallets/SmartWalletManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAIxD,MAAM,WAAW,wBAAwB;IACvC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,MAAM,CAA2B;gBAE7B,MAAM,GAAE,wBAA6B;IAI3C,mBAAmB,CACvB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,WAAW,GAAE,oBAAoB,GAAG,eAAsC,GACzE,OAAO,CAAC,iBAAiB,CAAC;IAsBvB,qBAAqB,CACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,WAAW,GAAE,oBAAoB,GAAG,eAAsC,GACzE,OAAO,CAAC,iBAAiB,CAAC;IAsB7B,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAIzC,kBAAkB,IAAI,OAAO,CAAC;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAQtE,wBAAwB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAGpE"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { SmartWalletClient } from './SmartWalletClient';
|
|
2
|
-
import { LocalSigner } from './LocalSigner';
|
|
3
|
-
export class SmartWalletManager {
|
|
4
|
-
constructor(config = {}) {
|
|
5
|
-
this.config = config;
|
|
6
|
-
}
|
|
7
|
-
async createProjectWallet(projectId, privateKey, chainId, accountType = 'MODULAR_ACCOUNT_V2') {
|
|
8
|
-
const address = await LocalSigner.getAddressFromPrivateKey(privateKey);
|
|
9
|
-
const config = {
|
|
10
|
-
credentials: {
|
|
11
|
-
address,
|
|
12
|
-
privateKey,
|
|
13
|
-
type: accountType,
|
|
14
|
-
entityType: 'project',
|
|
15
|
-
entityId: projectId,
|
|
16
|
-
chainId
|
|
17
|
-
},
|
|
18
|
-
chain: chainId,
|
|
19
|
-
transport: this.config.alchemyApiKey ? 'alchemy' : 'http',
|
|
20
|
-
alchemyApiKey: this.config.alchemyApiKey
|
|
21
|
-
};
|
|
22
|
-
const wallet = new SmartWalletClient(config);
|
|
23
|
-
await wallet.connect();
|
|
24
|
-
return wallet;
|
|
25
|
-
}
|
|
26
|
-
async createRecipientWallet(recipientId, privateKey, chainId, accountType = 'MODULAR_ACCOUNT_V2') {
|
|
27
|
-
const address = await LocalSigner.getAddressFromPrivateKey(privateKey);
|
|
28
|
-
const config = {
|
|
29
|
-
credentials: {
|
|
30
|
-
address,
|
|
31
|
-
privateKey,
|
|
32
|
-
type: accountType,
|
|
33
|
-
entityType: 'recipient',
|
|
34
|
-
entityId: recipientId,
|
|
35
|
-
chainId
|
|
36
|
-
},
|
|
37
|
-
chain: chainId,
|
|
38
|
-
transport: this.config.alchemyApiKey ? 'alchemy' : 'http',
|
|
39
|
-
alchemyApiKey: this.config.alchemyApiKey
|
|
40
|
-
};
|
|
41
|
-
const wallet = new SmartWalletClient(config);
|
|
42
|
-
await wallet.connect();
|
|
43
|
-
return wallet;
|
|
44
|
-
}
|
|
45
|
-
validatePrivateKey(privateKey) {
|
|
46
|
-
return LocalSigner.isValidPrivateKey(privateKey);
|
|
47
|
-
}
|
|
48
|
-
async generatePrivateKey() {
|
|
49
|
-
const result = await LocalSigner.generateNewSigner();
|
|
50
|
-
return {
|
|
51
|
-
privateKey: result.privateKey,
|
|
52
|
-
address: result.address
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
async getAddressFromPrivateKey(privateKey) {
|
|
56
|
-
return LocalSigner.getAddressFromPrivateKey(privateKey);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
//# sourceMappingURL=SmartWalletManager.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SmartWalletManager.js","sourceRoot":"","sources":["../../../src/smart-wallets/SmartWalletManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,OAAO,kBAAkB;IAG7B,YAAY,SAAmC,EAAE;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED,KAAK,CAAC,mBAAmB,CACvB,SAAiB,EACjB,UAAkB,EAClB,OAAe,EACf,cAAsD,oBAAoB;QAE1E,MAAM,OAAO,GAAG,MAAM,WAAW,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;QAEvE,MAAM,MAAM,GAAsB;YAChC,WAAW,EAAE;gBACX,OAAO;gBACP,UAAU;gBACV,IAAI,EAAE,WAAW;gBACjB,UAAU,EAAE,SAAS;gBACrB,QAAQ,EAAE,SAAS;gBACnB,OAAO;aACR;YACD,KAAK,EAAE,OAAO;YACd,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM;YACzD,aAAa,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa;SACzC,CAAC;QAEF,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC;QAC7C,MAAM,MAAM,CAAC,OAAO,EAAE,CAAC;QACvB,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,KAAK,CAAC,qBAAqB,CACzB,WAAmB,EACnB,UAAkB,EAClB,OAAe,EACf,cAAsD,oBAAoB;QAE1E,MAAM,OAAO,GAAG,MAAM,WAAW,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;QAEvE,MAAM,MAAM,GAAsB;YAChC,WAAW,EAAE;gBACX,OAAO;gBACP,UAAU;gBACV,IAAI,EAAE,WAAW;gBACjB,UAAU,EAAE,WAAW;gBACvB,QAAQ,EAAE,WAAW;gBACrB,OAAO;aACR;YACD,KAAK,EAAE,OAAO;YACd,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM;YACzD,aAAa,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa;SACzC,CAAC;QAEF,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC;QAC7C,MAAM,MAAM,CAAC,OAAO,EAAE,CAAC;QACvB,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,kBAAkB,CAAC,UAAkB;QACnC,OAAO,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;IACnD,CAAC;IAED,KAAK,CAAC,kBAAkB;QACtB,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,iBAAiB,EAAE,CAAC;QACrD,OAAO;YACL,UAAU,EAAE,MAAM,CAAC,UAAU;YAC7B,OAAO,EAAE,MAAM,CAAC,OAAO;SACxB,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,wBAAwB,CAAC,UAAkB;QAC/C,OAAO,WAAW,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;IAC1D,CAAC;CACF"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Chain } from 'viem';
|
|
2
|
-
/**
|
|
3
|
-
* Supported chains for smart wallets
|
|
4
|
-
*
|
|
5
|
-
* NOTE: The orda backend API only supports mainnet chains (1, 137, 10, 42161, 8453).
|
|
6
|
-
*/
|
|
7
|
-
export declare const SUPPORTED_CHAINS: Record<number, Chain>;
|
|
8
|
-
export declare function getChainConfig(chainId: number): Chain | undefined;
|
|
9
|
-
export declare function isSupportedChain(chainId: number): boolean;
|
|
10
|
-
export declare function getSupportedChainIds(): number[];
|
|
11
|
-
//# sourceMappingURL=chains.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../../src/smart-wallets/chains.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAElC;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAclD,CAAC;AAEF,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAEjE;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAEzD;AAED,wBAAgB,oBAAoB,IAAI,MAAM,EAAE,CAE/C"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { mainnet, polygon, optimism, arbitrum, base } from '@account-kit/infra';
|
|
2
|
-
/**
|
|
3
|
-
* Supported chains for smart wallets
|
|
4
|
-
*
|
|
5
|
-
* NOTE: The orda backend API only supports mainnet chains (1, 137, 10, 42161, 8453).
|
|
6
|
-
*/
|
|
7
|
-
export const SUPPORTED_CHAINS = {
|
|
8
|
-
// Mainnet chains
|
|
9
|
-
1: mainnet, // Ethereum
|
|
10
|
-
137: polygon, // Polygon
|
|
11
|
-
10: optimism, // Optimism
|
|
12
|
-
42161: arbitrum, // Arbitrum
|
|
13
|
-
8453: base // Base
|
|
14
|
-
// // Testnet chains (not supported)
|
|
15
|
-
// 11155111: sepolia, // Ethereum Sepolia
|
|
16
|
-
// 80002: polygonAmoy, // Polygon Amoy
|
|
17
|
-
// 11155420: optimismSepolia, // Optimism Sepolia
|
|
18
|
-
// 421614: arbitrumSepolia, // Arbitrum Sepolia
|
|
19
|
-
// 84532: baseSepolia, // Base Sepolia
|
|
20
|
-
};
|
|
21
|
-
export function getChainConfig(chainId) {
|
|
22
|
-
return SUPPORTED_CHAINS[chainId];
|
|
23
|
-
}
|
|
24
|
-
export function isSupportedChain(chainId) {
|
|
25
|
-
return chainId in SUPPORTED_CHAINS;
|
|
26
|
-
}
|
|
27
|
-
export function getSupportedChainIds() {
|
|
28
|
-
return Object.keys(SUPPORTED_CHAINS).map((id) => parseInt(id, 10));
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=chains.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chains.js","sourceRoot":"","sources":["../../../src/smart-wallets/chains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAGhF;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA0B;IACrD,iBAAiB;IACjB,CAAC,EAAE,OAAO,EAAE,WAAW;IACvB,GAAG,EAAE,OAAO,EAAE,UAAU;IACxB,EAAE,EAAE,QAAQ,EAAE,WAAW;IACzB,KAAK,EAAE,QAAQ,EAAE,WAAW;IAC5B,IAAI,EAAE,IAAI,CAAC,OAAO;IAElB,oCAAoC;IACpC,mDAAmD;IACnD,+CAA+C;IAC/C,mDAAmD;IACnD,mDAAmD;IACnD,+CAA+C;CAChD,CAAC;AAEF,MAAM,UAAU,cAAc,CAAC,OAAe;IAC5C,OAAO,gBAAgB,CAAC,OAAO,CAAC,CAAC;AACnC,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,OAAe;IAC9C,OAAO,OAAO,IAAI,gBAAgB,CAAC;AACrC,CAAC;AAED,MAAM,UAAU,oBAAoB;IAClC,OAAO,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;AACrE,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { OrdaError } from '../errors';
|
|
2
|
-
export declare class SmartWalletError extends OrdaError {
|
|
3
|
-
constructor(message: string, details?: unknown);
|
|
4
|
-
}
|
|
5
|
-
export declare class ConnectionError extends SmartWalletError {
|
|
6
|
-
constructor(message: string, details?: unknown);
|
|
7
|
-
}
|
|
8
|
-
export declare class UserOperationError extends SmartWalletError {
|
|
9
|
-
constructor(message: string, details?: unknown);
|
|
10
|
-
}
|
|
11
|
-
export declare class InsufficientFundsError extends SmartWalletError {
|
|
12
|
-
constructor(message?: string, details?: unknown);
|
|
13
|
-
}
|
|
14
|
-
export declare class AccountNotDeployedError extends SmartWalletError {
|
|
15
|
-
constructor(address: string, details?: unknown);
|
|
16
|
-
}
|
|
17
|
-
export declare class InvalidPrivateKeyError extends SmartWalletError {
|
|
18
|
-
constructor(message?: string, details?: unknown);
|
|
19
|
-
}
|
|
20
|
-
export declare class ChainNotSupportedError extends SmartWalletError {
|
|
21
|
-
constructor(chainId: number, details?: unknown);
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/smart-wallets/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,qBAAa,gBAAiB,SAAQ,SAAS;gBACjC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO;CAI/C;AAED,qBAAa,eAAgB,SAAQ,gBAAgB;gBACvC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO;CAI/C;AAED,qBAAa,kBAAmB,SAAQ,gBAAgB;gBAC1C,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO;CAI/C;AAED,qBAAa,sBAAuB,SAAQ,gBAAgB;gBAC9C,OAAO,GAAE,MAA6C,EAAE,OAAO,CAAC,EAAE,OAAO;CAItF;AAED,qBAAa,uBAAwB,SAAQ,gBAAgB;gBAC/C,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO;CAI/C;AAED,qBAAa,sBAAuB,SAAQ,gBAAgB;gBAC9C,OAAO,GAAE,MAAqC,EAAE,OAAO,CAAC,EAAE,OAAO;CAI9E;AAED,qBAAa,sBAAuB,SAAQ,gBAAgB;gBAC9C,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO;CAI/C"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { OrdaError } from '../errors';
|
|
2
|
-
export class SmartWalletError extends OrdaError {
|
|
3
|
-
constructor(message, details) {
|
|
4
|
-
super(message, 500, details);
|
|
5
|
-
this.code = 'SMART_WALLET_ERROR';
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export class ConnectionError extends SmartWalletError {
|
|
9
|
-
constructor(message, details) {
|
|
10
|
-
super(message, details);
|
|
11
|
-
this.code = 'CONNECTION_ERROR';
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class UserOperationError extends SmartWalletError {
|
|
15
|
-
constructor(message, details) {
|
|
16
|
-
super(message, details);
|
|
17
|
-
this.code = 'USER_OPERATION_ERROR';
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
export class InsufficientFundsError extends SmartWalletError {
|
|
21
|
-
constructor(message = 'Insufficient funds for transaction', details) {
|
|
22
|
-
super(message, details);
|
|
23
|
-
this.code = 'INSUFFICIENT_FUNDS_ERROR';
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export class AccountNotDeployedError extends SmartWalletError {
|
|
27
|
-
constructor(address, details) {
|
|
28
|
-
super(`Smart account at ${address} is not deployed`, details);
|
|
29
|
-
this.code = 'ACCOUNT_NOT_DEPLOYED_ERROR';
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
export class InvalidPrivateKeyError extends SmartWalletError {
|
|
33
|
-
constructor(message = 'Invalid private key format', details) {
|
|
34
|
-
super(message, details);
|
|
35
|
-
this.code = 'INVALID_PRIVATE_KEY_ERROR';
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export class ChainNotSupportedError extends SmartWalletError {
|
|
39
|
-
constructor(chainId, details) {
|
|
40
|
-
super(`Chain ${chainId} is not supported`, details);
|
|
41
|
-
this.code = 'CHAIN_NOT_SUPPORTED_ERROR';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=errors.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/smart-wallets/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAC7C,YAAY,OAAe,EAAE,OAAiB;QAC5C,KAAK,CAAC,OAAO,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,oBAAoB,CAAC;IACnC,CAAC;CACF;AAED,MAAM,OAAO,eAAgB,SAAQ,gBAAgB;IACnD,YAAY,OAAe,EAAE,OAAiB;QAC5C,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC;IACjC,CAAC;CACF;AAED,MAAM,OAAO,kBAAmB,SAAQ,gBAAgB;IACtD,YAAY,OAAe,EAAE,OAAiB;QAC5C,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,sBAAsB,CAAC;IACrC,CAAC;CACF;AAED,MAAM,OAAO,sBAAuB,SAAQ,gBAAgB;IAC1D,YAAY,UAAkB,oCAAoC,EAAE,OAAiB;QACnF,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,0BAA0B,CAAC;IACzC,CAAC;CACF;AAED,MAAM,OAAO,uBAAwB,SAAQ,gBAAgB;IAC3D,YAAY,OAAe,EAAE,OAAiB;QAC5C,KAAK,CAAC,oBAAoB,OAAO,kBAAkB,EAAE,OAAO,CAAC,CAAC;QAC9D,IAAI,CAAC,IAAI,GAAG,4BAA4B,CAAC;IAC3C,CAAC;CACF;AAED,MAAM,OAAO,sBAAuB,SAAQ,gBAAgB;IAC1D,YAAY,UAAkB,4BAA4B,EAAE,OAAiB;QAC3E,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,2BAA2B,CAAC;IAC1C,CAAC;CACF;AAED,MAAM,OAAO,sBAAuB,SAAQ,gBAAgB;IAC1D,YAAY,OAAe,EAAE,OAAiB;QAC5C,KAAK,CAAC,SAAS,OAAO,mBAAmB,EAAE,OAAO,CAAC,CAAC;QACpD,IAAI,CAAC,IAAI,GAAG,2BAA2B,CAAC;IAC1C,CAAC;CACF"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SmartWalletClient } from './SmartWalletClient';
|
|
2
|
-
import type { SmartWalletConfig } from './types';
|
|
3
|
-
export { SmartWalletClient } from './SmartWalletClient';
|
|
4
|
-
export { SmartWalletManager, type SmartWalletManagerConfig } from './SmartWalletManager';
|
|
5
|
-
export { LocalSigner } from './LocalSigner';
|
|
6
|
-
export { getChainConfig, isSupportedChain, getSupportedChainIds, SUPPORTED_CHAINS } from './chains';
|
|
7
|
-
export { SmartWalletError, ConnectionError, UserOperationError, InsufficientFundsError, AccountNotDeployedError, InvalidPrivateKeyError, ChainNotSupportedError } from './errors';
|
|
8
|
-
export { toHex, toAddress, toBigInt, isHexString, isAddress } from './utils';
|
|
9
|
-
export type { AccountType, EntityType, TransportType, SmartWalletCredentials, SmartWalletConfig, UserOperationRequest, UserOperationBatch, TransactionResult, SmartWalletState, SmartWalletInterface } from './types';
|
|
10
|
-
export declare function createSmartWallet(config: SmartWalletConfig): Promise<SmartWalletClient>;
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/smart-wallets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,KAAK,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACpG,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC7E,YAAY,EACV,WAAW,EACX,UAAU,EACV,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAEjB,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAI7F"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SmartWalletClient } from './SmartWalletClient';
|
|
2
|
-
export { SmartWalletClient } from './SmartWalletClient';
|
|
3
|
-
export { SmartWalletManager } from './SmartWalletManager';
|
|
4
|
-
export { LocalSigner } from './LocalSigner';
|
|
5
|
-
export { getChainConfig, isSupportedChain, getSupportedChainIds, SUPPORTED_CHAINS } from './chains';
|
|
6
|
-
export { SmartWalletError, ConnectionError, UserOperationError, InsufficientFundsError, AccountNotDeployedError, InvalidPrivateKeyError, ChainNotSupportedError } from './errors';
|
|
7
|
-
export { toHex, toAddress, toBigInt, isHexString, isAddress } from './utils';
|
|
8
|
-
export async function createSmartWallet(config) {
|
|
9
|
-
const wallet = new SmartWalletClient(config);
|
|
10
|
-
await wallet.connect();
|
|
11
|
-
return wallet;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/smart-wallets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAiC,MAAM,sBAAsB,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACpG,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAc7E,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,MAAyB;IAC/D,MAAM,MAAM,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAC7C,MAAM,MAAM,CAAC,OAAO,EAAE,CAAC;IACvB,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export type AccountType = 'MODULAR_ACCOUNT_V2' | 'LIGHT_ACCOUNT';
|
|
2
|
-
export type EntityType = 'project' | 'recipient';
|
|
3
|
-
export type TransportType = 'alchemy' | 'http';
|
|
4
|
-
export interface SmartWalletCredentials {
|
|
5
|
-
address: string;
|
|
6
|
-
privateKey: string;
|
|
7
|
-
type: AccountType;
|
|
8
|
-
entityType: EntityType;
|
|
9
|
-
entityId: string;
|
|
10
|
-
chainId: number;
|
|
11
|
-
}
|
|
12
|
-
export interface SmartWalletConfig {
|
|
13
|
-
credentials: SmartWalletCredentials;
|
|
14
|
-
chain: number;
|
|
15
|
-
transport?: TransportType;
|
|
16
|
-
alchemyApiKey?: string;
|
|
17
|
-
rpcUrl?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface UserOperationRequest {
|
|
20
|
-
target: string;
|
|
21
|
-
data?: string;
|
|
22
|
-
value?: bigint;
|
|
23
|
-
}
|
|
24
|
-
export interface UserOperationBatch {
|
|
25
|
-
operations: UserOperationRequest[];
|
|
26
|
-
}
|
|
27
|
-
export interface TransactionResult {
|
|
28
|
-
hash: string;
|
|
29
|
-
sender: string;
|
|
30
|
-
status?: 'pending' | 'success' | 'failed';
|
|
31
|
-
}
|
|
32
|
-
export interface SmartWalletState {
|
|
33
|
-
isConnected: boolean;
|
|
34
|
-
isDeployed?: boolean;
|
|
35
|
-
address?: string;
|
|
36
|
-
chainId?: number;
|
|
37
|
-
}
|
|
38
|
-
export interface SmartWalletInterface {
|
|
39
|
-
connect(): Promise<void>;
|
|
40
|
-
disconnect(): void;
|
|
41
|
-
sendUserOperation(request: UserOperationRequest): Promise<TransactionResult>;
|
|
42
|
-
sendBatchUserOperation(requests: UserOperationRequest[]): Promise<TransactionResult>;
|
|
43
|
-
getAddress(): string;
|
|
44
|
-
isDeployed(): Promise<boolean>;
|
|
45
|
-
getState(): SmartWalletState;
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/smart-wallets/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,oBAAoB,GAAG,eAAe,CAAC;AACjE,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC;AACjD,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,MAAM,CAAC;AAE/C,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,WAAW,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,sBAAsB,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,oBAAoB,EAAE,CAAC;CACpC;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;CAC3C;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,UAAU,IAAI,IAAI,CAAC;IACnB,iBAAiB,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC7E,sBAAsB,CAAC,QAAQ,EAAE,oBAAoB,EAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACrF,UAAU,IAAI,MAAM,CAAC;IACrB,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/B,QAAQ,IAAI,gBAAgB,CAAC;CAC9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/smart-wallets/types.ts"],"names":[],"mappings":""}
|