@spicenet-io/spiceflow-ui 1.9.39 → 1.9.41

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.
@@ -6,6 +6,5 @@ export * from "./theme";
6
6
  export * from "./status";
7
7
  export type { Authorization, ChainBatch, IntentAuthorization, } from "./authorization";
8
8
  export * from "./wallet";
9
- export * from "./relayer";
10
9
  export * from "./balance";
11
10
  export * from "./unified";
@@ -1,7 +1,6 @@
1
1
  import { CreateActionRequest, CreateActionResponse, ExecuteStepRequest } from "../../types/unified";
2
2
  import { SwapStep } from "../../types/status";
3
3
  import { ChainBatch } from "../../types/authorization";
4
- import { RelayerSubmitRequest, RelayerSubmitResponse } from "@/types/relayer";
5
4
  export declare const RELAYER_API_URL: string;
6
5
  export declare class RelayerService {
7
6
  private baseUrl;
@@ -13,7 +12,7 @@ export declare class RelayerService {
13
12
  checkStepStatus(intentId: string, stepId: number): Promise<{
14
13
  success: boolean;
15
14
  data: {
16
- status: "created" | "executing" | "success" | "reverted";
15
+ status: "created" | "executing" | "success" | "reverted" | "error";
17
16
  transactionHash?: string;
18
17
  };
19
18
  }>;
@@ -40,14 +39,6 @@ export declare class RelayerService {
40
39
  amount?: string;
41
40
  errorMessage?: string;
42
41
  }>;
43
- submitTransaction(request: RelayerSubmitRequest): Promise<RelayerSubmitResponse>;
44
- checkStepStatusSubmitRoute(intentId: string, stepId: number): Promise<{
45
- success: boolean;
46
- data: {
47
- status: "created" | "executing" | "success" | "reverted";
48
- transactionHash?: string;
49
- };
50
- }>;
51
42
  }
52
43
  export declare const relayerService: RelayerService;
53
44
  export declare const createInitialSteps: (chainBatches: ChainBatch[], customGetChainName?: (chainId: number) => string) => SwapStep[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spicenet-io/spiceflow-ui",
3
- "version": "1.9.39",
3
+ "version": "1.9.41",
4
4
  "description": "Spiceflow UI SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -1,24 +0,0 @@
1
- import { Authorization, Call } from "./authorization";
2
- export interface RelayerSubmitRequest {
3
- address: string;
4
- authorization: Authorization[];
5
- intentAuthorization: {
6
- signature: string;
7
- chainBatches: Array<{
8
- hash: string;
9
- chainId: bigint;
10
- calls: Call[];
11
- recentBlock: bigint;
12
- }>;
13
- };
14
- tokenTransfers: Array<Array<{
15
- tokenAddress: string;
16
- tokenAmount: bigint;
17
- sender?: string;
18
- receiver?: string;
19
- }>>;
20
- }
21
- export interface RelayerSubmitResponse {
22
- hash: string;
23
- intentId: string;
24
- }