@spicenet-io/spiceflow-ui 3.3.11 → 3.3.14

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.
Files changed (37) hide show
  1. package/dist/Button-CpPbEdQV.js +2 -0
  2. package/dist/Button-Dvhm0yVc.js +2 -0
  3. package/dist/auth-dynamic.cjs.js +1 -1
  4. package/dist/auth-dynamic.js +1 -1
  5. package/dist/auth-privy.cjs.js +1 -1
  6. package/dist/auth-privy.js +1 -1
  7. package/dist/components/SpiceDeposit/lib/feePreview.d.ts +8 -0
  8. package/dist/components/SpiceDeposit/parts/DepositAssetChooser.d.ts +1 -0
  9. package/dist/components/SpiceDeposit/steps/ConnectWalletModal.d.ts +1 -0
  10. package/dist/components/SpiceLock/lib/executors.d.ts +2 -2
  11. package/dist/components/SpiceLock/lib/helpers.d.ts +39 -0
  12. package/dist/components/SpiceSupply/lib/feePreview.d.ts +13 -1
  13. package/dist/components/SpiceWithdraw/lib/executors.d.ts +2 -2
  14. package/dist/components/SpiceWithdraw/lib/feePreview.d.ts +8 -0
  15. package/dist/components/SpiceWithdraw/lib/helpers.d.ts +2 -0
  16. package/dist/components/ui/AmountText.d.ts +28 -0
  17. package/dist/components/ui/index.d.ts +1 -0
  18. package/dist/hooks/useSpiceExecution.d.ts +6 -0
  19. package/dist/hooks/useStatus.d.ts +1 -0
  20. package/dist/index.cjs.js +12 -12
  21. package/dist/index.d.ts +2 -2
  22. package/dist/index.js +12 -12
  23. package/dist/{providerWallet-QdrPrEd_.js → providerWallet-Q1RM8u1X.js} +1 -1
  24. package/dist/{providerWallet-BC4uEdg8.js → providerWallet-q8k_N1C_.js} +1 -1
  25. package/dist/types/assets.d.ts +1 -0
  26. package/dist/types/deposit.d.ts +4 -0
  27. package/dist/types/lock.d.ts +1 -0
  28. package/dist/types/status.d.ts +1 -0
  29. package/dist/types/supply.d.ts +2 -0
  30. package/dist/types/ui.d.ts +1 -0
  31. package/dist/types/withdraw.d.ts +7 -0
  32. package/dist/utils/formatting/index.d.ts +1 -1
  33. package/dist/utils/relayer/index.d.ts +1 -0
  34. package/dist/utils/tokenResolution.d.ts +1 -0
  35. package/package.json +2 -2
  36. package/dist/Button-CAv7hfnV.js +0 -2
  37. package/dist/Button-Cs81k5Pq.js +0 -2
package/dist/index.d.ts CHANGED
@@ -19,7 +19,7 @@ export type { SpiceDepositProps, EscrowRecovery, } from "./components/SpiceDepos
19
19
  export type { SpiceWithdrawProps } from "./components/SpiceWithdraw/SpiceWithdraw";
20
20
  export type { SpiceBalanceProps, BalanceData, TradingAccount, } from "./components/SpiceBalance";
21
21
  export type { AccountItem } from "./components/SpiceBalance/types";
22
- export type { DestinationToken, SpiceWithdrawRequest, SpiceWithdrawResponse, } from "./types/withdraw";
22
+ export type { DestinationToken, SpiceWithdrawDeliveryTransfer, SpiceWithdrawRequest, SpiceWithdrawResponse, } from "./types/withdraw";
23
23
  export type { SpiceSupplyProps, DestinationTokenConfig, BuildActionCallsContext, PayExecuteContext, } from "./types/supply";
24
24
  export type { SpiceLockModalProps, LockDurationOption, LockBatchContext, LockExecuteContext, } from "./types/lock";
25
25
  export type { SpicePayProps } from "./components/SpicePay/SpicePay";
@@ -56,7 +56,7 @@ export { DEFAULT_BRIDGE_FEE_BUFFER_BPS, DEFAULT_SQUID_INTEGRATOR_ID, buildRebala
56
56
  export type { BridgeFeeQuote, BridgeProvider, CctpTransferMode, RebalancingRequestParams, SquidQuoteParams, } from "./utils/rebalancing";
57
57
  export { getChainConfig, getChainName } from "./utils/chains";
58
58
  export { SPICE_COMBINED_FEE_RECIPIENT, SPICE_SOLVER_ADDRESS, } from "./utils/spiceConstants";
59
- export { isNativeToken, ESCROW_ADDRESS, SPICENET_NATIVE_CHAIN_ID, isSpicenetChainId, normalizeNativeTokenAddress, getChainIdsByNetwork, ZERO_ADDRESS as NATIVE_TOKEN_ADDRESS, } from "@spicenet-io/spiceflow-core";
59
+ export { isNativeToken, getEscrowContractAddress, SPICENET_NATIVE_CHAIN_ID, isSpicenetChainId, normalizeNativeTokenAddress, getChainIdsByNetwork, ZERO_ADDRESS as NATIVE_TOKEN_ADDRESS, } from "@spicenet-io/spiceflow-core";
60
60
  export type { SpiceFlowNetwork } from "./providers";
61
61
  export { resolveRoute, buildRoutedBatches, findTokenOnChain, findEquivalentOnChain, } from "./utils/crossChainRouter";
62
62
  export { areEquivalentOnChains, getAssetChainTokenCandidates, resolveAssetTokenAddressOnChain, resolveFundedToken, } from "./utils/tokenResolution";