@dzapio/sdk 2.0.13 → 2.0.14
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/types/zap/step.d.ts +8 -1
- package/package.json +2 -2
package/dist/types/zap/step.d.ts
CHANGED
|
@@ -15,7 +15,14 @@ export type ZapBvmTxnDetails = {
|
|
|
15
15
|
txnId: HexString;
|
|
16
16
|
data: string;
|
|
17
17
|
};
|
|
18
|
-
export type
|
|
18
|
+
export type SVMTxnDetails = {
|
|
19
|
+
type: typeof chainTypes.svm;
|
|
20
|
+
txnId: HexString;
|
|
21
|
+
data: string[];
|
|
22
|
+
estimatedGas: string;
|
|
23
|
+
isJitoTx?: boolean;
|
|
24
|
+
};
|
|
25
|
+
export type ZapTxnDetails = ZapEvmTxnDetails | ZapBvmTxnDetails | SVMTxnDetails;
|
|
19
26
|
export type ZapTransactionStep<T extends ZapTxnDetails = ZapTxnDetails> = {
|
|
20
27
|
action: StepAction;
|
|
21
28
|
data: T;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dzapio/sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.14",
|
|
4
4
|
"description": "A TypeScript/JavaScript SDK for interacting with the DZap protocol, providing utilities for DeFi operations including Swaps, Bridges, and Zaps.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"lint": "eslint --cache src/**/*.ts",
|
|
34
34
|
"lint:fix": "eslint --cache --fix src/**/*.ts",
|
|
35
35
|
"pretty": "prettier --write --ignore-unknown src/**/*.ts",
|
|
36
|
-
"prepush": "
|
|
36
|
+
"prepush": "npm run build",
|
|
37
37
|
"prepare": "husky install && yarn run fix-permissions",
|
|
38
38
|
"fix-permissions": "node ./scripts/fixPermissions.js"
|
|
39
39
|
},
|