Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaylina committed Jan 12, 2024
1 parent b65f83e commit 1abe526
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 1,783 deletions.
4 changes: 2 additions & 2 deletions build/browser.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -18045,6 +18045,7 @@ class ModuleBuilder {
globalThis.curve_bn128 = null;

async function buildBn128(singleThread, plugins) {
if ((!singleThread) && (globalThis.curve_bn128)) return globalThis.curve_bn128;

const moduleBuilder = new ModuleBuilder();
moduleBuilder.setMemory(25);
Expand All @@ -18071,7 +18072,6 @@ async function buildBn128(singleThread, plugins) {
bn128wasm.q = moduleBuilder.modules.bn128.q;
bn128wasm.r = moduleBuilder.modules.bn128.r;

if ((!singleThread) && (globalThis.curve_bn128)) return globalThis.curve_bn128;
const params = {
name: "bn128",
wasm: bn128wasm,
Expand Down Expand Up @@ -18101,6 +18101,7 @@ async function buildBn128(singleThread, plugins) {
globalThis.curve_bls12381 = null;

async function buildBls12381(singleThread, plugins) {
if ((!singleThread) && (globalThis.curve_bls12381)) return globalThis.curve_bls12381;

const moduleBuilder = new ModuleBuilder();
moduleBuilder.setMemory(25);
Expand Down Expand Up @@ -18128,7 +18129,6 @@ async function buildBls12381(singleThread, plugins) {
bls12381wasm.r = moduleBuilder.modules.bls12381.r;


if ((!singleThread) && (globalThis.curve_bls12381)) return globalThis.curve_bls12381;
const params = {
name: "bls12381",
wasm: bls12381wasm,
Expand Down
4 changes: 2 additions & 2 deletions build/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5832,6 +5832,7 @@ async function buildEngine(params) {
globalThis.curve_bn128 = null;

async function buildBn128(singleThread, plugins) {
if ((!singleThread) && (globalThis.curve_bn128)) return globalThis.curve_bn128;

const moduleBuilder = new wasmbuilder.ModuleBuilder();
moduleBuilder.setMemory(25);
Expand All @@ -5858,7 +5859,6 @@ async function buildBn128(singleThread, plugins) {
bn128wasm.q = moduleBuilder.modules.bn128.q;
bn128wasm.r = moduleBuilder.modules.bn128.r;

if ((!singleThread) && (globalThis.curve_bn128)) return globalThis.curve_bn128;
const params = {
name: "bn128",
wasm: bn128wasm,
Expand Down Expand Up @@ -5888,6 +5888,7 @@ async function buildBn128(singleThread, plugins) {
globalThis.curve_bls12381 = null;

async function buildBls12381(singleThread, plugins) {
if ((!singleThread) && (globalThis.curve_bls12381)) return globalThis.curve_bls12381;

const moduleBuilder = new wasmbuilder.ModuleBuilder();
moduleBuilder.setMemory(25);
Expand Down Expand Up @@ -5915,7 +5916,6 @@ async function buildBls12381(singleThread, plugins) {
bls12381wasm.r = moduleBuilder.modules.bls12381.r;


if ((!singleThread) && (globalThis.curve_bls12381)) return globalThis.curve_bls12381;
const params = {
name: "bls12381",
wasm: bls12381wasm,
Expand Down
Loading

0 comments on commit 1abe526

Please sign in to comment.