@kynesyslabs/demosdk 2.2.61 → 2.2.62

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.
@@ -319,7 +319,7 @@ class Demos {
319
319
  if (!raw_tx.content.to.startsWith("0x")) {
320
320
  raw_tx.content.to = "0x" + raw_tx.content.to;
321
321
  }
322
- const isHex = /^0x[0-9a-f]{66}$/i.test(raw_tx.content.to);
322
+ const isHex = /^0x[0-9a-f]{64}$/i.test(raw_tx.content.to);
323
323
  if (!isHex) {
324
324
  throw new Error(`Invalid To address: ${raw_tx.content.to}`);
325
325
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kynesyslabs/demosdk",
3
- "version": "2.2.61",
3
+ "version": "2.2.62",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "author": "Kynesys Labs",