@spicenet-io/spiceflow-ui 4.21.3 → 4.21.4

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.
@@ -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
- token: Address;
167
- resolve: (signal?: AbortSignal) => Promise<bigint>;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spicenet-io/spiceflow-ui",
3
- "version": "4.21.3",
3
+ "version": "4.21.4",
4
4
  "description": "Spiceflow UI SDK",
5
5
  "type": "module",
6
6
  "workspaces": [
File without changes