@spicenet-io/spiceflow-ui 3.3.85-next.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth-privy.cjs.js +1 -1
- package/dist/auth-privy.js +1 -1
- package/dist/components/ProviderLogins/index.d.ts +0 -2
- package/dist/components/SpiceLock/lib/executors.d.ts +6 -1
- package/dist/components/SpiceLock/parts/LabeledInfoRow.d.ts +5 -0
- package/dist/components/SpiceSupply/lib/buildBatches.d.ts +3 -3
- package/dist/components/SpiceSupply/lib/executors.d.ts +5 -5
- package/dist/components/SpiceSupply/lib/feePreview.d.ts +5 -5
- package/dist/components/SpiceWithdraw/lib/executors.d.ts +4 -4
- package/dist/components/SpiceWithdraw/lib/feePreview.d.ts +2 -2
- package/dist/components/index.d.ts +0 -1
- package/dist/components/ui/index.d.ts +0 -1
- package/dist/execution/batchHashes.d.ts +2 -0
- package/dist/execution/fundEmbeddedWallet.d.ts +10 -0
- package/dist/execution/intentStatus.d.ts +31 -0
- package/dist/execution/pollIntentStep.d.ts +10 -0
- package/dist/execution/runner.d.ts +7 -0
- package/dist/execution/stripFeeCalls.d.ts +3 -0
- package/dist/execution/switchChain.d.ts +5 -0
- package/dist/hooks/index.d.ts +3 -7
- package/dist/hooks/useDirectWithdraw.d.ts +2 -2
- package/dist/hooks/useSpiceExecution.d.ts +12 -7
- package/dist/hooks/useSupplyAssets.d.ts +9 -7
- package/dist/hooks/{useWallet/index.d.ts → useWallet.d.ts} +2 -2
- package/dist/index.cjs.js +12 -12
- package/dist/index.d.ts +3 -15
- package/dist/index.js +12 -12
- package/dist/privy-2vbGci0p.js +0 -0
- package/dist/privy-BdHp5Owr.js +0 -0
- package/dist/providers/SpiceFlowProvider.d.ts +5 -3
- package/dist/types/lock.d.ts +3 -9
- package/dist/types/theme.d.ts +15 -13
- package/dist/types/wallet.d.ts +0 -11
- package/dist/utils/crossChainRouter/executeSwapThenAction.d.ts +4 -4
- package/dist/{hooks/directWithdrawPlan.d.ts → utils/directWithdraw.d.ts} +4 -0
- package/dist/utils/fees.d.ts +3 -1
- package/dist/utils/providerWallet.d.ts +2 -17
- package/dist/utils/relayer/index.d.ts +1 -0
- package/dist/utils/sleep.d.ts +1 -0
- package/dist/utils/swapQuotes.d.ts +0 -1
- package/dist/utils/theme.d.ts +2 -14
- package/dist/utils/tokenMetadata.d.ts +14 -0
- package/package.json +1 -23
- package/dist/Button-BtGAHwBv.js +0 -0
- package/dist/Button-D0J3UV89.js +0 -0
- package/dist/auth-dynamic.cjs.js +0 -2
- package/dist/auth-dynamic.js +0 -2
- package/dist/components/ExportWallet/ExportWalletButton.d.ts +0 -4
- package/dist/components/ExportWallet/index.d.ts +0 -2
- package/dist/components/ProviderLogins/parts/DynamicLogin.d.ts +0 -4
- package/dist/components/SdkErrorBoundary/SdkErrorBoundary.d.ts +0 -21
- package/dist/components/SdkErrorBoundary/index.d.ts +0 -1
- package/dist/components/SpiceBalance/SpiceBalance.d.ts +0 -3
- package/dist/components/SpiceBalance/index.d.ts +0 -4
- package/dist/components/SpiceBalance/parts/AccountItem.d.ts +0 -11
- package/dist/components/SpiceBalance/parts/BalanceSection.d.ts +0 -10
- package/dist/components/SpiceBalance/types.d.ts +0 -66
- package/dist/components/SpiceLock/parts/LockExpiryRow.d.ts +0 -4
- package/dist/components/SpiceLock/parts/VotingPowerRow.d.ts +0 -4
- package/dist/components/SpicePay/SpicePay.d.ts +0 -14
- package/dist/components/SpicePay/index.d.ts +0 -1
- package/dist/components/SpiceWalletNotice/SpiceWalletNotice.d.ts +0 -35
- package/dist/components/SpiceWalletNotice/index.d.ts +0 -2
- package/dist/components/ui/Modal.d.ts +0 -3
- package/dist/execution/gasless.d.ts +0 -7
- package/dist/hooks/directWithdrawGate.d.ts +0 -4
- package/dist/hooks/useEmbeddedWalletAddress.d.ts +0 -2
- package/dist/hooks/useSpiceAction.d.ts +0 -55
- package/dist/hooks/useStatus.d.ts +0 -27
- package/dist/hooks/useWallet/useDynamicWallet.d.ts +0 -2
- package/dist/providers/dynamic.d.ts +0 -3
- package/dist/providers/whitelistGate.d.ts +0 -33
- package/dist/utils/portal/index.d.ts +0 -14
- package/dist/utils/rebalancing/index.d.ts +0 -70
- package/dist/utils/retry/index.d.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import "./globals.css";
|
|
2
2
|
export { SpiceDeposit } from "./components/SpiceDeposit";
|
|
3
3
|
export { SelectChainModal } from "./components/SpiceDeposit/steps/SelectChainModal";
|
|
4
|
-
export { SpiceBalance } from "./components/SpiceBalance";
|
|
5
4
|
export { SpiceWithdraw } from "./components/SpiceWithdraw";
|
|
6
5
|
export { SpiceLock } from "./components/SpiceLock";
|
|
7
6
|
export { SpiceLockModal } from "./components/SpiceLock";
|
|
8
|
-
export { SpicePay } from "./components/SpicePay";
|
|
9
|
-
export { ExportWalletButton } from "./components/ExportWallet";
|
|
10
7
|
export { AccountDisplay } from "./components/AccountDisplay";
|
|
11
|
-
export { SdkErrorBoundary } from "./components/SdkErrorBoundary";
|
|
12
8
|
export { SpiceSupply } from "./components/SpiceSupply";
|
|
13
|
-
export { SpiceWalletNotice } from "./components/SpiceWalletNotice";
|
|
14
|
-
export type { SpiceWalletNoticeProps, WalletNoticeContent, WalletNoticeContentContext, } from "./components/SpiceWalletNotice";
|
|
15
9
|
export { SpiceFlowProvider, SpiceFlowProviderContext } from "./providers";
|
|
16
10
|
export type { SpiceFlowProviderProps, SpiceFlowProviderContextValue, SpiceFlowWhitelistOptions, } from "./providers";
|
|
17
11
|
export { ProviderLogin } from "./components/ProviderLogins";
|
|
@@ -19,16 +13,12 @@ export type { ProviderLoginProps } from "./components/ProviderLogins";
|
|
|
19
13
|
export type { PostDepositContext } from "./types/deposit";
|
|
20
14
|
export type { SpiceDepositProps, EscrowRecovery, } from "./components/SpiceDeposit/SpiceDeposit";
|
|
21
15
|
export type { SpiceWithdrawProps } from "./components/SpiceWithdraw/SpiceWithdraw";
|
|
22
|
-
export type { SpiceBalanceProps, BalanceData, TradingAccount, } from "./components/SpiceBalance";
|
|
23
|
-
export type { AccountItem } from "./components/SpiceBalance/types";
|
|
24
16
|
export type { DestinationToken, SpiceWithdrawDeliveryTransfer, SpiceWithdrawRequest, SpiceWithdrawResponse, } from "./types/withdraw";
|
|
25
17
|
export type { SpiceSupplyProps, DestinationTokenConfig, BuildActionCallsContext, PayExecuteContext, } from "./types/supply";
|
|
26
18
|
export type { SpiceLockModalProps, LockDurationOption, LockBatchContext, LockExecuteContext, } from "./types/lock";
|
|
27
|
-
export type { SpicePayProps } from "./components/SpicePay/SpicePay";
|
|
28
|
-
export type { ExportWalletButtonProps } from "./components/ExportWallet";
|
|
29
19
|
export type { AccountDisplayProps, AccountNotice, CustomSection, CustomSectionItem, SpiceAsset, BreakdownLabel, } from "./components/AccountDisplay";
|
|
30
|
-
export { useAssetInput, useWallet, useSpiceAssets,
|
|
31
|
-
export type { UseAssetInputReturn, UseWalletReturn, WalletState, WalletActions, UseSpiceAssetsConfig, UseSpiceAssetsReturn,
|
|
20
|
+
export { useAssetInput, useWallet, useSpiceAssets, useSpiceExecution, useLockDuration, useSpicePendingDeposits, useSpiceBrand, useSmartWallet, useIsUserWhitelisted, useSupplyAssets, isSupportedSupplyAsset, useSupplyQuote, resolveInputSupplySwapQuote, } from "./hooks";
|
|
21
|
+
export type { UseAssetInputReturn, UseWalletReturn, WalletState, WalletActions, UseSpiceAssetsConfig, UseSpiceAssetsReturn, ExecutionProgress, ExecutionStep, ExecutionOptions, OnProgress, UseLockDurationReturn, VerifiedPendingDeposit, UseSpicePendingDepositsOptions, UseSpicePendingDepositsReturn, PartnerWhitelistCheckResponse, UseIsUserWhitelistedOptions, UseSupplyQuoteOpts, SupplyQuoteResult, } from "./hooks";
|
|
32
22
|
export type { SpiceTheme, ResolvedSpiceTheme, Theme, CustomStyles, TextStyle, ButtonTheme, ContainerTheme, AssetSelectorTheme, TokenDropdownTheme, StatusDisplayTheme, AddressDisplayTheme, ErrorTheme, } from "./types/theme";
|
|
33
23
|
export { resolveTheme } from "./utils/theme";
|
|
34
24
|
export { buildDarkPalette } from "./utils/theme";
|
|
@@ -60,8 +50,6 @@ export type { SpiceflowErrorCode } from "./utils/errors";
|
|
|
60
50
|
export type { WalletProvider, WalletLoginProps, ProviderConfig, } from "./types/wallet";
|
|
61
51
|
export { relayerService } from "./utils/relayer";
|
|
62
52
|
export { spicenetAbi, spicenetAbi as spicenetWithdrawalAbi, } from "@spicenet-io/spiceflow-core";
|
|
63
|
-
export { DEFAULT_BRIDGE_FEE_BUFFER_BPS, DEFAULT_SQUID_INTEGRATOR_ID, buildRebalancingMetadata, buildRebalancingBatch, quoteCctpFee, quoteSquidFee, } from "./utils/rebalancing";
|
|
64
|
-
export type { BridgeFeeQuote, BridgeProvider, CctpTransferMode, RebalancingRequestParams, SquidQuoteParams, } from "./utils/rebalancing";
|
|
65
53
|
export { getChainConfig, getChainName } from "./utils/chains";
|
|
66
54
|
export { SPICE_COMBINED_FEE_RECIPIENT, SPICE_GAS_FEE_RECIPIENT, SPICE_PLATFORM_FEE_RECIPIENT, SPICE_SOLVER_ADDRESS, } from "./utils/spiceConstants";
|
|
67
55
|
export { isNativeToken, getEscrowContractAddress, SPICENET_NATIVE_CHAIN_ID, isSpicenetChainId, normalizeNativeTokenAddress, getChainIdsByNetwork, ZERO_ADDRESS as NATIVE_TOKEN_ADDRESS, } from "@spicenet-io/spiceflow-core";
|
|
@@ -74,7 +62,7 @@ export type { TokenRef, IntentAction, BuildIntentParams, BuildIntentResult, } fr
|
|
|
74
62
|
export { createLiquidityRegistry, create1inchVenue, createSatsumaVenue, isSwapIntent, SATSUMA_CITREA_CONFIG, UNIV3_BASE_CONFIG, } from "./utils/crossChainRouter/liquidityVenues";
|
|
75
63
|
export { executeSwapThenAction, applyBuffer, } from "./utils/crossChainRouter/executeSwapThenAction";
|
|
76
64
|
export type { ResolvedSwap, LiquidityVenue, LiquidityRegistry, LiquidityRegistryConfig, OneInchVenueConfig, SatsumaVenueConfig, } from "./utils/crossChainRouter/liquidityVenues";
|
|
77
|
-
export type {
|
|
65
|
+
export type { ExecuteFn, SwapThenActionParams, } from "./utils/crossChainRouter/executeSwapThenAction";
|
|
78
66
|
export { createExactOutputRegistry } from "./utils/swapQuotes";
|
|
79
67
|
export type { ExactOutputSwapIntent, ResolvedExactOutputSwap, ExactOutputVenue, ExactOutputRegistry, } from "./utils/swapQuotes";
|
|
80
68
|
export { buildUniV3SwapCalls, applySlippage, } from "@spicenet-io/spiceflow-core";
|