circomlibjs
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -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
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
8092425
89574