@spicenet-io/spiceflow-ui 3.3.66 → 3.3.67
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/hooks/useSupplyQuote.d.ts +2 -1
- package/dist/index.cjs.js +8 -8
- package/dist/index.d.ts +2 -0
- package/dist/index.js +8 -8
- package/dist/types/supply.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Address } from "viem";
|
|
2
2
|
import type { ResolvedSwap } from "../utils/crossChainRouter/liquidityVenues";
|
|
3
|
-
import { type ResolvedExactOutputSwap } from "../utils/swapQuotes";
|
|
3
|
+
import { type ExactOutputSwapIntent, type ResolvedExactOutputSwap } from "../utils/swapQuotes";
|
|
4
4
|
import type { SelectedAsset } from "../types/assets";
|
|
5
5
|
export interface UseSupplyQuoteOpts {
|
|
6
6
|
direction: "input" | "output";
|
|
@@ -14,6 +14,7 @@ export interface UseSupplyQuoteOpts {
|
|
|
14
14
|
chainId: number;
|
|
15
15
|
recipient: Address | undefined;
|
|
16
16
|
paymentAmount?: string;
|
|
17
|
+
resolveExactOutputSwap?: (intent: ExactOutputSwapIntent, chainId: number, recipient: Address) => Promise<ResolvedExactOutputSwap | null>;
|
|
17
18
|
}
|
|
18
19
|
export interface SupplyQuoteResult {
|
|
19
20
|
isQuoting: boolean;
|