Comparing version 0.9.3 to 0.9.4
@@ -26,2 +26,4 @@ "use strict"; | ||
constructor(key) { | ||
if (key.startsWith("0x")) | ||
key = key.slice(2); | ||
const b = Buffer.from(key, "hex"); | ||
@@ -28,0 +30,0 @@ const pub = secp256k1_2.default.publicKeyCreate(b, false); |
@@ -12,2 +12,4 @@ import Secp256k1 from "../keys/secp256k1.js"; | ||
constructor(key) { | ||
if (key.startsWith("0x")) | ||
key = key.slice(2); | ||
const b = Buffer.from(key, "hex"); | ||
@@ -14,0 +16,0 @@ const pub = secp256k1.publicKeyCreate(b, false); |
@@ -26,2 +26,4 @@ "use strict"; | ||
constructor(key) { | ||
if (key.startsWith("0x")) | ||
key = key.slice(2); | ||
const b = Buffer.from(key, "hex"); | ||
@@ -28,0 +30,0 @@ const pub = secp256k1_2.default.publicKeyCreate(b, false); |
@@ -12,2 +12,4 @@ import Secp256k1 from "../keys/secp256k1.js"; | ||
constructor(key) { | ||
if (key.startsWith("0x")) | ||
key = key.slice(2); | ||
const b = Buffer.from(key, "hex"); | ||
@@ -14,0 +16,0 @@ const pub = secp256k1.publicKeyCreate(b, false); |
{ | ||
"name": "arbundles", | ||
"version": "0.9.3", | ||
"version": "0.9.4", | ||
"description": "Arweave bundling library", | ||
@@ -5,0 +5,0 @@ "author": "Josh Benaron <joshbenaron@gmail.com>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
4528238
18597