@spicenet-io/spiceflow-ui 1.9.26 → 1.9.28
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/index.cjs.js +130 -80
- package/dist/index.js +130 -80
- package/dist/utils/relayer/index.d.ts +9 -0
- package/package.json +7 -7
|
@@ -1,6 +1,7 @@
|
|
|
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";
|
|
4
5
|
export declare const RELAYER_API_URL: string;
|
|
5
6
|
export declare class RelayerService {
|
|
6
7
|
private baseUrl;
|
|
@@ -39,6 +40,14 @@ export declare class RelayerService {
|
|
|
39
40
|
amount?: string;
|
|
40
41
|
errorMessage?: string;
|
|
41
42
|
}>;
|
|
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
|
+
}>;
|
|
42
51
|
}
|
|
43
52
|
export declare const relayerService: RelayerService;
|
|
44
53
|
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.
|
|
3
|
+
"version": "1.9.28",
|
|
4
4
|
"description": "Spiceflow UI SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -103,41 +103,41 @@
|
|
|
103
103
|
"@dynamic-labs/wallet-connector-core": "^3.9.13",
|
|
104
104
|
"@privy-io/react-auth": "^2.24.0",
|
|
105
105
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
106
|
-
"axios": "^1.11.0",
|
|
107
106
|
"@rollup/plugin-image": "^3.0.3",
|
|
108
107
|
"@rollup/plugin-json": "^6.1.0",
|
|
109
108
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
110
109
|
"@rollup/plugin-replace": "^6.0.2",
|
|
111
110
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
112
|
-
"esbuild": "^0.24.0",
|
|
113
|
-
"rollup-plugin-esbuild": "^6.1.1",
|
|
114
111
|
"@tanstack/react-query": "^5.90.5",
|
|
115
112
|
"@types/node": "^24.3.0",
|
|
116
113
|
"@types/react": "^18.3.3",
|
|
117
114
|
"@types/react-dom": "^18.3.0",
|
|
118
115
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
119
116
|
"@typescript-eslint/parser": "^6.0.0",
|
|
117
|
+
"axios": "^1.11.0",
|
|
118
|
+
"esbuild": "^0.24.0",
|
|
120
119
|
"eslint": "^8.45.0",
|
|
121
120
|
"eslint-config-prettier": "^10.1.8",
|
|
122
121
|
"eslint-plugin-react": "^7.33.0",
|
|
123
122
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
124
123
|
"husky": "^9.1.7",
|
|
125
124
|
"lint-staged": "^16.2.5",
|
|
125
|
+
"lucide-react": "^0.562.0",
|
|
126
126
|
"postcss": "^8.5.6",
|
|
127
127
|
"postcss-import": "^16.1.1",
|
|
128
128
|
"prettier": "3.6.2",
|
|
129
|
-
"jest": "^29.6.0",
|
|
130
129
|
"react": "^18.3.1",
|
|
131
130
|
"react-dom": "^18.3.1",
|
|
132
131
|
"rollup": "^4.50.0",
|
|
133
132
|
"rollup-plugin-copy": "^3.5.0",
|
|
133
|
+
"rollup-plugin-esbuild": "^6.1.1",
|
|
134
134
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
135
135
|
"rollup-plugin-postcss": "^4.0.2",
|
|
136
|
+
"spiceflow-core-test": "^0.1.0",
|
|
136
137
|
"ts-node": "^10.9.2",
|
|
137
138
|
"typescript": "^5.9.2",
|
|
138
139
|
"viem": "2.33.1",
|
|
139
|
-
"wagmi": "^2.18.2"
|
|
140
|
-
"spiceflow-core-test": "^0.1.0"
|
|
140
|
+
"wagmi": "^2.18.2"
|
|
141
141
|
},
|
|
142
142
|
"lint-staged": {
|
|
143
143
|
"*.{ts,tsx,js,jsx,json,md}": "prettier --write"
|