tiny-secp256k1
Advanced tools
Comparing version 2.1.0 to 2.1.1
import { readFileSync } from "fs"; | ||
import { URL } from "url"; | ||
import { path } from "./wasm_path.js"; | ||
import * as rand from "./rand.js"; | ||
import * as validate_error from "./validate_error.js"; | ||
const { pathname } = new URL("secp256k1.wasm", import.meta.url); | ||
const binary = readFileSync(pathname); | ||
const binary = readFileSync(path("secp256k1.wasm")); | ||
const imports = { | ||
@@ -8,0 +7,0 @@ "./rand.js": rand, |
{ | ||
"name": "tiny-secp256k1", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "A tiny secp256k1 JS", | ||
@@ -15,3 +15,13 @@ "homepage": "https://github.com/bitcoinjs/tiny-secp256k1#readme", | ||
"type": "module", | ||
"main": "./lib/index.js", | ||
"exports": { | ||
".": { | ||
"node": { | ||
"module": "./lib/index.js", | ||
"require": "./lib/cjs/index.cjs", | ||
"import": "./lib/index.js" | ||
}, | ||
"browser": "./lib/index.js", | ||
"default": "./lib/index.js" | ||
} | ||
}, | ||
"browser": { | ||
@@ -18,0 +28,0 @@ "./lib/rand.js": "./lib/rand.browser.js", |
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
215247
28
1089
2
0