@ordanetwork/sdk 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/api/Balances.d.ts +32 -0
- package/dist/browser/api/Balances.d.ts.map +1 -0
- package/dist/browser/api/Balances.js +39 -0
- package/dist/browser/api/Balances.js.map +1 -0
- package/dist/browser/api/Prices.d.ts +26 -0
- package/dist/browser/api/Prices.d.ts.map +1 -0
- package/dist/browser/api/Prices.js +33 -0
- package/dist/browser/api/Prices.js.map +1 -0
- package/dist/browser/crypto/web-crypto.js.map +1 -1
- package/dist/browser/index.d.ts +6 -0
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +9 -5
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/react/assets/animations/completed.json +1 -0
- package/dist/browser/react/assets/animations/converting.json +1 -0
- package/dist/browser/react/assets/animations/error.json +1 -0
- package/dist/browser/react/assets/animations/index.d.ts +4 -0
- package/dist/browser/react/assets/animations/index.d.ts.map +1 -0
- package/dist/browser/react/assets/animations/index.js +6 -0
- package/dist/browser/react/assets/animations/index.js.map +1 -0
- package/dist/browser/react/assets/chains/index.d.ts +3 -0
- package/dist/browser/react/assets/chains/index.d.ts.map +1 -0
- package/dist/browser/react/assets/chains/index.js +31 -0
- package/dist/browser/react/assets/chains/index.js.map +1 -0
- package/dist/browser/react/assets/icons/index.d.ts +10 -0
- package/dist/browser/react/assets/icons/index.d.ts.map +1 -0
- package/dist/browser/react/assets/icons/index.js +10 -0
- package/dist/browser/react/assets/icons/index.js.map +1 -0
- package/dist/browser/react/assets/index.d.ts +6 -0
- package/dist/browser/react/assets/index.d.ts.map +1 -0
- package/dist/browser/react/assets/index.js +9 -0
- package/dist/browser/react/assets/index.js.map +1 -0
- package/dist/browser/react/assets/tokens/index.d.ts +3 -0
- package/dist/browser/react/assets/tokens/index.d.ts.map +1 -0
- package/dist/browser/react/assets/tokens/index.js +45 -0
- package/dist/browser/react/assets/tokens/index.js.map +1 -0
- package/dist/browser/react/components/Widget/Widget.d.ts +2 -0
- package/dist/browser/react/components/Widget/Widget.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/Widget.js +682 -0
- package/dist/browser/react/components/Widget/Widget.js.map +1 -0
- package/dist/browser/react/components/Widget/components/CollapsibleDetails.d.ts +15 -0
- package/dist/browser/react/components/Widget/components/CollapsibleDetails.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/CollapsibleDetails.js +50 -0
- package/dist/browser/react/components/Widget/components/CollapsibleDetails.js.map +1 -0
- package/dist/browser/react/components/Widget/components/CustomDialogHeader.d.ts +13 -0
- package/dist/browser/react/components/Widget/components/CustomDialogHeader.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/CustomDialogHeader.js +27 -0
- package/dist/browser/react/components/Widget/components/CustomDialogHeader.js.map +1 -0
- package/dist/browser/react/components/Widget/components/Footer.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/Footer.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/Footer.js +6 -0
- package/dist/browser/react/components/Widget/components/Footer.js.map +1 -0
- package/dist/browser/react/components/Widget/components/Header.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/Header.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/Header.js +33 -0
- package/dist/browser/react/components/Widget/components/Header.js.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts +15 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js +79 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts +8 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js +79 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts +21 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js +90 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts +3 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js +2 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts +9 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js +15 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts +3 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/index.js +3 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/index.js +2 -0
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/Recipient.d.ts +8 -0
- package/dist/browser/react/components/Widget/components/Recipient.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/Recipient.js +9 -0
- package/dist/browser/react/components/Widget/components/Recipient.js.map +1 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts +13 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/RecipientDialog.js +114 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/RecipientDialog.js.map +1 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts +24 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js +49 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js.map +1 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/index.js +2 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/index.js +2 -0
- package/dist/browser/react/components/Widget/components/RecipientDialog/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts +15 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js +100 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts +27 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js +10 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts +18 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js +55 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts +14 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js +35 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts +12 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js +11 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts +4 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js +4 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js +2 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/index.js +2 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/index.js +2 -0
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TokenInput.d.ts +16 -0
- package/dist/browser/react/components/Widget/components/TokenInput.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TokenInput.js +21 -0
- package/dist/browser/react/components/Widget/components/TokenInput.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts +25 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/TransactionDialog.js +33 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/TransactionDialog.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts +17 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js +313 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts +21 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js +75 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts +16 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js +93 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts +10 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js +32 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts +9 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js +32 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts +17 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js +37 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts +4 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js +4 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts +18 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js +357 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/index.js +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts +17 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js +45 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts +10 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js +49 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/index.d.ts +5 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/index.js +5 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/index.js +2 -0
- package/dist/browser/react/components/Widget/components/TransactionDialog/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts +7 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js +25 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts +7 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js +30 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts +12 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js +17 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js +2 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js +2 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts +7 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js +68 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts +16 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js +36 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js +2 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js +2 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/index.d.ts +3 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/index.js +3 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/index.js +2 -0
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/index.d.ts +13 -0
- package/dist/browser/react/components/Widget/components/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/index.js +13 -0
- package/dist/browser/react/components/Widget/components/index.js.map +1 -0
- package/dist/browser/react/components/Widget/components/shared/TokenIconDisplay.d.ts +15 -0
- package/dist/browser/react/components/Widget/components/shared/TokenIconDisplay.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/shared/TokenIconDisplay.js +31 -0
- package/dist/browser/react/components/Widget/components/shared/TokenIconDisplay.js.map +1 -0
- package/dist/browser/react/components/Widget/components/shared/index.d.ts +2 -0
- package/dist/browser/react/components/Widget/components/shared/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/components/shared/index.js +2 -0
- package/dist/browser/react/components/Widget/components/shared/index.js.map +1 -0
- package/dist/browser/react/components/Widget/index.d.ts +3 -0
- package/dist/browser/react/components/Widget/index.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/index.js +2 -0
- package/dist/browser/react/components/Widget/index.js.map +1 -0
- package/dist/browser/react/components/Widget/types/quote.d.ts +205 -0
- package/dist/browser/react/components/Widget/types/quote.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/types/quote.js +53 -0
- package/dist/browser/react/components/Widget/types/quote.js.map +1 -0
- package/dist/browser/react/components/Widget/types.d.ts +24 -0
- package/dist/browser/react/components/Widget/types.d.ts.map +1 -0
- package/dist/browser/react/components/Widget/types.js +3 -0
- package/dist/browser/react/components/Widget/types.js.map +1 -0
- package/dist/browser/react/components/ui/badge.d.ts +10 -0
- package/dist/browser/react/components/ui/badge.d.ts.map +1 -0
- package/dist/browser/react/components/ui/badge.js +21 -0
- package/dist/browser/react/components/ui/badge.js.map +1 -0
- package/dist/browser/react/components/ui/button.d.ts +12 -0
- package/dist/browser/react/components/ui/button.d.ts.map +1 -0
- package/dist/browser/react/components/ui/button.js +34 -0
- package/dist/browser/react/components/ui/button.js.map +1 -0
- package/dist/browser/react/components/ui/dialog.d.ts +18 -0
- package/dist/browser/react/components/ui/dialog.d.ts.map +1 -0
- package/dist/browser/react/components/ui/dialog.js +41 -0
- package/dist/browser/react/components/ui/dialog.js.map +1 -0
- package/dist/browser/react/components/ui/drawer.d.ts +23 -0
- package/dist/browser/react/components/ui/drawer.d.ts.map +1 -0
- package/dist/browser/react/components/ui/drawer.js +24 -0
- package/dist/browser/react/components/ui/drawer.js.map +1 -0
- package/dist/browser/react/components/ui/index.d.ts +12 -0
- package/dist/browser/react/components/ui/index.d.ts.map +1 -0
- package/dist/browser/react/components/ui/index.js +10 -0
- package/dist/browser/react/components/ui/index.js.map +1 -0
- package/dist/browser/react/components/ui/input.d.ts +4 -0
- package/dist/browser/react/components/ui/input.d.ts.map +1 -0
- package/dist/browser/react/components/ui/input.js +9 -0
- package/dist/browser/react/components/ui/input.js.map +1 -0
- package/dist/browser/react/components/ui/label.d.ts +6 -0
- package/dist/browser/react/components/ui/label.d.ts.map +1 -0
- package/dist/browser/react/components/ui/label.js +10 -0
- package/dist/browser/react/components/ui/label.js.map +1 -0
- package/dist/browser/react/components/ui/popover.d.ts +8 -0
- package/dist/browser/react/components/ui/popover.d.ts.map +1 -0
- package/dist/browser/react/components/ui/popover.js +12 -0
- package/dist/browser/react/components/ui/popover.js.map +1 -0
- package/dist/browser/react/components/ui/select.d.ts +14 -0
- package/dist/browser/react/components/ui/select.d.ts.map +1 -0
- package/dist/browser/react/components/ui/select.js +27 -0
- package/dist/browser/react/components/ui/select.js.map +1 -0
- package/dist/browser/react/components/ui/sheet.d.ts +26 -0
- package/dist/browser/react/components/ui/sheet.d.ts.map +1 -0
- package/dist/browser/react/components/ui/sheet.js +38 -0
- package/dist/browser/react/components/ui/sheet.js.map +1 -0
- package/dist/browser/react/config/appkit.d.ts +2719 -0
- package/dist/browser/react/config/appkit.d.ts.map +1 -0
- package/dist/browser/react/config/appkit.js +79 -0
- package/dist/browser/react/config/appkit.js.map +1 -0
- package/dist/browser/react/config/index.d.ts +3 -0
- package/dist/browser/react/config/index.d.ts.map +1 -0
- package/dist/browser/react/config/index.js +2 -0
- package/dist/browser/react/config/index.js.map +1 -0
- package/dist/browser/react/hooks/index.d.ts +18 -0
- package/dist/browser/react/hooks/index.d.ts.map +1 -0
- package/dist/browser/react/hooks/index.js +11 -0
- package/dist/browser/react/hooks/index.js.map +1 -0
- package/dist/browser/react/hooks/useBalances.d.ts +41 -0
- package/dist/browser/react/hooks/useBalances.d.ts.map +1 -0
- package/dist/browser/react/hooks/useBalances.js +65 -0
- package/dist/browser/react/hooks/useBalances.js.map +1 -0
- package/dist/browser/react/hooks/useLocalRecipients.d.ts +69 -0
- package/dist/browser/react/hooks/useLocalRecipients.d.ts.map +1 -0
- package/dist/browser/react/hooks/useLocalRecipients.js +166 -0
- package/dist/browser/react/hooks/useLocalRecipients.js.map +1 -0
- package/dist/browser/react/hooks/useMediaQuery.d.ts +21 -0
- package/dist/browser/react/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/browser/react/hooks/useMediaQuery.js +38 -0
- package/dist/browser/react/hooks/useMediaQuery.js.map +1 -0
- package/dist/browser/react/hooks/useMultiChainBalances.d.ts +58 -0
- package/dist/browser/react/hooks/useMultiChainBalances.d.ts.map +1 -0
- package/dist/browser/react/hooks/useMultiChainBalances.js +179 -0
- package/dist/browser/react/hooks/useMultiChainBalances.js.map +1 -0
- package/dist/browser/react/hooks/useOffRamp.d.ts +34 -0
- package/dist/browser/react/hooks/useOffRamp.d.ts.map +1 -0
- package/dist/browser/react/hooks/useOffRamp.js +109 -0
- package/dist/browser/react/hooks/useOffRamp.js.map +1 -0
- package/dist/browser/react/hooks/useOnRamp.d.ts +34 -0
- package/dist/browser/react/hooks/useOnRamp.d.ts.map +1 -0
- package/dist/browser/react/hooks/useOnRamp.js +109 -0
- package/dist/browser/react/hooks/useOnRamp.js.map +1 -0
- package/dist/browser/react/hooks/useQuote.d.ts +28 -0
- package/dist/browser/react/hooks/useQuote.d.ts.map +1 -0
- package/dist/browser/react/hooks/useQuote.js +79 -0
- package/dist/browser/react/hooks/useQuote.js.map +1 -0
- package/dist/browser/react/hooks/useRecipient.d.ts +30 -0
- package/dist/browser/react/hooks/useRecipient.d.ts.map +1 -0
- package/dist/browser/react/hooks/useRecipient.js +158 -0
- package/dist/browser/react/hooks/useRecipient.js.map +1 -0
- package/dist/browser/react/hooks/useTokenPrices.d.ts +34 -0
- package/dist/browser/react/hooks/useTokenPrices.d.ts.map +1 -0
- package/dist/browser/react/hooks/useTokenPrices.js +58 -0
- package/dist/browser/react/hooks/useTokenPrices.js.map +1 -0
- package/dist/browser/react/hooks/useTransaction.d.ts +31 -0
- package/dist/browser/react/hooks/useTransaction.d.ts.map +1 -0
- package/dist/browser/react/hooks/useTransaction.js +102 -0
- package/dist/browser/react/hooks/useTransaction.js.map +1 -0
- package/dist/browser/react/index.d.ts +16 -0
- package/dist/browser/react/index.d.ts.map +1 -0
- package/dist/browser/react/index.js +10 -0
- package/dist/browser/react/index.js.map +1 -0
- package/dist/browser/react/lib/constants/chains.d.ts +65 -0
- package/dist/browser/react/lib/constants/chains.d.ts.map +1 -0
- package/dist/browser/react/lib/constants/chains.js +259 -0
- package/dist/browser/react/lib/constants/chains.js.map +1 -0
- package/dist/browser/react/lib/constants/index.d.ts +6 -0
- package/dist/browser/react/lib/constants/index.d.ts.map +1 -0
- package/dist/browser/react/lib/constants/index.js +4 -0
- package/dist/browser/react/lib/constants/index.js.map +1 -0
- package/dist/browser/react/lib/constants/tokens.d.ts +30 -0
- package/dist/browser/react/lib/constants/tokens.d.ts.map +1 -0
- package/dist/browser/react/lib/constants/tokens.js +418 -0
- package/dist/browser/react/lib/constants/tokens.js.map +1 -0
- package/dist/browser/react/lib/constants/wrappedTokens.d.ts +21 -0
- package/dist/browser/react/lib/constants/wrappedTokens.d.ts.map +1 -0
- package/dist/browser/react/lib/constants/wrappedTokens.js +63 -0
- package/dist/browser/react/lib/constants/wrappedTokens.js.map +1 -0
- package/dist/browser/react/lib/index.d.ts +5 -0
- package/dist/browser/react/lib/index.d.ts.map +1 -0
- package/dist/browser/react/lib/index.js +4 -0
- package/dist/browser/react/lib/index.js.map +1 -0
- package/dist/browser/react/lib/sdk-client.d.ts +17 -0
- package/dist/browser/react/lib/sdk-client.d.ts.map +1 -0
- package/dist/browser/react/lib/sdk-client.js +51 -0
- package/dist/browser/react/lib/sdk-client.js.map +1 -0
- package/dist/browser/react/lib/utils/chain.d.ts +11 -0
- package/dist/browser/react/lib/utils/chain.d.ts.map +1 -0
- package/dist/browser/react/lib/utils/chain.js +31 -0
- package/dist/browser/react/lib/utils/chain.js.map +1 -0
- package/dist/browser/react/lib/utils/cn.d.ts +3 -0
- package/dist/browser/react/lib/utils/cn.d.ts.map +1 -0
- package/dist/browser/react/lib/utils/cn.js +6 -0
- package/dist/browser/react/lib/utils/cn.js.map +1 -0
- package/dist/browser/react/lib/utils/copyToClipboard.d.ts +2 -0
- package/dist/browser/react/lib/utils/copyToClipboard.d.ts.map +1 -0
- package/dist/browser/react/lib/utils/copyToClipboard.js +16 -0
- package/dist/browser/react/lib/utils/copyToClipboard.js.map +1 -0
- package/dist/browser/react/lib/utils/errors.d.ts +11 -0
- package/dist/browser/react/lib/utils/errors.d.ts.map +1 -0
- package/dist/browser/react/lib/utils/errors.js +15 -0
- package/dist/browser/react/lib/utils/errors.js.map +1 -0
- package/dist/browser/react/lib/utils/format.d.ts +38 -0
- package/dist/browser/react/lib/utils/format.d.ts.map +1 -0
- package/dist/browser/react/lib/utils/format.js +92 -0
- package/dist/browser/react/lib/utils/format.js.map +1 -0
- package/dist/browser/react/lib/utils/formatUsd.d.ts +19 -0
- package/dist/browser/react/lib/utils/formatUsd.d.ts.map +1 -0
- package/dist/browser/react/lib/utils/formatUsd.js +58 -0
- package/dist/browser/react/lib/utils/formatUsd.js.map +1 -0
- package/dist/browser/react/lib/utils/index.d.ts +12 -0
- package/dist/browser/react/lib/utils/index.d.ts.map +1 -0
- package/dist/browser/react/lib/utils/index.js +11 -0
- package/dist/browser/react/lib/utils/index.js.map +1 -0
- package/dist/browser/react/lib/utils/inputFormatters.d.ts +6 -0
- package/dist/browser/react/lib/utils/inputFormatters.d.ts.map +1 -0
- package/dist/browser/react/lib/utils/inputFormatters.js +32 -0
- package/dist/browser/react/lib/utils/inputFormatters.js.map +1 -0
- package/dist/browser/react/lib/utils/network-mapping.d.ts +45 -0
- package/dist/browser/react/lib/utils/network-mapping.d.ts.map +1 -0
- package/dist/browser/react/lib/utils/network-mapping.js +153 -0
- package/dist/browser/react/lib/utils/network-mapping.js.map +1 -0
- package/dist/browser/react/lib/utils/transaction.d.ts +57 -0
- package/dist/browser/react/lib/utils/transaction.d.ts.map +1 -0
- package/dist/browser/react/lib/utils/transaction.js +136 -0
- package/dist/browser/react/lib/utils/transaction.js.map +1 -0
- package/dist/browser/react/lib/utils/validation.d.ts +27 -0
- package/dist/browser/react/lib/utils/validation.d.ts.map +1 -0
- package/dist/browser/react/lib/utils/validation.js +36 -0
- package/dist/browser/react/lib/utils/validation.js.map +1 -0
- package/dist/browser/react/providers/OrdaProvider.d.ts +38 -0
- package/dist/browser/react/providers/OrdaProvider.d.ts.map +1 -0
- package/dist/browser/react/providers/OrdaProvider.js +55 -0
- package/dist/browser/react/providers/OrdaProvider.js.map +1 -0
- package/dist/browser/react/providers/OrdaSDKContext.d.ts +26 -0
- package/dist/browser/react/providers/OrdaSDKContext.d.ts.map +1 -0
- package/dist/browser/react/providers/OrdaSDKContext.js +154 -0
- package/dist/browser/react/providers/OrdaSDKContext.js.map +1 -0
- package/dist/browser/react/providers/index.d.ts +4 -0
- package/dist/browser/react/providers/index.d.ts.map +1 -0
- package/dist/browser/react/providers/index.js +3 -0
- package/dist/browser/react/providers/index.js.map +1 -0
- package/dist/browser/react/providers/types.d.ts +68 -0
- package/dist/browser/react/providers/types.d.ts.map +1 -0
- package/dist/browser/react/providers/types.js +2 -0
- package/dist/browser/react/providers/types.js.map +1 -0
- package/dist/browser/types/balances.d.ts +49 -0
- package/dist/browser/types/balances.d.ts.map +1 -0
- package/dist/browser/types/balances.js +2 -0
- package/dist/browser/types/balances.js.map +1 -0
- package/dist/browser/types/index.d.ts +2 -0
- package/dist/browser/types/index.d.ts.map +1 -1
- package/dist/browser/types/index.js +2 -0
- package/dist/browser/types/index.js.map +1 -1
- package/dist/browser/types/jwt.d.ts +1 -1
- package/dist/browser/types/jwt.d.ts.map +1 -1
- package/dist/browser/types/prices.d.ts +25 -0
- package/dist/browser/types/prices.d.ts.map +1 -0
- package/dist/browser/types/prices.js +2 -0
- package/dist/browser/types/prices.js.map +1 -0
- package/dist/cjs/api/Balances.d.ts +32 -0
- package/dist/cjs/api/Balances.d.ts.map +1 -0
- package/dist/cjs/api/Balances.js +43 -0
- package/dist/cjs/api/Balances.js.map +1 -0
- package/dist/cjs/api/Prices.d.ts +26 -0
- package/dist/cjs/api/Prices.d.ts.map +1 -0
- package/dist/cjs/api/Prices.js +37 -0
- package/dist/cjs/api/Prices.js.map +1 -0
- package/dist/cjs/crypto/web-crypto.js.map +1 -1
- package/dist/cjs/index.d.ts +6 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +12 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react/assets/animations/completed.json +1 -0
- package/dist/cjs/react/assets/animations/converting.json +1 -0
- package/dist/cjs/react/assets/animations/error.json +1 -0
- package/dist/cjs/react/assets/animations/index.d.ts +4 -0
- package/dist/cjs/react/assets/animations/index.d.ts.map +1 -0
- package/dist/cjs/react/assets/animations/index.js +15 -0
- package/dist/cjs/react/assets/animations/index.js.map +1 -0
- package/dist/cjs/react/assets/chains/index.d.ts +3 -0
- package/dist/cjs/react/assets/chains/index.d.ts.map +1 -0
- package/dist/cjs/react/assets/chains/index.js +35 -0
- package/dist/cjs/react/assets/chains/index.js.map +1 -0
- package/dist/cjs/react/assets/icons/index.d.ts +10 -0
- package/dist/cjs/react/assets/icons/index.d.ts.map +1 -0
- package/dist/cjs/react/assets/icons/index.js +13 -0
- package/dist/cjs/react/assets/icons/index.js.map +1 -0
- package/dist/cjs/react/assets/index.d.ts +6 -0
- package/dist/cjs/react/assets/index.d.ts.map +1 -0
- package/dist/cjs/react/assets/index.js +31 -0
- package/dist/cjs/react/assets/index.js.map +1 -0
- package/dist/cjs/react/assets/tokens/index.d.ts +3 -0
- package/dist/cjs/react/assets/tokens/index.d.ts.map +1 -0
- package/dist/cjs/react/assets/tokens/index.js +49 -0
- package/dist/cjs/react/assets/tokens/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/Widget.d.ts +2 -0
- package/dist/cjs/react/components/Widget/Widget.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/Widget.js +686 -0
- package/dist/cjs/react/components/Widget/Widget.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/CollapsibleDetails.d.ts +15 -0
- package/dist/cjs/react/components/Widget/components/CollapsibleDetails.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/CollapsibleDetails.js +54 -0
- package/dist/cjs/react/components/Widget/components/CollapsibleDetails.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/CustomDialogHeader.d.ts +13 -0
- package/dist/cjs/react/components/Widget/components/CustomDialogHeader.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/CustomDialogHeader.js +34 -0
- package/dist/cjs/react/components/Widget/components/CustomDialogHeader.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/Footer.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/Footer.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/Footer.js +10 -0
- package/dist/cjs/react/components/Widget/components/Footer.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/Header.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/Header.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/Header.js +37 -0
- package/dist/cjs/react/components/Widget/components/Header.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts +15 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js +83 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts +8 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js +83 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts +21 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js +93 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts +3 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts +9 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js +19 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts +3 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/index.js +8 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/Recipient.d.ts +8 -0
- package/dist/cjs/react/components/Widget/components/Recipient.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/Recipient.js +13 -0
- package/dist/cjs/react/components/Widget/components/Recipient.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts +13 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/RecipientDialog.js +118 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/RecipientDialog.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts +24 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js +53 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/RecipientDialog/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts +15 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js +104 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts +27 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js +14 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts +18 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js +59 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts +14 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js +39 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts +12 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js +15 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts +4 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js +10 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TokenInput.d.ts +16 -0
- package/dist/cjs/react/components/Widget/components/TokenInput.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TokenInput.js +25 -0
- package/dist/cjs/react/components/Widget/components/TokenInput.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts +25 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/TransactionDialog.js +37 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/TransactionDialog.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts +17 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js +317 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts +21 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js +79 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts +16 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js +97 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts +10 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js +36 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts +9 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js +36 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts +17 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js +41 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts +4 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js +10 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts +18 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js +361 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts +17 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js +49 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts +10 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js +53 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/index.d.ts +5 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/index.js +12 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/TransactionDialog/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts +7 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js +29 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts +7 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js +34 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts +12 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js +21 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts +7 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js +72 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts +16 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js +40 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/index.d.ts +3 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/index.js +8 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/index.d.ts +13 -0
- package/dist/cjs/react/components/Widget/components/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/index.js +28 -0
- package/dist/cjs/react/components/Widget/components/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/shared/TokenIconDisplay.d.ts +15 -0
- package/dist/cjs/react/components/Widget/components/shared/TokenIconDisplay.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/shared/TokenIconDisplay.js +34 -0
- package/dist/cjs/react/components/Widget/components/shared/TokenIconDisplay.js.map +1 -0
- package/dist/cjs/react/components/Widget/components/shared/index.d.ts +2 -0
- package/dist/cjs/react/components/Widget/components/shared/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/components/shared/index.js +6 -0
- package/dist/cjs/react/components/Widget/components/shared/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/index.d.ts +3 -0
- package/dist/cjs/react/components/Widget/index.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/index.js +6 -0
- package/dist/cjs/react/components/Widget/index.js.map +1 -0
- package/dist/cjs/react/components/Widget/types/quote.d.ts +205 -0
- package/dist/cjs/react/components/Widget/types/quote.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/types/quote.js +59 -0
- package/dist/cjs/react/components/Widget/types/quote.js.map +1 -0
- package/dist/cjs/react/components/Widget/types.d.ts +24 -0
- package/dist/cjs/react/components/Widget/types.d.ts.map +1 -0
- package/dist/cjs/react/components/Widget/types.js +19 -0
- package/dist/cjs/react/components/Widget/types.js.map +1 -0
- package/dist/cjs/react/components/ui/badge.d.ts +10 -0
- package/dist/cjs/react/components/ui/badge.d.ts.map +1 -0
- package/dist/cjs/react/components/ui/badge.js +25 -0
- package/dist/cjs/react/components/ui/badge.js.map +1 -0
- package/dist/cjs/react/components/ui/button.d.ts +12 -0
- package/dist/cjs/react/components/ui/button.d.ts.map +1 -0
- package/dist/cjs/react/components/ui/button.js +71 -0
- package/dist/cjs/react/components/ui/button.js.map +1 -0
- package/dist/cjs/react/components/ui/dialog.d.ts +18 -0
- package/dist/cjs/react/components/ui/dialog.d.ts.map +1 -0
- package/dist/cjs/react/components/ui/dialog.js +86 -0
- package/dist/cjs/react/components/ui/dialog.js.map +1 -0
- package/dist/cjs/react/components/ui/drawer.d.ts +23 -0
- package/dist/cjs/react/components/ui/drawer.d.ts.map +1 -0
- package/dist/cjs/react/components/ui/drawer.js +69 -0
- package/dist/cjs/react/components/ui/drawer.js.map +1 -0
- package/dist/cjs/react/components/ui/index.d.ts +12 -0
- package/dist/cjs/react/components/ui/index.d.ts.map +1 -0
- package/dist/cjs/react/components/ui/index.js +63 -0
- package/dist/cjs/react/components/ui/index.js.map +1 -0
- package/dist/cjs/react/components/ui/input.d.ts +4 -0
- package/dist/cjs/react/components/ui/input.d.ts.map +1 -0
- package/dist/cjs/react/components/ui/input.js +45 -0
- package/dist/cjs/react/components/ui/input.js.map +1 -0
- package/dist/cjs/react/components/ui/label.d.ts +6 -0
- package/dist/cjs/react/components/ui/label.d.ts.map +1 -0
- package/dist/cjs/react/components/ui/label.js +46 -0
- package/dist/cjs/react/components/ui/label.js.map +1 -0
- package/dist/cjs/react/components/ui/popover.d.ts +8 -0
- package/dist/cjs/react/components/ui/popover.d.ts.map +1 -0
- package/dist/cjs/react/components/ui/popover.js +51 -0
- package/dist/cjs/react/components/ui/popover.js.map +1 -0
- package/dist/cjs/react/components/ui/select.d.ts +14 -0
- package/dist/cjs/react/components/ui/select.d.ts.map +1 -0
- package/dist/cjs/react/components/ui/select.js +72 -0
- package/dist/cjs/react/components/ui/select.js.map +1 -0
- package/dist/cjs/react/components/ui/sheet.d.ts +26 -0
- package/dist/cjs/react/components/ui/sheet.d.ts.map +1 -0
- package/dist/cjs/react/components/ui/sheet.js +83 -0
- package/dist/cjs/react/components/ui/sheet.js.map +1 -0
- package/dist/cjs/react/config/appkit.d.ts +2719 -0
- package/dist/cjs/react/config/appkit.d.ts.map +1 -0
- package/dist/cjs/react/config/appkit.js +83 -0
- package/dist/cjs/react/config/appkit.js.map +1 -0
- package/dist/cjs/react/config/index.d.ts +3 -0
- package/dist/cjs/react/config/index.d.ts.map +1 -0
- package/dist/cjs/react/config/index.js +8 -0
- package/dist/cjs/react/config/index.js.map +1 -0
- package/dist/cjs/react/hooks/index.d.ts +18 -0
- package/dist/cjs/react/hooks/index.d.ts.map +1 -0
- package/dist/cjs/react/hooks/index.js +23 -0
- package/dist/cjs/react/hooks/index.js.map +1 -0
- package/dist/cjs/react/hooks/useBalances.d.ts +41 -0
- package/dist/cjs/react/hooks/useBalances.d.ts.map +1 -0
- package/dist/cjs/react/hooks/useBalances.js +68 -0
- package/dist/cjs/react/hooks/useBalances.js.map +1 -0
- package/dist/cjs/react/hooks/useLocalRecipients.d.ts +69 -0
- package/dist/cjs/react/hooks/useLocalRecipients.d.ts.map +1 -0
- package/dist/cjs/react/hooks/useLocalRecipients.js +169 -0
- package/dist/cjs/react/hooks/useLocalRecipients.js.map +1 -0
- package/dist/cjs/react/hooks/useMediaQuery.d.ts +21 -0
- package/dist/cjs/react/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/cjs/react/hooks/useMediaQuery.js +41 -0
- package/dist/cjs/react/hooks/useMediaQuery.js.map +1 -0
- package/dist/cjs/react/hooks/useMultiChainBalances.d.ts +58 -0
- package/dist/cjs/react/hooks/useMultiChainBalances.d.ts.map +1 -0
- package/dist/cjs/react/hooks/useMultiChainBalances.js +215 -0
- package/dist/cjs/react/hooks/useMultiChainBalances.js.map +1 -0
- package/dist/cjs/react/hooks/useOffRamp.d.ts +34 -0
- package/dist/cjs/react/hooks/useOffRamp.d.ts.map +1 -0
- package/dist/cjs/react/hooks/useOffRamp.js +112 -0
- package/dist/cjs/react/hooks/useOffRamp.js.map +1 -0
- package/dist/cjs/react/hooks/useOnRamp.d.ts +34 -0
- package/dist/cjs/react/hooks/useOnRamp.d.ts.map +1 -0
- package/dist/cjs/react/hooks/useOnRamp.js +112 -0
- package/dist/cjs/react/hooks/useOnRamp.js.map +1 -0
- package/dist/cjs/react/hooks/useQuote.d.ts +28 -0
- package/dist/cjs/react/hooks/useQuote.d.ts.map +1 -0
- package/dist/cjs/react/hooks/useQuote.js +82 -0
- package/dist/cjs/react/hooks/useQuote.js.map +1 -0
- package/dist/cjs/react/hooks/useRecipient.d.ts +30 -0
- package/dist/cjs/react/hooks/useRecipient.d.ts.map +1 -0
- package/dist/cjs/react/hooks/useRecipient.js +161 -0
- package/dist/cjs/react/hooks/useRecipient.js.map +1 -0
- package/dist/cjs/react/hooks/useTokenPrices.d.ts +34 -0
- package/dist/cjs/react/hooks/useTokenPrices.d.ts.map +1 -0
- package/dist/cjs/react/hooks/useTokenPrices.js +61 -0
- package/dist/cjs/react/hooks/useTokenPrices.js.map +1 -0
- package/dist/cjs/react/hooks/useTransaction.d.ts +31 -0
- package/dist/cjs/react/hooks/useTransaction.d.ts.map +1 -0
- package/dist/cjs/react/hooks/useTransaction.js +105 -0
- package/dist/cjs/react/hooks/useTransaction.js.map +1 -0
- package/dist/cjs/react/index.d.ts +16 -0
- package/dist/cjs/react/index.d.ts.map +1 -0
- package/dist/cjs/react/index.js +89 -0
- package/dist/cjs/react/index.js.map +1 -0
- package/dist/cjs/react/lib/constants/chains.d.ts +65 -0
- package/dist/cjs/react/lib/constants/chains.d.ts.map +1 -0
- package/dist/cjs/react/lib/constants/chains.js +269 -0
- package/dist/cjs/react/lib/constants/chains.js.map +1 -0
- package/dist/cjs/react/lib/constants/index.d.ts +6 -0
- package/dist/cjs/react/lib/constants/index.d.ts.map +1 -0
- package/dist/cjs/react/lib/constants/index.js +27 -0
- package/dist/cjs/react/lib/constants/index.js.map +1 -0
- package/dist/cjs/react/lib/constants/tokens.d.ts +30 -0
- package/dist/cjs/react/lib/constants/tokens.d.ts.map +1 -0
- package/dist/cjs/react/lib/constants/tokens.js +421 -0
- package/dist/cjs/react/lib/constants/tokens.js.map +1 -0
- package/dist/cjs/react/lib/constants/wrappedTokens.d.ts +21 -0
- package/dist/cjs/react/lib/constants/wrappedTokens.d.ts.map +1 -0
- package/dist/cjs/react/lib/constants/wrappedTokens.js +68 -0
- package/dist/cjs/react/lib/constants/wrappedTokens.js.map +1 -0
- package/dist/cjs/react/lib/index.d.ts +5 -0
- package/dist/cjs/react/lib/index.d.ts.map +1 -0
- package/dist/cjs/react/lib/index.js +49 -0
- package/dist/cjs/react/lib/index.js.map +1 -0
- package/dist/cjs/react/lib/sdk-client.d.ts +17 -0
- package/dist/cjs/react/lib/sdk-client.d.ts.map +1 -0
- package/dist/cjs/react/lib/sdk-client.js +56 -0
- package/dist/cjs/react/lib/sdk-client.js.map +1 -0
- package/dist/cjs/react/lib/utils/chain.d.ts +11 -0
- package/dist/cjs/react/lib/utils/chain.d.ts.map +1 -0
- package/dist/cjs/react/lib/utils/chain.js +35 -0
- package/dist/cjs/react/lib/utils/chain.js.map +1 -0
- package/dist/cjs/react/lib/utils/cn.d.ts +3 -0
- package/dist/cjs/react/lib/utils/cn.d.ts.map +1 -0
- package/dist/cjs/react/lib/utils/cn.js +9 -0
- package/dist/cjs/react/lib/utils/cn.js.map +1 -0
- package/dist/cjs/react/lib/utils/copyToClipboard.d.ts +2 -0
- package/dist/cjs/react/lib/utils/copyToClipboard.d.ts.map +1 -0
- package/dist/cjs/react/lib/utils/copyToClipboard.js +20 -0
- package/dist/cjs/react/lib/utils/copyToClipboard.js.map +1 -0
- package/dist/cjs/react/lib/utils/errors.d.ts +11 -0
- package/dist/cjs/react/lib/utils/errors.d.ts.map +1 -0
- package/dist/cjs/react/lib/utils/errors.js +19 -0
- package/dist/cjs/react/lib/utils/errors.js.map +1 -0
- package/dist/cjs/react/lib/utils/format.d.ts +38 -0
- package/dist/cjs/react/lib/utils/format.d.ts.map +1 -0
- package/dist/cjs/react/lib/utils/format.js +98 -0
- package/dist/cjs/react/lib/utils/format.js.map +1 -0
- package/dist/cjs/react/lib/utils/formatUsd.d.ts +19 -0
- package/dist/cjs/react/lib/utils/formatUsd.d.ts.map +1 -0
- package/dist/cjs/react/lib/utils/formatUsd.js +62 -0
- package/dist/cjs/react/lib/utils/formatUsd.js.map +1 -0
- package/dist/cjs/react/lib/utils/index.d.ts +12 -0
- package/dist/cjs/react/lib/utils/index.d.ts.map +1 -0
- package/dist/cjs/react/lib/utils/index.js +47 -0
- package/dist/cjs/react/lib/utils/index.js.map +1 -0
- package/dist/cjs/react/lib/utils/inputFormatters.d.ts +6 -0
- package/dist/cjs/react/lib/utils/inputFormatters.d.ts.map +1 -0
- package/dist/cjs/react/lib/utils/inputFormatters.js +40 -0
- package/dist/cjs/react/lib/utils/inputFormatters.js.map +1 -0
- package/dist/cjs/react/lib/utils/network-mapping.d.ts +45 -0
- package/dist/cjs/react/lib/utils/network-mapping.d.ts.map +1 -0
- package/dist/cjs/react/lib/utils/network-mapping.js +162 -0
- package/dist/cjs/react/lib/utils/network-mapping.js.map +1 -0
- package/dist/cjs/react/lib/utils/transaction.d.ts +57 -0
- package/dist/cjs/react/lib/utils/transaction.d.ts.map +1 -0
- package/dist/cjs/react/lib/utils/transaction.js +144 -0
- package/dist/cjs/react/lib/utils/transaction.js.map +1 -0
- package/dist/cjs/react/lib/utils/validation.d.ts +27 -0
- package/dist/cjs/react/lib/utils/validation.d.ts.map +1 -0
- package/dist/cjs/react/lib/utils/validation.js +41 -0
- package/dist/cjs/react/lib/utils/validation.js.map +1 -0
- package/dist/cjs/react/providers/OrdaProvider.d.ts +38 -0
- package/dist/cjs/react/providers/OrdaProvider.d.ts.map +1 -0
- package/dist/cjs/react/providers/OrdaProvider.js +58 -0
- package/dist/cjs/react/providers/OrdaProvider.js.map +1 -0
- package/dist/cjs/react/providers/OrdaSDKContext.d.ts +26 -0
- package/dist/cjs/react/providers/OrdaSDKContext.d.ts.map +1 -0
- package/dist/cjs/react/providers/OrdaSDKContext.js +158 -0
- package/dist/cjs/react/providers/OrdaSDKContext.js.map +1 -0
- package/dist/cjs/react/providers/index.d.ts +4 -0
- package/dist/cjs/react/providers/index.d.ts.map +1 -0
- package/dist/cjs/react/providers/index.js +8 -0
- package/dist/cjs/react/providers/index.js.map +1 -0
- package/dist/cjs/react/providers/types.d.ts +68 -0
- package/dist/cjs/react/providers/types.d.ts.map +1 -0
- package/dist/cjs/react/providers/types.js +3 -0
- package/dist/cjs/react/providers/types.js.map +1 -0
- package/dist/cjs/types/balances.d.ts +49 -0
- package/dist/cjs/types/balances.d.ts.map +1 -0
- package/dist/cjs/types/balances.js +3 -0
- package/dist/cjs/types/balances.js.map +1 -0
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/types/jwt.d.ts +1 -1
- package/dist/cjs/types/jwt.d.ts.map +1 -1
- package/dist/cjs/types/prices.d.ts +25 -0
- package/dist/cjs/types/prices.d.ts.map +1 -0
- package/dist/cjs/types/prices.js +3 -0
- package/dist/cjs/types/prices.js.map +1 -0
- package/dist/esm/api/Balances.d.ts +32 -0
- package/dist/esm/api/Balances.d.ts.map +1 -0
- package/dist/esm/api/Balances.js +39 -0
- package/dist/esm/api/Balances.js.map +1 -0
- package/dist/esm/api/Prices.d.ts +26 -0
- package/dist/esm/api/Prices.d.ts.map +1 -0
- package/dist/esm/api/Prices.js +33 -0
- package/dist/esm/api/Prices.js.map +1 -0
- package/dist/esm/crypto/web-crypto.js.map +1 -1
- package/dist/esm/index.d.ts +6 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +9 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/react/assets/animations/completed.json +1 -0
- package/dist/esm/react/assets/animations/converting.json +1 -0
- package/dist/esm/react/assets/animations/error.json +1 -0
- package/dist/esm/react/assets/animations/index.d.ts +4 -0
- package/dist/esm/react/assets/animations/index.d.ts.map +1 -0
- package/dist/esm/react/assets/animations/index.js +6 -0
- package/dist/esm/react/assets/animations/index.js.map +1 -0
- package/dist/esm/react/assets/chains/index.d.ts +3 -0
- package/dist/esm/react/assets/chains/index.d.ts.map +1 -0
- package/dist/esm/react/assets/chains/index.js +31 -0
- package/dist/esm/react/assets/chains/index.js.map +1 -0
- package/dist/esm/react/assets/icons/index.d.ts +10 -0
- package/dist/esm/react/assets/icons/index.d.ts.map +1 -0
- package/dist/esm/react/assets/icons/index.js +10 -0
- package/dist/esm/react/assets/icons/index.js.map +1 -0
- package/dist/esm/react/assets/index.d.ts +6 -0
- package/dist/esm/react/assets/index.d.ts.map +1 -0
- package/dist/esm/react/assets/index.js +9 -0
- package/dist/esm/react/assets/index.js.map +1 -0
- package/dist/esm/react/assets/tokens/index.d.ts +3 -0
- package/dist/esm/react/assets/tokens/index.d.ts.map +1 -0
- package/dist/esm/react/assets/tokens/index.js +45 -0
- package/dist/esm/react/assets/tokens/index.js.map +1 -0
- package/dist/esm/react/components/Widget/Widget.d.ts +2 -0
- package/dist/esm/react/components/Widget/Widget.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/Widget.js +682 -0
- package/dist/esm/react/components/Widget/Widget.js.map +1 -0
- package/dist/esm/react/components/Widget/components/CollapsibleDetails.d.ts +15 -0
- package/dist/esm/react/components/Widget/components/CollapsibleDetails.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/CollapsibleDetails.js +50 -0
- package/dist/esm/react/components/Widget/components/CollapsibleDetails.js.map +1 -0
- package/dist/esm/react/components/Widget/components/CustomDialogHeader.d.ts +13 -0
- package/dist/esm/react/components/Widget/components/CustomDialogHeader.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/CustomDialogHeader.js +27 -0
- package/dist/esm/react/components/Widget/components/CustomDialogHeader.js.map +1 -0
- package/dist/esm/react/components/Widget/components/Footer.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/Footer.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/Footer.js +6 -0
- package/dist/esm/react/components/Widget/components/Footer.js.map +1 -0
- package/dist/esm/react/components/Widget/components/Header.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/Header.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/Header.js +33 -0
- package/dist/esm/react/components/Widget/components/Header.js.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts +15 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js +79 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts +8 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js +79 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts +21 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js +90 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts +3 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js +2 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts +9 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js +15 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts +3 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/index.js +3 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/index.js +2 -0
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/Recipient.d.ts +8 -0
- package/dist/esm/react/components/Widget/components/Recipient.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/Recipient.js +9 -0
- package/dist/esm/react/components/Widget/components/Recipient.js.map +1 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts +13 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/RecipientDialog.js +114 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/RecipientDialog.js.map +1 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts +24 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js +49 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js.map +1 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/index.js +2 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/index.js +2 -0
- package/dist/esm/react/components/Widget/components/RecipientDialog/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts +15 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js +100 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts +27 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js +10 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts +18 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js +55 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts +14 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js +35 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts +12 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js +11 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts +4 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js +4 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js +2 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/index.js +2 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/index.js +2 -0
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TokenInput.d.ts +16 -0
- package/dist/esm/react/components/Widget/components/TokenInput.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TokenInput.js +21 -0
- package/dist/esm/react/components/Widget/components/TokenInput.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts +25 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/TransactionDialog.js +33 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/TransactionDialog.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts +17 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js +313 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts +21 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js +75 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts +16 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js +93 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts +10 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js +32 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts +9 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js +32 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts +17 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js +37 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts +4 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js +4 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts +18 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js +357 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/index.js +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts +17 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js +45 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts +10 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js +49 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/index.d.ts +5 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/index.js +5 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/index.js +2 -0
- package/dist/esm/react/components/Widget/components/TransactionDialog/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts +7 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js +25 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts +7 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js +30 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts +12 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js +17 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js +2 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js +2 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts +7 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js +68 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts +16 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js +36 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js +2 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js +2 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/index.d.ts +3 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/index.js +3 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/index.js +2 -0
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/index.d.ts +13 -0
- package/dist/esm/react/components/Widget/components/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/index.js +13 -0
- package/dist/esm/react/components/Widget/components/index.js.map +1 -0
- package/dist/esm/react/components/Widget/components/shared/TokenIconDisplay.d.ts +15 -0
- package/dist/esm/react/components/Widget/components/shared/TokenIconDisplay.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/shared/TokenIconDisplay.js +31 -0
- package/dist/esm/react/components/Widget/components/shared/TokenIconDisplay.js.map +1 -0
- package/dist/esm/react/components/Widget/components/shared/index.d.ts +2 -0
- package/dist/esm/react/components/Widget/components/shared/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/components/shared/index.js +2 -0
- package/dist/esm/react/components/Widget/components/shared/index.js.map +1 -0
- package/dist/esm/react/components/Widget/index.d.ts +3 -0
- package/dist/esm/react/components/Widget/index.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/index.js +2 -0
- package/dist/esm/react/components/Widget/index.js.map +1 -0
- package/dist/esm/react/components/Widget/types/quote.d.ts +205 -0
- package/dist/esm/react/components/Widget/types/quote.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/types/quote.js +53 -0
- package/dist/esm/react/components/Widget/types/quote.js.map +1 -0
- package/dist/esm/react/components/Widget/types.d.ts +24 -0
- package/dist/esm/react/components/Widget/types.d.ts.map +1 -0
- package/dist/esm/react/components/Widget/types.js +3 -0
- package/dist/esm/react/components/Widget/types.js.map +1 -0
- package/dist/esm/react/components/ui/badge.d.ts +10 -0
- package/dist/esm/react/components/ui/badge.d.ts.map +1 -0
- package/dist/esm/react/components/ui/badge.js +21 -0
- package/dist/esm/react/components/ui/badge.js.map +1 -0
- package/dist/esm/react/components/ui/button.d.ts +12 -0
- package/dist/esm/react/components/ui/button.d.ts.map +1 -0
- package/dist/esm/react/components/ui/button.js +34 -0
- package/dist/esm/react/components/ui/button.js.map +1 -0
- package/dist/esm/react/components/ui/dialog.d.ts +18 -0
- package/dist/esm/react/components/ui/dialog.d.ts.map +1 -0
- package/dist/esm/react/components/ui/dialog.js +41 -0
- package/dist/esm/react/components/ui/dialog.js.map +1 -0
- package/dist/esm/react/components/ui/drawer.d.ts +23 -0
- package/dist/esm/react/components/ui/drawer.d.ts.map +1 -0
- package/dist/esm/react/components/ui/drawer.js +24 -0
- package/dist/esm/react/components/ui/drawer.js.map +1 -0
- package/dist/esm/react/components/ui/index.d.ts +12 -0
- package/dist/esm/react/components/ui/index.d.ts.map +1 -0
- package/dist/esm/react/components/ui/index.js +10 -0
- package/dist/esm/react/components/ui/index.js.map +1 -0
- package/dist/esm/react/components/ui/input.d.ts +4 -0
- package/dist/esm/react/components/ui/input.d.ts.map +1 -0
- package/dist/esm/react/components/ui/input.js +9 -0
- package/dist/esm/react/components/ui/input.js.map +1 -0
- package/dist/esm/react/components/ui/label.d.ts +6 -0
- package/dist/esm/react/components/ui/label.d.ts.map +1 -0
- package/dist/esm/react/components/ui/label.js +10 -0
- package/dist/esm/react/components/ui/label.js.map +1 -0
- package/dist/esm/react/components/ui/popover.d.ts +8 -0
- package/dist/esm/react/components/ui/popover.d.ts.map +1 -0
- package/dist/esm/react/components/ui/popover.js +12 -0
- package/dist/esm/react/components/ui/popover.js.map +1 -0
- package/dist/esm/react/components/ui/select.d.ts +14 -0
- package/dist/esm/react/components/ui/select.d.ts.map +1 -0
- package/dist/esm/react/components/ui/select.js +27 -0
- package/dist/esm/react/components/ui/select.js.map +1 -0
- package/dist/esm/react/components/ui/sheet.d.ts +26 -0
- package/dist/esm/react/components/ui/sheet.d.ts.map +1 -0
- package/dist/esm/react/components/ui/sheet.js +38 -0
- package/dist/esm/react/components/ui/sheet.js.map +1 -0
- package/dist/esm/react/config/appkit.d.ts +2719 -0
- package/dist/esm/react/config/appkit.d.ts.map +1 -0
- package/dist/esm/react/config/appkit.js +79 -0
- package/dist/esm/react/config/appkit.js.map +1 -0
- package/dist/esm/react/config/index.d.ts +3 -0
- package/dist/esm/react/config/index.d.ts.map +1 -0
- package/dist/esm/react/config/index.js +2 -0
- package/dist/esm/react/config/index.js.map +1 -0
- package/dist/esm/react/hooks/index.d.ts +18 -0
- package/dist/esm/react/hooks/index.d.ts.map +1 -0
- package/dist/esm/react/hooks/index.js +11 -0
- package/dist/esm/react/hooks/index.js.map +1 -0
- package/dist/esm/react/hooks/useBalances.d.ts +41 -0
- package/dist/esm/react/hooks/useBalances.d.ts.map +1 -0
- package/dist/esm/react/hooks/useBalances.js +65 -0
- package/dist/esm/react/hooks/useBalances.js.map +1 -0
- package/dist/esm/react/hooks/useLocalRecipients.d.ts +69 -0
- package/dist/esm/react/hooks/useLocalRecipients.d.ts.map +1 -0
- package/dist/esm/react/hooks/useLocalRecipients.js +166 -0
- package/dist/esm/react/hooks/useLocalRecipients.js.map +1 -0
- package/dist/esm/react/hooks/useMediaQuery.d.ts +21 -0
- package/dist/esm/react/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/esm/react/hooks/useMediaQuery.js +38 -0
- package/dist/esm/react/hooks/useMediaQuery.js.map +1 -0
- package/dist/esm/react/hooks/useMultiChainBalances.d.ts +58 -0
- package/dist/esm/react/hooks/useMultiChainBalances.d.ts.map +1 -0
- package/dist/esm/react/hooks/useMultiChainBalances.js +179 -0
- package/dist/esm/react/hooks/useMultiChainBalances.js.map +1 -0
- package/dist/esm/react/hooks/useOffRamp.d.ts +34 -0
- package/dist/esm/react/hooks/useOffRamp.d.ts.map +1 -0
- package/dist/esm/react/hooks/useOffRamp.js +109 -0
- package/dist/esm/react/hooks/useOffRamp.js.map +1 -0
- package/dist/esm/react/hooks/useOnRamp.d.ts +34 -0
- package/dist/esm/react/hooks/useOnRamp.d.ts.map +1 -0
- package/dist/esm/react/hooks/useOnRamp.js +109 -0
- package/dist/esm/react/hooks/useOnRamp.js.map +1 -0
- package/dist/esm/react/hooks/useQuote.d.ts +28 -0
- package/dist/esm/react/hooks/useQuote.d.ts.map +1 -0
- package/dist/esm/react/hooks/useQuote.js +79 -0
- package/dist/esm/react/hooks/useQuote.js.map +1 -0
- package/dist/esm/react/hooks/useRecipient.d.ts +30 -0
- package/dist/esm/react/hooks/useRecipient.d.ts.map +1 -0
- package/dist/esm/react/hooks/useRecipient.js +158 -0
- package/dist/esm/react/hooks/useRecipient.js.map +1 -0
- package/dist/esm/react/hooks/useTokenPrices.d.ts +34 -0
- package/dist/esm/react/hooks/useTokenPrices.d.ts.map +1 -0
- package/dist/esm/react/hooks/useTokenPrices.js +58 -0
- package/dist/esm/react/hooks/useTokenPrices.js.map +1 -0
- package/dist/esm/react/hooks/useTransaction.d.ts +31 -0
- package/dist/esm/react/hooks/useTransaction.d.ts.map +1 -0
- package/dist/esm/react/hooks/useTransaction.js +102 -0
- package/dist/esm/react/hooks/useTransaction.js.map +1 -0
- package/dist/esm/react/index.d.ts +16 -0
- package/dist/esm/react/index.d.ts.map +1 -0
- package/dist/esm/react/index.js +10 -0
- package/dist/esm/react/index.js.map +1 -0
- package/dist/esm/react/lib/constants/chains.d.ts +65 -0
- package/dist/esm/react/lib/constants/chains.d.ts.map +1 -0
- package/dist/esm/react/lib/constants/chains.js +259 -0
- package/dist/esm/react/lib/constants/chains.js.map +1 -0
- package/dist/esm/react/lib/constants/index.d.ts +6 -0
- package/dist/esm/react/lib/constants/index.d.ts.map +1 -0
- package/dist/esm/react/lib/constants/index.js +4 -0
- package/dist/esm/react/lib/constants/index.js.map +1 -0
- package/dist/esm/react/lib/constants/tokens.d.ts +30 -0
- package/dist/esm/react/lib/constants/tokens.d.ts.map +1 -0
- package/dist/esm/react/lib/constants/tokens.js +418 -0
- package/dist/esm/react/lib/constants/tokens.js.map +1 -0
- package/dist/esm/react/lib/constants/wrappedTokens.d.ts +21 -0
- package/dist/esm/react/lib/constants/wrappedTokens.d.ts.map +1 -0
- package/dist/esm/react/lib/constants/wrappedTokens.js +63 -0
- package/dist/esm/react/lib/constants/wrappedTokens.js.map +1 -0
- package/dist/esm/react/lib/index.d.ts +5 -0
- package/dist/esm/react/lib/index.d.ts.map +1 -0
- package/dist/esm/react/lib/index.js +4 -0
- package/dist/esm/react/lib/index.js.map +1 -0
- package/dist/esm/react/lib/sdk-client.d.ts +17 -0
- package/dist/esm/react/lib/sdk-client.d.ts.map +1 -0
- package/dist/esm/react/lib/sdk-client.js +51 -0
- package/dist/esm/react/lib/sdk-client.js.map +1 -0
- package/dist/esm/react/lib/utils/chain.d.ts +11 -0
- package/dist/esm/react/lib/utils/chain.d.ts.map +1 -0
- package/dist/esm/react/lib/utils/chain.js +31 -0
- package/dist/esm/react/lib/utils/chain.js.map +1 -0
- package/dist/esm/react/lib/utils/cn.d.ts +3 -0
- package/dist/esm/react/lib/utils/cn.d.ts.map +1 -0
- package/dist/esm/react/lib/utils/cn.js +6 -0
- package/dist/esm/react/lib/utils/cn.js.map +1 -0
- package/dist/esm/react/lib/utils/copyToClipboard.d.ts +2 -0
- package/dist/esm/react/lib/utils/copyToClipboard.d.ts.map +1 -0
- package/dist/esm/react/lib/utils/copyToClipboard.js +16 -0
- package/dist/esm/react/lib/utils/copyToClipboard.js.map +1 -0
- package/dist/esm/react/lib/utils/errors.d.ts +11 -0
- package/dist/esm/react/lib/utils/errors.d.ts.map +1 -0
- package/dist/esm/react/lib/utils/errors.js +15 -0
- package/dist/esm/react/lib/utils/errors.js.map +1 -0
- package/dist/esm/react/lib/utils/format.d.ts +38 -0
- package/dist/esm/react/lib/utils/format.d.ts.map +1 -0
- package/dist/esm/react/lib/utils/format.js +92 -0
- package/dist/esm/react/lib/utils/format.js.map +1 -0
- package/dist/esm/react/lib/utils/formatUsd.d.ts +19 -0
- package/dist/esm/react/lib/utils/formatUsd.d.ts.map +1 -0
- package/dist/esm/react/lib/utils/formatUsd.js +58 -0
- package/dist/esm/react/lib/utils/formatUsd.js.map +1 -0
- package/dist/esm/react/lib/utils/index.d.ts +12 -0
- package/dist/esm/react/lib/utils/index.d.ts.map +1 -0
- package/dist/esm/react/lib/utils/index.js +11 -0
- package/dist/esm/react/lib/utils/index.js.map +1 -0
- package/dist/esm/react/lib/utils/inputFormatters.d.ts +6 -0
- package/dist/esm/react/lib/utils/inputFormatters.d.ts.map +1 -0
- package/dist/esm/react/lib/utils/inputFormatters.js +32 -0
- package/dist/esm/react/lib/utils/inputFormatters.js.map +1 -0
- package/dist/esm/react/lib/utils/network-mapping.d.ts +45 -0
- package/dist/esm/react/lib/utils/network-mapping.d.ts.map +1 -0
- package/dist/esm/react/lib/utils/network-mapping.js +153 -0
- package/dist/esm/react/lib/utils/network-mapping.js.map +1 -0
- package/dist/esm/react/lib/utils/transaction.d.ts +57 -0
- package/dist/esm/react/lib/utils/transaction.d.ts.map +1 -0
- package/dist/esm/react/lib/utils/transaction.js +136 -0
- package/dist/esm/react/lib/utils/transaction.js.map +1 -0
- package/dist/esm/react/lib/utils/validation.d.ts +27 -0
- package/dist/esm/react/lib/utils/validation.d.ts.map +1 -0
- package/dist/esm/react/lib/utils/validation.js +36 -0
- package/dist/esm/react/lib/utils/validation.js.map +1 -0
- package/dist/esm/react/providers/OrdaProvider.d.ts +38 -0
- package/dist/esm/react/providers/OrdaProvider.d.ts.map +1 -0
- package/dist/esm/react/providers/OrdaProvider.js +55 -0
- package/dist/esm/react/providers/OrdaProvider.js.map +1 -0
- package/dist/esm/react/providers/OrdaSDKContext.d.ts +26 -0
- package/dist/esm/react/providers/OrdaSDKContext.d.ts.map +1 -0
- package/dist/esm/react/providers/OrdaSDKContext.js +154 -0
- package/dist/esm/react/providers/OrdaSDKContext.js.map +1 -0
- package/dist/esm/react/providers/index.d.ts +4 -0
- package/dist/esm/react/providers/index.d.ts.map +1 -0
- package/dist/esm/react/providers/index.js +3 -0
- package/dist/esm/react/providers/index.js.map +1 -0
- package/dist/esm/react/providers/types.d.ts +68 -0
- package/dist/esm/react/providers/types.d.ts.map +1 -0
- package/dist/esm/react/providers/types.js +2 -0
- package/dist/esm/react/providers/types.js.map +1 -0
- package/dist/esm/types/balances.d.ts +49 -0
- package/dist/esm/types/balances.d.ts.map +1 -0
- package/dist/esm/types/balances.js +2 -0
- package/dist/esm/types/balances.js.map +1 -0
- package/dist/esm/types/index.d.ts +2 -0
- package/dist/esm/types/index.d.ts.map +1 -1
- package/dist/esm/types/index.js +2 -0
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/types/jwt.d.ts +1 -1
- package/dist/esm/types/jwt.d.ts.map +1 -1
- package/dist/esm/types/prices.d.ts +25 -0
- package/dist/esm/types/prices.d.ts.map +1 -0
- package/dist/esm/types/prices.js +2 -0
- package/dist/esm/types/prices.js.map +1 -0
- package/dist/react/chunk-2DNKUSZW.mjs +26 -0
- package/dist/react/chunk-DOIEWRNM.cjs +29 -0
- package/dist/react/index.cjs +8447 -0
- package/dist/react/index.d.mts +4581 -0
- package/dist/react/index.d.ts +4581 -0
- package/dist/react/index.mjs +8310 -0
- package/dist/react/styles.css +2 -0
- package/dist/react/web-crypto-DE5M6GOD.mjs +1 -0
- package/dist/react/web-crypto-MCH7ICH6.cjs +10 -0
- package/dist/types/api/Balances.d.ts +32 -0
- package/dist/types/api/Balances.d.ts.map +1 -0
- package/dist/types/api/Prices.d.ts +26 -0
- package/dist/types/api/Prices.d.ts.map +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/react/assets/animations/index.d.ts +4 -0
- package/dist/types/react/assets/animations/index.d.ts.map +1 -0
- package/dist/types/react/assets/chains/index.d.ts +3 -0
- package/dist/types/react/assets/chains/index.d.ts.map +1 -0
- package/dist/types/react/assets/icons/index.d.ts +10 -0
- package/dist/types/react/assets/icons/index.d.ts.map +1 -0
- package/dist/types/react/assets/index.d.ts +6 -0
- package/dist/types/react/assets/index.d.ts.map +1 -0
- package/dist/types/react/assets/tokens/index.d.ts +3 -0
- package/dist/types/react/assets/tokens/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/Widget.d.ts +2 -0
- package/dist/types/react/components/Widget/Widget.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/CollapsibleDetails.d.ts +15 -0
- package/dist/types/react/components/Widget/components/CollapsibleDetails.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/CustomDialogHeader.d.ts +13 -0
- package/dist/types/react/components/Widget/components/CustomDialogHeader.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/Footer.d.ts +2 -0
- package/dist/types/react/components/Widget/components/Footer.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/Header.d.ts +2 -0
- package/dist/types/react/components/Widget/components/Header.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts +15 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts +8 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts +21 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts +3 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts +9 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts +3 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/Recipient.d.ts +8 -0
- package/dist/types/react/components/Widget/components/Recipient.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts +13 -0
- package/dist/types/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts +24 -0
- package/dist/types/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/RecipientDialog/components/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/RecipientDialog/components/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/RecipientDialog/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/RecipientDialog/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts +15 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts +27 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts +18 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts +14 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts +12 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts +4 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/SelectAssetDialog/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TokenInput.d.ts +16 -0
- package/dist/types/react/components/Widget/components/TokenInput.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts +25 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts +17 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts +21 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts +16 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts +10 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts +9 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts +17 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts +4 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts +18 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts +17 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts +10 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/index.d.ts +5 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/components/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/TransactionDialog/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts +7 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts +7 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts +12 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts +7 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts +16 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/index.d.ts +3 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/UserAccountDrawer/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/index.d.ts +13 -0
- package/dist/types/react/components/Widget/components/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/shared/TokenIconDisplay.d.ts +15 -0
- package/dist/types/react/components/Widget/components/shared/TokenIconDisplay.d.ts.map +1 -0
- package/dist/types/react/components/Widget/components/shared/index.d.ts +2 -0
- package/dist/types/react/components/Widget/components/shared/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/index.d.ts +3 -0
- package/dist/types/react/components/Widget/index.d.ts.map +1 -0
- package/dist/types/react/components/Widget/types/quote.d.ts +205 -0
- package/dist/types/react/components/Widget/types/quote.d.ts.map +1 -0
- package/dist/types/react/components/Widget/types.d.ts +24 -0
- package/dist/types/react/components/Widget/types.d.ts.map +1 -0
- package/dist/types/react/components/ui/badge.d.ts +10 -0
- package/dist/types/react/components/ui/badge.d.ts.map +1 -0
- package/dist/types/react/components/ui/button.d.ts +12 -0
- package/dist/types/react/components/ui/button.d.ts.map +1 -0
- package/dist/types/react/components/ui/dialog.d.ts +18 -0
- package/dist/types/react/components/ui/dialog.d.ts.map +1 -0
- package/dist/types/react/components/ui/drawer.d.ts +23 -0
- package/dist/types/react/components/ui/drawer.d.ts.map +1 -0
- package/dist/types/react/components/ui/index.d.ts +12 -0
- package/dist/types/react/components/ui/index.d.ts.map +1 -0
- package/dist/types/react/components/ui/input.d.ts +4 -0
- package/dist/types/react/components/ui/input.d.ts.map +1 -0
- package/dist/types/react/components/ui/label.d.ts +6 -0
- package/dist/types/react/components/ui/label.d.ts.map +1 -0
- package/dist/types/react/components/ui/popover.d.ts +8 -0
- package/dist/types/react/components/ui/popover.d.ts.map +1 -0
- package/dist/types/react/components/ui/select.d.ts +14 -0
- package/dist/types/react/components/ui/select.d.ts.map +1 -0
- package/dist/types/react/components/ui/sheet.d.ts +26 -0
- package/dist/types/react/components/ui/sheet.d.ts.map +1 -0
- package/dist/types/react/config/appkit.d.ts +2719 -0
- package/dist/types/react/config/appkit.d.ts.map +1 -0
- package/dist/types/react/config/index.d.ts +3 -0
- package/dist/types/react/config/index.d.ts.map +1 -0
- package/dist/types/react/hooks/index.d.ts +18 -0
- package/dist/types/react/hooks/index.d.ts.map +1 -0
- package/dist/types/react/hooks/useBalances.d.ts +41 -0
- package/dist/types/react/hooks/useBalances.d.ts.map +1 -0
- package/dist/types/react/hooks/useLocalRecipients.d.ts +69 -0
- package/dist/types/react/hooks/useLocalRecipients.d.ts.map +1 -0
- package/dist/types/react/hooks/useMediaQuery.d.ts +21 -0
- package/dist/types/react/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/types/react/hooks/useMultiChainBalances.d.ts +58 -0
- package/dist/types/react/hooks/useMultiChainBalances.d.ts.map +1 -0
- package/dist/types/react/hooks/useOffRamp.d.ts +34 -0
- package/dist/types/react/hooks/useOffRamp.d.ts.map +1 -0
- package/dist/types/react/hooks/useOnRamp.d.ts +34 -0
- package/dist/types/react/hooks/useOnRamp.d.ts.map +1 -0
- package/dist/types/react/hooks/useQuote.d.ts +28 -0
- package/dist/types/react/hooks/useQuote.d.ts.map +1 -0
- package/dist/types/react/hooks/useRecipient.d.ts +30 -0
- package/dist/types/react/hooks/useRecipient.d.ts.map +1 -0
- package/dist/types/react/hooks/useTokenPrices.d.ts +34 -0
- package/dist/types/react/hooks/useTokenPrices.d.ts.map +1 -0
- package/dist/types/react/hooks/useTransaction.d.ts +31 -0
- package/dist/types/react/hooks/useTransaction.d.ts.map +1 -0
- package/dist/types/react/index.d.ts +16 -0
- package/dist/types/react/index.d.ts.map +1 -0
- package/dist/types/react/lib/constants/chains.d.ts +65 -0
- package/dist/types/react/lib/constants/chains.d.ts.map +1 -0
- package/dist/types/react/lib/constants/index.d.ts +6 -0
- package/dist/types/react/lib/constants/index.d.ts.map +1 -0
- package/dist/types/react/lib/constants/tokens.d.ts +30 -0
- package/dist/types/react/lib/constants/tokens.d.ts.map +1 -0
- package/dist/types/react/lib/constants/wrappedTokens.d.ts +21 -0
- package/dist/types/react/lib/constants/wrappedTokens.d.ts.map +1 -0
- package/dist/types/react/lib/index.d.ts +5 -0
- package/dist/types/react/lib/index.d.ts.map +1 -0
- package/dist/types/react/lib/sdk-client.d.ts +17 -0
- package/dist/types/react/lib/sdk-client.d.ts.map +1 -0
- package/dist/types/react/lib/utils/chain.d.ts +11 -0
- package/dist/types/react/lib/utils/chain.d.ts.map +1 -0
- package/dist/types/react/lib/utils/cn.d.ts +3 -0
- package/dist/types/react/lib/utils/cn.d.ts.map +1 -0
- package/dist/types/react/lib/utils/copyToClipboard.d.ts +2 -0
- package/dist/types/react/lib/utils/copyToClipboard.d.ts.map +1 -0
- package/dist/types/react/lib/utils/errors.d.ts +11 -0
- package/dist/types/react/lib/utils/errors.d.ts.map +1 -0
- package/dist/types/react/lib/utils/format.d.ts +38 -0
- package/dist/types/react/lib/utils/format.d.ts.map +1 -0
- package/dist/types/react/lib/utils/formatUsd.d.ts +19 -0
- package/dist/types/react/lib/utils/formatUsd.d.ts.map +1 -0
- package/dist/types/react/lib/utils/index.d.ts +12 -0
- package/dist/types/react/lib/utils/index.d.ts.map +1 -0
- package/dist/types/react/lib/utils/inputFormatters.d.ts +6 -0
- package/dist/types/react/lib/utils/inputFormatters.d.ts.map +1 -0
- package/dist/types/react/lib/utils/network-mapping.d.ts +45 -0
- package/dist/types/react/lib/utils/network-mapping.d.ts.map +1 -0
- package/dist/types/react/lib/utils/transaction.d.ts +57 -0
- package/dist/types/react/lib/utils/transaction.d.ts.map +1 -0
- package/dist/types/react/lib/utils/validation.d.ts +27 -0
- package/dist/types/react/lib/utils/validation.d.ts.map +1 -0
- package/dist/types/react/providers/OrdaProvider.d.ts +38 -0
- package/dist/types/react/providers/OrdaProvider.d.ts.map +1 -0
- package/dist/types/react/providers/OrdaSDKContext.d.ts +26 -0
- package/dist/types/react/providers/OrdaSDKContext.d.ts.map +1 -0
- package/dist/types/react/providers/index.d.ts +4 -0
- package/dist/types/react/providers/index.d.ts.map +1 -0
- package/dist/types/react/providers/types.d.ts +68 -0
- package/dist/types/react/providers/types.d.ts.map +1 -0
- package/dist/types/types/balances.d.ts +49 -0
- package/dist/types/types/balances.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/jwt.d.ts +1 -1
- package/dist/types/types/jwt.d.ts.map +1 -1
- package/dist/types/types/prices.d.ts +25 -0
- package/dist/types/types/prices.d.ts.map +1 -0
- package/package.json +85 -6
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use client';
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Swap = void 0;
|
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
+
const button_1 = require("../../../../../ui/button");
|
|
7
|
+
const CustomDialogHeader_1 = require("../../../CustomDialogHeader");
|
|
8
|
+
const useTransaction_1 = require("../../../../../../hooks/useTransaction");
|
|
9
|
+
const constants_1 = require("../../../../../../lib/constants");
|
|
10
|
+
const chain_1 = require("../../../../../../lib/utils/chain");
|
|
11
|
+
const transaction_1 = require("../../../../../../lib/utils/transaction");
|
|
12
|
+
const react_1 = require("react");
|
|
13
|
+
const sonner_1 = require("sonner");
|
|
14
|
+
const wagmi_1 = require("wagmi");
|
|
15
|
+
const TransactionDetails_1 = require("../TransactionDetails");
|
|
16
|
+
const Swap = ({ fromAmount, toAmount, fromTokenSelected, toTokenSelected, handleCompleteTransaction, toggleDialogOpen, quote, approvalComplete, setApprovalComplete, approvalTxHash: _approvalTxHash, setApprovalTxHash, }) => {
|
|
17
|
+
const [mode, setMode] = (0, react_1.useState)('review');
|
|
18
|
+
const [_txHash, setTxHash] = (0, react_1.useState)(null);
|
|
19
|
+
const [isApproving, setIsApproving] = (0, react_1.useState)(false);
|
|
20
|
+
const [_isSending, setIsSending] = (0, react_1.useState)(false);
|
|
21
|
+
const [_isConfirming, setIsConfirming] = (0, react_1.useState)(false);
|
|
22
|
+
const [animationStatus, setAnimationStatus] = (0, react_1.useState)('converting');
|
|
23
|
+
const [isMonitoring, setIsMonitoring] = (0, react_1.useState)(false);
|
|
24
|
+
const [_currentStatus, setCurrentStatus] = (0, react_1.useState)('Pending');
|
|
25
|
+
const needsApproval = Boolean(quote?.approvalTxParams);
|
|
26
|
+
const { data: walletClient } = (0, wagmi_1.useWalletClient)();
|
|
27
|
+
const publicClient = (0, wagmi_1.usePublicClient)();
|
|
28
|
+
const { address: connectedAddress, chain: connectedChain } = (0, wagmi_1.useAccount)();
|
|
29
|
+
const { switchChainAsync } = (0, wagmi_1.useSwitchChain)();
|
|
30
|
+
const { waitForCompletion } = (0, useTransaction_1.useTransaction)();
|
|
31
|
+
const executeApproval = async () => {
|
|
32
|
+
if (!quote?.approvalTxParams || !walletClient) {
|
|
33
|
+
sonner_1.toast.error('Wallet not ready');
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
if (!connectedAddress) {
|
|
37
|
+
sonner_1.toast.error('Wallet not connected');
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
setMode('confirming');
|
|
41
|
+
setIsApproving(true);
|
|
42
|
+
setIsSending(true);
|
|
43
|
+
setAnimationStatus('converting');
|
|
44
|
+
try {
|
|
45
|
+
const approvalParams = quote.approvalTxParams;
|
|
46
|
+
// Get chainId from transactionRequest, as approvalParams doesn't include it in API response
|
|
47
|
+
const requiredChainId = Number(quote.transactionRequest?.chainId);
|
|
48
|
+
if (!requiredChainId || isNaN(requiredChainId)) {
|
|
49
|
+
throw new Error('Invalid chain ID in quote');
|
|
50
|
+
}
|
|
51
|
+
(0, transaction_1.validateTransactionParams)({
|
|
52
|
+
to: approvalParams.to,
|
|
53
|
+
from: approvalParams.from,
|
|
54
|
+
data: approvalParams.data,
|
|
55
|
+
chainId: requiredChainId,
|
|
56
|
+
});
|
|
57
|
+
if (connectedChain?.id !== requiredChainId) {
|
|
58
|
+
const requiredChainName = (0, chain_1.getChainName)(requiredChainId);
|
|
59
|
+
console.log('[Swap] Switching chain from', connectedChain?.id, 'to', requiredChainId);
|
|
60
|
+
sonner_1.toast.info(`Please switch to ${requiredChainName} network...`);
|
|
61
|
+
try {
|
|
62
|
+
await switchChainAsync({ chainId: requiredChainId });
|
|
63
|
+
sonner_1.toast.success(`Switched to ${requiredChainName}`);
|
|
64
|
+
}
|
|
65
|
+
catch (switchError) {
|
|
66
|
+
console.error('[Swap] Chain switch failed:', switchError);
|
|
67
|
+
throw new Error(`Please switch to ${requiredChainName} network in your wallet and try again`);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
const wagmiChain = (0, chain_1.getWagmiChain)(requiredChainId);
|
|
71
|
+
const txParams = {
|
|
72
|
+
account: approvalParams.from,
|
|
73
|
+
to: approvalParams.to,
|
|
74
|
+
data: approvalParams.data,
|
|
75
|
+
value: 0n,
|
|
76
|
+
chain: wagmiChain,
|
|
77
|
+
};
|
|
78
|
+
if (approvalParams.gas) {
|
|
79
|
+
txParams.gas = (0, transaction_1.safeParseBigInt)(approvalParams.gas);
|
|
80
|
+
}
|
|
81
|
+
if (approvalParams.maxFeePerGas && approvalParams.maxPriorityFeePerGas) {
|
|
82
|
+
txParams.maxFeePerGas = (0, transaction_1.safeParseBigInt)(approvalParams.maxFeePerGas);
|
|
83
|
+
txParams.maxPriorityFeePerGas = (0, transaction_1.safeParseBigInt)(approvalParams.maxPriorityFeePerGas);
|
|
84
|
+
}
|
|
85
|
+
else if (approvalParams.gasPrice) {
|
|
86
|
+
txParams.gasPrice = (0, transaction_1.safeParseBigInt)(approvalParams.gasPrice);
|
|
87
|
+
}
|
|
88
|
+
console.log('[Swap] Sending approval transaction');
|
|
89
|
+
const approvalHash = await walletClient.sendTransaction(txParams);
|
|
90
|
+
console.log('[Swap] Approval transaction sent:', approvalHash);
|
|
91
|
+
setApprovalTxHash(approvalHash);
|
|
92
|
+
setIsSending(false);
|
|
93
|
+
setIsConfirming(true);
|
|
94
|
+
sonner_1.toast.info('Waiting for approval confirmation...');
|
|
95
|
+
if (publicClient) {
|
|
96
|
+
await publicClient.waitForTransactionReceipt({
|
|
97
|
+
hash: approvalHash,
|
|
98
|
+
confirmations: 1,
|
|
99
|
+
});
|
|
100
|
+
console.log('[Swap] Approval confirmed');
|
|
101
|
+
}
|
|
102
|
+
setApprovalComplete(true);
|
|
103
|
+
setIsApproving(false);
|
|
104
|
+
setIsConfirming(false);
|
|
105
|
+
setMode('review');
|
|
106
|
+
sonner_1.toast.success('Token approved', {
|
|
107
|
+
description: 'You can now confirm the transaction',
|
|
108
|
+
duration: 3000,
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
catch (error) {
|
|
112
|
+
console.error('[Swap] Approval error:', error);
|
|
113
|
+
setIsApproving(false);
|
|
114
|
+
setIsSending(false);
|
|
115
|
+
setIsConfirming(false);
|
|
116
|
+
setMode('error');
|
|
117
|
+
setAnimationStatus('error');
|
|
118
|
+
const { title, description } = (0, transaction_1.getTransactionErrorMessage)(error);
|
|
119
|
+
sonner_1.toast.error(title, { description, duration: 4000 });
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
const executeTransaction = async () => {
|
|
123
|
+
if (!quote?.transactionRequest || !walletClient) {
|
|
124
|
+
sonner_1.toast.error('Wallet not ready');
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
if (!connectedAddress) {
|
|
128
|
+
sonner_1.toast.error('Wallet not connected');
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
setMode('confirming');
|
|
132
|
+
setIsSending(true);
|
|
133
|
+
setAnimationStatus('converting');
|
|
134
|
+
try {
|
|
135
|
+
const txRequest = quote.transactionRequest;
|
|
136
|
+
if (txRequest.from && txRequest.from.toLowerCase() !== connectedAddress.toLowerCase()) {
|
|
137
|
+
sonner_1.toast.error('Wallet mismatch', {
|
|
138
|
+
description: 'Please switch to the wallet used for the quote',
|
|
139
|
+
duration: 5000,
|
|
140
|
+
});
|
|
141
|
+
setIsSending(false);
|
|
142
|
+
setMode('error');
|
|
143
|
+
setAnimationStatus('error');
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
(0, transaction_1.validateTransactionParams)({
|
|
147
|
+
to: txRequest.to,
|
|
148
|
+
from: txRequest.from,
|
|
149
|
+
data: txRequest.data,
|
|
150
|
+
chainId: txRequest.chainId,
|
|
151
|
+
});
|
|
152
|
+
const requiredChainId = Number(txRequest.chainId);
|
|
153
|
+
if (connectedChain?.id !== requiredChainId) {
|
|
154
|
+
const requiredChainName = (0, chain_1.getChainName)(requiredChainId);
|
|
155
|
+
console.log('[Swap] Switching chain from', connectedChain?.id, 'to', requiredChainId);
|
|
156
|
+
sonner_1.toast.info(`Please switch to ${requiredChainName} network...`);
|
|
157
|
+
try {
|
|
158
|
+
await switchChainAsync({ chainId: requiredChainId });
|
|
159
|
+
sonner_1.toast.success(`Switched to ${requiredChainName}`);
|
|
160
|
+
}
|
|
161
|
+
catch (switchError) {
|
|
162
|
+
console.error('[Swap] Chain switch failed:', switchError);
|
|
163
|
+
throw new Error(`Please switch to ${requiredChainName} network in your wallet and try again`);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
const wagmiChain = (0, chain_1.getWagmiChain)(requiredChainId);
|
|
167
|
+
console.log('[Swap] Sending transaction with params:', {
|
|
168
|
+
from: txRequest.from,
|
|
169
|
+
to: txRequest.to,
|
|
170
|
+
value: txRequest.value,
|
|
171
|
+
gas: txRequest.gas,
|
|
172
|
+
chainId: requiredChainId,
|
|
173
|
+
});
|
|
174
|
+
const txParams = {
|
|
175
|
+
account: txRequest.from,
|
|
176
|
+
to: txRequest.to,
|
|
177
|
+
data: txRequest.data,
|
|
178
|
+
value: (0, transaction_1.safeParseBigInt)(txRequest.value),
|
|
179
|
+
chain: wagmiChain,
|
|
180
|
+
};
|
|
181
|
+
if (txRequest.gas) {
|
|
182
|
+
txParams.gas = (0, transaction_1.safeParseBigInt)(txRequest.gas);
|
|
183
|
+
}
|
|
184
|
+
if (txRequest.maxFeePerGas && txRequest.maxPriorityFeePerGas) {
|
|
185
|
+
txParams.maxFeePerGas = (0, transaction_1.safeParseBigInt)(txRequest.maxFeePerGas);
|
|
186
|
+
txParams.maxPriorityFeePerGas = (0, transaction_1.safeParseBigInt)(txRequest.maxPriorityFeePerGas);
|
|
187
|
+
}
|
|
188
|
+
else if (txRequest.gasPrice) {
|
|
189
|
+
txParams.gasPrice = (0, transaction_1.safeParseBigInt)(txRequest.gasPrice);
|
|
190
|
+
}
|
|
191
|
+
if (txRequest.nonce) {
|
|
192
|
+
txParams.nonce = Number(txRequest.nonce);
|
|
193
|
+
}
|
|
194
|
+
const hash = await walletClient.sendTransaction(txParams);
|
|
195
|
+
console.log('[Swap] Transaction sent:', hash);
|
|
196
|
+
console.log('[Swap] Transaction ID:', quote.transactionId);
|
|
197
|
+
setTxHash(hash);
|
|
198
|
+
setIsSending(false);
|
|
199
|
+
setIsConfirming(true);
|
|
200
|
+
sonner_1.toast.success('Transaction submitted', {
|
|
201
|
+
description: 'Waiting for confirmation...',
|
|
202
|
+
duration: 3000,
|
|
203
|
+
});
|
|
204
|
+
if (publicClient) {
|
|
205
|
+
await publicClient.waitForTransactionReceipt({ hash });
|
|
206
|
+
}
|
|
207
|
+
setIsConfirming(false);
|
|
208
|
+
setIsMonitoring(true);
|
|
209
|
+
setMode('processing');
|
|
210
|
+
sonner_1.toast.success('Transaction confirmed on-chain', {
|
|
211
|
+
description: 'Monitoring transaction status...',
|
|
212
|
+
duration: 3000,
|
|
213
|
+
});
|
|
214
|
+
if (quote.transactionId) {
|
|
215
|
+
try {
|
|
216
|
+
const finalStatus = await waitForCompletion(String(quote.transactionId), {
|
|
217
|
+
intervalMs: 5000,
|
|
218
|
+
timeoutMs: 600000,
|
|
219
|
+
onStatusUpdate: (status) => {
|
|
220
|
+
console.log('[Swap] Transaction status update:', status);
|
|
221
|
+
const txStatus = String(status);
|
|
222
|
+
setCurrentStatus(txStatus);
|
|
223
|
+
if (txStatus === 'Pending' || txStatus === 'In_progress') {
|
|
224
|
+
setAnimationStatus('converting');
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
});
|
|
228
|
+
setIsMonitoring(false);
|
|
229
|
+
if (finalStatus?.transaction?.status === 'Completed') {
|
|
230
|
+
setMode('completed');
|
|
231
|
+
setAnimationStatus('completed');
|
|
232
|
+
sonner_1.toast.success('Transaction completed', {
|
|
233
|
+
description: 'Your swap has been executed successfully',
|
|
234
|
+
duration: 3000,
|
|
235
|
+
});
|
|
236
|
+
setTimeout(() => {
|
|
237
|
+
handleCompleteTransaction();
|
|
238
|
+
}, 2000);
|
|
239
|
+
}
|
|
240
|
+
else if (finalStatus?.transaction?.status === 'Failed') {
|
|
241
|
+
setMode('error');
|
|
242
|
+
setAnimationStatus('error');
|
|
243
|
+
sonner_1.toast.error('Transaction failed', {
|
|
244
|
+
description: 'Please try again or contact support',
|
|
245
|
+
duration: 4000,
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
else if (finalStatus?.transaction?.status === 'Refunded') {
|
|
249
|
+
setMode('completed');
|
|
250
|
+
setAnimationStatus('completed');
|
|
251
|
+
sonner_1.toast.info('Transaction refunded', {
|
|
252
|
+
description: 'Funds have been returned to your wallet',
|
|
253
|
+
duration: 3000,
|
|
254
|
+
});
|
|
255
|
+
setTimeout(() => {
|
|
256
|
+
handleCompleteTransaction();
|
|
257
|
+
}, 2000);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
catch (error) {
|
|
261
|
+
console.error('[Swap] Transaction monitoring error:', error);
|
|
262
|
+
setIsMonitoring(false);
|
|
263
|
+
setMode('error');
|
|
264
|
+
setAnimationStatus('error');
|
|
265
|
+
sonner_1.toast.error('Error monitoring transaction', {
|
|
266
|
+
description: 'Please check your transaction status manually',
|
|
267
|
+
duration: 4000,
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
else {
|
|
272
|
+
setMode('completed');
|
|
273
|
+
setAnimationStatus('completed');
|
|
274
|
+
sonner_1.toast.success('Transaction confirmed', {
|
|
275
|
+
description: 'Your swap has been executed',
|
|
276
|
+
duration: 3000,
|
|
277
|
+
});
|
|
278
|
+
setTimeout(() => {
|
|
279
|
+
handleCompleteTransaction();
|
|
280
|
+
}, 1500);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
catch (error) {
|
|
284
|
+
console.error('[Swap] Transaction error:', error);
|
|
285
|
+
setIsSending(false);
|
|
286
|
+
setIsConfirming(false);
|
|
287
|
+
setMode('error');
|
|
288
|
+
setAnimationStatus('error');
|
|
289
|
+
const { title, description } = (0, transaction_1.getTransactionErrorMessage)(error);
|
|
290
|
+
sonner_1.toast.error(title, { description, duration: 4000 });
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
const handleTryAgain = () => {
|
|
294
|
+
setMode('review');
|
|
295
|
+
setTxHash(null);
|
|
296
|
+
setIsApproving(false);
|
|
297
|
+
setIsSending(false);
|
|
298
|
+
setIsConfirming(false);
|
|
299
|
+
setIsMonitoring(false);
|
|
300
|
+
setAnimationStatus('converting');
|
|
301
|
+
};
|
|
302
|
+
const toChainSelected = (0, constants_1.getChainInfo)(toTokenSelected?.chainId);
|
|
303
|
+
const getModeConfig = () => {
|
|
304
|
+
switch (mode) {
|
|
305
|
+
case 'review':
|
|
306
|
+
return {
|
|
307
|
+
title: needsApproval && approvalComplete ? 'Approve the transaction' : 'Review your order',
|
|
308
|
+
subtitle: 'Check the order details',
|
|
309
|
+
buttonText: needsApproval && !approvalComplete ? 'Continue' : 'Convert',
|
|
310
|
+
buttonAction: needsApproval && !approvalComplete ? executeApproval : executeTransaction,
|
|
311
|
+
buttonDisabled: false,
|
|
312
|
+
showButton: true,
|
|
313
|
+
showAnimation: true,
|
|
314
|
+
};
|
|
315
|
+
case 'confirming':
|
|
316
|
+
return {
|
|
317
|
+
title: isApproving ? 'Approve token' : 'Approve the transaction',
|
|
318
|
+
subtitle: 'Confirm the transaction in your wallet',
|
|
319
|
+
buttonText: 'Waiting for confirmation',
|
|
320
|
+
buttonAction: undefined,
|
|
321
|
+
buttonDisabled: true,
|
|
322
|
+
showButton: true,
|
|
323
|
+
showAnimation: true,
|
|
324
|
+
};
|
|
325
|
+
case 'processing':
|
|
326
|
+
return {
|
|
327
|
+
title: 'Converting',
|
|
328
|
+
subtitle: 'Confirm the transaction in your wallet',
|
|
329
|
+
buttonText: '',
|
|
330
|
+
buttonAction: undefined,
|
|
331
|
+
buttonDisabled: true,
|
|
332
|
+
showButton: false,
|
|
333
|
+
showAnimation: true,
|
|
334
|
+
};
|
|
335
|
+
case 'completed':
|
|
336
|
+
return {
|
|
337
|
+
title: 'Conversion completed',
|
|
338
|
+
subtitle: `Recipient received ${toAmount} ${toTokenSelected.symbol} on ${toChainSelected?.displayName}.`,
|
|
339
|
+
buttonText: 'Done',
|
|
340
|
+
buttonAction: handleCompleteTransaction,
|
|
341
|
+
buttonDisabled: false,
|
|
342
|
+
showButton: true,
|
|
343
|
+
showAnimation: true,
|
|
344
|
+
};
|
|
345
|
+
case 'error':
|
|
346
|
+
return {
|
|
347
|
+
title: 'Something went wrong',
|
|
348
|
+
subtitle: 'You can try again',
|
|
349
|
+
buttonText: 'Try again',
|
|
350
|
+
buttonAction: handleTryAgain,
|
|
351
|
+
buttonDisabled: false,
|
|
352
|
+
showButton: true,
|
|
353
|
+
showAnimation: true,
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
};
|
|
357
|
+
const modeConfig = getModeConfig();
|
|
358
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(CustomDialogHeader_1.CustomDialogHeader, { onOpenChange: toggleDialogOpen, animation: modeConfig.showAnimation, animationStatus: animationStatus, isAnimating: isMonitoring || mode === 'completed' || mode === 'error' }), (0, jsx_runtime_1.jsx)(TransactionDetails_1.TransactionDetails, { fromAmount: fromAmount, toAmount: toAmount, fromTokenSelected: fromTokenSelected, toTokenSelected: toTokenSelected, title: modeConfig.title, subtitle: modeConfig.subtitle, swapQuote: quote }), modeConfig.showButton && ((0, jsx_runtime_1.jsx)(button_1.Button, { onClick: modeConfig.buttonAction, disabled: modeConfig.buttonDisabled, className: "mt-6 h-14 w-full cursor-pointer rounded-2xl px-3 py-4", children: modeConfig.buttonText }))] }));
|
|
359
|
+
};
|
|
360
|
+
exports.Swap = Swap;
|
|
361
|
+
//# sourceMappingURL=Swap.js.map
|
package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Swap.js","sourceRoot":"","sources":["../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/Swap/Swap.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;;AAEb,qDAAkD;AAClD,oEAAiE;AAEjE,2EAAwE;AACxE,+DAA+D;AAC/D,6DAAgF;AAChF,yEAAiI;AAEjI,iCAAiC;AACjC,mCAA+B;AAE/B,iCAAqF;AACrF,8DAA2D;AAkBpD,MAAM,IAAI,GAAG,CAAC,EACnB,UAAU,EACV,QAAQ,EACR,iBAAiB,EACjB,eAAe,EACf,yBAAyB,EACzB,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EAAE,eAAe,EAC/B,iBAAiB,GACP,EAAE,EAAE;IACd,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,EAAW,QAAQ,CAAC,CAAC;IACrD,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAc,IAAI,CAAC,CAAC;IACzD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACtD,MAAM,CAAC,UAAU,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACnD,MAAM,CAAC,aAAa,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACzD,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,IAAA,gBAAQ,EAAuC,YAAY,CAAC,CAAC;IAC3G,MAAM,CAAC,YAAY,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EAAE,KAAK;oBACrB,UAAU,EAAE,IAAI;oBAChB,aAAa,EAAE,IAAI;iBACpB,CAAC;YACJ,KAAK,OAAO;gBACV,OAAO;oBACL,KAAK,EAAE,sBAAsB;oBAC7B,QAAQ,EAAE,mBAAmB;oBAC7B,UAAU,EAAE,WAAW;oBACvB,YAAY,EAAE,cAAc;oBAC5B,cAAc,EAAE,KAAK;oBACrB,UAAU,EAAE,IAAI;oBAChB,aAAa,EAAE,IAAI;iBACpB,CAAC;QACN,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,UAAU,GAAG,aAAa,EAAE,CAAC;IAEnC,OAAO,CACL,6DACE,uBAAC,uCAAkB,IACjB,YAAY,EAAE,gBAAgB,EAC9B,SAAS,EAAE,UAAU,CAAC,aAAa,EACnC,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,YAAY,IAAI,IAAI,KAAK,WAAW,IAAI,IAAI,KAAK,OAAO,GACrE,EACF,uBAAC,uCAAkB,IACjB,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,QAAQ,EAClB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,EAChC,KAAK,EAAE,UAAU,CAAC,KAAK,EACvB,QAAQ,EAAE,UAAU,CAAC,QAAQ,EAC7B,SAAS,EAAE,KAAK,GAChB,EAED,UAAU,CAAC,UAAU,IAAI,CACxB,uBAAC,eAAM,IACL,OAAO,EAAE,UAAU,CAAC,YAAY,EAChC,QAAQ,EAAE,UAAU,CAAC,cAAc,EACnC,SAAS,EAAC,uDAAuD,YAEhE,UAAU,CAAC,UAAU,GACf,CACV,IACA,CACJ,CAAC;AACJ,CAAC,CAAC;AA1aW,QAAA,IAAI,QA0af"}
|
package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/Swap/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
|
package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Swap = void 0;
|
|
4
|
+
var Swap_1 = require("./Swap");
|
|
5
|
+
Object.defineProperty(exports, "Swap", { enumerable: true, get: function () { return Swap_1.Swap; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/Swap/index.ts"],"names":[],"mappings":";;;AAAA,+BAA8B;AAArB,4FAAA,IAAI,OAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Token } from '../../../../types';
|
|
2
|
+
import type { TransferResponse, TypedQuoteResponse, TypedOffRampQuoteResponse } from '../../../../types/quote';
|
|
3
|
+
import type { OffRampQuoteResponse, OnRampQuoteResponse } from '../../../../../../../index';
|
|
4
|
+
interface TransactionDetailsProps {
|
|
5
|
+
fromAmount: string;
|
|
6
|
+
toAmount: string;
|
|
7
|
+
fromTokenSelected: Token;
|
|
8
|
+
toTokenSelected: Token;
|
|
9
|
+
title?: string;
|
|
10
|
+
subtitle?: string;
|
|
11
|
+
swapQuote?: TransferResponse | TypedQuoteResponse | null;
|
|
12
|
+
onRampQuote?: OnRampQuoteResponse | null;
|
|
13
|
+
offRampQuote?: OffRampQuoteResponse | TypedOffRampQuoteResponse | null;
|
|
14
|
+
}
|
|
15
|
+
export declare const TransactionDetails: ({ fromAmount, toAmount, fromTokenSelected, toTokenSelected, title, subtitle, swapQuote, onRampQuote, offRampQuote, }: TransactionDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=TransactionDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionDetails.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAG/G,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAM5F,UAAU,uBAAuB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,KAAK,CAAC;IACzB,eAAe,EAAE,KAAK,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,gBAAgB,GAAG,kBAAkB,GAAG,IAAI,CAAC;IACzD,WAAW,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACzC,YAAY,CAAC,EAAE,oBAAoB,GAAG,yBAAyB,GAAG,IAAI,CAAC;CACxE;AAED,eAAO,MAAM,kBAAkB,GAAI,sHAUhC,uBAAuB,4CAwHzB,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use client';
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TransactionDetails = void 0;
|
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
+
const dialog_1 = require("../../../../../ui/dialog");
|
|
7
|
+
const constants_1 = require("../../../../../../lib/constants");
|
|
8
|
+
const quote_1 = require("../../../../types/quote");
|
|
9
|
+
const inputFormatters_1 = require("../../../../../../lib/utils/inputFormatters");
|
|
10
|
+
const lucide_react_1 = require("lucide-react");
|
|
11
|
+
const components_1 = require("./components");
|
|
12
|
+
const shared_1 = require("../../../shared");
|
|
13
|
+
const assets_1 = require("../../../../../../assets");
|
|
14
|
+
const TransactionDetails = ({ fromAmount, toAmount, fromTokenSelected, toTokenSelected, title = 'Review your order', subtitle = 'Check the order details', swapQuote, onRampQuote, offRampQuote, }) => {
|
|
15
|
+
const fromChainSelected = (0, constants_1.getChainInfo)(fromTokenSelected?.chainId);
|
|
16
|
+
const toChainSelected = (0, constants_1.getChainInfo)(toTokenSelected?.chainId);
|
|
17
|
+
const formatDuration = (seconds) => {
|
|
18
|
+
if (seconds < 60)
|
|
19
|
+
return `~${seconds}s`;
|
|
20
|
+
const minutes = Math.floor(seconds / 60);
|
|
21
|
+
return `~${minutes}m`;
|
|
22
|
+
};
|
|
23
|
+
const formatAddress = (address) => {
|
|
24
|
+
if (address.length <= 13)
|
|
25
|
+
return address;
|
|
26
|
+
return `${address.slice(0, 7)}...${address.slice(-6)}`;
|
|
27
|
+
};
|
|
28
|
+
const formatGasFee = (amount, decimals) => {
|
|
29
|
+
const gasDecimals = decimals || 18;
|
|
30
|
+
const gasFee = parseFloat(amount) / Math.pow(10, gasDecimals);
|
|
31
|
+
return gasFee.toFixed(6);
|
|
32
|
+
};
|
|
33
|
+
const swapQuoteTyped = swapQuote && (0, quote_1.isTransferResponse)(swapQuote) ? swapQuote : null;
|
|
34
|
+
const recipientAddress = swapQuoteTyped?.quote?.toAddress || onRampQuote?.quote?.toAddress;
|
|
35
|
+
const estimatedDuration = swapQuoteTyped?.quote?.estimatedDuration ||
|
|
36
|
+
onRampQuote?.quote?.estimatedDuration ||
|
|
37
|
+
offRampQuote?.quote?.estimatedDuration;
|
|
38
|
+
const timeToComplete = estimatedDuration ? formatDuration(estimatedDuration) : undefined;
|
|
39
|
+
const networkCost = swapQuoteTyped?.quote?.fees?.gas
|
|
40
|
+
? formatGasFee(swapQuoteTyped.quote.fees.gas.amount, swapQuoteTyped.quote.fees.gas.decimals)
|
|
41
|
+
: undefined;
|
|
42
|
+
const isOffRamp = !!offRampQuote;
|
|
43
|
+
const showRecipient = !isOffRamp && recipientAddress;
|
|
44
|
+
const fromChainIconUrl = fromChainSelected?.id ? (0, assets_1.getChainIconUrl)(fromChainSelected.id) : null;
|
|
45
|
+
const toChainIconUrl = toChainSelected?.id ? (0, assets_1.getChainIconUrl)(toChainSelected.id) : null;
|
|
46
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(dialog_1.DialogTitle, { className: "mb-0 mt-2 pb-0", children: title }), (0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-500", children: subtitle }), (0, jsx_runtime_1.jsxs)("div", { className: "mt-6 flex flex-col", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-3.5", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row items-center justify-between", children: [(0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-500", children: "Asset" }), (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center justify-center gap-1.5", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row items-center gap-0.5", children: [(0, jsx_runtime_1.jsx)(shared_1.TokenIconDisplay, { symbol: fromTokenSelected.symbol, size: "sm" }), (0, jsx_runtime_1.jsx)("div", { className: "flex flex-col items-end", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center gap-0.5", children: [(0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-950", children: (0, inputFormatters_1.roundToNineDecimals)(fromAmount) || '0' }), (0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-950", children: fromTokenSelected.symbol })] }) })] }), (0, jsx_runtime_1.jsx)(lucide_react_1.ArrowRight, { className: "size-4" }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row items-center gap-0.5", children: [(0, jsx_runtime_1.jsx)(shared_1.TokenIconDisplay, { symbol: toTokenSelected.symbol, size: "sm" }), (0, jsx_runtime_1.jsx)("div", { className: "flex flex-col items-end", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center gap-0.5", children: [(0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-950", children: (0, inputFormatters_1.roundToNineDecimals)(toAmount) || '0' }), (0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-950", children: toTokenSelected.symbol })] }) })] })] })] }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row items-center justify-between", children: [(0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-500", children: "Network" }), (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center justify-center gap-1.5", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row items-center gap-0.5", children: [fromChainIconUrl && (0, jsx_runtime_1.jsx)("img", { src: fromChainIconUrl, alt: fromChainSelected?.displayName, className: "h-6 w-6 rounded-sm" }), (0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-950", children: fromChainSelected?.displayName })] }), (0, jsx_runtime_1.jsx)(lucide_react_1.ArrowRight, { className: "size-4" }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row items-center gap-0.5", children: [toChainIconUrl && (0, jsx_runtime_1.jsx)("img", { src: toChainIconUrl, alt: toChainSelected?.displayName, className: "h-6 w-6 rounded-sm" }), (0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-950", children: toChainSelected?.displayName })] })] })] }), showRecipient && ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row items-center justify-between", children: [(0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-500", children: "Recipient" }), (0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-950", children: formatAddress(recipientAddress) })] })), timeToComplete && ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row items-center justify-between", children: [(0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-500", children: "Time to complete" }), (0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-950", children: timeToComplete })] }))] }), networkCost && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", { className: "my-3 w-full border border-zinc-200" }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row items-center justify-between", children: [(0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-500", children: "Network cost" }), (0, jsx_runtime_1.jsxs)("small", { className: "text-sm font-normal text-zinc-950", children: [networkCost, " ", swapQuoteTyped?.quote?.fees?.gas?.token || 'ETH'] })] })] })), (0, jsx_runtime_1.jsx)(components_1.CollapsibleInfo, { swapQuote: swapQuote, onRampQuote: onRampQuote, offRampQuote: offRampQuote })] })] }));
|
|
47
|
+
};
|
|
48
|
+
exports.TransactionDetails = TransactionDetails;
|
|
49
|
+
//# sourceMappingURL=TransactionDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionDetails.js","sourceRoot":"","sources":["../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;;AAEb,qDAAuD;AAEvD,+DAA+D;AAE/D,mDAA6D;AAC7D,iFAAkF;AAElF,+CAA0C;AAC1C,6CAA+C;AAC/C,4CAAmD;AACnD,qDAA2D;AAcpD,MAAM,kBAAkB,GAAG,CAAC,EACjC,UAAU,EACV,QAAQ,EACR,iBAAiB,EACjB,eAAe,EACf,KAAK,GAAG,mBAAmB,EAC3B,QAAQ,GAAG,yBAAyB,EACpC,SAAS,EACT,WAAW,EACX,YAAY,GACY,EAAE,EAAE;IAC5B,MAAM,iBAAiB,GAAG,IAAA,wBAAY,EAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACnE,MAAM,eAAe,GAAG,IAAA,wBAAY,EAAC,eA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AO,SAAS,EAAC,mCAAmC,0BAAkB,EACtE,kCAAO,SAAS,EAAC,mCAAmC,YAAE,aAAa,CAAC,gBAAgB,CAAC,GAAS,IAC1F,CACP,EAEA,cAAc,IAAI,CACjB,iCAAK,SAAS,EAAC,4CAA4C,aACzD,kCAAO,SAAS,EAAC,mCAAmC,iCAAyB,EAC7E,kCAAO,SAAS,EAAC,mCAAmC,YAAE,cAAc,GAAS,IACzE,CACP,IACG,EAEL,WAAW,IAAI,CACd,6DACE,gCAAK,SAAS,EAAC,oCAAoC,GAAG,EAEtD,iCAAK,SAAS,EAAC,4CAA4C,aACzD,kCAAO,SAAS,EAAC,mCAAmC,6BAAqB,EACzE,mCAAO,SAAS,EAAC,mCAAmC,aACjD,WAAW,OAAG,cAAc,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,KAAK,IACzD,IACJ,IACL,CACJ,EAED,uBAAC,4BAAe,IAAC,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,GAAI,IAC3F,IACL,CACJ,CAAC;AACJ,CAAC,CAAC;AAlIW,QAAA,kBAAkB,sBAkI7B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { OnRampQuoteResponse, OffRampQuoteResponse } from '../../../../../../../../index';
|
|
2
|
+
import type { TransferResponse, TypedQuoteResponse, TypedOffRampQuoteResponse } from '../../../../../types/quote';
|
|
3
|
+
interface CollapsibleInfoProps {
|
|
4
|
+
swapQuote?: TransferResponse | TypedQuoteResponse | null;
|
|
5
|
+
onRampQuote?: OnRampQuoteResponse | null;
|
|
6
|
+
offRampQuote?: OffRampQuoteResponse | TypedOffRampQuoteResponse | null;
|
|
7
|
+
}
|
|
8
|
+
export declare const CollapsibleInfo: ({ swapQuote, onRampQuote: _onRampQuote, offRampQuote: _offRampQuote }: CollapsibleInfoProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=CollapsibleInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollapsibleInfo.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC/F,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAGlH,UAAU,oBAAoB;IAC5B,SAAS,CAAC,EAAE,gBAAgB,GAAG,kBAAkB,GAAG,IAAI,CAAC;IACzD,WAAW,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACzC,YAAY,CAAC,EAAE,oBAAoB,GAAG,yBAAyB,GAAG,IAAI,CAAC;CACxE;AAED,eAAO,MAAM,eAAe,GAAI,uEAAuE,oBAAoB,4CA+F1H,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use client';
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CollapsibleInfo = void 0;
|
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
+
const lucide_react_1 = require("lucide-react");
|
|
7
|
+
const react_1 = require("react");
|
|
8
|
+
const quote_1 = require("../../../../../types/quote");
|
|
9
|
+
const CollapsibleInfo = ({ swapQuote, onRampQuote: _onRampQuote, offRampQuote: _offRampQuote }) => {
|
|
10
|
+
const [collapsibleExpanded, setCollapsibleExpanded] = (0, react_1.useState)(false);
|
|
11
|
+
const toggleCollapsibleExpanded = () => {
|
|
12
|
+
setCollapsibleExpanded((prev) => !prev);
|
|
13
|
+
};
|
|
14
|
+
const swapQuoteTyped = swapQuote && (0, quote_1.isTransferResponse)(swapQuote) ? swapQuote : null;
|
|
15
|
+
const isSwap = !!swapQuoteTyped;
|
|
16
|
+
const spread = (0, react_1.useMemo)(() => {
|
|
17
|
+
if (!isSwap || !swapQuoteTyped?.quote)
|
|
18
|
+
return '0%';
|
|
19
|
+
const { fromToken, toToken, fromAmount, toAmount } = swapQuoteTyped.quote;
|
|
20
|
+
if (!fromToken?.price || !toToken?.price)
|
|
21
|
+
return '0%';
|
|
22
|
+
const fromDecimal = parseFloat(fromAmount) / Math.pow(10, fromToken.decimals);
|
|
23
|
+
const toDecimal = parseFloat(toAmount) / Math.pow(10, toToken.decimals);
|
|
24
|
+
const fromUsd = fromDecimal * fromToken.price;
|
|
25
|
+
const toUsd = toDecimal * toToken.price;
|
|
26
|
+
const spreadPercent = (toUsd / fromUsd - 1) * 100;
|
|
27
|
+
return `${spreadPercent.toFixed(2)}%`;
|
|
28
|
+
}, [isSwap, swapQuoteTyped]);
|
|
29
|
+
const totalFeesUsd = (0, react_1.useMemo)(() => {
|
|
30
|
+
if (!isSwap || !swapQuoteTyped?.quote?.fees)
|
|
31
|
+
return null;
|
|
32
|
+
const { bridge, integrator } = swapQuoteTyped.quote.fees;
|
|
33
|
+
const fromTokenPrice = swapQuoteTyped.quote.fromToken?.price || 0;
|
|
34
|
+
let totalFees = 0;
|
|
35
|
+
if (bridge?.amount) {
|
|
36
|
+
const bridgeDecimals = bridge.decimals || 18;
|
|
37
|
+
const bridgeFeeDecimal = parseFloat(bridge.amount) / Math.pow(10, bridgeDecimals);
|
|
38
|
+
totalFees += bridgeFeeDecimal * fromTokenPrice;
|
|
39
|
+
}
|
|
40
|
+
if (integrator) {
|
|
41
|
+
const integratorValue = typeof integrator === 'string' ? parseFloat(integrator) : integrator;
|
|
42
|
+
const fromAmount = parseFloat(swapQuoteTyped.quote.fromAmount) / Math.pow(10, swapQuoteTyped.quote.fromToken.decimals);
|
|
43
|
+
totalFees += (fromAmount * fromTokenPrice * integratorValue) / 10000;
|
|
44
|
+
}
|
|
45
|
+
return totalFees > 0 ? totalFees : null;
|
|
46
|
+
}, [isSwap, swapQuoteTyped]);
|
|
47
|
+
const formattedFees = totalFeesUsd != null
|
|
48
|
+
? `$${totalFeesUsd.toLocaleString('en-US', { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`
|
|
49
|
+
: '$0.00';
|
|
50
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "mt-3.5", children: [(0, jsx_runtime_1.jsx)("div", { className: `overflow-hidden transition-all duration-500 ${collapsibleExpanded ? 'max-h-40' : 'max-h-0'}`, children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-3.5", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row items-center justify-between", children: [(0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-500", children: "Spread" }), (0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-950", children: spread })] }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-row items-center justify-between", children: [(0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-500", children: "Fee" }), (0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-950", children: formattedFees })] }), (0, jsx_runtime_1.jsxs)("div", { className: "mb-3.5 flex flex-row items-center justify-between", children: [(0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-500", children: "Max slippage" }), (0, jsx_runtime_1.jsx)("small", { className: "text-sm font-normal text-zinc-950", children: "0%" })] })] }) }), (0, jsx_runtime_1.jsx)("div", { className: "flex w-fit cursor-pointer flex-row items-center gap-1", onClick: toggleCollapsibleExpanded, children: collapsibleExpanded ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("span", { className: "text-sm font-normal text-zinc-950", children: "Show less" }), (0, jsx_runtime_1.jsx)(lucide_react_1.ChevronsDownUp, { className: "h-4 w-4 text-zinc-950" })] })) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("span", { className: "text-sm text-zinc-950", children: "Show more" }), (0, jsx_runtime_1.jsx)(lucide_react_1.ChevronsUpDown, { className: "h-4 w-4 text-zinc-950" })] })) })] }));
|
|
51
|
+
};
|
|
52
|
+
exports.CollapsibleInfo = CollapsibleInfo;
|
|
53
|
+
//# sourceMappingURL=CollapsibleInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollapsibleInfo.js","sourceRoot":"","sources":["../../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;;AAEb,+CAA8D;AAC9D,iCAA0C;AAG1C,sDAAgE;AAQzD,MAAM,eAAe,GAAG,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAwB,EAAE,EAAE;IAC7H,MAAM,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAEtE,MAAM,yBAAyB,GAAG,GAAG,EAAE;QACrC,sBAAsB,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC,CAAC;IAEF,MAAM,cAAc,GAAG,SAAS,IAAI,IAAA,0BAAkB,EAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC;IACrF,MAAM,MAAM,GAAG,CAAC,CAAC,cAAc,CAAC;IAEhC,MAAM,MAAM,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;QAC1B,IAAI,CAAC,MAAM,IAAI,CAAC,cAAc,EAAE,KAAK;YAAE,OAAO,IAAI,CAAC;QAEnD,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,cAAc,CAAC,KAAK,CAAC;QAE1E,IAAI,CAAC,SAAS,EAAE,KAAK,IAAI,CAAC,OAAO,EAAE,KAAK;YAAE,OAAO,I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AAO,SAAS,EAAC,mCAAmC,6BAAqB,EACzE,kCAAO,SAAS,EAAC,mCAAmC,mBAAW,IAC3D,IACF,GACF,EACN,gCACE,SAAS,EAAC,uDAAuD,EACjE,OAAO,EAAE,yBAAyB,YAEjC,mBAAmB,CAAC,CAAC,CAAC,CACrB,6DACE,iCAAM,SAAS,EAAC,mCAAmC,0BAAiB,EACpE,uBAAC,6BAAc,IAAC,SAAS,EAAC,uBAAuB,GAAG,IACnD,CACJ,CAAC,CAAC,CAAC,CACF,6DACE,iCAAM,SAAS,EAAC,uBAAuB,0BAAiB,EACxD,uBAAC,6BAAc,IAAC,SAAS,EAAC,uBAAuB,GAAG,IACnD,CACJ,GACG,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AA/FW,QAAA,eAAe,mBA+F1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CollapsibleInfo = void 0;
|
|
4
|
+
var CollapsibleInfo_1 = require("./CollapsibleInfo");
|
|
5
|
+
Object.defineProperty(exports, "CollapsibleInfo", { enumerable: true, get: function () { return CollapsibleInfo_1.CollapsibleInfo; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.ts"],"names":[],"mappings":";;;AAAA,qDAAoD;AAA3C,kHAAA,eAAe,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransactionDetails = void 0;
|
|
4
|
+
var TransactionDetails_1 = require("./TransactionDetails");
|
|
5
|
+
Object.defineProperty(exports, "TransactionDetails", { enumerable: true, get: function () { return TransactionDetails_1.TransactionDetails; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.ts"],"names":[],"mappings":";;;AAAA,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA"}
|