Socket
Socket
Sign inDemoInstall

ffjavascript

Package Overview
Dependencies
5
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.53 to 0.2.54

2

package.json
{
"name": "ffjavascript",
"type": "module",
"version": "0.2.53",
"version": "0.2.54",
"description": "Finite Field Library in Javascript",

@@ -6,0 +6,0 @@ "main": "./build/main.cjs",

@@ -32,4 +32,4 @@ import { buildBls12381 as buildBls12381wasm } from "wasmcurves";

bls12381wasm.n8r = 32;
bls12381wasm.q = moduleBuilder.modules.bn128.q;
bls12381wasm.r = moduleBuilder.modules.bn128.r;
bls12381wasm.q = moduleBuilder.modules.bls12381.q;
bls12381wasm.r = moduleBuilder.modules.bls12381.r;

@@ -36,0 +36,0 @@

@@ -30,3 +30,3 @@ import * as Scalar from "./scalar.js";

} else {
throw new Error(`Curve not supported: ${Scalar.toString(q)}`);
throw new Error(`Curve not supported: ${Scalar.toString(q, 16)}`);
}

@@ -33,0 +33,0 @@ return curve;

@@ -19,4 +19,4 @@ import WasmField1 from "./wasm_field1.js";

curve.q = Scalar.e(params.wasm.q);
curve.r = Scalar.e(params.wasm.r);
curve.q = Scalar.e(params.wasm.q.toString());
curve.r = Scalar.e(params.wasm.r.toString());
curve.name = params.name;

@@ -23,0 +23,0 @@ curve.tm = tm;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc