Comparing version 1.3.4 to 1.3.5
@@ -57,11 +57,11 @@ "use strict"; | ||
zkETH: "0xB30a12919579128147bA11F99Ed4Bd31f7e535e4", | ||
zkETHRelayer: "", | ||
zkETHRelayer: "0x879643Cc03C778687760fa0Df4B474dFa54f48fc", | ||
}, | ||
137: { | ||
zkETH: "0x0e96e410e5B40c4BEF8f8dA0E053BFb8855D5A84", | ||
zkETHRelayer: "0x6d50667146Ef02cF2d55CAD78569E6DAEC14EC61", | ||
zkETH: "0xB608F08bCa4ab28612554c32A3e63764c6d760bc", | ||
zkETHRelayer: "0x13f5C5381f8A0eB6f04a8F117C3e653AD50cf447", | ||
}, | ||
17000: { | ||
zkETH: "0x5703F89b3ACC9B12AfA5473ad5C15D13E25DcA6e", | ||
zkETHRelayer: "0x6523e0F66230B46C8e40D9AB1Cd8dA61Cd8502dd", | ||
zkETHRelayer: "0xF11476722AD7dA77619FD103fCA3203b0b377c72", | ||
}, | ||
@@ -68,0 +68,0 @@ }; |
@@ -67,10 +67,11 @@ "use strict"; | ||
}; | ||
const chainIdString = chainId.toString(); | ||
if (!signer) { | ||
throw new Error("missing signer"); | ||
} | ||
if (!utils_js_1.supportedChains.includes(chainId)) { | ||
throw new Error(`not supported chain with id=${chainId}`); | ||
if (!utils_js_1.supportedChains.includes(chainIdString)) { | ||
throw new Error(`not supported chain with id=${chainIdString}`); | ||
} | ||
this.signer = signer; | ||
this.chainId = chainId; | ||
this.chainId = chainIdString; | ||
this.tokenList = (0, utils_js_1.getTokenList)(this.chainId); | ||
@@ -77,0 +78,0 @@ this.tokenListsWithMetadata = (0, utils_js_1.getTokenListWithMetadata)(this.chainId); |
{ | ||
"name": "zkt-sdk", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "zkToken | JS SDK", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74769
1767