ffjavascript
Advanced tools
Comparing version 0.2.62 to 0.2.63
{ | ||
"name": "ffjavascript", | ||
"type": "module", | ||
"version": "0.2.62", | ||
"version": "0.2.63", | ||
"description": "Finite Field Library in Javascript", | ||
@@ -44,3 +44,3 @@ "main": "./build/main.cjs", | ||
"wasmcurves": "0.2.2", | ||
"web-worker": "^1.2.0" | ||
"web-worker": "1.2.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "devDependencies": { |
@@ -9,2 +9,3 @@ import { buildBls12381 as buildBls12381wasm } from "wasmcurves"; | ||
export default async function buildBls12381(singleThread, plugins) { | ||
if ((!singleThread) && (globalThis.curve_bls12381)) return globalThis.curve_bls12381; | ||
@@ -37,3 +38,2 @@ const moduleBuilder = new ModuleBuilder(); | ||
if ((!singleThread) && (globalThis.curve_bls12381)) return globalThis.curve_bls12381; | ||
const params = { | ||
@@ -40,0 +40,0 @@ name: "bls12381", |
@@ -9,2 +9,3 @@ import { buildBn128 as buildBn128wasm } from "wasmcurves"; | ||
export default async function buildBn128(singleThread, plugins) { | ||
if ((!singleThread) && (globalThis.curve_bn128)) return globalThis.curve_bn128; | ||
@@ -36,3 +37,2 @@ const moduleBuilder = new ModuleBuilder(); | ||
if ((!singleThread) && (globalThis.curve_bn128)) return globalThis.curve_bn128; | ||
const params = { | ||
@@ -39,0 +39,0 @@ name: "bn128", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
995967
+ Addedweb-worker@1.2.0(transitive)
- Removedweb-worker@1.3.0(transitive)
Updatedweb-worker@1.2.0