@spicenet-io/spiceflow-ui 4.0.13-next.0 → 4.0.13
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.js +1 -1
- package/dist/components/AccountDisplay/types.d.ts +0 -2
- package/dist/components/SpiceLock/index.d.ts +0 -1
- package/dist/components/SpiceSupply/lib/executors.d.ts +1 -1
- package/dist/components/SpiceWithdraw/lib/executors.d.ts +1 -1
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/useSupplyAssets.d.ts +2 -8
- package/dist/index.cjs.js +10 -10
- package/dist/index.d.ts +4 -6
- package/dist/index.js +10 -10
- package/dist/types/assets.d.ts +0 -1
- package/dist/types/deposit.d.ts +2 -0
- package/dist/types/lock.d.ts +1 -0
- package/dist/utils/crossChainRouter/liquidityVenues.d.ts +0 -5
- package/package.json +1 -1
- package/dist/hooks/useSpiceAction.d.ts +0 -48
- package/dist/utils/crossChainRouter/algebra.d.ts +0 -146
- /package/dist/{privy-D2mpwstS.js → privy-2vbGci0p.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export { SpiceDeposit } from "./components/SpiceDeposit";
|
|
|
3
3
|
export { SelectChainModal } from "./components/SpiceDeposit/steps/SelectChainModal";
|
|
4
4
|
export { SpiceWithdraw } from "./components/SpiceWithdraw";
|
|
5
5
|
export { SpiceLock } from "./components/SpiceLock";
|
|
6
|
-
export { SpiceLockModal } from "./components/SpiceLock";
|
|
7
6
|
export { AccountDisplay } from "./components/AccountDisplay";
|
|
8
7
|
export { SpiceSupply } from "./components/SpiceSupply";
|
|
9
8
|
export { SpiceFlowProvider, SpiceFlowProviderContext } from "./providers";
|
|
@@ -17,8 +16,8 @@ export type { DestinationToken, SpiceWithdrawDeliveryTransfer, SpiceWithdrawRequ
|
|
|
17
16
|
export type { SpiceSupplyProps, DestinationTokenConfig, BuildActionCallsContext, PayExecuteContext, } from "./types/supply";
|
|
18
17
|
export type { SpiceLockModalProps, LockDurationOption, LockBatchContext, LockExecuteContext, } from "./types/lock";
|
|
19
18
|
export type { AccountDisplayProps, AccountNotice, CustomSection, CustomSectionItem, SpiceAsset, BreakdownLabel, } from "./components/AccountDisplay";
|
|
20
|
-
export { useAssetInput, useWallet, useSpiceAssets, useSpiceExecution, useLockDuration, useSpicePendingDeposits, useSpiceBrand, useSmartWallet, useIsUserWhitelisted, useSupplyAssets, isSupportedSupplyAsset, useSupplyQuote, resolveInputSupplySwapQuote,
|
|
21
|
-
export type { UseAssetInputReturn, UseWalletReturn, WalletState, WalletActions, UseSpiceAssetsConfig, UseSpiceAssetsReturn, ExecutionProgress, ExecutionStep, ExecutionOptions, OnProgress, UseLockDurationReturn, VerifiedPendingDeposit, UseSpicePendingDepositsOptions, UseSpicePendingDepositsReturn, PartnerWhitelistCheckResponse, UseIsUserWhitelistedOptions, UseSupplyQuoteOpts, SupplyQuoteResult,
|
|
19
|
+
export { useAssetInput, useWallet, useSpiceAssets, useSpiceExecution, useLockDuration, useSpicePendingDeposits, useSpiceBrand, useSmartWallet, useIsUserWhitelisted, useSupplyAssets, isSupportedSupplyAsset, useSupplyQuote, resolveInputSupplySwapQuote, } from "./hooks";
|
|
20
|
+
export type { UseAssetInputReturn, UseWalletReturn, WalletState, WalletActions, UseSpiceAssetsConfig, UseSpiceAssetsReturn, ExecutionProgress, ExecutionStep, ExecutionOptions, OnProgress, UseLockDurationReturn, VerifiedPendingDeposit, UseSpicePendingDepositsOptions, UseSpicePendingDepositsReturn, PartnerWhitelistCheckResponse, UseIsUserWhitelistedOptions, UseSupplyQuoteOpts, SupplyQuoteResult, } from "./hooks";
|
|
22
21
|
export type { SpiceTheme, ResolvedSpiceTheme, Theme, CustomStyles, TextStyle, ButtonTheme, ContainerTheme, AssetSelectorTheme, TokenDropdownTheme, StatusDisplayTheme, AddressDisplayTheme, ErrorTheme, } from "./types/theme";
|
|
23
22
|
export { resolveTheme } from "./utils/theme";
|
|
24
23
|
export { buildDarkPalette } from "./utils/theme";
|
|
@@ -51,7 +50,7 @@ export type { WalletProvider, WalletLoginProps, ProviderConfig, } from "./types/
|
|
|
51
50
|
export { relayerService } from "./utils/relayer";
|
|
52
51
|
export { spicenetAbi, spicenetAbi as spicenetWithdrawalAbi, } from "@spicenet-io/spiceflow-core";
|
|
53
52
|
export { getChainConfig, getChainName } from "./utils/chains";
|
|
54
|
-
export { SPICE_COMBINED_FEE_RECIPIENT, SPICE_GAS_FEE_RECIPIENT, SPICE_PLATFORM_FEE_RECIPIENT, SPICE_SOLVER_ADDRESS,
|
|
53
|
+
export { SPICE_COMBINED_FEE_RECIPIENT, SPICE_GAS_FEE_RECIPIENT, SPICE_PLATFORM_FEE_RECIPIENT, SPICE_SOLVER_ADDRESS, } from "./utils/spiceConstants";
|
|
55
54
|
export { isNativeToken, getEscrowContractAddress, SPICENET_NATIVE_CHAIN_ID, isSpicenetChainId, normalizeNativeTokenAddress, getChainIdsByNetwork, ZERO_ADDRESS as NATIVE_TOKEN_ADDRESS, } from "@spicenet-io/spiceflow-core";
|
|
56
55
|
export type { SpiceFlowNetwork } from "./providers";
|
|
57
56
|
export { resolveRoute, buildRoutedBatches, findTokenOnChain, findEquivalentOnChain, } from "./utils/crossChainRouter";
|
|
@@ -59,8 +58,7 @@ export { areEquivalentOnChains, getAssetChainTokenCandidates, resolveAssetTokenA
|
|
|
59
58
|
export { buildIntent, resolveTokenRef, } from "./utils/crossChainRouter/buildIntent";
|
|
60
59
|
export type { ChainToken, RouteStrategy, RoutePlan, ResolveRouteParams, BuildRoutedBatchesParams, RoutedBatchesResult, } from "./utils/crossChainRouter";
|
|
61
60
|
export type { TokenRef, IntentAction, BuildIntentParams, BuildIntentResult, } from "./utils/crossChainRouter/buildIntent";
|
|
62
|
-
export { createLiquidityRegistry, create1inchVenue, createSatsumaVenue,
|
|
63
|
-
export type { AlgebraSwapConfig } from "./utils/crossChainRouter/algebra";
|
|
61
|
+
export { createLiquidityRegistry, create1inchVenue, createSatsumaVenue, isSwapIntent, SATSUMA_CITREA_CONFIG, UNIV3_BASE_CONFIG, } from "./utils/crossChainRouter/liquidityVenues";
|
|
64
62
|
export { executeSwapThenAction, applyBuffer, } from "./utils/crossChainRouter/executeSwapThenAction";
|
|
65
63
|
export type { ResolvedSwap, LiquidityVenue, LiquidityRegistry, LiquidityRegistryConfig, OneInchVenueConfig, SatsumaVenueConfig, } from "./utils/crossChainRouter/liquidityVenues";
|
|
66
64
|
export type { ExecuteFn, SwapThenActionParams, } from "./utils/crossChainRouter/executeSwapThenAction";
|