Comparing version 1.2.25 to 1.2.26
{ | ||
"name": "zkt-sdk", | ||
"version": "1.2.25", | ||
"version": "1.2.26", | ||
"type": "module", | ||
"description": "zkToken | JS SDK", | ||
"main": "dist/node/src/index.js", | ||
"types": "dist/node/src/index.d.ts", | ||
"exports": { | ||
@@ -23,3 +24,3 @@ ".": { | ||
"build-web": "rimraf dist/web && webpack --mode production", | ||
"build-node": "rimraf dist/node && tsc && yarn copy-assets", | ||
"build-node": "rimraf dist/node && tsc ", | ||
"pub": "npm version patch --force && npm publish" | ||
@@ -26,0 +27,0 @@ }, |
@@ -87,3 +87,3 @@ import { ethers } from "ethers"; | ||
revokeApprove = async (token: TokenName): Promise<any> => { | ||
return await this.approve(token, 0n); | ||
return await this.approve(token, BigInt(0)); | ||
}; | ||
@@ -90,0 +90,0 @@ |
{ | ||
"compilerOptions": { | ||
"declaration": true, | ||
"rootDirs": [ | ||
"src" | ||
], | ||
"outDir": "dist/node", | ||
"outDir": "dist/src/node", | ||
"lib": [ | ||
"es2020" | ||
], | ||
"target": "es2020", | ||
"module": "esnext", | ||
"strict": true, | ||
"target": "es6", | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
@@ -18,3 +20,9 @@ "esModuleInterop": true, | ||
"allowJs": true | ||
} | ||
}, | ||
"include": [ | ||
"src" | ||
], | ||
"exclude": [ | ||
"node_modules" | ||
] | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
131933
3294
1