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

circomlibjs

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

circomlibjs - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

2

main.js

@@ -15,3 +15,3 @@ export {default as buildBabyjub} from "./src/babyjub.js";

export {default as buildPoseidon} from "./src/poseidon_wasm.js";
export { buildPoseidon, buildPoseidonWasm } from "./src/poseidon_wasm.js";
import * as _poseidonContract from "./src/poseidon_gencontract.js";

@@ -18,0 +18,0 @@ export const poseidonContract=_poseidonContract;

@@ -10,3 +10,3 @@ {

},
"version": "0.1.6",
"version": "0.1.7",
"description": "Javascript library to work with circomlib",

@@ -13,0 +13,0 @@ "scripts": {

@@ -5,3 +5,3 @@ import { Scalar } from "ffjavascript";

import buildMimc7 from "./mimc7.js";
import buildPoseidon from "./poseidon_wasm.js";
import { buildPoseidon } from "./poseidon_wasm.js";
import buildMimcSponge from "./mimcsponge.js";

@@ -8,0 +8,0 @@ import createBlakeHash from "blake-hash";

@@ -6,3 +6,3 @@

export default async function buildPoseidon() {
export async function buildPoseidon() {
const bn128 = await getCurveFromName("bn128", true, buildPoseidonWasm);

@@ -57,3 +57,3 @@

function buildPoseidonWasm(module) {
export function buildPoseidonWasm(module) {

@@ -60,0 +60,0 @@ const F = new F1Field(Scalar.e("21888242871839275222246405745257275088548364400416034343698204186575808495617"));

@@ -1,2 +0,2 @@

import buildPoseidon from "./poseidon_wasm.js";
import { buildPoseidon } from "./poseidon_wasm.js";
import { getCurveFromName } from "ffjavascript";

@@ -3,0 +3,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