@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 @@
|
|
|
1
|
+
{"version":3,"file":"network-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/react/lib/utils/network-mapping.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAI5D,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,aAAa,GAAG,IAAI,CAiB/E;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAIvE;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAetE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAqB/E;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,EAAE,CAkBhD;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAsBlF;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAoBhF"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Network Mapping Utility
|
|
4
|
+
* Maps internal chain IDs to Reown AppKit network objects for wallet switching
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.getAppKitNetwork = getAppKitNetwork;
|
|
8
|
+
exports.requiresNetworkSwitch = requiresNetworkSwitch;
|
|
9
|
+
exports.getNetworkDisplayName = getNetworkDisplayName;
|
|
10
|
+
exports.getAlchemyRpcUrl = getAlchemyRpcUrl;
|
|
11
|
+
exports.getAllAlchemyNetworks = getAllAlchemyNetworks;
|
|
12
|
+
exports.mapChainIdToAlchemyNetwork = mapChainIdToAlchemyNetwork;
|
|
13
|
+
exports.mapAlchemyNetworkToChainId = mapAlchemyNetworkToChainId;
|
|
14
|
+
const appkit_1 = require("@/config/appkit");
|
|
15
|
+
const chains_1 = require("@/lib/constants/chains");
|
|
16
|
+
function getAppKitNetwork(chainId) {
|
|
17
|
+
const id = typeof chainId === 'string' ? chainId : chainId.toString();
|
|
18
|
+
if (id === 'fiat')
|
|
19
|
+
return null; // Fiat has no blockchain network
|
|
20
|
+
if ((0, chains_1.isSolanaChain)(id))
|
|
21
|
+
return null; // Solana uses separate provider, no switching
|
|
22
|
+
if (!(0, chains_1.isEVMChain)(id))
|
|
23
|
+
return null;
|
|
24
|
+
const numericChainId = Number(id);
|
|
25
|
+
const network = appkit_1.evmNetworks.find((net) => net.id === numericChainId);
|
|
26
|
+
if (!network) {
|
|
27
|
+
console.warn(`[Network Mapping] Chain ID ${id} is not configured in Reown AppKit networks`);
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return network;
|
|
31
|
+
}
|
|
32
|
+
function requiresNetworkSwitch(chainId) {
|
|
33
|
+
const id = typeof chainId === 'string' ? chainId : chainId.toString();
|
|
34
|
+
return (0, chains_1.isEVMChain)(id);
|
|
35
|
+
}
|
|
36
|
+
function getNetworkDisplayName(chainId) {
|
|
37
|
+
const id = typeof chainId === 'string' ? chainId : chainId.toString();
|
|
38
|
+
const network = getAppKitNetwork(id);
|
|
39
|
+
if (network) {
|
|
40
|
+
return network.name;
|
|
41
|
+
}
|
|
42
|
+
const fallbackNames = {
|
|
43
|
+
fiat: 'Fiat',
|
|
44
|
+
'1001001': 'Solana',
|
|
45
|
+
'1001002': 'Bitcoin',
|
|
46
|
+
};
|
|
47
|
+
return fallbackNames[id] || `Chain ${id}`;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Maps Alchemy network identifier to RPC endpoint URL
|
|
51
|
+
* Used for per-network balance fetching via Alchemy JSON-RPC
|
|
52
|
+
*
|
|
53
|
+
* @param network - Alchemy network identifier (e.g., 'eth-mainnet', 'polygon-mainnet')
|
|
54
|
+
* @param apiKey - Alchemy API key
|
|
55
|
+
* @returns Full RPC URL for the network, or null if unsupported
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* const url = getAlchemyRpcUrl('eth-mainnet', 'abc123')
|
|
59
|
+
* // Returns: 'https://eth-mainnet.g.alchemy.com/v2/abc123'
|
|
60
|
+
*/
|
|
61
|
+
function getAlchemyRpcUrl(network, apiKey) {
|
|
62
|
+
const rpcBaseUrls = {
|
|
63
|
+
'eth-mainnet': 'https://eth-mainnet.g.alchemy.com/v2',
|
|
64
|
+
'opt-mainnet': 'https://opt-mainnet.g.alchemy.com/v2',
|
|
65
|
+
'polygon-mainnet': 'https://polygon-mainnet.g.alchemy.com/v2',
|
|
66
|
+
'base-mainnet': 'https://base-mainnet.g.alchemy.com/v2',
|
|
67
|
+
'arb-mainnet': 'https://arb-mainnet.g.alchemy.com/v2',
|
|
68
|
+
'avax-mainnet': 'https://avax-mainnet.g.alchemy.com/v2',
|
|
69
|
+
'bnb-mainnet': 'https://bnb-mainnet.g.alchemy.com/v2',
|
|
70
|
+
'linea-mainnet': 'https://linea-mainnet.g.alchemy.com/v2',
|
|
71
|
+
'scroll-mainnet': 'https://scroll-mainnet.g.alchemy.com/v2',
|
|
72
|
+
'gnosis-mainnet': 'https://gnosis-mainnet.g.alchemy.com/v2',
|
|
73
|
+
'mantle-mainnet': 'https://mantle-mainnet.g.alchemy.com/v2',
|
|
74
|
+
'celo-mainnet': 'https://celo-mainnet.g.alchemy.com/v2',
|
|
75
|
+
'sei-mainnet': 'https://sei-mainnet.g.alchemy.com/v2',
|
|
76
|
+
'worldchain-mainnet': 'https://worldchain-mainnet.g.alchemy.com/v2',
|
|
77
|
+
'unichain-sepolia': 'https://unichain-sepolia.g.alchemy.com/v2',
|
|
78
|
+
};
|
|
79
|
+
const baseUrl = rpcBaseUrls[network];
|
|
80
|
+
return baseUrl ? `${baseUrl}/${apiKey}` : null;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Gets all supported Alchemy network identifiers for EVM chains
|
|
84
|
+
* Used to fetch balances across all configured networks
|
|
85
|
+
*
|
|
86
|
+
* @returns Array of Alchemy network identifiers
|
|
87
|
+
*/
|
|
88
|
+
function getAllAlchemyNetworks() {
|
|
89
|
+
return [
|
|
90
|
+
'eth-mainnet',
|
|
91
|
+
'opt-mainnet',
|
|
92
|
+
'polygon-mainnet',
|
|
93
|
+
'base-mainnet',
|
|
94
|
+
'arb-mainnet',
|
|
95
|
+
'avax-mainnet',
|
|
96
|
+
'bnb-mainnet',
|
|
97
|
+
'linea-mainnet',
|
|
98
|
+
'scroll-mainnet',
|
|
99
|
+
'gnosis-mainnet',
|
|
100
|
+
'mantle-mainnet',
|
|
101
|
+
'celo-mainnet',
|
|
102
|
+
'sei-mainnet',
|
|
103
|
+
'worldchain-mainnet',
|
|
104
|
+
'unichain-sepolia',
|
|
105
|
+
];
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Maps internal chain ID to Alchemy network identifier
|
|
109
|
+
* Used for price fetching and network identification
|
|
110
|
+
*
|
|
111
|
+
* @param chainId - Internal chain ID (e.g., '1', '137', '42161')
|
|
112
|
+
* @returns Alchemy network identifier (e.g., 'eth-mainnet') or null if unsupported
|
|
113
|
+
*/
|
|
114
|
+
function mapChainIdToAlchemyNetwork(chainId) {
|
|
115
|
+
const id = typeof chainId === 'string' ? chainId : chainId.toString();
|
|
116
|
+
const mapping = {
|
|
117
|
+
'1': 'eth-mainnet',
|
|
118
|
+
'10': 'opt-mainnet',
|
|
119
|
+
'137': 'polygon-mainnet',
|
|
120
|
+
'8453': 'base-mainnet',
|
|
121
|
+
'42161': 'arb-mainnet',
|
|
122
|
+
'43114': 'avax-mainnet',
|
|
123
|
+
'56': 'bnb-mainnet',
|
|
124
|
+
'59144': 'linea-mainnet',
|
|
125
|
+
'534352': 'scroll-mainnet',
|
|
126
|
+
'100': 'gnosis-mainnet',
|
|
127
|
+
'5000': 'mantle-mainnet',
|
|
128
|
+
'42220': 'celo-mainnet',
|
|
129
|
+
'1329': 'sei-mainnet',
|
|
130
|
+
'480': 'worldchain-mainnet',
|
|
131
|
+
'130': 'unichain-sepolia',
|
|
132
|
+
};
|
|
133
|
+
return mapping[id] || null;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Maps Alchemy network identifier back to internal chain ID (reverse mapping)
|
|
137
|
+
* Used for converting Alchemy API responses back to internal chain IDs
|
|
138
|
+
*
|
|
139
|
+
* @param alchemyNetwork - Alchemy network identifier (e.g., 'eth-mainnet')
|
|
140
|
+
* @returns Internal chain ID (e.g., '1') or null if unsupported
|
|
141
|
+
*/
|
|
142
|
+
function mapAlchemyNetworkToChainId(alchemyNetwork) {
|
|
143
|
+
const mapping = {
|
|
144
|
+
'eth-mainnet': '1',
|
|
145
|
+
'opt-mainnet': '10',
|
|
146
|
+
'polygon-mainnet': '137',
|
|
147
|
+
'base-mainnet': '8453',
|
|
148
|
+
'arb-mainnet': '42161',
|
|
149
|
+
'avax-mainnet': '43114',
|
|
150
|
+
'bnb-mainnet': '56',
|
|
151
|
+
'linea-mainnet': '59144',
|
|
152
|
+
'scroll-mainnet': '534352',
|
|
153
|
+
'gnosis-mainnet': '100',
|
|
154
|
+
'mantle-mainnet': '5000',
|
|
155
|
+
'celo-mainnet': '42220',
|
|
156
|
+
'sei-mainnet': '1329',
|
|
157
|
+
'worldchain-mainnet': '480',
|
|
158
|
+
'unichain-sepolia': '130',
|
|
159
|
+
};
|
|
160
|
+
return mapping[alchemyNetwork] || null;
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=network-mapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network-mapping.js","sourceRoot":"","sources":["../../../../../src/react/lib/utils/network-mapping.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAMH,4CAiBC;AAED,sDAIC;AAED,sDAeC;AAcD,4CAqBC;AAQD,sDAkBC;AASD,gEAsBC;AASD,gEAoBC;AApKD,4CAA8C;AAC9C,mDAAmE;AAEnE,SAAgB,gBAAgB,CAAC,OAAwB;IACvD,MAAM,EAAE,GAAG,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;IAEtE,IAAI,EAAE,KAAK,MAAM;QAAE,OAAO,IAAI,CAAC,CAAC,iCAAiC;IACjE,IAAI,IAAA,sBAAa,EAAC,EAAE,CAAC;QAAE,OAAO,IAAI,CAAC,CAAC,8CAA8C;IAElF,IAAI,CAAC,IAAA,mBAAU,EAAC,EAAE,CAAC;QAAE,OAAO,IAAI,CAAC;IAEjC,MAAM,cAAc,GAAG,MAAM,CAAC,EAAE,CAAC,CAAC;IAClC,MAAM,OAAO,GAAG,oBAAW,CAAC,IAAI,CAAC,CAAC,GAAkB,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,cAAc,CAAC,CAAC;IAEpF,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,6CAA6C,CAAC,CAAC;QAC5F,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAgB,qBAAqB,CAAC,OAAwB;IAC5D,MAAM,EAAE,GAAG,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;IAEtE,OAAO,IAAA,mBAAU,EAAC,EAAE,CAAC,CAAC;AACxB,CAAC;AAED,SAAgB,qBAAqB,CAAC,OAAwB;IAC5D,MAAM,EAAE,GAAG,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;IACtE,MAAM,OAAO,GAAG,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAErC,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO,OAAO,CAAC,IAAI,CAAC;IACtB,CAAC;IAED,MAAM,aAAa,GAA2B;QAC5C,IAAI,EAAE,MAAM;QACZ,SAAS,EAAE,QAAQ;QACnB,SAAS,EAAE,SAAS;KACrB,CAAC;IAEF,OAAO,aAAa,CAAC,EAAE,CAAC,IAAI,SAAS,EAAE,EAAE,CAAC;AAC5C,CAAC;AAED;;;;;;;;;;;GAWG;AACH,SAAgB,gBAAgB,CAAC,OAAe,EAAE,MAAc;IAC9D,MAAM,WAAW,GAA2B;QAC1C,aAAa,EAAE,sCAAsC;QACrD,aAAa,EAAE,sCAAsC;QACrD,iBAAiB,EAAE,0CAA0C;QAC7D,cAAc,EAAE,uCAAuC;QACvD,aAAa,EAAE,sCAAsC;QACrD,cAAc,EAAE,uCAAuC;QACvD,aAAa,EAAE,sCAAsC;QACrD,eAAe,EAAE,wCAAwC;QACzD,gBAAgB,EAAE,yCAAyC;QAC3D,gBAAgB,EAAE,yCAAyC;QAC3D,gBAAgB,EAAE,yCAAyC;QAC3D,cAAc,EAAE,uCAAuC;QACvD,aAAa,EAAE,sCAAsC;QACrD,oBAAoB,EAAE,6CAA6C;QACnE,kBAAkB,EAAE,2CAA2C;KAChE,CAAC;IAEF,MAAM,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;IACrC,OAAO,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AACjD,CAAC;AAED;;;;;GAKG;AACH,SAAgB,qBAAqB;IACnC,OAAO;QACL,aAAa;QACb,aAAa;QACb,iBAAiB;QACjB,cAAc;QACd,aAAa;QACb,cAAc;QACd,aAAa;QACb,eAAe;QACf,gBAAgB;QAChB,gBAAgB;QAChB,gBAAgB;QAChB,cAAc;QACd,aAAa;QACb,oBAAoB;QACpB,kBAAkB;KACnB,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,0BAA0B,CAAC,OAAwB;IACjE,MAAM,EAAE,GAAG,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;IAEtE,MAAM,OAAO,GAA2B;QACtC,GAAG,EAAE,aAAa;QAClB,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,iBAAiB;QACxB,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,aAAa;QACtB,OAAO,EAAE,cAAc;QACvB,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,eAAe;QACxB,QAAQ,EAAE,gBAAgB;QAC1B,KAAK,EAAE,gBAAgB;QACvB,MAAM,EAAE,gBAAgB;QACxB,OAAO,EAAE,cAAc;QACvB,MAAM,EAAE,aAAa;QACrB,KAAK,EAAE,oBAAoB;QAC3B,KAAK,EAAE,kBAAkB;KAC1B,CAAC;IAEF,OAAO,OAAO,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC;AAC7B,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,0BAA0B,CAAC,cAAsB;IAC/D,MAAM,OAAO,GAA2B;QACtC,aAAa,EAAE,GAAG;QAClB,aAAa,EAAE,IAAI;QACnB,iBAAiB,EAAE,KAAK;QACxB,cAAc,EAAE,MAAM;QACtB,aAAa,EAAE,OAAO;QACtB,cAAc,EAAE,OAAO;QACvB,aAAa,EAAE,IAAI;QACnB,eAAe,EAAE,OAAO;QACxB,gBAAgB,EAAE,QAAQ;QAC1B,gBAAgB,EAAE,KAAK;QACvB,gBAAgB,EAAE,MAAM;QACxB,cAAc,EAAE,OAAO;QACvB,aAAa,EAAE,MAAM;QACrB,oBAAoB,EAAE,KAAK;QAC3B,kBAAkB,EAAE,KAAK;KAC1B,CAAC;IAEF,OAAO,OAAO,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC;AACzC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { Address, BaseError } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* Transaction utility helpers for safe parameter parsing and validation
|
|
4
|
+
*/
|
|
5
|
+
export interface TransactionParams {
|
|
6
|
+
from: Address;
|
|
7
|
+
to: Address;
|
|
8
|
+
data: `0x${string}`;
|
|
9
|
+
value?: string | number | bigint;
|
|
10
|
+
gas?: string | number | bigint;
|
|
11
|
+
gasPrice?: string | number | bigint;
|
|
12
|
+
maxFeePerGas?: string | number | bigint;
|
|
13
|
+
maxPriorityFeePerGas?: string | number | bigint;
|
|
14
|
+
nonce?: number | string;
|
|
15
|
+
chainId: number;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Safely parse a value to BigInt, handling various formats
|
|
19
|
+
* - Hex strings: "0xdbb0" → 56240n
|
|
20
|
+
* - Decimal strings: "56240" → 56240n
|
|
21
|
+
* - Numbers: 56240 → 56240n
|
|
22
|
+
* - Empty/undefined: → 0n
|
|
23
|
+
* - BigInt: pass through
|
|
24
|
+
*/
|
|
25
|
+
export declare function safeParseBigInt(value: string | number | bigint | null | undefined): bigint;
|
|
26
|
+
/**
|
|
27
|
+
* Parse transaction value field safely
|
|
28
|
+
* Returns bigint, defaults to 0n for invalid values
|
|
29
|
+
*/
|
|
30
|
+
export declare function parseTransactionValue(value: string | number | bigint | null | undefined): bigint;
|
|
31
|
+
/**
|
|
32
|
+
* Parse gas parameter safely
|
|
33
|
+
* Returns bigint | undefined (undefined means let wallet estimate)
|
|
34
|
+
*/
|
|
35
|
+
export declare function parseGasParam(gas: string | number | bigint | null | undefined): bigint | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Validate transaction parameters before sending
|
|
38
|
+
* Throws descriptive errors if validation fails
|
|
39
|
+
*/
|
|
40
|
+
export declare function validateTransactionParams(params: {
|
|
41
|
+
to?: string;
|
|
42
|
+
from?: string;
|
|
43
|
+
data?: string;
|
|
44
|
+
chainId?: number;
|
|
45
|
+
}): void;
|
|
46
|
+
/**
|
|
47
|
+
* Check if an error is a user rejection
|
|
48
|
+
*/
|
|
49
|
+
export declare function isUserRejection(error: unknown): error is BaseError;
|
|
50
|
+
/**
|
|
51
|
+
* Get user-friendly error message from transaction error
|
|
52
|
+
*/
|
|
53
|
+
export declare function getTransactionErrorMessage(error: unknown): {
|
|
54
|
+
title: string;
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=transaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../../../src/react/lib/utils/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAE/C;;GAEG;AAEH,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,OAAO,CAAC;IACZ,IAAI,EAAE,KAAK,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACjC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACxC,oBAAoB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAChD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAyB1F;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAEhG;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAOlG;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE;IAChD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,IAAI,CAsBP;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,SAAS,CAgBlE;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,OAAO,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAkDjG"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.safeParseBigInt = safeParseBigInt;
|
|
4
|
+
exports.parseTransactionValue = parseTransactionValue;
|
|
5
|
+
exports.parseGasParam = parseGasParam;
|
|
6
|
+
exports.validateTransactionParams = validateTransactionParams;
|
|
7
|
+
exports.isUserRejection = isUserRejection;
|
|
8
|
+
exports.getTransactionErrorMessage = getTransactionErrorMessage;
|
|
9
|
+
/**
|
|
10
|
+
* Safely parse a value to BigInt, handling various formats
|
|
11
|
+
* - Hex strings: "0xdbb0" → 56240n
|
|
12
|
+
* - Decimal strings: "56240" → 56240n
|
|
13
|
+
* - Numbers: 56240 → 56240n
|
|
14
|
+
* - Empty/undefined: → 0n
|
|
15
|
+
* - BigInt: pass through
|
|
16
|
+
*/
|
|
17
|
+
function safeParseBigInt(value) {
|
|
18
|
+
if (value === null || value === undefined || value === '' || value === '0x') {
|
|
19
|
+
return 0n;
|
|
20
|
+
}
|
|
21
|
+
if (typeof value === 'bigint') {
|
|
22
|
+
return value;
|
|
23
|
+
}
|
|
24
|
+
if (typeof value === 'number') {
|
|
25
|
+
return BigInt(value);
|
|
26
|
+
}
|
|
27
|
+
const str = String(value).trim();
|
|
28
|
+
if (!str || str === '0x') {
|
|
29
|
+
return 0n;
|
|
30
|
+
}
|
|
31
|
+
try {
|
|
32
|
+
return BigInt(str);
|
|
33
|
+
}
|
|
34
|
+
catch (error) {
|
|
35
|
+
console.warn(`Failed to parse BigInt from value: ${value}`, error);
|
|
36
|
+
return 0n;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Parse transaction value field safely
|
|
41
|
+
* Returns bigint, defaults to 0n for invalid values
|
|
42
|
+
*/
|
|
43
|
+
function parseTransactionValue(value) {
|
|
44
|
+
return safeParseBigInt(value);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Parse gas parameter safely
|
|
48
|
+
* Returns bigint | undefined (undefined means let wallet estimate)
|
|
49
|
+
*/
|
|
50
|
+
function parseGasParam(gas) {
|
|
51
|
+
if (gas === null || gas === undefined || gas === '' || gas === '0x') {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
const parsed = safeParseBigInt(gas);
|
|
55
|
+
return parsed > 0n ? parsed : undefined;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Validate transaction parameters before sending
|
|
59
|
+
* Throws descriptive errors if validation fails
|
|
60
|
+
*/
|
|
61
|
+
function validateTransactionParams(params) {
|
|
62
|
+
if (!params.to || params.to === '0x0000000000000000000000000000000000000000') {
|
|
63
|
+
throw new Error('Invalid recipient address');
|
|
64
|
+
}
|
|
65
|
+
if (!params.to.startsWith('0x') || params.to.length !== 42) {
|
|
66
|
+
throw new Error('Invalid recipient address format');
|
|
67
|
+
}
|
|
68
|
+
if (params.from) {
|
|
69
|
+
if (!params.from.startsWith('0x') || params.from.length !== 42) {
|
|
70
|
+
throw new Error('Invalid sender address format');
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if (params.data && !params.data.startsWith('0x')) {
|
|
74
|
+
throw new Error('Invalid transaction data format');
|
|
75
|
+
}
|
|
76
|
+
if (params.chainId && (params.chainId <= 0 || !Number.isInteger(params.chainId))) {
|
|
77
|
+
throw new Error('Invalid chain ID');
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Check if an error is a user rejection
|
|
82
|
+
*/
|
|
83
|
+
function isUserRejection(error) {
|
|
84
|
+
if (!error || typeof error !== 'object')
|
|
85
|
+
return false;
|
|
86
|
+
const errorObj = error;
|
|
87
|
+
const message = errorObj.message?.toLowerCase() || '';
|
|
88
|
+
const code = errorObj.code;
|
|
89
|
+
return (code === 4001 ||
|
|
90
|
+
code === 'ACTION_REJECTED' ||
|
|
91
|
+
message.includes('rejected') ||
|
|
92
|
+
message.includes('denied') ||
|
|
93
|
+
message.includes('user denied') ||
|
|
94
|
+
message.includes('user cancelled') ||
|
|
95
|
+
message.includes('user rejected'));
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Get user-friendly error message from transaction error
|
|
99
|
+
*/
|
|
100
|
+
function getTransactionErrorMessage(error) {
|
|
101
|
+
if (isUserRejection(error)) {
|
|
102
|
+
return {
|
|
103
|
+
title: 'Transaction cancelled',
|
|
104
|
+
description: 'You rejected the transaction in your wallet',
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
if (!error || typeof error !== 'object') {
|
|
108
|
+
return {
|
|
109
|
+
title: 'Transaction failed',
|
|
110
|
+
description: 'Unknown error occurred',
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
const errorObj = error;
|
|
114
|
+
const message = errorObj.message?.toLowerCase() || '';
|
|
115
|
+
if (message.includes('insufficient') && message.includes('gas')) {
|
|
116
|
+
return {
|
|
117
|
+
title: 'Insufficient gas',
|
|
118
|
+
description: 'Add more ETH to your wallet to cover gas fees',
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
if (message.includes('insufficient') && message.includes('funds')) {
|
|
122
|
+
return {
|
|
123
|
+
title: 'Insufficient funds',
|
|
124
|
+
description: "You don't have enough tokens for this transaction",
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
if (message.includes('nonce')) {
|
|
128
|
+
return {
|
|
129
|
+
title: 'Nonce error',
|
|
130
|
+
description: 'Try resetting your wallet or waiting for pending transactions',
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
if (message.includes('gas price') || message.includes('max fee')) {
|
|
134
|
+
return {
|
|
135
|
+
title: 'Gas price error',
|
|
136
|
+
description: 'Gas price too low or network congestion detected',
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
return {
|
|
140
|
+
title: 'Transaction failed',
|
|
141
|
+
description: errorObj.shortMessage || errorObj.message?.slice(0, 100) || 'Unknown error occurred',
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
//# sourceMappingURL=transaction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../../../../src/react/lib/utils/transaction.ts"],"names":[],"mappings":";;AA2BA,0CAyBC;AAMD,sDAEC;AAMD,sCAOC;AAMD,8DA2BC;AAKD,0CAgBC;AAKD,gEAkDC;AAnKD;;;;;;;GAOG;AACH,SAAgB,eAAe,CAAC,KAAkD;IAChF,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,EAAE,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QAC5E,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IAED,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;IAEjC,IAAI,CAAC,GAAG,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;QACzB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,CAAC;QACH,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,IAAI,CAAC,sCAAsC,KAAK,EAAE,EAAE,KAAK,CAAC,CAAC;QACnE,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,SAAgB,qBAAqB,CAAC,KAAkD;IACtF,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAChC,CAAC;AAED;;;GAGG;AACH,SAAgB,aAAa,CAAC,GAAgD;IAC5E,IAAI,GAAG,KAAK,IAAI,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,EAAE,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;QACpE,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,MAAM,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;IACpC,OAAO,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AAC1C,CAAC;AAED;;;GAGG;AACH,SAAgB,yBAAyB,CAAC,MAKzC;IACC,IAAI,CAAC,MAAM,CAAC,EAAE,IAAI,MAAM,CAAC,EAAE,KAAK,4CAA4C,EAAE,CAAC;QAC7E,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAC/C,CAAC;IAED,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,EAAE,CAAC,MAAM,KAAK,EAAE,EAAE,CAAC;QAC3D,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;IACtD,CAAC;IAED,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;QAChB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,KAAK,EAAE,EAAE,CAAC;YAC/D,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;IACH,CAAC;IAED,IAAI,MAAM,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;QACjD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;IACrD,CAAC;IAED,IAAI,MAAM,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;QACjF,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACtC,CAAC;AACH,CAAC;AAED;;GAEG;AACH,SAAgB,eAAe,CAAC,KAAc;IAC5C,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAEtD,MAAM,QAAQ,GAAG,KAA+C,CAAC;IACjE,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;IACtD,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;IAE3B,OAAO,CACL,IAAI,KAAK,IAAI;QACb,IAAI,KAAK,iBAAiB;QAC1B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC;QAC5B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAC1B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAC;QAC/B,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC;QAClC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAClC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,0BAA0B,CAAC,KAAc;IACvD,IAAI,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO;YACL,KAAK,EAAE,uBAAuB;YAC9B,WAAW,EAAE,6CAA6C;SAC3D,CAAC;IACJ,CAAC;IAED,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACxC,OAAO;YACL,KAAK,EAAE,oBAAoB;YAC3B,WAAW,EAAE,wBAAwB;SACtC,CAAC;IACJ,CAAC;IAED,MAAM,QAAQ,GAAG,KAAkB,CAAC;IACpC,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;IAEtD,IAAI,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QAChE,OAAO;YACL,KAAK,EAAE,kBAAkB;YACzB,WAAW,EAAE,+CAA+C;SAC7D,CAAC;IACJ,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;QAClE,OAAO;YACL,KAAK,EAAE,oBAAoB;YAC3B,WAAW,EAAE,mDAAmD;SACjE,CAAC;IACJ,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;QAC9B,OAAO;YACL,KAAK,EAAE,aAAa;YACpB,WAAW,EAAE,+DAA+D;SAC7E,CAAC;IACJ,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QACjE,OAAO;YACL,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,kDAAkD;SAChE,CAAC;IACJ,CAAC;IAED,OAAO;QACL,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,QAAQ,CAAC,YAAY,IAAI,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,IAAI,wBAAwB;KAClG,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Validates Ethereum address format
|
|
3
|
+
* @param address - The address to validate
|
|
4
|
+
* @returns true if address is valid, false otherwise
|
|
5
|
+
*/
|
|
6
|
+
export declare function isValidAddress(address: string): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Validates amount input (positive number)
|
|
9
|
+
* @param amount - The amount string to validate
|
|
10
|
+
* @returns true if amount is valid and positive, false otherwise
|
|
11
|
+
*/
|
|
12
|
+
export declare function isValidAmount(amount: string): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Checks if two tokens represent the same asset (direct transfer)
|
|
15
|
+
* Used to determine if a quote API call is needed or if it's a direct 1:1 transfer
|
|
16
|
+
* @param token1 - First token with address and chainId
|
|
17
|
+
* @param token2 - Second token with address and chainId
|
|
18
|
+
* @returns true if tokens are the same, false otherwise
|
|
19
|
+
*/
|
|
20
|
+
export declare function isSameToken(token1: {
|
|
21
|
+
address?: string;
|
|
22
|
+
chainId: string | number;
|
|
23
|
+
}, token2: {
|
|
24
|
+
address?: string;
|
|
25
|
+
chainId: string | number;
|
|
26
|
+
}): boolean;
|
|
27
|
+
//# sourceMappingURL=validation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../../src/react/lib/utils/validation.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAGvD;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAIrD;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,EACtD,MAAM,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,GACrD,OAAO,CAOT"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isValidAddress = isValidAddress;
|
|
4
|
+
exports.isValidAmount = isValidAmount;
|
|
5
|
+
exports.isSameToken = isSameToken;
|
|
6
|
+
const viem_1 = require("viem");
|
|
7
|
+
/**
|
|
8
|
+
* Validates Ethereum address format
|
|
9
|
+
* @param address - The address to validate
|
|
10
|
+
* @returns true if address is valid, false otherwise
|
|
11
|
+
*/
|
|
12
|
+
function isValidAddress(address) {
|
|
13
|
+
if (!address)
|
|
14
|
+
return false;
|
|
15
|
+
return (0, viem_1.isAddress)(address);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Validates amount input (positive number)
|
|
19
|
+
* @param amount - The amount string to validate
|
|
20
|
+
* @returns true if amount is valid and positive, false otherwise
|
|
21
|
+
*/
|
|
22
|
+
function isValidAmount(amount) {
|
|
23
|
+
if (!amount || amount.trim() === '')
|
|
24
|
+
return false;
|
|
25
|
+
const num = parseFloat(amount);
|
|
26
|
+
return !isNaN(num) && num > 0;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Checks if two tokens represent the same asset (direct transfer)
|
|
30
|
+
* Used to determine if a quote API call is needed or if it's a direct 1:1 transfer
|
|
31
|
+
* @param token1 - First token with address and chainId
|
|
32
|
+
* @param token2 - Second token with address and chainId
|
|
33
|
+
* @returns true if tokens are the same, false otherwise
|
|
34
|
+
*/
|
|
35
|
+
function isSameToken(token1, token2) {
|
|
36
|
+
if (!token1.address || !token2.address)
|
|
37
|
+
return false;
|
|
38
|
+
return (token1.address.toLowerCase() === token2.address.toLowerCase() &&
|
|
39
|
+
token1.chainId.toString() === token2.chainId.toString());
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=validation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../../../../src/react/lib/utils/validation.ts"],"names":[],"mappings":";;AAOA,wCAGC;AAOD,sCAIC;AASD,kCAUC;AAxCD,+BAAiC;AAEjC;;;;GAIG;AACH,SAAgB,cAAc,CAAC,OAAe;IAC5C,IAAI,CAAC,OAAO;QAAE,OAAO,KAAK,CAAC;IAC3B,OAAO,IAAA,gBAAS,EAAC,OAAO,CAAC,CAAC;AAC5B,CAAC;AAED;;;;GAIG;AACH,SAAgB,aAAa,CAAC,MAAc;IAC1C,IAAI,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE;QAAE,OAAO,KAAK,CAAC;IAClD,MAAM,GAAG,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;IAC/B,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,CAAC;AAChC,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,WAAW,CACzB,MAAsD,EACtD,MAAsD;IAEtD,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO;QAAE,OAAO,KAAK,CAAC;IAErD,OAAO,CACL,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE;QAC7D,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,CACxD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { OrdaProviderProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Main provider component for the Orda SDK React integration.
|
|
4
|
+
*
|
|
5
|
+
* Provides:
|
|
6
|
+
* - Wallet connection (EVM + Solana via Reown AppKit)
|
|
7
|
+
* - SDK initialization and JWT management
|
|
8
|
+
* - TanStack Query for data fetching
|
|
9
|
+
* - Toast notifications
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* import { createAppKitConfig, OrdaProvider, Widget } from '@ordanetwork/sdk/react';
|
|
14
|
+
* import '@ordanetwork/sdk/react/styles.css';
|
|
15
|
+
*
|
|
16
|
+
* const appKitConfig = createAppKitConfig({
|
|
17
|
+
* projectId: process.env.NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID!,
|
|
18
|
+
* });
|
|
19
|
+
*
|
|
20
|
+
* function App() {
|
|
21
|
+
* return (
|
|
22
|
+
* <OrdaProvider
|
|
23
|
+
* config={{
|
|
24
|
+
* getToken: async () => {
|
|
25
|
+
* const res = await fetch('/api/auth/jwt', { method: 'POST' });
|
|
26
|
+
* return res.json();
|
|
27
|
+
* },
|
|
28
|
+
* appKitConfig,
|
|
29
|
+
* }}
|
|
30
|
+
* >
|
|
31
|
+
* <Widget />
|
|
32
|
+
* </OrdaProvider>
|
|
33
|
+
* );
|
|
34
|
+
* }
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare function OrdaProvider({ config, children }: OrdaProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
//# sourceMappingURL=OrdaProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrdaProvider.d.ts","sourceRoot":"","sources":["../../../../src/react/providers/OrdaProvider.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CA8BnE"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use client';
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.OrdaProvider = OrdaProvider;
|
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
+
const react_1 = require("react");
|
|
7
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
8
|
+
const wagmi_1 = require("wagmi");
|
|
9
|
+
const sonner_1 = require("sonner");
|
|
10
|
+
const OrdaSDKContext_1 = require("./OrdaSDKContext");
|
|
11
|
+
/**
|
|
12
|
+
* Main provider component for the Orda SDK React integration.
|
|
13
|
+
*
|
|
14
|
+
* Provides:
|
|
15
|
+
* - Wallet connection (EVM + Solana via Reown AppKit)
|
|
16
|
+
* - SDK initialization and JWT management
|
|
17
|
+
* - TanStack Query for data fetching
|
|
18
|
+
* - Toast notifications
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```tsx
|
|
22
|
+
* import { createAppKitConfig, OrdaProvider, Widget } from '@ordanetwork/sdk/react';
|
|
23
|
+
* import '@ordanetwork/sdk/react/styles.css';
|
|
24
|
+
*
|
|
25
|
+
* const appKitConfig = createAppKitConfig({
|
|
26
|
+
* projectId: process.env.NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID!,
|
|
27
|
+
* });
|
|
28
|
+
*
|
|
29
|
+
* function App() {
|
|
30
|
+
* return (
|
|
31
|
+
* <OrdaProvider
|
|
32
|
+
* config={{
|
|
33
|
+
* getToken: async () => {
|
|
34
|
+
* const res = await fetch('/api/auth/jwt', { method: 'POST' });
|
|
35
|
+
* return res.json();
|
|
36
|
+
* },
|
|
37
|
+
* appKitConfig,
|
|
38
|
+
* }}
|
|
39
|
+
* >
|
|
40
|
+
* <Widget />
|
|
41
|
+
* </OrdaProvider>
|
|
42
|
+
* );
|
|
43
|
+
* }
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
function OrdaProvider({ config, children }) {
|
|
47
|
+
const [queryClient] = (0, react_1.useState)(() => new react_query_1.QueryClient({
|
|
48
|
+
defaultOptions: {
|
|
49
|
+
queries: {
|
|
50
|
+
staleTime: 30 * 1000,
|
|
51
|
+
retry: 2,
|
|
52
|
+
refetchOnWindowFocus: false,
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
}));
|
|
56
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(wagmi_1.WagmiProvider, { config: config.appKitConfig.wagmiConfig, children: (0, jsx_runtime_1.jsx)(react_query_1.QueryClientProvider, { client: queryClient, children: (0, jsx_runtime_1.jsx)(OrdaSDKContext_1.OrdaSDKProvider, { config: config, children: (0, jsx_runtime_1.jsx)("div", { className: "orda-widget", children: children }) }) }) }), (0, jsx_runtime_1.jsx)(sonner_1.Toaster, { position: "top-right", richColors: true, closeButton: true, duration: 4000 })] }));
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=OrdaProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrdaProvider.js","sourceRoot":"","sources":["../../../../src/react/providers/OrdaProvider.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;AA4Cb,oCA8BC;;AAxED,iCAAiC;AACjC,uDAAyE;AACzE,iCAAsC;AACtC,mCAAiC;AACjC,qDAAmD;AAGnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAqB;IAClE,MAAM,CAAC,WAAW,CAAC,GAAG,IAAA,gBAAQ,EAAC,GAAG,EAAE,CAAC,IAAI,yBAAW,CAAC;QACnD,cAAc,EAAE;YACd,OAAO,EAAE;gBACP,SAAS,EAAE,EAAE,GAAG,IAAI;gBACpB,KAAK,EAAE,CAAC;gBACR,oBAAoB,EAAE,KAAK;aAC5B;SACF;KACF,CAAC,CAAC,CAAC;IAEJ,OAAO,CACL,6DACE,uBAAC,qBAAa,IAAC,MAAM,EAAE,MAAM,CAAC,YAAY,CAAC,WAAW,YACpD,uBAAC,iCAAmB,IAAC,MAAM,EAAE,WAAW,YACtC,uBAAC,gCAAe,IAAC,MAAM,EAAE,MAAM,YAC7B,gCAAK,SAAS,EAAC,aAAa,YACzB,QAAQ,GACL,GACU,GACE,GACR,EAChB,uBAAC,gBAAO,IACN,QAAQ,EAAC,WAAW,EACpB,UAAU,QACV,WAAW,QACX,QAAQ,EAAE,IAAI,GACd,IACD,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { OrdaSDKContextValue, OrdaSDKProviderProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Internal provider component for SDK initialization and JWT management.
|
|
4
|
+
* Used internally by OrdaProvider.
|
|
5
|
+
*/
|
|
6
|
+
export declare function OrdaSDKProvider({ config, children }: OrdaSDKProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
/**
|
|
8
|
+
* Hook to access the Orda SDK instance and authentication state.
|
|
9
|
+
*
|
|
10
|
+
* @throws Error if used outside of OrdaProvider
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* function MyComponent() {
|
|
15
|
+
* const { sdk, isLoading, error } = useOrdaSDK();
|
|
16
|
+
*
|
|
17
|
+
* if (isLoading) return <div>Loading...</div>;
|
|
18
|
+
* if (error) return <div>Error: {error.message}</div>;
|
|
19
|
+
* if (!sdk) return null;
|
|
20
|
+
*
|
|
21
|
+
* // Use sdk...
|
|
22
|
+
* }
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function useOrdaSDK(): OrdaSDKContextValue;
|
|
26
|
+
//# sourceMappingURL=OrdaSDKContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrdaSDKContext.d.ts","sourceRoot":"","sources":["../../../../src/react/providers/OrdaSDKContext.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EAErB,MAAM,SAAS,CAAC;AAIjB;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CAiJzE;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,UAAU,IAAI,mBAAmB,CAQhD"}
|