@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,57 +0,0 @@
|
|
|
1
|
-
import type { Address, BaseError } from 'viem';
|
|
2
|
-
/**
|
|
3
|
-
* Transaction utility helpers for safe parameter parsing and validation
|
|
4
|
-
*/
|
|
5
|
-
export interface TransactionParams {
|
|
6
|
-
from: Address;
|
|
7
|
-
to: Address;
|
|
8
|
-
data: `0x${string}`;
|
|
9
|
-
value?: string | number | bigint;
|
|
10
|
-
gas?: string | number | bigint;
|
|
11
|
-
gasPrice?: string | number | bigint;
|
|
12
|
-
maxFeePerGas?: string | number | bigint;
|
|
13
|
-
maxPriorityFeePerGas?: string | number | bigint;
|
|
14
|
-
nonce?: number | string;
|
|
15
|
-
chainId: number;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Safely parse a value to BigInt, handling various formats
|
|
19
|
-
* - Hex strings: "0xdbb0" → 56240n
|
|
20
|
-
* - Decimal strings: "56240" → 56240n
|
|
21
|
-
* - Numbers: 56240 → 56240n
|
|
22
|
-
* - Empty/undefined: → 0n
|
|
23
|
-
* - BigInt: pass through
|
|
24
|
-
*/
|
|
25
|
-
export declare function safeParseBigInt(value: string | number | bigint | null | undefined): bigint;
|
|
26
|
-
/**
|
|
27
|
-
* Parse transaction value field safely
|
|
28
|
-
* Returns bigint, defaults to 0n for invalid values
|
|
29
|
-
*/
|
|
30
|
-
export declare function parseTransactionValue(value: string | number | bigint | null | undefined): bigint;
|
|
31
|
-
/**
|
|
32
|
-
* Parse gas parameter safely
|
|
33
|
-
* Returns bigint | undefined (undefined means let wallet estimate)
|
|
34
|
-
*/
|
|
35
|
-
export declare function parseGasParam(gas: string | number | bigint | null | undefined): bigint | undefined;
|
|
36
|
-
/**
|
|
37
|
-
* Validate transaction parameters before sending
|
|
38
|
-
* Throws descriptive errors if validation fails
|
|
39
|
-
*/
|
|
40
|
-
export declare function validateTransactionParams(params: {
|
|
41
|
-
to?: string;
|
|
42
|
-
from?: string;
|
|
43
|
-
data?: string;
|
|
44
|
-
chainId?: number;
|
|
45
|
-
}): void;
|
|
46
|
-
/**
|
|
47
|
-
* Check if an error is a user rejection
|
|
48
|
-
*/
|
|
49
|
-
export declare function isUserRejection(error: unknown): error is BaseError;
|
|
50
|
-
/**
|
|
51
|
-
* Get user-friendly error message from transaction error
|
|
52
|
-
*/
|
|
53
|
-
export declare function getTransactionErrorMessage(error: unknown): {
|
|
54
|
-
title: string;
|
|
55
|
-
description: string;
|
|
56
|
-
};
|
|
57
|
-
//# sourceMappingURL=transaction.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../../../src/react/lib/utils/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAE/C;;GAEG;AAEH,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,OAAO,CAAC;IACZ,IAAI,EAAE,KAAK,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACjC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACxC,oBAAoB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAChD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAyB1F;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAEhG;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAOlG;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE;IAChD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,IAAI,CAsBP;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,SAAS,CAgBlE;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,OAAO,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAkDjG"}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Safely parse a value to BigInt, handling various formats
|
|
3
|
-
* - Hex strings: "0xdbb0" → 56240n
|
|
4
|
-
* - Decimal strings: "56240" → 56240n
|
|
5
|
-
* - Numbers: 56240 → 56240n
|
|
6
|
-
* - Empty/undefined: → 0n
|
|
7
|
-
* - BigInt: pass through
|
|
8
|
-
*/
|
|
9
|
-
export function safeParseBigInt(value) {
|
|
10
|
-
if (value === null || value === undefined || value === '' || value === '0x') {
|
|
11
|
-
return 0n;
|
|
12
|
-
}
|
|
13
|
-
if (typeof value === 'bigint') {
|
|
14
|
-
return value;
|
|
15
|
-
}
|
|
16
|
-
if (typeof value === 'number') {
|
|
17
|
-
return BigInt(value);
|
|
18
|
-
}
|
|
19
|
-
const str = String(value).trim();
|
|
20
|
-
if (!str || str === '0x') {
|
|
21
|
-
return 0n;
|
|
22
|
-
}
|
|
23
|
-
try {
|
|
24
|
-
return BigInt(str);
|
|
25
|
-
}
|
|
26
|
-
catch (error) {
|
|
27
|
-
console.warn(`Failed to parse BigInt from value: ${value}`, error);
|
|
28
|
-
return 0n;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Parse transaction value field safely
|
|
33
|
-
* Returns bigint, defaults to 0n for invalid values
|
|
34
|
-
*/
|
|
35
|
-
export function parseTransactionValue(value) {
|
|
36
|
-
return safeParseBigInt(value);
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Parse gas parameter safely
|
|
40
|
-
* Returns bigint | undefined (undefined means let wallet estimate)
|
|
41
|
-
*/
|
|
42
|
-
export function parseGasParam(gas) {
|
|
43
|
-
if (gas === null || gas === undefined || gas === '' || gas === '0x') {
|
|
44
|
-
return undefined;
|
|
45
|
-
}
|
|
46
|
-
const parsed = safeParseBigInt(gas);
|
|
47
|
-
return parsed > 0n ? parsed : undefined;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Validate transaction parameters before sending
|
|
51
|
-
* Throws descriptive errors if validation fails
|
|
52
|
-
*/
|
|
53
|
-
export function validateTransactionParams(params) {
|
|
54
|
-
if (!params.to || params.to === '0x0000000000000000000000000000000000000000') {
|
|
55
|
-
throw new Error('Invalid recipient address');
|
|
56
|
-
}
|
|
57
|
-
if (!params.to.startsWith('0x') || params.to.length !== 42) {
|
|
58
|
-
throw new Error('Invalid recipient address format');
|
|
59
|
-
}
|
|
60
|
-
if (params.from) {
|
|
61
|
-
if (!params.from.startsWith('0x') || params.from.length !== 42) {
|
|
62
|
-
throw new Error('Invalid sender address format');
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
if (params.data && !params.data.startsWith('0x')) {
|
|
66
|
-
throw new Error('Invalid transaction data format');
|
|
67
|
-
}
|
|
68
|
-
if (params.chainId && (params.chainId <= 0 || !Number.isInteger(params.chainId))) {
|
|
69
|
-
throw new Error('Invalid chain ID');
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Check if an error is a user rejection
|
|
74
|
-
*/
|
|
75
|
-
export function isUserRejection(error) {
|
|
76
|
-
if (!error || typeof error !== 'object')
|
|
77
|
-
return false;
|
|
78
|
-
const errorObj = error;
|
|
79
|
-
const message = errorObj.message?.toLowerCase() || '';
|
|
80
|
-
const code = errorObj.code;
|
|
81
|
-
return (code === 4001 ||
|
|
82
|
-
code === 'ACTION_REJECTED' ||
|
|
83
|
-
message.includes('rejected') ||
|
|
84
|
-
message.includes('denied') ||
|
|
85
|
-
message.includes('user denied') ||
|
|
86
|
-
message.includes('user cancelled') ||
|
|
87
|
-
message.includes('user rejected'));
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Get user-friendly error message from transaction error
|
|
91
|
-
*/
|
|
92
|
-
export function getTransactionErrorMessage(error) {
|
|
93
|
-
if (isUserRejection(error)) {
|
|
94
|
-
return {
|
|
95
|
-
title: 'Transaction cancelled',
|
|
96
|
-
description: 'You rejected the transaction in your wallet',
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
if (!error || typeof error !== 'object') {
|
|
100
|
-
return {
|
|
101
|
-
title: 'Transaction failed',
|
|
102
|
-
description: 'Unknown error occurred',
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
const errorObj = error;
|
|
106
|
-
const message = errorObj.message?.toLowerCase() || '';
|
|
107
|
-
if (message.includes('insufficient') && message.includes('gas')) {
|
|
108
|
-
return {
|
|
109
|
-
title: 'Insufficient gas',
|
|
110
|
-
description: 'Add more ETH to your wallet to cover gas fees',
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
if (message.includes('insufficient') && message.includes('funds')) {
|
|
114
|
-
return {
|
|
115
|
-
title: 'Insufficient funds',
|
|
116
|
-
description: "You don't have enough tokens for this transaction",
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
if (message.includes('nonce')) {
|
|
120
|
-
return {
|
|
121
|
-
title: 'Nonce error',
|
|
122
|
-
description: 'Try resetting your wallet or waiting for pending transactions',
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
if (message.includes('gas price') || message.includes('max fee')) {
|
|
126
|
-
return {
|
|
127
|
-
title: 'Gas price error',
|
|
128
|
-
description: 'Gas price too low or network congestion detected',
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
return {
|
|
132
|
-
title: 'Transaction failed',
|
|
133
|
-
description: errorObj.shortMessage || errorObj.message?.slice(0, 100) || 'Unknown error occurred',
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
//# sourceMappingURL=transaction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../../../../src/react/lib/utils/transaction.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Validates Ethereum address format
|
|
3
|
-
* @param address - The address to validate
|
|
4
|
-
* @returns true if address is valid, false otherwise
|
|
5
|
-
*/
|
|
6
|
-
export declare function isValidAddress(address: string): boolean;
|
|
7
|
-
/**
|
|
8
|
-
* Validates amount input (positive number)
|
|
9
|
-
* @param amount - The amount string to validate
|
|
10
|
-
* @returns true if amount is valid and positive, false otherwise
|
|
11
|
-
*/
|
|
12
|
-
export declare function isValidAmount(amount: string): boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Checks if two tokens represent the same asset (direct transfer)
|
|
15
|
-
* Used to determine if a quote API call is needed or if it's a direct 1:1 transfer
|
|
16
|
-
* @param token1 - First token with address and chainId
|
|
17
|
-
* @param token2 - Second token with address and chainId
|
|
18
|
-
* @returns true if tokens are the same, false otherwise
|
|
19
|
-
*/
|
|
20
|
-
export declare function isSameToken(token1: {
|
|
21
|
-
address?: string;
|
|
22
|
-
chainId: string | number;
|
|
23
|
-
}, token2: {
|
|
24
|
-
address?: string;
|
|
25
|
-
chainId: string | number;
|
|
26
|
-
}): boolean;
|
|
27
|
-
//# sourceMappingURL=validation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../../src/react/lib/utils/validation.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAGvD;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAIrD;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,EACtD,MAAM,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,GACrD,OAAO,CAOT"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { isAddress } from 'viem';
|
|
2
|
-
/**
|
|
3
|
-
* Validates Ethereum address format
|
|
4
|
-
* @param address - The address to validate
|
|
5
|
-
* @returns true if address is valid, false otherwise
|
|
6
|
-
*/
|
|
7
|
-
export function isValidAddress(address) {
|
|
8
|
-
if (!address)
|
|
9
|
-
return false;
|
|
10
|
-
return isAddress(address);
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Validates amount input (positive number)
|
|
14
|
-
* @param amount - The amount string to validate
|
|
15
|
-
* @returns true if amount is valid and positive, false otherwise
|
|
16
|
-
*/
|
|
17
|
-
export function isValidAmount(amount) {
|
|
18
|
-
if (!amount || amount.trim() === '')
|
|
19
|
-
return false;
|
|
20
|
-
const num = parseFloat(amount);
|
|
21
|
-
return !isNaN(num) && num > 0;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Checks if two tokens represent the same asset (direct transfer)
|
|
25
|
-
* Used to determine if a quote API call is needed or if it's a direct 1:1 transfer
|
|
26
|
-
* @param token1 - First token with address and chainId
|
|
27
|
-
* @param token2 - Second token with address and chainId
|
|
28
|
-
* @returns true if tokens are the same, false otherwise
|
|
29
|
-
*/
|
|
30
|
-
export function isSameToken(token1, token2) {
|
|
31
|
-
if (!token1.address || !token2.address)
|
|
32
|
-
return false;
|
|
33
|
-
return (token1.address.toLowerCase() === token2.address.toLowerCase() &&
|
|
34
|
-
token1.chainId.toString() === token2.chainId.toString());
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=validation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../../../../src/react/lib/utils/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAEjC;;;;GAIG;AACH,MAAM,UAAU,cAAc,CAAC,OAAe;IAC5C,IAAI,CAAC,OAAO;QAAE,OAAO,KAAK,CAAC;IAC3B,OAAO,SAAS,CAAC,OAAO,CAAC,CAAC;AAC5B,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAAC,MAAc;IAC1C,IAAI,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE;QAAE,OAAO,KAAK,CAAC;IAClD,MAAM,GAAG,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;IAC/B,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,CAAC;AAChC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,WAAW,CACzB,MAAsD,EACtD,MAAsD;IAEtD,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO;QAAE,OAAO,KAAK,CAAC;IAErD,OAAO,CACL,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE;QAC7D,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,CACxD,CAAC;AACJ,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { OrdaProviderProps } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Main provider component for the Orda SDK React integration.
|
|
4
|
-
*
|
|
5
|
-
* Provides:
|
|
6
|
-
* - Wallet connection (EVM + Solana via Reown AppKit)
|
|
7
|
-
* - SDK initialization and JWT management
|
|
8
|
-
* - TanStack Query for data fetching
|
|
9
|
-
* - Toast notifications
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```tsx
|
|
13
|
-
* import { createAppKitConfig, OrdaProvider, Widget } from '@ordanetwork/sdk/react';
|
|
14
|
-
* import '@ordanetwork/sdk/react/styles.css';
|
|
15
|
-
*
|
|
16
|
-
* const appKitConfig = createAppKitConfig({
|
|
17
|
-
* projectId: process.env.NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID!,
|
|
18
|
-
* });
|
|
19
|
-
*
|
|
20
|
-
* function App() {
|
|
21
|
-
* return (
|
|
22
|
-
* <OrdaProvider
|
|
23
|
-
* config={{
|
|
24
|
-
* getToken: async () => {
|
|
25
|
-
* const res = await fetch('/api/auth/jwt', { method: 'POST' });
|
|
26
|
-
* return res.json();
|
|
27
|
-
* },
|
|
28
|
-
* appKitConfig,
|
|
29
|
-
* }}
|
|
30
|
-
* >
|
|
31
|
-
* <Widget />
|
|
32
|
-
* </OrdaProvider>
|
|
33
|
-
* );
|
|
34
|
-
* }
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
export declare function OrdaProvider({ config, children }: OrdaProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
//# sourceMappingURL=OrdaProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrdaProvider.d.ts","sourceRoot":"","sources":["../../../../src/react/providers/OrdaProvider.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CA8BnE"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
5
|
-
import { WagmiProvider } from 'wagmi';
|
|
6
|
-
import { Toaster } from 'sonner';
|
|
7
|
-
import { OrdaSDKProvider } from './OrdaSDKContext';
|
|
8
|
-
/**
|
|
9
|
-
* Main provider component for the Orda SDK React integration.
|
|
10
|
-
*
|
|
11
|
-
* Provides:
|
|
12
|
-
* - Wallet connection (EVM + Solana via Reown AppKit)
|
|
13
|
-
* - SDK initialization and JWT management
|
|
14
|
-
* - TanStack Query for data fetching
|
|
15
|
-
* - Toast notifications
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```tsx
|
|
19
|
-
* import { createAppKitConfig, OrdaProvider, Widget } from '@ordanetwork/sdk/react';
|
|
20
|
-
* import '@ordanetwork/sdk/react/styles.css';
|
|
21
|
-
*
|
|
22
|
-
* const appKitConfig = createAppKitConfig({
|
|
23
|
-
* projectId: process.env.NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID!,
|
|
24
|
-
* });
|
|
25
|
-
*
|
|
26
|
-
* function App() {
|
|
27
|
-
* return (
|
|
28
|
-
* <OrdaProvider
|
|
29
|
-
* config={{
|
|
30
|
-
* getToken: async () => {
|
|
31
|
-
* const res = await fetch('/api/auth/jwt', { method: 'POST' });
|
|
32
|
-
* return res.json();
|
|
33
|
-
* },
|
|
34
|
-
* appKitConfig,
|
|
35
|
-
* }}
|
|
36
|
-
* >
|
|
37
|
-
* <Widget />
|
|
38
|
-
* </OrdaProvider>
|
|
39
|
-
* );
|
|
40
|
-
* }
|
|
41
|
-
* ```
|
|
42
|
-
*/
|
|
43
|
-
export function OrdaProvider({ config, children }) {
|
|
44
|
-
const [queryClient] = useState(() => new QueryClient({
|
|
45
|
-
defaultOptions: {
|
|
46
|
-
queries: {
|
|
47
|
-
staleTime: 30 * 1000,
|
|
48
|
-
retry: 2,
|
|
49
|
-
refetchOnWindowFocus: false,
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
}));
|
|
53
|
-
return (_jsxs(_Fragment, { children: [_jsx(WagmiProvider, { config: config.appKitConfig.wagmiConfig, children: _jsx(QueryClientProvider, { client: queryClient, children: _jsx(OrdaSDKProvider, { config: config, children: _jsx("div", { className: "orda-widget", children: children }) }) }) }), _jsx(Toaster, { position: "top-right", richColors: true, closeButton: true, duration: 4000 })] }));
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=OrdaProvider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrdaProvider.js","sourceRoot":"","sources":["../../../../src/react/providers/OrdaProvider.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,UAAU,YAAY,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAqB;IAClE,MAAM,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,WAAW,CAAC;QACnD,cAAc,EAAE;YACd,OAAO,EAAE;gBACP,SAAS,EAAE,EAAE,GAAG,IAAI;gBACpB,KAAK,EAAE,CAAC;gBACR,oBAAoB,EAAE,KAAK;aAC5B;SACF;KACF,CAAC,CAAC,CAAC;IAEJ,OAAO,CACL,8BACE,KAAC,aAAa,IAAC,MAAM,EAAE,MAAM,CAAC,YAAY,CAAC,WAAW,YACpD,KAAC,mBAAmB,IAAC,MAAM,EAAE,WAAW,YACtC,KAAC,eAAe,IAAC,MAAM,EAAE,MAAM,YAC7B,cAAK,SAAS,EAAC,aAAa,YACzB,QAAQ,GACL,GACU,GACE,GACR,EAChB,KAAC,OAAO,IACN,QAAQ,EAAC,WAAW,EACpB,UAAU,QACV,WAAW,QACX,QAAQ,EAAE,IAAI,GACd,IACD,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { OrdaSDKContextValue, OrdaSDKProviderProps } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Internal provider component for SDK initialization and JWT management.
|
|
4
|
-
* Used internally by OrdaProvider.
|
|
5
|
-
*/
|
|
6
|
-
export declare function OrdaSDKProvider({ config, children }: OrdaSDKProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
/**
|
|
8
|
-
* Hook to access the Orda SDK instance and authentication state.
|
|
9
|
-
*
|
|
10
|
-
* @throws Error if used outside of OrdaProvider
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* function MyComponent() {
|
|
15
|
-
* const { sdk, isLoading, error } = useOrdaSDK();
|
|
16
|
-
*
|
|
17
|
-
* if (isLoading) return <div>Loading...</div>;
|
|
18
|
-
* if (error) return <div>Error: {error.message}</div>;
|
|
19
|
-
* if (!sdk) return null;
|
|
20
|
-
*
|
|
21
|
-
* // Use sdk...
|
|
22
|
-
* }
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export declare function useOrdaSDK(): OrdaSDKContextValue;
|
|
26
|
-
//# sourceMappingURL=OrdaSDKContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrdaSDKContext.d.ts","sourceRoot":"","sources":["../../../../src/react/providers/OrdaSDKContext.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EAErB,MAAM,SAAS,CAAC;AAIjB;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CAiJzE;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,UAAU,IAAI,mBAAmB,CAQhD"}
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { createContext, useContext, useEffect, useState, useCallback, useRef } from 'react';
|
|
4
|
-
import { getSDKInstance, clearSDKInstance, setDebugMode } from '../lib/sdk-client';
|
|
5
|
-
const OrdaSDKContext = createContext(undefined);
|
|
6
|
-
/**
|
|
7
|
-
* Internal provider component for SDK initialization and JWT management.
|
|
8
|
-
* Used internally by OrdaProvider.
|
|
9
|
-
*/
|
|
10
|
-
export function OrdaSDKProvider({ config, children }) {
|
|
11
|
-
const [sdk, setSdk] = useState(null);
|
|
12
|
-
const [isLoading, setIsLoading] = useState(true);
|
|
13
|
-
const [error, setError] = useState(null);
|
|
14
|
-
const [tokenData, setTokenData] = useState(null);
|
|
15
|
-
const [isRefreshing, setIsRefreshing] = useState(false);
|
|
16
|
-
const requestQueueRef = useRef([]);
|
|
17
|
-
const initializingRef = useRef(false);
|
|
18
|
-
const debug = config.debug ?? false;
|
|
19
|
-
useEffect(() => {
|
|
20
|
-
setDebugMode(debug);
|
|
21
|
-
}, [debug]);
|
|
22
|
-
const initializeSDK = useCallback(async () => {
|
|
23
|
-
if (initializingRef.current) {
|
|
24
|
-
if (debug) {
|
|
25
|
-
console.log('[Orda SDK] Initialization already in progress, skipping...');
|
|
26
|
-
}
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
initializingRef.current = true;
|
|
30
|
-
try {
|
|
31
|
-
setIsLoading(true);
|
|
32
|
-
setError(null);
|
|
33
|
-
if (debug) {
|
|
34
|
-
console.log('[Orda SDK] Initializing...');
|
|
35
|
-
}
|
|
36
|
-
const jwtData = await config.getToken();
|
|
37
|
-
setTokenData(jwtData);
|
|
38
|
-
const sdkInstance = getSDKInstance(jwtData.jwt);
|
|
39
|
-
setSdk(sdkInstance);
|
|
40
|
-
if (debug) {
|
|
41
|
-
console.log('[Orda SDK] Initialized successfully');
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
catch (err) {
|
|
45
|
-
const error = err instanceof Error ? err : new Error('Failed to initialize SDK');
|
|
46
|
-
setError(error);
|
|
47
|
-
console.error('[Orda SDK] Initialization error:', error);
|
|
48
|
-
}
|
|
49
|
-
finally {
|
|
50
|
-
setIsLoading(false);
|
|
51
|
-
initializingRef.current = false;
|
|
52
|
-
}
|
|
53
|
-
}, [config, debug]);
|
|
54
|
-
const refreshToken = useCallback(async () => {
|
|
55
|
-
try {
|
|
56
|
-
setIsRefreshing(true);
|
|
57
|
-
if (debug) {
|
|
58
|
-
console.log('[Orda SDK] Refreshing token...');
|
|
59
|
-
}
|
|
60
|
-
const jwtData = await config.getToken();
|
|
61
|
-
setTokenData(jwtData);
|
|
62
|
-
const sdkInstance = getSDKInstance(jwtData.jwt);
|
|
63
|
-
setSdk(sdkInstance);
|
|
64
|
-
if (debug) {
|
|
65
|
-
console.log('[Orda SDK] Token refreshed successfully');
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
catch (err) {
|
|
69
|
-
const error = err instanceof Error ? err : new Error('Failed to refresh token');
|
|
70
|
-
setError(error);
|
|
71
|
-
console.error('[Orda SDK] Token refresh error:', error);
|
|
72
|
-
throw error;
|
|
73
|
-
}
|
|
74
|
-
finally {
|
|
75
|
-
setIsRefreshing(false);
|
|
76
|
-
if (debug && requestQueueRef.current.length > 0) {
|
|
77
|
-
console.log(`[Orda SDK] Flushing ${requestQueueRef.current.length} queued requests`);
|
|
78
|
-
}
|
|
79
|
-
const queue = requestQueueRef.current;
|
|
80
|
-
requestQueueRef.current = [];
|
|
81
|
-
queue.forEach(resolve => resolve());
|
|
82
|
-
}
|
|
83
|
-
}, [config, debug]);
|
|
84
|
-
const waitForRefresh = useCallback(async () => {
|
|
85
|
-
if (!isRefreshing)
|
|
86
|
-
return;
|
|
87
|
-
if (debug) {
|
|
88
|
-
console.log('[Orda SDK] Request queued, waiting for token refresh...');
|
|
89
|
-
}
|
|
90
|
-
return new Promise(resolve => {
|
|
91
|
-
requestQueueRef.current.push(resolve);
|
|
92
|
-
});
|
|
93
|
-
}, [isRefreshing, debug]);
|
|
94
|
-
useEffect(() => {
|
|
95
|
-
initializeSDK();
|
|
96
|
-
return () => {
|
|
97
|
-
clearSDKInstance();
|
|
98
|
-
};
|
|
99
|
-
}, [initializeSDK]);
|
|
100
|
-
useEffect(() => {
|
|
101
|
-
if (!tokenData)
|
|
102
|
-
return;
|
|
103
|
-
const refreshBuffer = 5 * 60 * 1000;
|
|
104
|
-
const expiresAtMs = tokenData.expiresAt * 1000;
|
|
105
|
-
const now = Date.now();
|
|
106
|
-
const timeUntilRefresh = expiresAtMs - now - refreshBuffer;
|
|
107
|
-
if (timeUntilRefresh <= 0) {
|
|
108
|
-
refreshToken();
|
|
109
|
-
return;
|
|
110
|
-
}
|
|
111
|
-
if (debug) {
|
|
112
|
-
console.log(`[Orda SDK] Token refresh scheduled in ${Math.round(timeUntilRefresh / 1000)}s`);
|
|
113
|
-
}
|
|
114
|
-
const timeoutId = setTimeout(() => {
|
|
115
|
-
refreshToken();
|
|
116
|
-
}, timeUntilRefresh);
|
|
117
|
-
return () => clearTimeout(timeoutId);
|
|
118
|
-
}, [tokenData, refreshToken, debug]);
|
|
119
|
-
const value = {
|
|
120
|
-
sdk,
|
|
121
|
-
isLoading,
|
|
122
|
-
error,
|
|
123
|
-
refreshToken,
|
|
124
|
-
isRefreshing,
|
|
125
|
-
waitForRefresh,
|
|
126
|
-
};
|
|
127
|
-
return (_jsx(OrdaSDKContext.Provider, { value: value, children: children }));
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Hook to access the Orda SDK instance and authentication state.
|
|
131
|
-
*
|
|
132
|
-
* @throws Error if used outside of OrdaProvider
|
|
133
|
-
*
|
|
134
|
-
* @example
|
|
135
|
-
* ```tsx
|
|
136
|
-
* function MyComponent() {
|
|
137
|
-
* const { sdk, isLoading, error } = useOrdaSDK();
|
|
138
|
-
*
|
|
139
|
-
* if (isLoading) return <div>Loading...</div>;
|
|
140
|
-
* if (error) return <div>Error: {error.message}</div>;
|
|
141
|
-
* if (!sdk) return null;
|
|
142
|
-
*
|
|
143
|
-
* // Use sdk...
|
|
144
|
-
* }
|
|
145
|
-
* ```
|
|
146
|
-
*/
|
|
147
|
-
export function useOrdaSDK() {
|
|
148
|
-
const context = useContext(OrdaSDKContext);
|
|
149
|
-
if (context === undefined) {
|
|
150
|
-
throw new Error('useOrdaSDK must be used within an OrdaProvider');
|
|
151
|
-
}
|
|
152
|
-
return context;
|
|
153
|
-
}
|
|
154
|
-
//# sourceMappingURL=OrdaSDKContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrdaSDKContext.js","sourceRoot":"","sources":["../../../../src/react/providers/OrdaSDKContext.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/react/providers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,mBAAmB,GACpB,MAAM,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/react/providers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import type { OrdaSDK } from '../../index';
|
|
2
|
-
import type { AppKitConfig } from '../config/appkit';
|
|
3
|
-
/**
|
|
4
|
-
* JWT token response from getToken callback
|
|
5
|
-
*/
|
|
6
|
-
export interface TokenResponse {
|
|
7
|
-
jwt: string;
|
|
8
|
-
expiresAt: number;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Configuration for OrdaProvider
|
|
12
|
-
*/
|
|
13
|
-
export interface OrdaProviderConfig {
|
|
14
|
-
/**
|
|
15
|
-
* Function that returns a JWT token for SDK authentication.
|
|
16
|
-
* Called on initialization and before token expiration.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```ts
|
|
20
|
-
* getToken: async () => {
|
|
21
|
-
* const res = await fetch('/api/auth/jwt', { method: 'POST' });
|
|
22
|
-
* return res.json(); // { jwt: string, expiresAt: number }
|
|
23
|
-
* }
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
getToken: () => Promise<TokenResponse>;
|
|
27
|
-
/**
|
|
28
|
-
* AppKit configuration from createAppKitConfig().
|
|
29
|
-
* Provides wallet connection capabilities for EVM and Solana chains.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```ts
|
|
33
|
-
* const appKitConfig = createAppKitConfig({
|
|
34
|
-
* projectId: process.env.NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID!,
|
|
35
|
-
* });
|
|
36
|
-
*
|
|
37
|
-
* <OrdaProvider config={{ appKitConfig, getToken }}>
|
|
38
|
-
* ```
|
|
39
|
-
*/
|
|
40
|
-
appKitConfig: AppKitConfig;
|
|
41
|
-
debug?: boolean;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Props for OrdaProvider component
|
|
45
|
-
*/
|
|
46
|
-
export interface OrdaProviderProps {
|
|
47
|
-
config: OrdaProviderConfig;
|
|
48
|
-
children: React.ReactNode;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* SDK context value available via useOrdaSDK()
|
|
52
|
-
*/
|
|
53
|
-
export interface OrdaSDKContextValue {
|
|
54
|
-
sdk: OrdaSDK | null;
|
|
55
|
-
isLoading: boolean;
|
|
56
|
-
error: Error | null;
|
|
57
|
-
refreshToken: () => Promise<void>;
|
|
58
|
-
isRefreshing: boolean;
|
|
59
|
-
waitForRefresh: () => Promise<void>;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Internal props for OrdaSDKProvider
|
|
63
|
-
*/
|
|
64
|
-
export interface OrdaSDKProviderProps {
|
|
65
|
-
config: OrdaProviderConfig;
|
|
66
|
-
children: React.ReactNode;
|
|
67
|
-
}
|
|
68
|
-
//# sourceMappingURL=types.d.ts.map
|