Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

r1csfile

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

r1csfile - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

2

package.json

@@ -8,3 +8,3 @@ {

},
"version": "0.0.18",
"version": "0.0.19",
"description": "r1cs file format parser",

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

@@ -6,3 +6,3 @@ import {getCurveFromR} from "ffjavascript";

export async function readR1csHeader(fd,sections) {
export async function readR1csHeader(fd,sections,singleThread) {

@@ -16,3 +16,3 @@

res.curve = await getCurveFromR(res.prime, true);
res.curve = await getCurveFromR(res.prime, singleThread);

@@ -30,6 +30,6 @@ res.nVars = await fd.readULE32();

export async function readR1cs(fileName, loadConstraints, loadMap, logger, loggerCtx) {
export async function readR1cs(fileName, loadConstraints, loadMap, singleThread, logger, loggerCtx) {
const {fd, sections} = await binFileUtils.readBinFile(fileName, "r1cs", 1, 1<<22, 1<<25);
const res = await readR1csHeader(fd, sections);
const res = await readR1csHeader(fd, sections, singleThread);

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc