@ordanetwork/sdk 1.3.0 → 2.0.0-beta.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/README.md +39 -34
- package/dist/browser/index.d.ts +2 -6
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +6 -10
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/types/index.d.ts +0 -2
- package/dist/browser/types/index.d.ts.map +1 -1
- package/dist/browser/types/index.js +0 -2
- package/dist/browser/types/index.js.map +1 -1
- package/dist/browser/types/jwt.d.ts +1 -2
- package/dist/browser/types/jwt.d.ts.map +1 -1
- package/dist/cjs/index.d.ts +2 -6
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +7 -20
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +0 -2
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +0 -2
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/types/jwt.d.ts +1 -2
- package/dist/cjs/types/jwt.d.ts.map +1 -1
- package/dist/esm/index.d.ts +2 -6
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +6 -10
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +0 -2
- package/dist/esm/types/index.d.ts.map +1 -1
- package/dist/esm/types/index.js +0 -2
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/types/jwt.d.ts +1 -2
- package/dist/esm/types/jwt.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +0 -2
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/jwt.d.ts +1 -2
- package/dist/types/types/jwt.d.ts.map +1 -1
- package/package.json +5 -92
- package/dist/browser/react/assets/animations/completed.json +0 -1
- package/dist/browser/react/assets/animations/converting.json +0 -1
- package/dist/browser/react/assets/animations/error.json +0 -1
- package/dist/browser/react/assets/animations/index.d.ts +0 -4
- package/dist/browser/react/assets/animations/index.d.ts.map +0 -1
- package/dist/browser/react/assets/animations/index.js +0 -6
- package/dist/browser/react/assets/animations/index.js.map +0 -1
- package/dist/browser/react/assets/chains/index.d.ts +0 -3
- package/dist/browser/react/assets/chains/index.d.ts.map +0 -1
- package/dist/browser/react/assets/chains/index.js +0 -31
- package/dist/browser/react/assets/chains/index.js.map +0 -1
- package/dist/browser/react/assets/icons/index.d.ts +0 -10
- package/dist/browser/react/assets/icons/index.d.ts.map +0 -1
- package/dist/browser/react/assets/icons/index.js +0 -10
- package/dist/browser/react/assets/icons/index.js.map +0 -1
- package/dist/browser/react/assets/index.d.ts +0 -6
- package/dist/browser/react/assets/index.d.ts.map +0 -1
- package/dist/browser/react/assets/index.js +0 -9
- package/dist/browser/react/assets/index.js.map +0 -1
- package/dist/browser/react/assets/tokens/index.d.ts +0 -3
- package/dist/browser/react/assets/tokens/index.d.ts.map +0 -1
- package/dist/browser/react/assets/tokens/index.js +0 -45
- package/dist/browser/react/assets/tokens/index.js.map +0 -1
- package/dist/browser/react/components/Widget/Widget.d.ts +0 -2
- package/dist/browser/react/components/Widget/Widget.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/Widget.js +0 -682
- package/dist/browser/react/components/Widget/Widget.js.map +0 -1
- package/dist/browser/react/components/Widget/components/CollapsibleDetails.d.ts +0 -15
- package/dist/browser/react/components/Widget/components/CollapsibleDetails.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/CollapsibleDetails.js +0 -50
- package/dist/browser/react/components/Widget/components/CollapsibleDetails.js.map +0 -1
- package/dist/browser/react/components/Widget/components/CustomDialogHeader.d.ts +0 -13
- package/dist/browser/react/components/Widget/components/CustomDialogHeader.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/CustomDialogHeader.js +0 -27
- package/dist/browser/react/components/Widget/components/CustomDialogHeader.js.map +0 -1
- package/dist/browser/react/components/Widget/components/Footer.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/Footer.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/Footer.js +0 -6
- package/dist/browser/react/components/Widget/components/Footer.js.map +0 -1
- package/dist/browser/react/components/Widget/components/Header.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/Header.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/Header.js +0 -33
- package/dist/browser/react/components/Widget/components/Header.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts +0 -15
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js +0 -79
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts +0 -8
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js +0 -79
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts +0 -21
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js +0 -90
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts +0 -3
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js +0 -2
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts +0 -9
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js +0 -15
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts +0 -3
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/index.js +0 -3
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/index.js +0 -2
- package/dist/browser/react/components/Widget/components/OffRampRecipientDialog/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/Recipient.d.ts +0 -8
- package/dist/browser/react/components/Widget/components/Recipient.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/Recipient.js +0 -9
- package/dist/browser/react/components/Widget/components/Recipient.js.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts +0 -13
- package/dist/browser/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/RecipientDialog.js +0 -114
- package/dist/browser/react/components/Widget/components/RecipientDialog/RecipientDialog.js.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts +0 -24
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js +0 -49
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/index.js +0 -2
- package/dist/browser/react/components/Widget/components/RecipientDialog/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/RecipientDialog/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/RecipientDialog/index.js +0 -2
- package/dist/browser/react/components/Widget/components/RecipientDialog/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts +0 -15
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js +0 -100
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts +0 -27
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js +0 -10
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts +0 -18
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js +0 -55
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts +0 -14
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js +0 -35
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts +0 -12
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js +0 -11
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts +0 -4
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js +0 -4
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js +0 -2
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/index.js +0 -2
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/index.js +0 -2
- package/dist/browser/react/components/Widget/components/SelectAssetDialog/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TokenInput.d.ts +0 -16
- package/dist/browser/react/components/Widget/components/TokenInput.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TokenInput.js +0 -21
- package/dist/browser/react/components/Widget/components/TokenInput.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts +0 -25
- package/dist/browser/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/TransactionDialog.js +0 -33
- package/dist/browser/react/components/Widget/components/TransactionDialog/TransactionDialog.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts +0 -17
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js +0 -313
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts +0 -21
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js +0 -75
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts +0 -16
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js +0 -93
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts +0 -10
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js +0 -32
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts +0 -9
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js +0 -32
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts +0 -17
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js +0 -37
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts +0 -4
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js +0 -4
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts +0 -18
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js +0 -357
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/Swap/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts +0 -17
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js +0 -45
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts +0 -10
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js +0 -49
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/index.d.ts +0 -5
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/index.js +0 -5
- package/dist/browser/react/components/Widget/components/TransactionDialog/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/TransactionDialog/index.js +0 -2
- package/dist/browser/react/components/Widget/components/TransactionDialog/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts +0 -7
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js +0 -25
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts +0 -7
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js +0 -30
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts +0 -12
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js +0 -17
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts +0 -7
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js +0 -68
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts +0 -16
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js +0 -36
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/index.d.ts +0 -3
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/index.js +0 -3
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/index.js +0 -2
- package/dist/browser/react/components/Widget/components/UserAccountDrawer/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/index.d.ts +0 -13
- package/dist/browser/react/components/Widget/components/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/index.js +0 -13
- package/dist/browser/react/components/Widget/components/index.js.map +0 -1
- package/dist/browser/react/components/Widget/components/shared/TokenIconDisplay.d.ts +0 -15
- package/dist/browser/react/components/Widget/components/shared/TokenIconDisplay.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/shared/TokenIconDisplay.js +0 -31
- package/dist/browser/react/components/Widget/components/shared/TokenIconDisplay.js.map +0 -1
- package/dist/browser/react/components/Widget/components/shared/index.d.ts +0 -2
- package/dist/browser/react/components/Widget/components/shared/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/components/shared/index.js +0 -2
- package/dist/browser/react/components/Widget/components/shared/index.js.map +0 -1
- package/dist/browser/react/components/Widget/index.d.ts +0 -3
- package/dist/browser/react/components/Widget/index.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/index.js +0 -2
- package/dist/browser/react/components/Widget/index.js.map +0 -1
- package/dist/browser/react/components/Widget/types/quote.d.ts +0 -205
- package/dist/browser/react/components/Widget/types/quote.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/types/quote.js +0 -53
- package/dist/browser/react/components/Widget/types/quote.js.map +0 -1
- package/dist/browser/react/components/Widget/types.d.ts +0 -24
- package/dist/browser/react/components/Widget/types.d.ts.map +0 -1
- package/dist/browser/react/components/Widget/types.js +0 -3
- package/dist/browser/react/components/Widget/types.js.map +0 -1
- package/dist/browser/react/components/ui/badge.d.ts +0 -10
- package/dist/browser/react/components/ui/badge.d.ts.map +0 -1
- package/dist/browser/react/components/ui/badge.js +0 -21
- package/dist/browser/react/components/ui/badge.js.map +0 -1
- package/dist/browser/react/components/ui/button.d.ts +0 -12
- package/dist/browser/react/components/ui/button.d.ts.map +0 -1
- package/dist/browser/react/components/ui/button.js +0 -34
- package/dist/browser/react/components/ui/button.js.map +0 -1
- package/dist/browser/react/components/ui/dialog.d.ts +0 -18
- package/dist/browser/react/components/ui/dialog.d.ts.map +0 -1
- package/dist/browser/react/components/ui/dialog.js +0 -41
- package/dist/browser/react/components/ui/dialog.js.map +0 -1
- package/dist/browser/react/components/ui/drawer.d.ts +0 -23
- package/dist/browser/react/components/ui/drawer.d.ts.map +0 -1
- package/dist/browser/react/components/ui/drawer.js +0 -24
- package/dist/browser/react/components/ui/drawer.js.map +0 -1
- package/dist/browser/react/components/ui/index.d.ts +0 -12
- package/dist/browser/react/components/ui/index.d.ts.map +0 -1
- package/dist/browser/react/components/ui/index.js +0 -10
- package/dist/browser/react/components/ui/index.js.map +0 -1
- package/dist/browser/react/components/ui/input.d.ts +0 -4
- package/dist/browser/react/components/ui/input.d.ts.map +0 -1
- package/dist/browser/react/components/ui/input.js +0 -9
- package/dist/browser/react/components/ui/input.js.map +0 -1
- package/dist/browser/react/components/ui/label.d.ts +0 -6
- package/dist/browser/react/components/ui/label.d.ts.map +0 -1
- package/dist/browser/react/components/ui/label.js +0 -10
- package/dist/browser/react/components/ui/label.js.map +0 -1
- package/dist/browser/react/components/ui/popover.d.ts +0 -8
- package/dist/browser/react/components/ui/popover.d.ts.map +0 -1
- package/dist/browser/react/components/ui/popover.js +0 -12
- package/dist/browser/react/components/ui/popover.js.map +0 -1
- package/dist/browser/react/components/ui/select.d.ts +0 -14
- package/dist/browser/react/components/ui/select.d.ts.map +0 -1
- package/dist/browser/react/components/ui/select.js +0 -27
- package/dist/browser/react/components/ui/select.js.map +0 -1
- package/dist/browser/react/components/ui/sheet.d.ts +0 -26
- package/dist/browser/react/components/ui/sheet.d.ts.map +0 -1
- package/dist/browser/react/components/ui/sheet.js +0 -38
- package/dist/browser/react/components/ui/sheet.js.map +0 -1
- package/dist/browser/react/config/appkit.d.ts +0 -2719
- package/dist/browser/react/config/appkit.d.ts.map +0 -1
- package/dist/browser/react/config/appkit.js +0 -79
- package/dist/browser/react/config/appkit.js.map +0 -1
- package/dist/browser/react/config/index.d.ts +0 -3
- package/dist/browser/react/config/index.d.ts.map +0 -1
- package/dist/browser/react/config/index.js +0 -2
- package/dist/browser/react/config/index.js.map +0 -1
- package/dist/browser/react/hooks/index.d.ts +0 -18
- package/dist/browser/react/hooks/index.d.ts.map +0 -1
- package/dist/browser/react/hooks/index.js +0 -11
- package/dist/browser/react/hooks/index.js.map +0 -1
- package/dist/browser/react/hooks/useBalances.d.ts +0 -41
- package/dist/browser/react/hooks/useBalances.d.ts.map +0 -1
- package/dist/browser/react/hooks/useBalances.js +0 -65
- package/dist/browser/react/hooks/useBalances.js.map +0 -1
- package/dist/browser/react/hooks/useLocalRecipients.d.ts +0 -69
- package/dist/browser/react/hooks/useLocalRecipients.d.ts.map +0 -1
- package/dist/browser/react/hooks/useLocalRecipients.js +0 -166
- package/dist/browser/react/hooks/useLocalRecipients.js.map +0 -1
- package/dist/browser/react/hooks/useMediaQuery.d.ts +0 -21
- package/dist/browser/react/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/browser/react/hooks/useMediaQuery.js +0 -38
- package/dist/browser/react/hooks/useMediaQuery.js.map +0 -1
- package/dist/browser/react/hooks/useMultiChainBalances.d.ts +0 -58
- package/dist/browser/react/hooks/useMultiChainBalances.d.ts.map +0 -1
- package/dist/browser/react/hooks/useMultiChainBalances.js +0 -179
- package/dist/browser/react/hooks/useMultiChainBalances.js.map +0 -1
- package/dist/browser/react/hooks/useOffRamp.d.ts +0 -34
- package/dist/browser/react/hooks/useOffRamp.d.ts.map +0 -1
- package/dist/browser/react/hooks/useOffRamp.js +0 -109
- package/dist/browser/react/hooks/useOffRamp.js.map +0 -1
- package/dist/browser/react/hooks/useOnRamp.d.ts +0 -34
- package/dist/browser/react/hooks/useOnRamp.d.ts.map +0 -1
- package/dist/browser/react/hooks/useOnRamp.js +0 -109
- package/dist/browser/react/hooks/useOnRamp.js.map +0 -1
- package/dist/browser/react/hooks/useQuote.d.ts +0 -28
- package/dist/browser/react/hooks/useQuote.d.ts.map +0 -1
- package/dist/browser/react/hooks/useQuote.js +0 -79
- package/dist/browser/react/hooks/useQuote.js.map +0 -1
- package/dist/browser/react/hooks/useRecipient.d.ts +0 -30
- package/dist/browser/react/hooks/useRecipient.d.ts.map +0 -1
- package/dist/browser/react/hooks/useRecipient.js +0 -158
- package/dist/browser/react/hooks/useRecipient.js.map +0 -1
- package/dist/browser/react/hooks/useTokenPrices.d.ts +0 -34
- package/dist/browser/react/hooks/useTokenPrices.d.ts.map +0 -1
- package/dist/browser/react/hooks/useTokenPrices.js +0 -58
- package/dist/browser/react/hooks/useTokenPrices.js.map +0 -1
- package/dist/browser/react/hooks/useTransaction.d.ts +0 -31
- package/dist/browser/react/hooks/useTransaction.d.ts.map +0 -1
- package/dist/browser/react/hooks/useTransaction.js +0 -102
- package/dist/browser/react/hooks/useTransaction.js.map +0 -1
- package/dist/browser/react/index.d.ts +0 -16
- package/dist/browser/react/index.d.ts.map +0 -1
- package/dist/browser/react/index.js +0 -10
- package/dist/browser/react/index.js.map +0 -1
- package/dist/browser/react/lib/constants/chains.d.ts +0 -65
- package/dist/browser/react/lib/constants/chains.d.ts.map +0 -1
- package/dist/browser/react/lib/constants/chains.js +0 -259
- package/dist/browser/react/lib/constants/chains.js.map +0 -1
- package/dist/browser/react/lib/constants/index.d.ts +0 -6
- package/dist/browser/react/lib/constants/index.d.ts.map +0 -1
- package/dist/browser/react/lib/constants/index.js +0 -4
- package/dist/browser/react/lib/constants/index.js.map +0 -1
- package/dist/browser/react/lib/constants/tokens.d.ts +0 -30
- package/dist/browser/react/lib/constants/tokens.d.ts.map +0 -1
- package/dist/browser/react/lib/constants/tokens.js +0 -418
- package/dist/browser/react/lib/constants/tokens.js.map +0 -1
- package/dist/browser/react/lib/constants/wrappedTokens.d.ts +0 -21
- package/dist/browser/react/lib/constants/wrappedTokens.d.ts.map +0 -1
- package/dist/browser/react/lib/constants/wrappedTokens.js +0 -63
- package/dist/browser/react/lib/constants/wrappedTokens.js.map +0 -1
- package/dist/browser/react/lib/index.d.ts +0 -5
- package/dist/browser/react/lib/index.d.ts.map +0 -1
- package/dist/browser/react/lib/index.js +0 -4
- package/dist/browser/react/lib/index.js.map +0 -1
- package/dist/browser/react/lib/sdk-client.d.ts +0 -17
- package/dist/browser/react/lib/sdk-client.d.ts.map +0 -1
- package/dist/browser/react/lib/sdk-client.js +0 -51
- package/dist/browser/react/lib/sdk-client.js.map +0 -1
- package/dist/browser/react/lib/utils/chain.d.ts +0 -11
- package/dist/browser/react/lib/utils/chain.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/chain.js +0 -31
- package/dist/browser/react/lib/utils/chain.js.map +0 -1
- package/dist/browser/react/lib/utils/cn.d.ts +0 -3
- package/dist/browser/react/lib/utils/cn.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/cn.js +0 -6
- package/dist/browser/react/lib/utils/cn.js.map +0 -1
- package/dist/browser/react/lib/utils/copyToClipboard.d.ts +0 -2
- package/dist/browser/react/lib/utils/copyToClipboard.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/copyToClipboard.js +0 -16
- package/dist/browser/react/lib/utils/copyToClipboard.js.map +0 -1
- package/dist/browser/react/lib/utils/errors.d.ts +0 -11
- package/dist/browser/react/lib/utils/errors.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/errors.js +0 -15
- package/dist/browser/react/lib/utils/errors.js.map +0 -1
- package/dist/browser/react/lib/utils/format.d.ts +0 -38
- package/dist/browser/react/lib/utils/format.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/format.js +0 -92
- package/dist/browser/react/lib/utils/format.js.map +0 -1
- package/dist/browser/react/lib/utils/formatUsd.d.ts +0 -19
- package/dist/browser/react/lib/utils/formatUsd.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/formatUsd.js +0 -58
- package/dist/browser/react/lib/utils/formatUsd.js.map +0 -1
- package/dist/browser/react/lib/utils/index.d.ts +0 -12
- package/dist/browser/react/lib/utils/index.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/index.js +0 -11
- package/dist/browser/react/lib/utils/index.js.map +0 -1
- package/dist/browser/react/lib/utils/inputFormatters.d.ts +0 -6
- package/dist/browser/react/lib/utils/inputFormatters.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/inputFormatters.js +0 -32
- package/dist/browser/react/lib/utils/inputFormatters.js.map +0 -1
- package/dist/browser/react/lib/utils/network-mapping.d.ts +0 -45
- package/dist/browser/react/lib/utils/network-mapping.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/network-mapping.js +0 -153
- package/dist/browser/react/lib/utils/network-mapping.js.map +0 -1
- package/dist/browser/react/lib/utils/transaction.d.ts +0 -57
- package/dist/browser/react/lib/utils/transaction.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/transaction.js +0 -136
- package/dist/browser/react/lib/utils/transaction.js.map +0 -1
- package/dist/browser/react/lib/utils/validation.d.ts +0 -27
- package/dist/browser/react/lib/utils/validation.d.ts.map +0 -1
- package/dist/browser/react/lib/utils/validation.js +0 -36
- package/dist/browser/react/lib/utils/validation.js.map +0 -1
- package/dist/browser/react/providers/OrdaProvider.d.ts +0 -38
- package/dist/browser/react/providers/OrdaProvider.d.ts.map +0 -1
- package/dist/browser/react/providers/OrdaProvider.js +0 -55
- package/dist/browser/react/providers/OrdaProvider.js.map +0 -1
- package/dist/browser/react/providers/OrdaSDKContext.d.ts +0 -26
- package/dist/browser/react/providers/OrdaSDKContext.d.ts.map +0 -1
- package/dist/browser/react/providers/OrdaSDKContext.js +0 -154
- package/dist/browser/react/providers/OrdaSDKContext.js.map +0 -1
- package/dist/browser/react/providers/index.d.ts +0 -4
- package/dist/browser/react/providers/index.d.ts.map +0 -1
- package/dist/browser/react/providers/index.js +0 -3
- package/dist/browser/react/providers/index.js.map +0 -1
- package/dist/browser/react/providers/types.d.ts +0 -68
- package/dist/browser/react/providers/types.d.ts.map +0 -1
- package/dist/browser/react/providers/types.js +0 -2
- package/dist/browser/react/providers/types.js.map +0 -1
- package/dist/browser/smart-wallets/LocalSigner.d.ts +0 -19
- package/dist/browser/smart-wallets/LocalSigner.d.ts.map +0 -1
- package/dist/browser/smart-wallets/LocalSigner.js +0 -57
- package/dist/browser/smart-wallets/LocalSigner.js.map +0 -1
- package/dist/browser/smart-wallets/SmartWalletClient.d.ts +0 -19
- package/dist/browser/smart-wallets/SmartWalletClient.d.ts.map +0 -1
- package/dist/browser/smart-wallets/SmartWalletClient.js +0 -180
- package/dist/browser/smart-wallets/SmartWalletClient.js.map +0 -1
- package/dist/browser/smart-wallets/SmartWalletManager.d.ts +0 -17
- package/dist/browser/smart-wallets/SmartWalletManager.d.ts.map +0 -1
- package/dist/browser/smart-wallets/SmartWalletManager.js +0 -59
- package/dist/browser/smart-wallets/SmartWalletManager.js.map +0 -1
- package/dist/browser/smart-wallets/chains.d.ts +0 -11
- package/dist/browser/smart-wallets/chains.d.ts.map +0 -1
- package/dist/browser/smart-wallets/chains.js +0 -30
- package/dist/browser/smart-wallets/chains.js.map +0 -1
- package/dist/browser/smart-wallets/errors.d.ts +0 -23
- package/dist/browser/smart-wallets/errors.d.ts.map +0 -1
- package/dist/browser/smart-wallets/errors.js +0 -44
- package/dist/browser/smart-wallets/errors.js.map +0 -1
- package/dist/browser/smart-wallets/index.d.ts +0 -11
- package/dist/browser/smart-wallets/index.d.ts.map +0 -1
- package/dist/browser/smart-wallets/index.js +0 -13
- package/dist/browser/smart-wallets/index.js.map +0 -1
- package/dist/browser/smart-wallets/types.d.ts +0 -47
- package/dist/browser/smart-wallets/types.d.ts.map +0 -1
- package/dist/browser/smart-wallets/types.js +0 -2
- package/dist/browser/smart-wallets/types.js.map +0 -1
- package/dist/browser/smart-wallets/utils.d.ts +0 -22
- package/dist/browser/smart-wallets/utils.d.ts.map +0 -1
- package/dist/browser/smart-wallets/utils.js +0 -57
- package/dist/browser/smart-wallets/utils.js.map +0 -1
- package/dist/cjs/react/assets/animations/completed.json +0 -1
- package/dist/cjs/react/assets/animations/converting.json +0 -1
- package/dist/cjs/react/assets/animations/error.json +0 -1
- package/dist/cjs/react/assets/animations/index.d.ts +0 -4
- package/dist/cjs/react/assets/animations/index.d.ts.map +0 -1
- package/dist/cjs/react/assets/animations/index.js +0 -15
- package/dist/cjs/react/assets/animations/index.js.map +0 -1
- package/dist/cjs/react/assets/chains/index.d.ts +0 -3
- package/dist/cjs/react/assets/chains/index.d.ts.map +0 -1
- package/dist/cjs/react/assets/chains/index.js +0 -35
- package/dist/cjs/react/assets/chains/index.js.map +0 -1
- package/dist/cjs/react/assets/icons/index.d.ts +0 -10
- package/dist/cjs/react/assets/icons/index.d.ts.map +0 -1
- package/dist/cjs/react/assets/icons/index.js +0 -13
- package/dist/cjs/react/assets/icons/index.js.map +0 -1
- package/dist/cjs/react/assets/index.d.ts +0 -6
- package/dist/cjs/react/assets/index.d.ts.map +0 -1
- package/dist/cjs/react/assets/index.js +0 -31
- package/dist/cjs/react/assets/index.js.map +0 -1
- package/dist/cjs/react/assets/tokens/index.d.ts +0 -3
- package/dist/cjs/react/assets/tokens/index.d.ts.map +0 -1
- package/dist/cjs/react/assets/tokens/index.js +0 -49
- package/dist/cjs/react/assets/tokens/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/Widget.d.ts +0 -2
- package/dist/cjs/react/components/Widget/Widget.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/Widget.js +0 -686
- package/dist/cjs/react/components/Widget/Widget.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/CollapsibleDetails.d.ts +0 -15
- package/dist/cjs/react/components/Widget/components/CollapsibleDetails.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/CollapsibleDetails.js +0 -54
- package/dist/cjs/react/components/Widget/components/CollapsibleDetails.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/CustomDialogHeader.d.ts +0 -13
- package/dist/cjs/react/components/Widget/components/CustomDialogHeader.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/CustomDialogHeader.js +0 -34
- package/dist/cjs/react/components/Widget/components/CustomDialogHeader.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/Footer.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/Footer.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/Footer.js +0 -10
- package/dist/cjs/react/components/Widget/components/Footer.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/Header.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/Header.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/Header.js +0 -37
- package/dist/cjs/react/components/Widget/components/Header.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts +0 -15
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js +0 -83
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts +0 -8
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js +0 -83
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts +0 -21
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js +0 -93
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts +0 -3
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts +0 -9
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js +0 -19
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts +0 -3
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/index.js +0 -8
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/OffRampRecipientDialog/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/Recipient.d.ts +0 -8
- package/dist/cjs/react/components/Widget/components/Recipient.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/Recipient.js +0 -13
- package/dist/cjs/react/components/Widget/components/Recipient.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts +0 -13
- package/dist/cjs/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/RecipientDialog.js +0 -118
- package/dist/cjs/react/components/Widget/components/RecipientDialog/RecipientDialog.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts +0 -24
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js +0 -53
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/RecipientDialog/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/RecipientDialog/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/RecipientDialog/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/RecipientDialog/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts +0 -15
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js +0 -104
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts +0 -27
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js +0 -14
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts +0 -18
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js +0 -59
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts +0 -14
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js +0 -39
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts +0 -12
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js +0 -15
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts +0 -4
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js +0 -10
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/SelectAssetDialog/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TokenInput.d.ts +0 -16
- package/dist/cjs/react/components/Widget/components/TokenInput.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TokenInput.js +0 -25
- package/dist/cjs/react/components/Widget/components/TokenInput.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts +0 -25
- package/dist/cjs/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/TransactionDialog.js +0 -37
- package/dist/cjs/react/components/Widget/components/TransactionDialog/TransactionDialog.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts +0 -17
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js +0 -317
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts +0 -21
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js +0 -79
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts +0 -16
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js +0 -97
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts +0 -10
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js +0 -36
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts +0 -9
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js +0 -36
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts +0 -17
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js +0 -41
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts +0 -4
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js +0 -10
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts +0 -18
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js +0 -361
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/Swap/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts +0 -17
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js +0 -49
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts +0 -10
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js +0 -53
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/index.d.ts +0 -5
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/index.js +0 -12
- package/dist/cjs/react/components/Widget/components/TransactionDialog/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/TransactionDialog/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/TransactionDialog/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/TransactionDialog/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts +0 -7
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js +0 -29
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts +0 -7
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js +0 -34
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts +0 -12
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js +0 -21
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts +0 -7
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js +0 -72
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts +0 -16
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js +0 -40
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/index.d.ts +0 -3
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/index.js +0 -8
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/UserAccountDrawer/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/index.d.ts +0 -13
- package/dist/cjs/react/components/Widget/components/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/index.js +0 -28
- package/dist/cjs/react/components/Widget/components/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/shared/TokenIconDisplay.d.ts +0 -15
- package/dist/cjs/react/components/Widget/components/shared/TokenIconDisplay.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/shared/TokenIconDisplay.js +0 -34
- package/dist/cjs/react/components/Widget/components/shared/TokenIconDisplay.js.map +0 -1
- package/dist/cjs/react/components/Widget/components/shared/index.d.ts +0 -2
- package/dist/cjs/react/components/Widget/components/shared/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/components/shared/index.js +0 -6
- package/dist/cjs/react/components/Widget/components/shared/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/index.d.ts +0 -3
- package/dist/cjs/react/components/Widget/index.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/index.js +0 -6
- package/dist/cjs/react/components/Widget/index.js.map +0 -1
- package/dist/cjs/react/components/Widget/types/quote.d.ts +0 -205
- package/dist/cjs/react/components/Widget/types/quote.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/types/quote.js +0 -59
- package/dist/cjs/react/components/Widget/types/quote.js.map +0 -1
- package/dist/cjs/react/components/Widget/types.d.ts +0 -24
- package/dist/cjs/react/components/Widget/types.d.ts.map +0 -1
- package/dist/cjs/react/components/Widget/types.js +0 -19
- package/dist/cjs/react/components/Widget/types.js.map +0 -1
- package/dist/cjs/react/components/ui/badge.d.ts +0 -10
- package/dist/cjs/react/components/ui/badge.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/badge.js +0 -25
- package/dist/cjs/react/components/ui/badge.js.map +0 -1
- package/dist/cjs/react/components/ui/button.d.ts +0 -12
- package/dist/cjs/react/components/ui/button.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/button.js +0 -71
- package/dist/cjs/react/components/ui/button.js.map +0 -1
- package/dist/cjs/react/components/ui/dialog.d.ts +0 -18
- package/dist/cjs/react/components/ui/dialog.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/dialog.js +0 -86
- package/dist/cjs/react/components/ui/dialog.js.map +0 -1
- package/dist/cjs/react/components/ui/drawer.d.ts +0 -23
- package/dist/cjs/react/components/ui/drawer.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/drawer.js +0 -69
- package/dist/cjs/react/components/ui/drawer.js.map +0 -1
- package/dist/cjs/react/components/ui/index.d.ts +0 -12
- package/dist/cjs/react/components/ui/index.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/index.js +0 -63
- package/dist/cjs/react/components/ui/index.js.map +0 -1
- package/dist/cjs/react/components/ui/input.d.ts +0 -4
- package/dist/cjs/react/components/ui/input.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/input.js +0 -45
- package/dist/cjs/react/components/ui/input.js.map +0 -1
- package/dist/cjs/react/components/ui/label.d.ts +0 -6
- package/dist/cjs/react/components/ui/label.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/label.js +0 -46
- package/dist/cjs/react/components/ui/label.js.map +0 -1
- package/dist/cjs/react/components/ui/popover.d.ts +0 -8
- package/dist/cjs/react/components/ui/popover.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/popover.js +0 -51
- package/dist/cjs/react/components/ui/popover.js.map +0 -1
- package/dist/cjs/react/components/ui/select.d.ts +0 -14
- package/dist/cjs/react/components/ui/select.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/select.js +0 -72
- package/dist/cjs/react/components/ui/select.js.map +0 -1
- package/dist/cjs/react/components/ui/sheet.d.ts +0 -26
- package/dist/cjs/react/components/ui/sheet.d.ts.map +0 -1
- package/dist/cjs/react/components/ui/sheet.js +0 -83
- package/dist/cjs/react/components/ui/sheet.js.map +0 -1
- package/dist/cjs/react/config/appkit.d.ts +0 -2719
- package/dist/cjs/react/config/appkit.d.ts.map +0 -1
- package/dist/cjs/react/config/appkit.js +0 -83
- package/dist/cjs/react/config/appkit.js.map +0 -1
- package/dist/cjs/react/config/index.d.ts +0 -3
- package/dist/cjs/react/config/index.d.ts.map +0 -1
- package/dist/cjs/react/config/index.js +0 -8
- package/dist/cjs/react/config/index.js.map +0 -1
- package/dist/cjs/react/hooks/index.d.ts +0 -18
- package/dist/cjs/react/hooks/index.d.ts.map +0 -1
- package/dist/cjs/react/hooks/index.js +0 -23
- package/dist/cjs/react/hooks/index.js.map +0 -1
- package/dist/cjs/react/hooks/useBalances.d.ts +0 -41
- package/dist/cjs/react/hooks/useBalances.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useBalances.js +0 -68
- package/dist/cjs/react/hooks/useBalances.js.map +0 -1
- package/dist/cjs/react/hooks/useLocalRecipients.d.ts +0 -69
- package/dist/cjs/react/hooks/useLocalRecipients.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useLocalRecipients.js +0 -169
- package/dist/cjs/react/hooks/useLocalRecipients.js.map +0 -1
- package/dist/cjs/react/hooks/useMediaQuery.d.ts +0 -21
- package/dist/cjs/react/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useMediaQuery.js +0 -41
- package/dist/cjs/react/hooks/useMediaQuery.js.map +0 -1
- package/dist/cjs/react/hooks/useMultiChainBalances.d.ts +0 -58
- package/dist/cjs/react/hooks/useMultiChainBalances.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useMultiChainBalances.js +0 -215
- package/dist/cjs/react/hooks/useMultiChainBalances.js.map +0 -1
- package/dist/cjs/react/hooks/useOffRamp.d.ts +0 -34
- package/dist/cjs/react/hooks/useOffRamp.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useOffRamp.js +0 -112
- package/dist/cjs/react/hooks/useOffRamp.js.map +0 -1
- package/dist/cjs/react/hooks/useOnRamp.d.ts +0 -34
- package/dist/cjs/react/hooks/useOnRamp.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useOnRamp.js +0 -112
- package/dist/cjs/react/hooks/useOnRamp.js.map +0 -1
- package/dist/cjs/react/hooks/useQuote.d.ts +0 -28
- package/dist/cjs/react/hooks/useQuote.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useQuote.js +0 -82
- package/dist/cjs/react/hooks/useQuote.js.map +0 -1
- package/dist/cjs/react/hooks/useRecipient.d.ts +0 -30
- package/dist/cjs/react/hooks/useRecipient.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useRecipient.js +0 -161
- package/dist/cjs/react/hooks/useRecipient.js.map +0 -1
- package/dist/cjs/react/hooks/useTokenPrices.d.ts +0 -34
- package/dist/cjs/react/hooks/useTokenPrices.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useTokenPrices.js +0 -61
- package/dist/cjs/react/hooks/useTokenPrices.js.map +0 -1
- package/dist/cjs/react/hooks/useTransaction.d.ts +0 -31
- package/dist/cjs/react/hooks/useTransaction.d.ts.map +0 -1
- package/dist/cjs/react/hooks/useTransaction.js +0 -105
- package/dist/cjs/react/hooks/useTransaction.js.map +0 -1
- package/dist/cjs/react/index.d.ts +0 -16
- package/dist/cjs/react/index.d.ts.map +0 -1
- package/dist/cjs/react/index.js +0 -89
- package/dist/cjs/react/index.js.map +0 -1
- package/dist/cjs/react/lib/constants/chains.d.ts +0 -65
- package/dist/cjs/react/lib/constants/chains.d.ts.map +0 -1
- package/dist/cjs/react/lib/constants/chains.js +0 -269
- package/dist/cjs/react/lib/constants/chains.js.map +0 -1
- package/dist/cjs/react/lib/constants/index.d.ts +0 -6
- package/dist/cjs/react/lib/constants/index.d.ts.map +0 -1
- package/dist/cjs/react/lib/constants/index.js +0 -27
- package/dist/cjs/react/lib/constants/index.js.map +0 -1
- package/dist/cjs/react/lib/constants/tokens.d.ts +0 -30
- package/dist/cjs/react/lib/constants/tokens.d.ts.map +0 -1
- package/dist/cjs/react/lib/constants/tokens.js +0 -421
- package/dist/cjs/react/lib/constants/tokens.js.map +0 -1
- package/dist/cjs/react/lib/constants/wrappedTokens.d.ts +0 -21
- package/dist/cjs/react/lib/constants/wrappedTokens.d.ts.map +0 -1
- package/dist/cjs/react/lib/constants/wrappedTokens.js +0 -68
- package/dist/cjs/react/lib/constants/wrappedTokens.js.map +0 -1
- package/dist/cjs/react/lib/index.d.ts +0 -5
- package/dist/cjs/react/lib/index.d.ts.map +0 -1
- package/dist/cjs/react/lib/index.js +0 -49
- package/dist/cjs/react/lib/index.js.map +0 -1
- package/dist/cjs/react/lib/sdk-client.d.ts +0 -17
- package/dist/cjs/react/lib/sdk-client.d.ts.map +0 -1
- package/dist/cjs/react/lib/sdk-client.js +0 -56
- package/dist/cjs/react/lib/sdk-client.js.map +0 -1
- package/dist/cjs/react/lib/utils/chain.d.ts +0 -11
- package/dist/cjs/react/lib/utils/chain.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/chain.js +0 -35
- package/dist/cjs/react/lib/utils/chain.js.map +0 -1
- package/dist/cjs/react/lib/utils/cn.d.ts +0 -3
- package/dist/cjs/react/lib/utils/cn.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/cn.js +0 -9
- package/dist/cjs/react/lib/utils/cn.js.map +0 -1
- package/dist/cjs/react/lib/utils/copyToClipboard.d.ts +0 -2
- package/dist/cjs/react/lib/utils/copyToClipboard.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/copyToClipboard.js +0 -20
- package/dist/cjs/react/lib/utils/copyToClipboard.js.map +0 -1
- package/dist/cjs/react/lib/utils/errors.d.ts +0 -11
- package/dist/cjs/react/lib/utils/errors.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/errors.js +0 -19
- package/dist/cjs/react/lib/utils/errors.js.map +0 -1
- package/dist/cjs/react/lib/utils/format.d.ts +0 -38
- package/dist/cjs/react/lib/utils/format.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/format.js +0 -98
- package/dist/cjs/react/lib/utils/format.js.map +0 -1
- package/dist/cjs/react/lib/utils/formatUsd.d.ts +0 -19
- package/dist/cjs/react/lib/utils/formatUsd.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/formatUsd.js +0 -62
- package/dist/cjs/react/lib/utils/formatUsd.js.map +0 -1
- package/dist/cjs/react/lib/utils/index.d.ts +0 -12
- package/dist/cjs/react/lib/utils/index.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/index.js +0 -47
- package/dist/cjs/react/lib/utils/index.js.map +0 -1
- package/dist/cjs/react/lib/utils/inputFormatters.d.ts +0 -6
- package/dist/cjs/react/lib/utils/inputFormatters.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/inputFormatters.js +0 -40
- package/dist/cjs/react/lib/utils/inputFormatters.js.map +0 -1
- package/dist/cjs/react/lib/utils/network-mapping.d.ts +0 -45
- package/dist/cjs/react/lib/utils/network-mapping.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/network-mapping.js +0 -162
- package/dist/cjs/react/lib/utils/network-mapping.js.map +0 -1
- package/dist/cjs/react/lib/utils/transaction.d.ts +0 -57
- package/dist/cjs/react/lib/utils/transaction.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/transaction.js +0 -144
- package/dist/cjs/react/lib/utils/transaction.js.map +0 -1
- package/dist/cjs/react/lib/utils/validation.d.ts +0 -27
- package/dist/cjs/react/lib/utils/validation.d.ts.map +0 -1
- package/dist/cjs/react/lib/utils/validation.js +0 -41
- package/dist/cjs/react/lib/utils/validation.js.map +0 -1
- package/dist/cjs/react/providers/OrdaProvider.d.ts +0 -38
- package/dist/cjs/react/providers/OrdaProvider.d.ts.map +0 -1
- package/dist/cjs/react/providers/OrdaProvider.js +0 -58
- package/dist/cjs/react/providers/OrdaProvider.js.map +0 -1
- package/dist/cjs/react/providers/OrdaSDKContext.d.ts +0 -26
- package/dist/cjs/react/providers/OrdaSDKContext.d.ts.map +0 -1
- package/dist/cjs/react/providers/OrdaSDKContext.js +0 -158
- package/dist/cjs/react/providers/OrdaSDKContext.js.map +0 -1
- package/dist/cjs/react/providers/index.d.ts +0 -4
- package/dist/cjs/react/providers/index.d.ts.map +0 -1
- package/dist/cjs/react/providers/index.js +0 -8
- package/dist/cjs/react/providers/index.js.map +0 -1
- package/dist/cjs/react/providers/types.d.ts +0 -68
- package/dist/cjs/react/providers/types.d.ts.map +0 -1
- package/dist/cjs/react/providers/types.js +0 -3
- package/dist/cjs/react/providers/types.js.map +0 -1
- package/dist/cjs/smart-wallets/LocalSigner.d.ts +0 -19
- package/dist/cjs/smart-wallets/LocalSigner.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/LocalSigner.js +0 -61
- package/dist/cjs/smart-wallets/LocalSigner.js.map +0 -1
- package/dist/cjs/smart-wallets/SmartWalletClient.d.ts +0 -19
- package/dist/cjs/smart-wallets/SmartWalletClient.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/SmartWalletClient.js +0 -184
- package/dist/cjs/smart-wallets/SmartWalletClient.js.map +0 -1
- package/dist/cjs/smart-wallets/SmartWalletManager.d.ts +0 -17
- package/dist/cjs/smart-wallets/SmartWalletManager.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/SmartWalletManager.js +0 -63
- package/dist/cjs/smart-wallets/SmartWalletManager.js.map +0 -1
- package/dist/cjs/smart-wallets/chains.d.ts +0 -11
- package/dist/cjs/smart-wallets/chains.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/chains.js +0 -36
- package/dist/cjs/smart-wallets/chains.js.map +0 -1
- package/dist/cjs/smart-wallets/errors.d.ts +0 -23
- package/dist/cjs/smart-wallets/errors.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/errors.js +0 -54
- package/dist/cjs/smart-wallets/errors.js.map +0 -1
- package/dist/cjs/smart-wallets/index.d.ts +0 -11
- package/dist/cjs/smart-wallets/index.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/index.js +0 -36
- package/dist/cjs/smart-wallets/index.js.map +0 -1
- package/dist/cjs/smart-wallets/types.d.ts +0 -47
- package/dist/cjs/smart-wallets/types.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/types.js +0 -3
- package/dist/cjs/smart-wallets/types.js.map +0 -1
- package/dist/cjs/smart-wallets/utils.d.ts +0 -22
- package/dist/cjs/smart-wallets/utils.d.ts.map +0 -1
- package/dist/cjs/smart-wallets/utils.js +0 -64
- package/dist/cjs/smart-wallets/utils.js.map +0 -1
- package/dist/esm/react/assets/animations/completed.json +0 -1
- package/dist/esm/react/assets/animations/converting.json +0 -1
- package/dist/esm/react/assets/animations/error.json +0 -1
- package/dist/esm/react/assets/animations/index.d.ts +0 -4
- package/dist/esm/react/assets/animations/index.d.ts.map +0 -1
- package/dist/esm/react/assets/animations/index.js +0 -6
- package/dist/esm/react/assets/animations/index.js.map +0 -1
- package/dist/esm/react/assets/chains/index.d.ts +0 -3
- package/dist/esm/react/assets/chains/index.d.ts.map +0 -1
- package/dist/esm/react/assets/chains/index.js +0 -31
- package/dist/esm/react/assets/chains/index.js.map +0 -1
- package/dist/esm/react/assets/icons/index.d.ts +0 -10
- package/dist/esm/react/assets/icons/index.d.ts.map +0 -1
- package/dist/esm/react/assets/icons/index.js +0 -10
- package/dist/esm/react/assets/icons/index.js.map +0 -1
- package/dist/esm/react/assets/index.d.ts +0 -6
- package/dist/esm/react/assets/index.d.ts.map +0 -1
- package/dist/esm/react/assets/index.js +0 -9
- package/dist/esm/react/assets/index.js.map +0 -1
- package/dist/esm/react/assets/tokens/index.d.ts +0 -3
- package/dist/esm/react/assets/tokens/index.d.ts.map +0 -1
- package/dist/esm/react/assets/tokens/index.js +0 -45
- package/dist/esm/react/assets/tokens/index.js.map +0 -1
- package/dist/esm/react/components/Widget/Widget.d.ts +0 -2
- package/dist/esm/react/components/Widget/Widget.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/Widget.js +0 -682
- package/dist/esm/react/components/Widget/Widget.js.map +0 -1
- package/dist/esm/react/components/Widget/components/CollapsibleDetails.d.ts +0 -15
- package/dist/esm/react/components/Widget/components/CollapsibleDetails.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/CollapsibleDetails.js +0 -50
- package/dist/esm/react/components/Widget/components/CollapsibleDetails.js.map +0 -1
- package/dist/esm/react/components/Widget/components/CustomDialogHeader.d.ts +0 -13
- package/dist/esm/react/components/Widget/components/CustomDialogHeader.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/CustomDialogHeader.js +0 -27
- package/dist/esm/react/components/Widget/components/CustomDialogHeader.js.map +0 -1
- package/dist/esm/react/components/Widget/components/Footer.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/Footer.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/Footer.js +0 -6
- package/dist/esm/react/components/Widget/components/Footer.js.map +0 -1
- package/dist/esm/react/components/Widget/components/Header.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/Header.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/Header.js +0 -33
- package/dist/esm/react/components/Widget/components/Header.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts +0 -15
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js +0 -79
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts +0 -8
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js +0 -79
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts +0 -21
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js +0 -90
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts +0 -3
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js +0 -2
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts +0 -9
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js +0 -15
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts +0 -3
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/index.js +0 -3
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/index.js +0 -2
- package/dist/esm/react/components/Widget/components/OffRampRecipientDialog/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/Recipient.d.ts +0 -8
- package/dist/esm/react/components/Widget/components/Recipient.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/Recipient.js +0 -9
- package/dist/esm/react/components/Widget/components/Recipient.js.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts +0 -13
- package/dist/esm/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/RecipientDialog.js +0 -114
- package/dist/esm/react/components/Widget/components/RecipientDialog/RecipientDialog.js.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts +0 -24
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js +0 -49
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.js.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/index.js +0 -2
- package/dist/esm/react/components/Widget/components/RecipientDialog/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/RecipientDialog/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/RecipientDialog/index.js +0 -2
- package/dist/esm/react/components/Widget/components/RecipientDialog/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts +0 -15
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js +0 -100
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts +0 -27
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js +0 -10
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts +0 -18
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js +0 -55
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts +0 -14
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js +0 -35
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts +0 -12
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js +0 -11
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts +0 -4
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js +0 -4
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js +0 -2
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/index.js +0 -2
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/index.js +0 -2
- package/dist/esm/react/components/Widget/components/SelectAssetDialog/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TokenInput.d.ts +0 -16
- package/dist/esm/react/components/Widget/components/TokenInput.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TokenInput.js +0 -21
- package/dist/esm/react/components/Widget/components/TokenInput.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts +0 -25
- package/dist/esm/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/TransactionDialog.js +0 -33
- package/dist/esm/react/components/Widget/components/TransactionDialog/TransactionDialog.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts +0 -17
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js +0 -313
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts +0 -21
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js +0 -75
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts +0 -16
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js +0 -93
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts +0 -10
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js +0 -32
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts +0 -9
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js +0 -32
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts +0 -17
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js +0 -37
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts +0 -4
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js +0 -4
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts +0 -18
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js +0 -357
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/Swap.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/Swap/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts +0 -17
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js +0 -45
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts +0 -10
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js +0 -49
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/index.d.ts +0 -5
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/index.js +0 -5
- package/dist/esm/react/components/Widget/components/TransactionDialog/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/TransactionDialog/index.js +0 -2
- package/dist/esm/react/components/Widget/components/TransactionDialog/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts +0 -7
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js +0 -25
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts +0 -7
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js +0 -30
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts +0 -12
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js +0 -17
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts +0 -7
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js +0 -68
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts +0 -16
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js +0 -36
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/index.d.ts +0 -3
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/index.js +0 -3
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/index.js +0 -2
- package/dist/esm/react/components/Widget/components/UserAccountDrawer/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/index.d.ts +0 -13
- package/dist/esm/react/components/Widget/components/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/index.js +0 -13
- package/dist/esm/react/components/Widget/components/index.js.map +0 -1
- package/dist/esm/react/components/Widget/components/shared/TokenIconDisplay.d.ts +0 -15
- package/dist/esm/react/components/Widget/components/shared/TokenIconDisplay.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/shared/TokenIconDisplay.js +0 -31
- package/dist/esm/react/components/Widget/components/shared/TokenIconDisplay.js.map +0 -1
- package/dist/esm/react/components/Widget/components/shared/index.d.ts +0 -2
- package/dist/esm/react/components/Widget/components/shared/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/components/shared/index.js +0 -2
- package/dist/esm/react/components/Widget/components/shared/index.js.map +0 -1
- package/dist/esm/react/components/Widget/index.d.ts +0 -3
- package/dist/esm/react/components/Widget/index.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/index.js +0 -2
- package/dist/esm/react/components/Widget/index.js.map +0 -1
- package/dist/esm/react/components/Widget/types/quote.d.ts +0 -205
- package/dist/esm/react/components/Widget/types/quote.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/types/quote.js +0 -53
- package/dist/esm/react/components/Widget/types/quote.js.map +0 -1
- package/dist/esm/react/components/Widget/types.d.ts +0 -24
- package/dist/esm/react/components/Widget/types.d.ts.map +0 -1
- package/dist/esm/react/components/Widget/types.js +0 -3
- package/dist/esm/react/components/Widget/types.js.map +0 -1
- package/dist/esm/react/components/ui/badge.d.ts +0 -10
- package/dist/esm/react/components/ui/badge.d.ts.map +0 -1
- package/dist/esm/react/components/ui/badge.js +0 -21
- package/dist/esm/react/components/ui/badge.js.map +0 -1
- package/dist/esm/react/components/ui/button.d.ts +0 -12
- package/dist/esm/react/components/ui/button.d.ts.map +0 -1
- package/dist/esm/react/components/ui/button.js +0 -34
- package/dist/esm/react/components/ui/button.js.map +0 -1
- package/dist/esm/react/components/ui/dialog.d.ts +0 -18
- package/dist/esm/react/components/ui/dialog.d.ts.map +0 -1
- package/dist/esm/react/components/ui/dialog.js +0 -41
- package/dist/esm/react/components/ui/dialog.js.map +0 -1
- package/dist/esm/react/components/ui/drawer.d.ts +0 -23
- package/dist/esm/react/components/ui/drawer.d.ts.map +0 -1
- package/dist/esm/react/components/ui/drawer.js +0 -24
- package/dist/esm/react/components/ui/drawer.js.map +0 -1
- package/dist/esm/react/components/ui/index.d.ts +0 -12
- package/dist/esm/react/components/ui/index.d.ts.map +0 -1
- package/dist/esm/react/components/ui/index.js +0 -10
- package/dist/esm/react/components/ui/index.js.map +0 -1
- package/dist/esm/react/components/ui/input.d.ts +0 -4
- package/dist/esm/react/components/ui/input.d.ts.map +0 -1
- package/dist/esm/react/components/ui/input.js +0 -9
- package/dist/esm/react/components/ui/input.js.map +0 -1
- package/dist/esm/react/components/ui/label.d.ts +0 -6
- package/dist/esm/react/components/ui/label.d.ts.map +0 -1
- package/dist/esm/react/components/ui/label.js +0 -10
- package/dist/esm/react/components/ui/label.js.map +0 -1
- package/dist/esm/react/components/ui/popover.d.ts +0 -8
- package/dist/esm/react/components/ui/popover.d.ts.map +0 -1
- package/dist/esm/react/components/ui/popover.js +0 -12
- package/dist/esm/react/components/ui/popover.js.map +0 -1
- package/dist/esm/react/components/ui/select.d.ts +0 -14
- package/dist/esm/react/components/ui/select.d.ts.map +0 -1
- package/dist/esm/react/components/ui/select.js +0 -27
- package/dist/esm/react/components/ui/select.js.map +0 -1
- package/dist/esm/react/components/ui/sheet.d.ts +0 -26
- package/dist/esm/react/components/ui/sheet.d.ts.map +0 -1
- package/dist/esm/react/components/ui/sheet.js +0 -38
- package/dist/esm/react/components/ui/sheet.js.map +0 -1
- package/dist/esm/react/config/appkit.d.ts +0 -2719
- package/dist/esm/react/config/appkit.d.ts.map +0 -1
- package/dist/esm/react/config/appkit.js +0 -79
- package/dist/esm/react/config/appkit.js.map +0 -1
- package/dist/esm/react/config/index.d.ts +0 -3
- package/dist/esm/react/config/index.d.ts.map +0 -1
- package/dist/esm/react/config/index.js +0 -2
- package/dist/esm/react/config/index.js.map +0 -1
- package/dist/esm/react/hooks/index.d.ts +0 -18
- package/dist/esm/react/hooks/index.d.ts.map +0 -1
- package/dist/esm/react/hooks/index.js +0 -11
- package/dist/esm/react/hooks/index.js.map +0 -1
- package/dist/esm/react/hooks/useBalances.d.ts +0 -41
- package/dist/esm/react/hooks/useBalances.d.ts.map +0 -1
- package/dist/esm/react/hooks/useBalances.js +0 -65
- package/dist/esm/react/hooks/useBalances.js.map +0 -1
- package/dist/esm/react/hooks/useLocalRecipients.d.ts +0 -69
- package/dist/esm/react/hooks/useLocalRecipients.d.ts.map +0 -1
- package/dist/esm/react/hooks/useLocalRecipients.js +0 -166
- package/dist/esm/react/hooks/useLocalRecipients.js.map +0 -1
- package/dist/esm/react/hooks/useMediaQuery.d.ts +0 -21
- package/dist/esm/react/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/esm/react/hooks/useMediaQuery.js +0 -38
- package/dist/esm/react/hooks/useMediaQuery.js.map +0 -1
- package/dist/esm/react/hooks/useMultiChainBalances.d.ts +0 -58
- package/dist/esm/react/hooks/useMultiChainBalances.d.ts.map +0 -1
- package/dist/esm/react/hooks/useMultiChainBalances.js +0 -179
- package/dist/esm/react/hooks/useMultiChainBalances.js.map +0 -1
- package/dist/esm/react/hooks/useOffRamp.d.ts +0 -34
- package/dist/esm/react/hooks/useOffRamp.d.ts.map +0 -1
- package/dist/esm/react/hooks/useOffRamp.js +0 -109
- package/dist/esm/react/hooks/useOffRamp.js.map +0 -1
- package/dist/esm/react/hooks/useOnRamp.d.ts +0 -34
- package/dist/esm/react/hooks/useOnRamp.d.ts.map +0 -1
- package/dist/esm/react/hooks/useOnRamp.js +0 -109
- package/dist/esm/react/hooks/useOnRamp.js.map +0 -1
- package/dist/esm/react/hooks/useQuote.d.ts +0 -28
- package/dist/esm/react/hooks/useQuote.d.ts.map +0 -1
- package/dist/esm/react/hooks/useQuote.js +0 -79
- package/dist/esm/react/hooks/useQuote.js.map +0 -1
- package/dist/esm/react/hooks/useRecipient.d.ts +0 -30
- package/dist/esm/react/hooks/useRecipient.d.ts.map +0 -1
- package/dist/esm/react/hooks/useRecipient.js +0 -158
- package/dist/esm/react/hooks/useRecipient.js.map +0 -1
- package/dist/esm/react/hooks/useTokenPrices.d.ts +0 -34
- package/dist/esm/react/hooks/useTokenPrices.d.ts.map +0 -1
- package/dist/esm/react/hooks/useTokenPrices.js +0 -58
- package/dist/esm/react/hooks/useTokenPrices.js.map +0 -1
- package/dist/esm/react/hooks/useTransaction.d.ts +0 -31
- package/dist/esm/react/hooks/useTransaction.d.ts.map +0 -1
- package/dist/esm/react/hooks/useTransaction.js +0 -102
- package/dist/esm/react/hooks/useTransaction.js.map +0 -1
- package/dist/esm/react/index.d.ts +0 -16
- package/dist/esm/react/index.d.ts.map +0 -1
- package/dist/esm/react/index.js +0 -10
- package/dist/esm/react/index.js.map +0 -1
- package/dist/esm/react/lib/constants/chains.d.ts +0 -65
- package/dist/esm/react/lib/constants/chains.d.ts.map +0 -1
- package/dist/esm/react/lib/constants/chains.js +0 -259
- package/dist/esm/react/lib/constants/chains.js.map +0 -1
- package/dist/esm/react/lib/constants/index.d.ts +0 -6
- package/dist/esm/react/lib/constants/index.d.ts.map +0 -1
- package/dist/esm/react/lib/constants/index.js +0 -4
- package/dist/esm/react/lib/constants/index.js.map +0 -1
- package/dist/esm/react/lib/constants/tokens.d.ts +0 -30
- package/dist/esm/react/lib/constants/tokens.d.ts.map +0 -1
- package/dist/esm/react/lib/constants/tokens.js +0 -418
- package/dist/esm/react/lib/constants/tokens.js.map +0 -1
- package/dist/esm/react/lib/constants/wrappedTokens.d.ts +0 -21
- package/dist/esm/react/lib/constants/wrappedTokens.d.ts.map +0 -1
- package/dist/esm/react/lib/constants/wrappedTokens.js +0 -63
- package/dist/esm/react/lib/constants/wrappedTokens.js.map +0 -1
- package/dist/esm/react/lib/index.d.ts +0 -5
- package/dist/esm/react/lib/index.d.ts.map +0 -1
- package/dist/esm/react/lib/index.js +0 -4
- package/dist/esm/react/lib/index.js.map +0 -1
- package/dist/esm/react/lib/sdk-client.d.ts +0 -17
- package/dist/esm/react/lib/sdk-client.d.ts.map +0 -1
- package/dist/esm/react/lib/sdk-client.js +0 -51
- package/dist/esm/react/lib/sdk-client.js.map +0 -1
- package/dist/esm/react/lib/utils/chain.d.ts +0 -11
- package/dist/esm/react/lib/utils/chain.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/chain.js +0 -31
- package/dist/esm/react/lib/utils/chain.js.map +0 -1
- package/dist/esm/react/lib/utils/cn.d.ts +0 -3
- package/dist/esm/react/lib/utils/cn.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/cn.js +0 -6
- package/dist/esm/react/lib/utils/cn.js.map +0 -1
- package/dist/esm/react/lib/utils/copyToClipboard.d.ts +0 -2
- package/dist/esm/react/lib/utils/copyToClipboard.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/copyToClipboard.js +0 -16
- package/dist/esm/react/lib/utils/copyToClipboard.js.map +0 -1
- package/dist/esm/react/lib/utils/errors.d.ts +0 -11
- package/dist/esm/react/lib/utils/errors.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/errors.js +0 -15
- package/dist/esm/react/lib/utils/errors.js.map +0 -1
- package/dist/esm/react/lib/utils/format.d.ts +0 -38
- package/dist/esm/react/lib/utils/format.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/format.js +0 -92
- package/dist/esm/react/lib/utils/format.js.map +0 -1
- package/dist/esm/react/lib/utils/formatUsd.d.ts +0 -19
- package/dist/esm/react/lib/utils/formatUsd.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/formatUsd.js +0 -58
- package/dist/esm/react/lib/utils/formatUsd.js.map +0 -1
- package/dist/esm/react/lib/utils/index.d.ts +0 -12
- package/dist/esm/react/lib/utils/index.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/index.js +0 -11
- package/dist/esm/react/lib/utils/index.js.map +0 -1
- package/dist/esm/react/lib/utils/inputFormatters.d.ts +0 -6
- package/dist/esm/react/lib/utils/inputFormatters.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/inputFormatters.js +0 -32
- package/dist/esm/react/lib/utils/inputFormatters.js.map +0 -1
- package/dist/esm/react/lib/utils/network-mapping.d.ts +0 -45
- package/dist/esm/react/lib/utils/network-mapping.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/network-mapping.js +0 -153
- package/dist/esm/react/lib/utils/network-mapping.js.map +0 -1
- package/dist/esm/react/lib/utils/transaction.d.ts +0 -57
- package/dist/esm/react/lib/utils/transaction.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/transaction.js +0 -136
- package/dist/esm/react/lib/utils/transaction.js.map +0 -1
- package/dist/esm/react/lib/utils/validation.d.ts +0 -27
- package/dist/esm/react/lib/utils/validation.d.ts.map +0 -1
- package/dist/esm/react/lib/utils/validation.js +0 -36
- package/dist/esm/react/lib/utils/validation.js.map +0 -1
- package/dist/esm/react/providers/OrdaProvider.d.ts +0 -38
- package/dist/esm/react/providers/OrdaProvider.d.ts.map +0 -1
- package/dist/esm/react/providers/OrdaProvider.js +0 -55
- package/dist/esm/react/providers/OrdaProvider.js.map +0 -1
- package/dist/esm/react/providers/OrdaSDKContext.d.ts +0 -26
- package/dist/esm/react/providers/OrdaSDKContext.d.ts.map +0 -1
- package/dist/esm/react/providers/OrdaSDKContext.js +0 -154
- package/dist/esm/react/providers/OrdaSDKContext.js.map +0 -1
- package/dist/esm/react/providers/index.d.ts +0 -4
- package/dist/esm/react/providers/index.d.ts.map +0 -1
- package/dist/esm/react/providers/index.js +0 -3
- package/dist/esm/react/providers/index.js.map +0 -1
- package/dist/esm/react/providers/types.d.ts +0 -68
- package/dist/esm/react/providers/types.d.ts.map +0 -1
- package/dist/esm/react/providers/types.js +0 -2
- package/dist/esm/react/providers/types.js.map +0 -1
- package/dist/esm/smart-wallets/LocalSigner.d.ts +0 -19
- package/dist/esm/smart-wallets/LocalSigner.d.ts.map +0 -1
- package/dist/esm/smart-wallets/LocalSigner.js +0 -57
- package/dist/esm/smart-wallets/LocalSigner.js.map +0 -1
- package/dist/esm/smart-wallets/SmartWalletClient.d.ts +0 -19
- package/dist/esm/smart-wallets/SmartWalletClient.d.ts.map +0 -1
- package/dist/esm/smart-wallets/SmartWalletClient.js +0 -180
- package/dist/esm/smart-wallets/SmartWalletClient.js.map +0 -1
- package/dist/esm/smart-wallets/SmartWalletManager.d.ts +0 -17
- package/dist/esm/smart-wallets/SmartWalletManager.d.ts.map +0 -1
- package/dist/esm/smart-wallets/SmartWalletManager.js +0 -59
- package/dist/esm/smart-wallets/SmartWalletManager.js.map +0 -1
- package/dist/esm/smart-wallets/chains.d.ts +0 -11
- package/dist/esm/smart-wallets/chains.d.ts.map +0 -1
- package/dist/esm/smart-wallets/chains.js +0 -30
- package/dist/esm/smart-wallets/chains.js.map +0 -1
- package/dist/esm/smart-wallets/errors.d.ts +0 -23
- package/dist/esm/smart-wallets/errors.d.ts.map +0 -1
- package/dist/esm/smart-wallets/errors.js +0 -44
- package/dist/esm/smart-wallets/errors.js.map +0 -1
- package/dist/esm/smart-wallets/index.d.ts +0 -11
- package/dist/esm/smart-wallets/index.d.ts.map +0 -1
- package/dist/esm/smart-wallets/index.js +0 -13
- package/dist/esm/smart-wallets/index.js.map +0 -1
- package/dist/esm/smart-wallets/types.d.ts +0 -47
- package/dist/esm/smart-wallets/types.d.ts.map +0 -1
- package/dist/esm/smart-wallets/types.js +0 -2
- package/dist/esm/smart-wallets/types.js.map +0 -1
- package/dist/esm/smart-wallets/utils.d.ts +0 -22
- package/dist/esm/smart-wallets/utils.d.ts.map +0 -1
- package/dist/esm/smart-wallets/utils.js +0 -57
- package/dist/esm/smart-wallets/utils.js.map +0 -1
- package/dist/react/chunk-2DNKUSZW.mjs +0 -26
- package/dist/react/chunk-DOIEWRNM.cjs +0 -29
- package/dist/react/index.cjs +0 -8447
- package/dist/react/index.d.mts +0 -4581
- package/dist/react/index.d.ts +0 -4581
- package/dist/react/index.mjs +0 -8310
- package/dist/react/styles.css +0 -2
- package/dist/react/web-crypto-DE5M6GOD.mjs +0 -1
- package/dist/react/web-crypto-MCH7ICH6.cjs +0 -10
- package/dist/types/react/assets/animations/index.d.ts +0 -4
- package/dist/types/react/assets/animations/index.d.ts.map +0 -1
- package/dist/types/react/assets/chains/index.d.ts +0 -3
- package/dist/types/react/assets/chains/index.d.ts.map +0 -1
- package/dist/types/react/assets/icons/index.d.ts +0 -10
- package/dist/types/react/assets/icons/index.d.ts.map +0 -1
- package/dist/types/react/assets/index.d.ts +0 -6
- package/dist/types/react/assets/index.d.ts.map +0 -1
- package/dist/types/react/assets/tokens/index.d.ts +0 -3
- package/dist/types/react/assets/tokens/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/Widget.d.ts +0 -2
- package/dist/types/react/components/Widget/Widget.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/CollapsibleDetails.d.ts +0 -15
- package/dist/types/react/components/Widget/components/CollapsibleDetails.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/CustomDialogHeader.d.ts +0 -13
- package/dist/types/react/components/Widget/components/CustomDialogHeader.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/Footer.d.ts +0 -2
- package/dist/types/react/components/Widget/components/Footer.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/Header.d.ts +0 -2
- package/dist/types/react/components/Widget/components/Header.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts +0 -15
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/OffRampRecipientDialog.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts +0 -8
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts +0 -21
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/PixKeyForm.schema.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts +0 -3
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/PixKeyForm/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts +0 -9
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/RecipientOptions.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts +0 -3
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/OffRampRecipientDialog/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/Recipient.d.ts +0 -8
- package/dist/types/react/components/Widget/components/Recipient.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts +0 -13
- package/dist/types/react/components/Widget/components/RecipientDialog/RecipientDialog.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts +0 -24
- package/dist/types/react/components/Widget/components/RecipientDialog/components/RecipientDialogContent.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/RecipientDialog/components/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/RecipientDialog/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/RecipientDialog/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/RecipientDialog/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts +0 -15
- package/dist/types/react/components/Widget/components/SelectAssetDialog/SelectAssetDialog.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts +0 -27
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/AssetSelector.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts +0 -18
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/AssetsList.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts +0 -14
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/FilterByNetworks.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts +0 -12
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/SearchBar.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts +0 -4
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/AssetSelector/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/SelectAssetDialog/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/SelectAssetDialog/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/SelectAssetDialog/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TokenInput.d.ts +0 -16
- package/dist/types/react/components/Widget/components/TokenInput.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts +0 -25
- package/dist/types/react/components/Widget/components/TransactionDialog/TransactionDialog.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts +0 -17
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts +0 -21
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OffRamp/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts +0 -16
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts +0 -10
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/Deposit.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts +0 -9
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/DepositStatus.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts +0 -17
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/OnRampConversion.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts +0 -4
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/components/OnRamp/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts +0 -18
- package/dist/types/react/components/Widget/components/TransactionDialog/components/Swap/Swap.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/components/Swap/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts +0 -17
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/TransactionDetails.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts +0 -10
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/CollapsibleInfo.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/components/TransactionDetails/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/components/index.d.ts +0 -5
- package/dist/types/react/components/Widget/components/TransactionDialog/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/TransactionDialog/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/TransactionDialog/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts +0 -7
- package/dist/types/react/components/Widget/components/UserAccountDrawer/UserAccountDrawer.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts +0 -7
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/UserAccountData.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts +0 -12
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/AssetInfo.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/UserAccountData/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts +0 -7
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/Wallets.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts +0 -16
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/WalletItem.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/Wallets/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/index.d.ts +0 -3
- package/dist/types/react/components/Widget/components/UserAccountDrawer/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/UserAccountDrawer/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/UserAccountDrawer/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/index.d.ts +0 -13
- package/dist/types/react/components/Widget/components/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/shared/TokenIconDisplay.d.ts +0 -15
- package/dist/types/react/components/Widget/components/shared/TokenIconDisplay.d.ts.map +0 -1
- package/dist/types/react/components/Widget/components/shared/index.d.ts +0 -2
- package/dist/types/react/components/Widget/components/shared/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/index.d.ts +0 -3
- package/dist/types/react/components/Widget/index.d.ts.map +0 -1
- package/dist/types/react/components/Widget/types/quote.d.ts +0 -205
- package/dist/types/react/components/Widget/types/quote.d.ts.map +0 -1
- package/dist/types/react/components/Widget/types.d.ts +0 -24
- package/dist/types/react/components/Widget/types.d.ts.map +0 -1
- package/dist/types/react/components/ui/badge.d.ts +0 -10
- package/dist/types/react/components/ui/badge.d.ts.map +0 -1
- package/dist/types/react/components/ui/button.d.ts +0 -12
- package/dist/types/react/components/ui/button.d.ts.map +0 -1
- package/dist/types/react/components/ui/dialog.d.ts +0 -18
- package/dist/types/react/components/ui/dialog.d.ts.map +0 -1
- package/dist/types/react/components/ui/drawer.d.ts +0 -23
- package/dist/types/react/components/ui/drawer.d.ts.map +0 -1
- package/dist/types/react/components/ui/index.d.ts +0 -12
- package/dist/types/react/components/ui/index.d.ts.map +0 -1
- package/dist/types/react/components/ui/input.d.ts +0 -4
- package/dist/types/react/components/ui/input.d.ts.map +0 -1
- package/dist/types/react/components/ui/label.d.ts +0 -6
- package/dist/types/react/components/ui/label.d.ts.map +0 -1
- package/dist/types/react/components/ui/popover.d.ts +0 -8
- package/dist/types/react/components/ui/popover.d.ts.map +0 -1
- package/dist/types/react/components/ui/select.d.ts +0 -14
- package/dist/types/react/components/ui/select.d.ts.map +0 -1
- package/dist/types/react/components/ui/sheet.d.ts +0 -26
- package/dist/types/react/components/ui/sheet.d.ts.map +0 -1
- package/dist/types/react/config/appkit.d.ts +0 -2719
- package/dist/types/react/config/appkit.d.ts.map +0 -1
- package/dist/types/react/config/index.d.ts +0 -3
- package/dist/types/react/config/index.d.ts.map +0 -1
- package/dist/types/react/hooks/index.d.ts +0 -18
- package/dist/types/react/hooks/index.d.ts.map +0 -1
- package/dist/types/react/hooks/useBalances.d.ts +0 -41
- package/dist/types/react/hooks/useBalances.d.ts.map +0 -1
- package/dist/types/react/hooks/useLocalRecipients.d.ts +0 -69
- package/dist/types/react/hooks/useLocalRecipients.d.ts.map +0 -1
- package/dist/types/react/hooks/useMediaQuery.d.ts +0 -21
- package/dist/types/react/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/types/react/hooks/useMultiChainBalances.d.ts +0 -58
- package/dist/types/react/hooks/useMultiChainBalances.d.ts.map +0 -1
- package/dist/types/react/hooks/useOffRamp.d.ts +0 -34
- package/dist/types/react/hooks/useOffRamp.d.ts.map +0 -1
- package/dist/types/react/hooks/useOnRamp.d.ts +0 -34
- package/dist/types/react/hooks/useOnRamp.d.ts.map +0 -1
- package/dist/types/react/hooks/useQuote.d.ts +0 -28
- package/dist/types/react/hooks/useQuote.d.ts.map +0 -1
- package/dist/types/react/hooks/useRecipient.d.ts +0 -30
- package/dist/types/react/hooks/useRecipient.d.ts.map +0 -1
- package/dist/types/react/hooks/useTokenPrices.d.ts +0 -34
- package/dist/types/react/hooks/useTokenPrices.d.ts.map +0 -1
- package/dist/types/react/hooks/useTransaction.d.ts +0 -31
- package/dist/types/react/hooks/useTransaction.d.ts.map +0 -1
- package/dist/types/react/index.d.ts +0 -16
- package/dist/types/react/index.d.ts.map +0 -1
- package/dist/types/react/lib/constants/chains.d.ts +0 -65
- package/dist/types/react/lib/constants/chains.d.ts.map +0 -1
- package/dist/types/react/lib/constants/index.d.ts +0 -6
- package/dist/types/react/lib/constants/index.d.ts.map +0 -1
- package/dist/types/react/lib/constants/tokens.d.ts +0 -30
- package/dist/types/react/lib/constants/tokens.d.ts.map +0 -1
- package/dist/types/react/lib/constants/wrappedTokens.d.ts +0 -21
- package/dist/types/react/lib/constants/wrappedTokens.d.ts.map +0 -1
- package/dist/types/react/lib/index.d.ts +0 -5
- package/dist/types/react/lib/index.d.ts.map +0 -1
- package/dist/types/react/lib/sdk-client.d.ts +0 -17
- package/dist/types/react/lib/sdk-client.d.ts.map +0 -1
- package/dist/types/react/lib/utils/chain.d.ts +0 -11
- package/dist/types/react/lib/utils/chain.d.ts.map +0 -1
- package/dist/types/react/lib/utils/cn.d.ts +0 -3
- package/dist/types/react/lib/utils/cn.d.ts.map +0 -1
- package/dist/types/react/lib/utils/copyToClipboard.d.ts +0 -2
- package/dist/types/react/lib/utils/copyToClipboard.d.ts.map +0 -1
- package/dist/types/react/lib/utils/errors.d.ts +0 -11
- package/dist/types/react/lib/utils/errors.d.ts.map +0 -1
- package/dist/types/react/lib/utils/format.d.ts +0 -38
- package/dist/types/react/lib/utils/format.d.ts.map +0 -1
- package/dist/types/react/lib/utils/formatUsd.d.ts +0 -19
- package/dist/types/react/lib/utils/formatUsd.d.ts.map +0 -1
- package/dist/types/react/lib/utils/index.d.ts +0 -12
- package/dist/types/react/lib/utils/index.d.ts.map +0 -1
- package/dist/types/react/lib/utils/inputFormatters.d.ts +0 -6
- package/dist/types/react/lib/utils/inputFormatters.d.ts.map +0 -1
- package/dist/types/react/lib/utils/network-mapping.d.ts +0 -45
- package/dist/types/react/lib/utils/network-mapping.d.ts.map +0 -1
- package/dist/types/react/lib/utils/transaction.d.ts +0 -57
- package/dist/types/react/lib/utils/transaction.d.ts.map +0 -1
- package/dist/types/react/lib/utils/validation.d.ts +0 -27
- package/dist/types/react/lib/utils/validation.d.ts.map +0 -1
- package/dist/types/react/providers/OrdaProvider.d.ts +0 -38
- package/dist/types/react/providers/OrdaProvider.d.ts.map +0 -1
- package/dist/types/react/providers/OrdaSDKContext.d.ts +0 -26
- package/dist/types/react/providers/OrdaSDKContext.d.ts.map +0 -1
- package/dist/types/react/providers/index.d.ts +0 -4
- package/dist/types/react/providers/index.d.ts.map +0 -1
- package/dist/types/react/providers/types.d.ts +0 -68
- package/dist/types/react/providers/types.d.ts.map +0 -1
- package/dist/types/smart-wallets/LocalSigner.d.ts +0 -19
- package/dist/types/smart-wallets/LocalSigner.d.ts.map +0 -1
- package/dist/types/smart-wallets/SmartWalletClient.d.ts +0 -19
- package/dist/types/smart-wallets/SmartWalletClient.d.ts.map +0 -1
- package/dist/types/smart-wallets/SmartWalletManager.d.ts +0 -17
- package/dist/types/smart-wallets/SmartWalletManager.d.ts.map +0 -1
- package/dist/types/smart-wallets/chains.d.ts +0 -11
- package/dist/types/smart-wallets/chains.d.ts.map +0 -1
- package/dist/types/smart-wallets/errors.d.ts +0 -23
- package/dist/types/smart-wallets/errors.d.ts.map +0 -1
- package/dist/types/smart-wallets/index.d.ts +0 -11
- package/dist/types/smart-wallets/index.d.ts.map +0 -1
- package/dist/types/smart-wallets/types.d.ts +0 -47
- package/dist/types/smart-wallets/types.d.ts.map +0 -1
- package/dist/types/smart-wallets/utils.d.ts +0 -22
- package/dist/types/smart-wallets/utils.d.ts.map +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Token } from '../../../../types';
|
|
2
|
-
import type { TypedOffRampQuoteResponse } from '../../../../types/quote';
|
|
3
|
-
import type { OffRampQuoteResponse } from '../../../../../../../index';
|
|
4
|
-
interface OffRampProps {
|
|
5
|
-
fromAmount: string;
|
|
6
|
-
toAmount: string;
|
|
7
|
-
fromUsdValue?: number | null;
|
|
8
|
-
toUsdValue?: number | null;
|
|
9
|
-
fromTokenSelected: Token;
|
|
10
|
-
toTokenSelected: Token;
|
|
11
|
-
handleCompleteTransaction: () => void;
|
|
12
|
-
toggleDialogOpen: () => void;
|
|
13
|
-
quote: TypedOffRampQuoteResponse | OffRampQuoteResponse | null;
|
|
14
|
-
}
|
|
15
|
-
export declare const OffRamp: ({ fromAmount, toAmount, fromUsdValue: _fromUsdValue, toUsdValue: _toUsdValue, fromTokenSelected, toTokenSelected, handleCompleteTransaction, toggleDialogOpen, quote, }: OffRampProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=OffRamp.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OffRamp.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,EAAE,yBAAyB,EAAwB,MAAM,yBAAyB,CAAC;AAC/F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAQvE,UAAU,YAAY;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,iBAAiB,EAAE,KAAK,CAAC;IACzB,eAAe,EAAE,KAAK,CAAC;IACvB,yBAAyB,EAAE,MAAM,IAAI,CAAC;IACtC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,KAAK,EAAE,yBAAyB,GAAG,oBAAoB,GAAG,IAAI,CAAC;CAChE;AAaD,eAAO,MAAM,OAAO,GAAI,yKAUrB,YAAY,4CA4Vd,CAAC"}
|
package/dist/esm/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.js
DELETED
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { OffRampConversion } from './components';
|
|
5
|
-
import { useWalletClient, usePublicClient, useAccount, useSwitchChain } from 'wagmi';
|
|
6
|
-
import { toast } from 'sonner';
|
|
7
|
-
import { safeParseBigInt, getTransactionErrorMessage, validateTransactionParams } from '../../../../../../lib/utils/transaction';
|
|
8
|
-
import { getWagmiChain, getChainName } from '../../../../../../lib/utils/chain';
|
|
9
|
-
import { useOffRamp } from '../../../../../../hooks/useOffRamp';
|
|
10
|
-
const stepModes = {
|
|
11
|
-
1: 'starting',
|
|
12
|
-
2: 'confirm',
|
|
13
|
-
3: 'processing',
|
|
14
|
-
4: 'done',
|
|
15
|
-
5: 'error',
|
|
16
|
-
6: 'nameAndDocumentMatchError',
|
|
17
|
-
};
|
|
18
|
-
export const OffRamp = ({ fromAmount, toAmount, fromUsdValue: _fromUsdValue, toUsdValue: _toUsdValue, fromTokenSelected, toTokenSelected, handleCompleteTransaction, toggleDialogOpen, quote, }) => {
|
|
19
|
-
const [step, setStep] = useState(1);
|
|
20
|
-
const [_txHash, setTxHash] = useState(null);
|
|
21
|
-
const [approvalComplete, setApprovalComplete] = useState(false);
|
|
22
|
-
const [_isApproving, setIsApproving] = useState(false);
|
|
23
|
-
const [isSending, setIsSending] = useState(false);
|
|
24
|
-
const [isConfirming, setIsConfirming] = useState(false);
|
|
25
|
-
const [_currentStatus, setCurrentStatus] = useState('Pending');
|
|
26
|
-
const [_statusMessage, setStatusMessage] = useState('Initializing...');
|
|
27
|
-
const [animationStatus, setAnimationStatus] = useState('converting');
|
|
28
|
-
const needsApproval = Boolean(quote?.approvalTxParams);
|
|
29
|
-
const { data: walletClient } = useWalletClient();
|
|
30
|
-
const publicClient = usePublicClient();
|
|
31
|
-
const { address: connectedAddress, chain: connectedChain } = useAccount();
|
|
32
|
-
const { switchChainAsync } = useSwitchChain();
|
|
33
|
-
const { waitForCompletion } = useOffRamp();
|
|
34
|
-
const executeApproval = async () => {
|
|
35
|
-
if (!quote?.approvalTxParams || !walletClient) {
|
|
36
|
-
toast.error('Wallet not ready');
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
if (!connectedAddress) {
|
|
40
|
-
toast.error('Wallet not connected');
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
setIsApproving(true);
|
|
44
|
-
setIsSending(true);
|
|
45
|
-
try {
|
|
46
|
-
const approvalParams = quote.approvalTxParams;
|
|
47
|
-
// Get chainId from transactionRequest, as approvalParams doesn't include it in API response
|
|
48
|
-
const requiredChainId = Number(quote.transactionRequest?.chainId);
|
|
49
|
-
if (!requiredChainId || isNaN(requiredChainId)) {
|
|
50
|
-
throw new Error('Invalid chain ID in quote');
|
|
51
|
-
}
|
|
52
|
-
validateTransactionParams({
|
|
53
|
-
to: approvalParams.to,
|
|
54
|
-
from: approvalParams.from,
|
|
55
|
-
data: approvalParams.data,
|
|
56
|
-
chainId: requiredChainId,
|
|
57
|
-
});
|
|
58
|
-
if (connectedChain?.id !== requiredChainId) {
|
|
59
|
-
const requiredChainName = getChainName(requiredChainId);
|
|
60
|
-
console.log('[OffRamp] Switching chain from', connectedChain?.id, 'to', requiredChainId);
|
|
61
|
-
toast.info(`Please switch to ${requiredChainName} network...`);
|
|
62
|
-
try {
|
|
63
|
-
await switchChainAsync({ chainId: requiredChainId });
|
|
64
|
-
toast.success(`Switched to ${requiredChainName}`);
|
|
65
|
-
}
|
|
66
|
-
catch (switchError) {
|
|
67
|
-
console.error('[OffRamp] Chain switch failed:', switchError);
|
|
68
|
-
throw new Error(`Please switch to ${requiredChainName} network in your wallet and try again`);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
const wagmiChain = getWagmiChain(requiredChainId);
|
|
72
|
-
const txParams = {
|
|
73
|
-
account: approvalParams.from,
|
|
74
|
-
to: approvalParams.to,
|
|
75
|
-
data: approvalParams.data,
|
|
76
|
-
value: 0n,
|
|
77
|
-
chain: wagmiChain,
|
|
78
|
-
};
|
|
79
|
-
if (approvalParams.gas) {
|
|
80
|
-
txParams.gas = safeParseBigInt(approvalParams.gas);
|
|
81
|
-
}
|
|
82
|
-
if (approvalParams.maxFeePerGas && approvalParams.maxPriorityFeePerGas) {
|
|
83
|
-
txParams.maxFeePerGas = safeParseBigInt(approvalParams.maxFeePerGas);
|
|
84
|
-
txParams.maxPriorityFeePerGas = safeParseBigInt(approvalParams.maxPriorityFeePerGas);
|
|
85
|
-
}
|
|
86
|
-
else if (approvalParams.gasPrice) {
|
|
87
|
-
txParams.gasPrice = safeParseBigInt(approvalParams.gasPrice);
|
|
88
|
-
}
|
|
89
|
-
console.log('[OffRamp] Sending approval transaction');
|
|
90
|
-
const approvalHash = await walletClient.sendTransaction(txParams);
|
|
91
|
-
console.log('[OffRamp] Approval transaction sent:', approvalHash);
|
|
92
|
-
setTxHash(approvalHash);
|
|
93
|
-
setIsSending(false);
|
|
94
|
-
setIsConfirming(true);
|
|
95
|
-
toast.info('Waiting for approval confirmation...');
|
|
96
|
-
if (publicClient) {
|
|
97
|
-
await publicClient.waitForTransactionReceipt({ hash: approvalHash });
|
|
98
|
-
}
|
|
99
|
-
setApprovalComplete(true);
|
|
100
|
-
setIsApproving(false);
|
|
101
|
-
setIsConfirming(false);
|
|
102
|
-
setTxHash(null);
|
|
103
|
-
setStep(1);
|
|
104
|
-
toast.success('Token approved', {
|
|
105
|
-
description: 'You can now confirm the transaction',
|
|
106
|
-
duration: 3000,
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
catch (error) {
|
|
110
|
-
console.error('[OffRamp] Approval error:', error);
|
|
111
|
-
setIsApproving(false);
|
|
112
|
-
setIsSending(false);
|
|
113
|
-
setIsConfirming(false);
|
|
114
|
-
setStep(5);
|
|
115
|
-
const { title, description } = getTransactionErrorMessage(error);
|
|
116
|
-
toast.error(title, { description, duration: 4000 });
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
const executeTransaction = async () => {
|
|
120
|
-
if (!quote?.transactionRequest || !walletClient) {
|
|
121
|
-
toast.error('Wallet not ready');
|
|
122
|
-
setStep(5);
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
if (!connectedAddress) {
|
|
126
|
-
toast.error('Wallet not connected');
|
|
127
|
-
setStep(5);
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
setIsSending(true);
|
|
131
|
-
try {
|
|
132
|
-
const txRequest = quote.transactionRequest;
|
|
133
|
-
if (txRequest.from && txRequest.from.toLowerCase() !== connectedAddress.toLowerCase()) {
|
|
134
|
-
toast.error('Wallet mismatch', {
|
|
135
|
-
description: 'Please switch to the wallet used for the quote',
|
|
136
|
-
duration: 5000,
|
|
137
|
-
});
|
|
138
|
-
setIsSending(false);
|
|
139
|
-
setStep(5);
|
|
140
|
-
return;
|
|
141
|
-
}
|
|
142
|
-
validateTransactionParams({
|
|
143
|
-
to: txRequest.to,
|
|
144
|
-
from: txRequest.from,
|
|
145
|
-
data: txRequest.data,
|
|
146
|
-
chainId: txRequest.chainId,
|
|
147
|
-
});
|
|
148
|
-
const requiredChainId = Number(txRequest.chainId);
|
|
149
|
-
if (connectedChain?.id !== requiredChainId) {
|
|
150
|
-
const requiredChainName = getChainName(requiredChainId);
|
|
151
|
-
console.log('[OffRamp] Switching chain from', connectedChain?.id, 'to', requiredChainId);
|
|
152
|
-
toast.info(`Please switch to ${requiredChainName} network...`);
|
|
153
|
-
try {
|
|
154
|
-
await switchChainAsync({ chainId: requiredChainId });
|
|
155
|
-
toast.success(`Switched to ${requiredChainName}`);
|
|
156
|
-
}
|
|
157
|
-
catch (switchError) {
|
|
158
|
-
console.error('[OffRamp] Chain switch failed:', switchError);
|
|
159
|
-
throw new Error(`Please switch to ${requiredChainName} network in your wallet and try again`);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
const wagmiChain = getWagmiChain(requiredChainId);
|
|
163
|
-
console.log('[OffRamp] Sending transaction');
|
|
164
|
-
const txParams = {
|
|
165
|
-
account: txRequest.from,
|
|
166
|
-
to: txRequest.to,
|
|
167
|
-
data: txRequest.data,
|
|
168
|
-
value: safeParseBigInt(txRequest.value),
|
|
169
|
-
chain: wagmiChain,
|
|
170
|
-
};
|
|
171
|
-
if (txRequest.gas) {
|
|
172
|
-
txParams.gas = safeParseBigInt(txRequest.gas);
|
|
173
|
-
}
|
|
174
|
-
if (txRequest.maxFeePerGas && txRequest.maxPriorityFeePerGas) {
|
|
175
|
-
txParams.maxFeePerGas = safeParseBigInt(txRequest.maxFeePerGas);
|
|
176
|
-
txParams.maxPriorityFeePerGas = safeParseBigInt(txRequest.maxPriorityFeePerGas);
|
|
177
|
-
}
|
|
178
|
-
else if (txRequest.gasPrice) {
|
|
179
|
-
txParams.gasPrice = safeParseBigInt(txRequest.gasPrice);
|
|
180
|
-
}
|
|
181
|
-
if (txRequest.nonce) {
|
|
182
|
-
txParams.nonce = Number(txRequest.nonce);
|
|
183
|
-
}
|
|
184
|
-
const hash = await walletClient.sendTransaction(txParams);
|
|
185
|
-
console.log('[OffRamp] Transaction sent:', hash);
|
|
186
|
-
console.log('[OffRamp] Transaction ID:', quote.transactionId);
|
|
187
|
-
setTxHash(hash);
|
|
188
|
-
setIsSending(false);
|
|
189
|
-
setIsConfirming(true);
|
|
190
|
-
toast.success('Transaction submitted', {
|
|
191
|
-
description: 'Waiting for confirmation...',
|
|
192
|
-
duration: 3000,
|
|
193
|
-
});
|
|
194
|
-
if (publicClient) {
|
|
195
|
-
await publicClient.waitForTransactionReceipt({ hash });
|
|
196
|
-
}
|
|
197
|
-
setIsConfirming(false);
|
|
198
|
-
setStep(3);
|
|
199
|
-
toast.success('Transaction confirmed on-chain', {
|
|
200
|
-
description: 'Monitoring off-ramp status...',
|
|
201
|
-
duration: 3000,
|
|
202
|
-
});
|
|
203
|
-
if (quote.transactionId) {
|
|
204
|
-
try {
|
|
205
|
-
setStatusMessage('Waiting for crypto deposit...');
|
|
206
|
-
const finalStatus = await waitForCompletion(quote.transactionId, {
|
|
207
|
-
intervalMs: 10000, // Poll every 10 seconds (off-ramps are slower)
|
|
208
|
-
timeoutMs: 1800000, // 30 minutes timeout
|
|
209
|
-
onStatusUpdate: (status) => {
|
|
210
|
-
console.log('[OffRamp] Status update:', status);
|
|
211
|
-
setCurrentStatus(status);
|
|
212
|
-
switch (status) {
|
|
213
|
-
case 'Pending':
|
|
214
|
-
setStatusMessage('Waiting for crypto deposit...');
|
|
215
|
-
setAnimationStatus('converting');
|
|
216
|
-
break;
|
|
217
|
-
case 'Processing':
|
|
218
|
-
setStatusMessage('Converting crypto to fiat...');
|
|
219
|
-
setAnimationStatus('converting');
|
|
220
|
-
break;
|
|
221
|
-
case 'Completed':
|
|
222
|
-
setStatusMessage('Fiat sent to your bank account!');
|
|
223
|
-
setAnimationStatus('completed');
|
|
224
|
-
break;
|
|
225
|
-
case 'Failed':
|
|
226
|
-
setStatusMessage('Transaction failed');
|
|
227
|
-
setAnimationStatus('error');
|
|
228
|
-
break;
|
|
229
|
-
case 'Refunded':
|
|
230
|
-
setStatusMessage('Transaction refunded');
|
|
231
|
-
setAnimationStatus('completed');
|
|
232
|
-
break;
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
});
|
|
236
|
-
if (finalStatus?.status === 'Completed') {
|
|
237
|
-
setAnimationStatus('completed');
|
|
238
|
-
toast.success('Off-ramp completed', {
|
|
239
|
-
description: 'Fiat successfully sent to your bank account',
|
|
240
|
-
duration: 3000,
|
|
241
|
-
});
|
|
242
|
-
setTimeout(() => {
|
|
243
|
-
setStep(4);
|
|
244
|
-
}, 2000);
|
|
245
|
-
}
|
|
246
|
-
else if (finalStatus?.status === 'Failed') {
|
|
247
|
-
setAnimationStatus('error');
|
|
248
|
-
toast.error('Off-ramp failed', {
|
|
249
|
-
description: 'Your crypto will be refunded if applicable',
|
|
250
|
-
duration: 4000,
|
|
251
|
-
});
|
|
252
|
-
setStep(5);
|
|
253
|
-
}
|
|
254
|
-
else if (finalStatus?.status === 'Refunded') {
|
|
255
|
-
setAnimationStatus('completed');
|
|
256
|
-
toast.info('Transaction refunded', {
|
|
257
|
-
description: 'Your crypto has been returned',
|
|
258
|
-
duration: 3000,
|
|
259
|
-
});
|
|
260
|
-
setTimeout(() => {
|
|
261
|
-
setStep(4);
|
|
262
|
-
}, 2000);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
catch (error) {
|
|
266
|
-
console.error('[OffRamp] Monitoring error:', error);
|
|
267
|
-
setStatusMessage('Error monitoring transaction');
|
|
268
|
-
toast.error('Monitoring error', {
|
|
269
|
-
description: error instanceof Error ? error.message : 'Unknown error',
|
|
270
|
-
duration: 4000,
|
|
271
|
-
});
|
|
272
|
-
setStep(5);
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
else {
|
|
276
|
-
setTimeout(() => {
|
|
277
|
-
setStep(4);
|
|
278
|
-
}, 2000);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
catch (error) {
|
|
282
|
-
console.error('[OffRamp] Transaction error:', error);
|
|
283
|
-
setIsSending(false);
|
|
284
|
-
setIsConfirming(false);
|
|
285
|
-
setStep(5);
|
|
286
|
-
const { title, description } = getTransactionErrorMessage(error);
|
|
287
|
-
toast.error(title, { description, duration: 4000 });
|
|
288
|
-
}
|
|
289
|
-
};
|
|
290
|
-
const handleNextStep = () => {
|
|
291
|
-
if (step === 1) {
|
|
292
|
-
if (needsApproval && !approvalComplete) {
|
|
293
|
-
executeApproval();
|
|
294
|
-
}
|
|
295
|
-
else {
|
|
296
|
-
executeTransaction();
|
|
297
|
-
}
|
|
298
|
-
setStep(2);
|
|
299
|
-
}
|
|
300
|
-
else if (step === 4) {
|
|
301
|
-
handleCompleteTransaction();
|
|
302
|
-
}
|
|
303
|
-
else if (step === 5) {
|
|
304
|
-
setStep(1);
|
|
305
|
-
setTxHash(null);
|
|
306
|
-
setApprovalComplete(false);
|
|
307
|
-
setIsApproving(false);
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
const mode = stepModes[step];
|
|
311
|
-
return (_jsx(OffRampConversion, { fromAmount: fromAmount, toAmount: toAmount, fromTokenSelected: fromTokenSelected, toTokenSelected: toTokenSelected, toggleDialogOpen: toggleDialogOpen, handleNextStep: handleNextStep, handleCompleteTransaction: handleCompleteTransaction, mode: mode, quote: quote, isLoading: isSending || isConfirming, approvalComplete: approvalComplete, needsApproval: needsApproval, animationStatus: animationStatus }));
|
|
312
|
-
};
|
|
313
|
-
//# sourceMappingURL=OffRamp.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OffRamp.js","sourceRoot":"","sources":["../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/OffRamp/OffRamp.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGjD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACjI,OAAO,EAAE,aAAa,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B,eAAe,EAAE,eAAe,GAChC,CACH,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Token } from '../../../../../types';
|
|
2
|
-
import type { TypedOffRampQuoteResponse } from '../../../../../types/quote';
|
|
3
|
-
import type { OffRampQuoteResponse } from '../../../../../../../../index';
|
|
4
|
-
interface OffRampConversionProps {
|
|
5
|
-
fromAmount: string;
|
|
6
|
-
toAmount: string;
|
|
7
|
-
fromTokenSelected: Token;
|
|
8
|
-
toTokenSelected: Token;
|
|
9
|
-
handleNextStep: () => void;
|
|
10
|
-
toggleDialogOpen: () => void;
|
|
11
|
-
handleCompleteTransaction?: () => void;
|
|
12
|
-
mode: 'starting' | 'processing' | 'done' | 'confirm' | 'error' | 'nameAndDocumentMatchError';
|
|
13
|
-
quote: OffRampQuoteResponse | TypedOffRampQuoteResponse | null;
|
|
14
|
-
isLoading?: boolean;
|
|
15
|
-
approvalComplete?: boolean;
|
|
16
|
-
needsApproval?: boolean;
|
|
17
|
-
animationStatus?: 'converting' | 'completed' | 'error';
|
|
18
|
-
}
|
|
19
|
-
export declare const OffRampConversion: ({ fromAmount, toAmount, fromTokenSelected, toTokenSelected, handleNextStep, toggleDialogOpen, handleCompleteTransaction, mode, quote, isLoading, approvalComplete, needsApproval, animationStatus, }: OffRampConversionProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=OffRampConversion.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OffRampConversion.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAc1E,UAAU,sBAAsB;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,KAAK,CAAC;IACzB,eAAe,EAAE,KAAK,CAAC;IACvB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAC;IACvC,IAAI,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,2BAA2B,CAAC;IAC7F,KAAK,EAAE,oBAAoB,GAAG,yBAAyB,GAAG,IAAI,CAAC;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,YAAY,GAAG,WAAW,GAAG,OAAO,CAAC;CACxD;AAED,eAAO,MAAM,iBAAiB,GAAI,sMAc/B,sBAAsB,4CAoHxB,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { Button } from '../../../../../../ui/button';
|
|
4
|
-
import { CustomDialogHeader } from '../../../../CustomDialogHeader';
|
|
5
|
-
import { TransactionDetails } from '../../TransactionDetails';
|
|
6
|
-
export const OffRampConversion = ({ fromAmount, toAmount, fromTokenSelected, toTokenSelected, handleNextStep, toggleDialogOpen, handleCompleteTransaction, mode, quote, isLoading, approvalComplete, needsApproval, animationStatus, }) => {
|
|
7
|
-
const getButtonLabel = () => {
|
|
8
|
-
if (mode === 'starting') {
|
|
9
|
-
if (needsApproval && !approvalComplete) {
|
|
10
|
-
return 'Continue';
|
|
11
|
-
}
|
|
12
|
-
return 'Convert';
|
|
13
|
-
}
|
|
14
|
-
if (mode === 'confirm') {
|
|
15
|
-
return 'Waiting for confirmation';
|
|
16
|
-
}
|
|
17
|
-
return conversionProps[mode].buttonLabel;
|
|
18
|
-
};
|
|
19
|
-
const shouldHideButton = mode === 'processing';
|
|
20
|
-
const isAnimating = mode === 'processing' || mode === 'done' || mode === 'error' || mode === 'nameAndDocumentMatchError';
|
|
21
|
-
const conversionProps = {
|
|
22
|
-
starting: {
|
|
23
|
-
buttonLabel: 'Convert',
|
|
24
|
-
buttonAction: handleNextStep,
|
|
25
|
-
transactionDetailsTitle: needsApproval && approvalComplete ? 'Approve the transaction' : 'Review your order',
|
|
26
|
-
transactionDetailsSubtitle: 'Check the order details',
|
|
27
|
-
showDialogHeader: true,
|
|
28
|
-
animationStatus: 'converting',
|
|
29
|
-
},
|
|
30
|
-
confirm: {
|
|
31
|
-
buttonLabel: 'Waiting for confirmation',
|
|
32
|
-
buttonAction: handleNextStep,
|
|
33
|
-
transactionDetailsTitle: needsApproval && !approvalComplete ? 'Approve token' : 'Approve the transaction',
|
|
34
|
-
transactionDetailsSubtitle: 'Confirm the transaction in your wallet',
|
|
35
|
-
showDialogHeader: true,
|
|
36
|
-
buttonLoading: true,
|
|
37
|
-
animationStatus: animationStatus || 'converting',
|
|
38
|
-
},
|
|
39
|
-
processing: {
|
|
40
|
-
buttonLabel: 'Continue',
|
|
41
|
-
buttonAction: handleNextStep,
|
|
42
|
-
transactionDetailsTitle: 'Converting',
|
|
43
|
-
transactionDetailsSubtitle: 'Confirm the transaction in your wallet',
|
|
44
|
-
showDialogHeader: true,
|
|
45
|
-
animationStatus: animationStatus || 'converting',
|
|
46
|
-
},
|
|
47
|
-
done: {
|
|
48
|
-
buttonLabel: 'Done',
|
|
49
|
-
buttonAction: handleNextStep,
|
|
50
|
-
transactionDetailsTitle: 'Conversion completed',
|
|
51
|
-
transactionDetailsSubtitle: `Recipient received ${toAmount} ${quote?.quote?.toCurrency || 'fiat'}.`,
|
|
52
|
-
showDialogHeader: true,
|
|
53
|
-
animationStatus: animationStatus || 'completed',
|
|
54
|
-
},
|
|
55
|
-
error: {
|
|
56
|
-
buttonLabel: 'Try again',
|
|
57
|
-
buttonAction: handleNextStep,
|
|
58
|
-
transactionDetailsTitle: 'Something went wrong',
|
|
59
|
-
transactionDetailsSubtitle: 'You can try again',
|
|
60
|
-
showDialogHeader: true,
|
|
61
|
-
animationStatus: animationStatus || 'error',
|
|
62
|
-
},
|
|
63
|
-
nameAndDocumentMatchError: {
|
|
64
|
-
buttonLabel: 'Fix the PIX key',
|
|
65
|
-
buttonAction: handleCompleteTransaction,
|
|
66
|
-
cancelButtonAction: () => { },
|
|
67
|
-
transactionDetailsTitle: "Name doesn't match CPF/CNPJ",
|
|
68
|
-
transactionDetailsSubtitle: 'The name associated with this PIX key does not correspond to the CPF/CNPJ.',
|
|
69
|
-
showDialogHeader: true,
|
|
70
|
-
animationStatus: animationStatus || 'error',
|
|
71
|
-
},
|
|
72
|
-
};
|
|
73
|
-
return (_jsxs(_Fragment, { children: [conversionProps[mode].showDialogHeader && (_jsx(CustomDialogHeader, { onOpenChange: toggleDialogOpen, animation: true, animationStatus: animationStatus || conversionProps[mode].animationStatus, isAnimating: isAnimating })), _jsx(TransactionDetails, { fromAmount: fromAmount, toAmount: toAmount, fromTokenSelected: fromTokenSelected, toTokenSelected: toTokenSelected, title: conversionProps[mode].transactionDetailsTitle, subtitle: conversionProps[mode].transactionDetailsSubtitle, offRampQuote: quote }), !shouldHideButton && (_jsxs("div", { className: "flex flex-row gap-2", children: [conversionProps[mode].cancelButtonAction && (_jsx(Button, { variant: "secondary", onClick: conversionProps[mode].cancelButtonAction, className: "mt-6 h-14 w-1/2 cursor-pointer rounded-2xl px-3 py-4", children: "Cancel" })), _jsx(Button, { onClick: conversionProps[mode].buttonAction, disabled: isLoading || mode === 'confirm', className: `mt-6 h-14 cursor-pointer rounded-2xl px-3 py-4 ${conversionProps[mode].cancelButtonAction ? 'w-1/2' : 'w-full'}`, children: getButtonLabel() })] }))] }));
|
|
74
|
-
};
|
|
75
|
-
//# sourceMappingURL=OffRampConversion.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OffRampConversion.js","sourceRoot":"","sources":["../../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/OffRamp/components/OffRampConversion.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAIpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AA6B9D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAChC,UAAU,EACV,QAAQ,EACR,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,yBAAyB,EACzB,IAAI,EACJ,KAAK,EACL,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,eAAe,GACQ,EAAE,EAAE;IAC3B,MAAM,cAAc,GAAG,GAAG,EAAE;QAC1B,IAAI,IAAI,KAAK,UAAU,EAAE,CAAC;YACxB,IAAI,aAAa,IAAI,CAAC,gBAAgB,EAAE,CAAC;gBACvC,OAAO,UAAU,CAAC;YACpB,CAAC;YACD,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACvB,OAAO,0BAA0B,CAAC;QACpC,CAAC;QACD,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;IAC3C,CAAC,CAAC;IAEF,MAAM,gBAAgB,GAAG,IAAI,KAAK,YAAY,CAAC;IAE/C,MAAM,WAAW,GAAG,IAAI,KAAK,YAAY,IAAI,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,OAAO,IAAI,IAAI,KAAK,2BAA2B,CAAC;IAEzH,MAAM,eAAe,GAAgC;QACnD,QAAQ,EAAE;YACR,WAAW,EAAE,SAAS;YACtB,YAAY,EAAE,cAAc;YAC5B,uBAA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d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/OffRamp/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/OffRamp/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/OffRamp/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Token } from '../../../../types';
|
|
2
|
-
import type { OnRampQuoteResponse } from '../../../../../../../index';
|
|
3
|
-
interface OnRampProps {
|
|
4
|
-
fromAmount: string;
|
|
5
|
-
toAmount: string;
|
|
6
|
-
fromUsdValue?: number | null;
|
|
7
|
-
toUsdValue?: number | null;
|
|
8
|
-
fromTokenSelected: Token;
|
|
9
|
-
toTokenSelected: Token;
|
|
10
|
-
handleCompleteTransaction: () => void;
|
|
11
|
-
toggleDialogOpen: () => void;
|
|
12
|
-
quote: OnRampQuoteResponse | null;
|
|
13
|
-
}
|
|
14
|
-
export declare const OnRamp: ({ fromAmount, toAmount, fromUsdValue: _fromUsdValue, toUsdValue: _toUsdValue, fromTokenSelected, toTokenSelected, handleCompleteTransaction, toggleDialogOpen, quote, }: OnRampProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=OnRamp.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OnRamp.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAItE,UAAU,WAAW;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,iBAAiB,EAAE,KAAK,CAAC;IACzB,eAAe,EAAE,KAAK,CAAC;IACvB,yBAAyB,EAAE,MAAM,IAAI,CAAC;IACtC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,KAAK,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACnC;AAED,eAAO,MAAM,MAAM,GAAI,yKAUpB,WAAW,4CA8Ib,CAAC"}
|
package/dist/esm/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.js
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { useState, useEffect } from 'react';
|
|
4
|
-
import { Deposit, DepositStatus, OnRampConversion } from './components';
|
|
5
|
-
import { useOnRamp } from '../../../../../../hooks/useOnRamp';
|
|
6
|
-
import { toast } from 'sonner';
|
|
7
|
-
export const OnRamp = ({ fromAmount, toAmount, fromUsdValue: _fromUsdValue, toUsdValue: _toUsdValue, fromTokenSelected, toTokenSelected, handleCompleteTransaction, toggleDialogOpen, quote, }) => {
|
|
8
|
-
const [step, setStep] = useState(1);
|
|
9
|
-
const [depositStatus, setDepositStatus] = useState('awaiting');
|
|
10
|
-
const [_transactionStatus, setTransactionStatus] = useState('In_progress');
|
|
11
|
-
const [animationStatus, setAnimationStatus] = useState('converting');
|
|
12
|
-
const [isMonitoring, setIsMonitoring] = useState(false);
|
|
13
|
-
const { waitForCompletion } = useOnRamp();
|
|
14
|
-
const handleNextStep = () => {
|
|
15
|
-
setStep((prev) => prev + 1);
|
|
16
|
-
};
|
|
17
|
-
const handleBackStep = () => {
|
|
18
|
-
setStep((prev) => prev - 1);
|
|
19
|
-
};
|
|
20
|
-
useEffect(() => {
|
|
21
|
-
if (step === 3 && quote?.transactionId && !isMonitoring) {
|
|
22
|
-
setIsMonitoring(true);
|
|
23
|
-
const monitorOnRamp = async () => {
|
|
24
|
-
try {
|
|
25
|
-
const finalStatus = await waitForCompletion(quote.transactionId, {
|
|
26
|
-
intervalMs: 10000, // Poll every 10 seconds (on-ramps are slower)
|
|
27
|
-
timeoutMs: 3600000, // Timeout after 1 hour
|
|
28
|
-
onStatusUpdate: (status) => {
|
|
29
|
-
console.log('[OnRamp] Status update:', status);
|
|
30
|
-
setTransactionStatus(status);
|
|
31
|
-
if (status === 'In_progress') {
|
|
32
|
-
setAnimationStatus('converting');
|
|
33
|
-
}
|
|
34
|
-
else if (status === 'Completed') {
|
|
35
|
-
setAnimationStatus('completed');
|
|
36
|
-
}
|
|
37
|
-
else if (status === 'Failed') {
|
|
38
|
-
setAnimationStatus('error');
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
});
|
|
42
|
-
if (finalStatus?.status === 'Completed') {
|
|
43
|
-
setAnimationStatus('completed');
|
|
44
|
-
toast.success('On-ramp completed', {
|
|
45
|
-
description: 'Crypto has been sent to your wallet',
|
|
46
|
-
duration: 3000,
|
|
47
|
-
});
|
|
48
|
-
if (finalStatus.depositStatus) {
|
|
49
|
-
setDepositStatus(finalStatus.depositStatus);
|
|
50
|
-
}
|
|
51
|
-
setTimeout(() => {
|
|
52
|
-
setStep(5);
|
|
53
|
-
}, 2000);
|
|
54
|
-
}
|
|
55
|
-
else if (finalStatus?.status === 'Failed') {
|
|
56
|
-
setAnimationStatus('error');
|
|
57
|
-
toast.error('On-ramp failed', {
|
|
58
|
-
description: 'Please try again or contact support',
|
|
59
|
-
duration: 4000,
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
catch (error) {
|
|
64
|
-
console.error('[OnRamp] Monitoring error:', error);
|
|
65
|
-
toast.error('Error monitoring transaction', {
|
|
66
|
-
description: error instanceof Error ? error.message : 'Unknown error',
|
|
67
|
-
duration: 4000,
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
finally {
|
|
71
|
-
setIsMonitoring(false);
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
monitorOnRamp();
|
|
75
|
-
}
|
|
76
|
-
}, [step, quote?.transactionId, isMonitoring, waitForCompletion]);
|
|
77
|
-
const getDepositComponentStatus = (depositStatus) => {
|
|
78
|
-
if (depositStatus === 'completed')
|
|
79
|
-
return 'success';
|
|
80
|
-
if (depositStatus === 'failed')
|
|
81
|
-
return 'error';
|
|
82
|
-
return 'loading';
|
|
83
|
-
};
|
|
84
|
-
const renderStep = {
|
|
85
|
-
1: (_jsx(OnRampConversion, { fromAmount: fromAmount, toAmount: toAmount, fromTokenSelected: fromTokenSelected, toTokenSelected: toTokenSelected, toggleDialogOpen: toggleDialogOpen, handleNextStep: handleNextStep, mode: "starting", quote: quote, animationStatus: animationStatus })),
|
|
86
|
-
2: (_jsx(Deposit, { handleNextStep: handleNextStep, handleBackStep: handleBackStep, toggleDialogOpen: toggleDialogOpen, quote: quote })),
|
|
87
|
-
3: (_jsx(DepositStatus, { status: getDepositComponentStatus(depositStatus), handleNextStep: handleNextStep, handleBackStep: handleBackStep, toggleDialogOpen: toggleDialogOpen })),
|
|
88
|
-
4: (_jsx(OnRampConversion, { fromAmount: fromAmount, toAmount: toAmount, fromTokenSelected: fromTokenSelected, toTokenSelected: toTokenSelected, toggleDialogOpen: toggleDialogOpen, handleNextStep: handleNextStep, mode: "processing", quote: quote, animationStatus: animationStatus })),
|
|
89
|
-
5: (_jsx(OnRampConversion, { fromAmount: fromAmount, toAmount: toAmount, fromTokenSelected: fromTokenSelected, toTokenSelected: toTokenSelected, toggleDialogOpen: toggleDialogOpen, handleNextStep: handleNextStep, handleCompleteTransaction: handleCompleteTransaction, mode: "done", quote: quote, animationStatus: animationStatus })),
|
|
90
|
-
};
|
|
91
|
-
return _jsx(_Fragment, { children: renderStep[step] });
|
|
92
|
-
};
|
|
93
|
-
//# sourceMappingURL=OnRamp.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OnRamp.js","sourceRoot":"","sources":["../../../../../../../../../src/react/components/Widget/components/TransactionDialog/components/OnRamp/OnRamp.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAkB,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAc/B,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EACrB,UAAU,EACV,QAAQ,EACR,YAAY,EAAE,aAAa,EAC3B,UAAU,EAAE,WAAW,EACvB,iBAAiB,EACjB,eAAe,EACf,yBAAyB,EACzB,gBAAgB,EAChB,KAAK,GACO,EAAE,EAAE;IAChB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAS,CAAC,CAAC,CAAC;IAC5C,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAAS,UAAU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