@spicenet-io/spiceflow-ui 3.3.68 → 3.3.71
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-dynamic.js +1 -1
- package/dist/auth-privy.js +1 -1
- package/dist/components/SpiceLock/lib/helpers.d.ts +4 -25
- package/dist/components/SpiceSupply/lib/buildBatches.d.ts +1 -0
- package/dist/components/SpiceSupply/lib/executors.d.ts +1 -0
- package/dist/components/SpiceSupply/lib/feePreview.d.ts +1 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/useSpiceAction.d.ts +55 -0
- package/dist/index.cjs.js +8 -8
- package/dist/index.d.ts +8 -2
- package/dist/index.js +8 -8
- package/dist/types/authorization.d.ts +2 -1
- package/dist/utils/actionOutputEscrowFunding.d.ts +1 -4
- package/dist/utils/relayer/index.d.ts +2 -9
- package/package.json +1 -1
- /package/dist/{Button-YwRCg1NF.js → Button-Ck_XmbZ9.js} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Address } from "viem";
|
|
2
|
-
import type { Call, TokenTransferConfig as CoreTokenTransferConfig } from "@spicenet-io/spiceflow-core";
|
|
2
|
+
import type { Call, CreateActionRequest, TokenTransferConfig as CoreTokenTransferConfig } from "@spicenet-io/spiceflow-core";
|
|
3
3
|
export type { Call, SwapIntent, BatchEntry } from "@spicenet-io/spiceflow-core";
|
|
4
|
+
export type ChainAuthorization = NonNullable<CreateActionRequest["chainAuthorizations"]>[number];
|
|
4
5
|
export type TokenTransferConfig = Omit<CoreTokenTransferConfig, "from"> & {
|
|
5
6
|
from: CoreTokenTransferConfig["from"] | "escrow";
|
|
6
7
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { type Address } from "viem";
|
|
2
|
-
import {
|
|
3
|
-
import type { ChainBatch } from "../types/authorization";
|
|
4
|
-
type ChainAuthorization = NonNullable<CreateActionRequest["chainAuthorizations"]>[number];
|
|
2
|
+
import type { ChainAuthorization, ChainBatch } from "../types/authorization";
|
|
5
3
|
export type ActionOutputCredit = {
|
|
6
4
|
chainId: number;
|
|
7
5
|
token: Address;
|
|
@@ -34,4 +32,3 @@ export declare function resolveActionOutputEscrowFundingPlan({ chainBatches, use
|
|
|
34
32
|
grossAmount: bigint;
|
|
35
33
|
chainAuthorizations?: ChainAuthorization[];
|
|
36
34
|
}): Promise<ActionOutputEscrowFundingPlan>;
|
|
37
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CreateActionRequest, CreateActionResponse, ExecuteStepRequest, FeeEstimateSummary, CreateWalletRequest, WalletInfo, CreateWithdrawalRequest, CreateWithdrawalResponse, WithdrawalStatus, RollupTimestamp } from "@spicenet-io/spiceflow-core";
|
|
2
2
|
import { SwapStep } from "../../types/status";
|
|
3
|
-
import { ChainBatch } from "../../types/authorization";
|
|
3
|
+
import { ChainBatch, ChainAuthorization } from "../../types/authorization";
|
|
4
4
|
import type { RollupBalanceEntry } from "../rollupBalances";
|
|
5
5
|
export declare const RELAYER_API_URL: string;
|
|
6
6
|
export declare class RelayerService {
|
|
@@ -16,14 +16,7 @@ export declare class RelayerService {
|
|
|
16
16
|
chainBatches: Array<ChainBatch & {
|
|
17
17
|
hash?: `0x${string}`;
|
|
18
18
|
}>;
|
|
19
|
-
chainAuthorizations?:
|
|
20
|
-
address: string;
|
|
21
|
-
chainId: number;
|
|
22
|
-
nonce: number;
|
|
23
|
-
r: `0x${string}`;
|
|
24
|
-
s: `0x${string}`;
|
|
25
|
-
yParity?: number;
|
|
26
|
-
}>;
|
|
19
|
+
chainAuthorizations?: ChainAuthorization[];
|
|
27
20
|
}): Promise<{
|
|
28
21
|
gasFee: bigint;
|
|
29
22
|
gasQuoteSource: string;
|
package/package.json
CHANGED
|
File without changes
|