@spicenet-io/spiceflow-ui 4.21.3 → 4.21.4-multiple-proceeds.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 +1 -0
- package/dist/auth-privy.js +1 -1
- package/dist/components/SpiceSupply/lib/actionProceeds.d.ts +3 -2
- package/dist/components/SpiceSupply/lib/executors.d.ts +2 -1
- package/dist/components/SpiceSupply/lib/feeFunding.d.ts +4 -1
- package/dist/components/SpiceSupply/lib/feePreview.d.ts +6 -1
- package/dist/hooks/useIsUserWhitelisted.d.ts +12 -12
- package/dist/hooks/useSpiceLock.d.ts +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -7
- package/dist/types/supply.d.ts +9 -3
- package/package.json +1 -1
- /package/dist/{privy-CM7w8_v6.js → privy-B1RVNGv7.js} +0 -0
package/dist/types/supply.d.ts
CHANGED
|
@@ -142,6 +142,10 @@ export interface PayExecuteContext {
|
|
|
142
142
|
resolvedTokenIn: Address;
|
|
143
143
|
exactOutputSwapAmountInMax?: bigint;
|
|
144
144
|
}
|
|
145
|
+
export interface ActionProceeds {
|
|
146
|
+
token: Address;
|
|
147
|
+
resolve: (signal?: AbortSignal) => Promise<bigint>;
|
|
148
|
+
}
|
|
145
149
|
export interface SpiceSupplyProps {
|
|
146
150
|
isOpen: boolean;
|
|
147
151
|
onClose: () => void;
|
|
@@ -162,9 +166,11 @@ export interface SpiceSupplyProps {
|
|
|
162
166
|
token: Address;
|
|
163
167
|
amount: bigint;
|
|
164
168
|
}[];
|
|
165
|
-
actionProceeds?: "output" | {
|
|
166
|
-
|
|
167
|
-
|
|
169
|
+
actionProceeds?: "output" | ActionProceeds | {
|
|
170
|
+
resolve: (signal?: AbortSignal) => Promise<{
|
|
171
|
+
token: Address;
|
|
172
|
+
amount: bigint;
|
|
173
|
+
}[]>;
|
|
168
174
|
};
|
|
169
175
|
feeFunding?: FeeFundingLevel[];
|
|
170
176
|
feeFundingReserve?: {
|
package/package.json
CHANGED
|
File without changes
|