@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.
@@ -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 { type CreateActionRequest } from "@spicenet-io/spiceflow-core";
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?: Array<{
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spicenet-io/spiceflow-ui",
3
- "version": "3.3.68",
3
+ "version": "3.3.71",
4
4
  "description": "Spiceflow UI SDK",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.13",
File without changes