New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zkt-sdk

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zkt-sdk - npm Package Compare versions

Comparing version 1.2.25 to 1.2.26

dist/src/node/assets/logos/index.d.ts

5

package.json
{
"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 @@ },

2

src/zketh/zketh.ts

@@ -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"
]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc