Skip to content

Commit

Permalink
rename js -> jsoo_exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometer1729 committed Sep 9, 2024
1 parent 8580e52 commit f15768d
Show file tree
Hide file tree
Showing 13 changed files with 276 additions and 276 deletions.
2 changes: 1 addition & 1 deletion compiled/node_bindings/o1js_node.bc.map

Large diffs are not rendered by default.

Binary file modified compiled/node_bindings/plonk_wasm_bg.wasm
Binary file not shown.
200 changes: 100 additions & 100 deletions compiled/web_bindings/plonk_wasm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -828,75 +828,75 @@ export function caml_pasta_fq_of_bytes(x: Uint8Array): Uint8Array;
*/
export function caml_pasta_fq_deep_copy(x: Uint8Array): Uint8Array;
/**
* @returns {WasmVestaGProjective}
* @returns {WasmPallasGProjective}
*/
export function caml_vesta_one(): WasmVestaGProjective;
export function caml_pallas_one(): WasmPallasGProjective;
/**
* @param {WasmVestaGProjective} x
* @param {WasmVestaGProjective} y
* @returns {WasmVestaGProjective}
* @param {WasmPallasGProjective} x
* @param {WasmPallasGProjective} y
* @returns {WasmPallasGProjective}
*/
export function caml_vesta_add(x: WasmVestaGProjective, y: WasmVestaGProjective): WasmVestaGProjective;
export function caml_pallas_add(x: WasmPallasGProjective, y: WasmPallasGProjective): WasmPallasGProjective;
/**
* @param {WasmVestaGProjective} x
* @param {WasmVestaGProjective} y
* @returns {WasmVestaGProjective}
* @param {WasmPallasGProjective} x
* @param {WasmPallasGProjective} y
* @returns {WasmPallasGProjective}
*/
export function caml_vesta_sub(x: WasmVestaGProjective, y: WasmVestaGProjective): WasmVestaGProjective;
export function caml_pallas_sub(x: WasmPallasGProjective, y: WasmPallasGProjective): WasmPallasGProjective;
/**
* @param {WasmVestaGProjective} x
* @returns {WasmVestaGProjective}
* @param {WasmPallasGProjective} x
* @returns {WasmPallasGProjective}
*/
export function caml_vesta_negate(x: WasmVestaGProjective): WasmVestaGProjective;
export function caml_pallas_negate(x: WasmPallasGProjective): WasmPallasGProjective;
/**
* @param {WasmVestaGProjective} x
* @returns {WasmVestaGProjective}
* @param {WasmPallasGProjective} x
* @returns {WasmPallasGProjective}
*/
export function caml_vesta_double(x: WasmVestaGProjective): WasmVestaGProjective;
export function caml_pallas_double(x: WasmPallasGProjective): WasmPallasGProjective;
/**
* @param {WasmVestaGProjective} x
* @param {WasmPallasGProjective} x
* @param {Uint8Array} y
* @returns {WasmVestaGProjective}
* @returns {WasmPallasGProjective}
*/
export function caml_vesta_scale(x: WasmVestaGProjective, y: Uint8Array): WasmVestaGProjective;
export function caml_pallas_scale(x: WasmPallasGProjective, y: Uint8Array): WasmPallasGProjective;
/**
* @returns {WasmVestaGProjective}
* @returns {WasmPallasGProjective}
*/
export function caml_vesta_random(): WasmVestaGProjective;
export function caml_pallas_random(): WasmPallasGProjective;
/**
* @param {number} i
* @returns {WasmVestaGProjective}
* @returns {WasmPallasGProjective}
*/
export function caml_vesta_rng(i: number): WasmVestaGProjective;
export function caml_pallas_rng(i: number): WasmPallasGProjective;
/**
* @returns {Uint8Array}
*/
export function caml_vesta_endo_base(): Uint8Array;
export function caml_pallas_endo_base(): Uint8Array;
/**
* @returns {Uint8Array}
*/
export function caml_vesta_endo_scalar(): Uint8Array;
export function caml_pallas_endo_scalar(): Uint8Array;
/**
* @param {WasmVestaGProjective} x
* @returns {WasmGVesta}
* @param {WasmPallasGProjective} x
* @returns {WasmGPallas}
*/
export function caml_vesta_to_affine(x: WasmVestaGProjective): WasmGVesta;
export function caml_pallas_to_affine(x: WasmPallasGProjective): WasmGPallas;
/**
* @param {WasmGVesta} x
* @returns {WasmVestaGProjective}
* @param {WasmGPallas} x
* @returns {WasmPallasGProjective}
*/
export function caml_vesta_of_affine(x: WasmGVesta): WasmVestaGProjective;
export function caml_pallas_of_affine(x: WasmGPallas): WasmPallasGProjective;
/**
* @param {Uint8Array} x
* @param {Uint8Array} y
* @returns {WasmVestaGProjective}
* @returns {WasmPallasGProjective}
*/
export function caml_vesta_of_affine_coordinates(x: Uint8Array, y: Uint8Array): WasmVestaGProjective;
export function caml_pallas_of_affine_coordinates(x: Uint8Array, y: Uint8Array): WasmPallasGProjective;
/**
* @param {WasmGVesta} x
* @returns {WasmGVesta}
* @param {WasmGPallas} x
* @returns {WasmGPallas}
*/
export function caml_vesta_affine_deep_copy(x: WasmGVesta): WasmGVesta;
export function caml_pallas_affine_deep_copy(x: WasmGPallas): WasmGPallas;
/**
* @returns {number}
*/
Expand Down Expand Up @@ -1029,75 +1029,75 @@ export function caml_pasta_fp_of_bytes(x: Uint8Array): Uint8Array;
*/
export function caml_pasta_fp_deep_copy(x: Uint8Array): Uint8Array;
/**
* @returns {WasmPallasGProjective}
* @returns {WasmVestaGProjective}
*/
export function caml_pallas_one(): WasmPallasGProjective;
export function caml_vesta_one(): WasmVestaGProjective;
/**
* @param {WasmPallasGProjective} x
* @param {WasmPallasGProjective} y
* @returns {WasmPallasGProjective}
* @param {WasmVestaGProjective} x
* @param {WasmVestaGProjective} y
* @returns {WasmVestaGProjective}
*/
export function caml_pallas_add(x: WasmPallasGProjective, y: WasmPallasGProjective): WasmPallasGProjective;
export function caml_vesta_add(x: WasmVestaGProjective, y: WasmVestaGProjective): WasmVestaGProjective;
/**
* @param {WasmPallasGProjective} x
* @param {WasmPallasGProjective} y
* @returns {WasmPallasGProjective}
* @param {WasmVestaGProjective} x
* @param {WasmVestaGProjective} y
* @returns {WasmVestaGProjective}
*/
export function caml_pallas_sub(x: WasmPallasGProjective, y: WasmPallasGProjective): WasmPallasGProjective;
export function caml_vesta_sub(x: WasmVestaGProjective, y: WasmVestaGProjective): WasmVestaGProjective;
/**
* @param {WasmPallasGProjective} x
* @returns {WasmPallasGProjective}
* @param {WasmVestaGProjective} x
* @returns {WasmVestaGProjective}
*/
export function caml_pallas_negate(x: WasmPallasGProjective): WasmPallasGProjective;
export function caml_vesta_negate(x: WasmVestaGProjective): WasmVestaGProjective;
/**
* @param {WasmPallasGProjective} x
* @returns {WasmPallasGProjective}
* @param {WasmVestaGProjective} x
* @returns {WasmVestaGProjective}
*/
export function caml_pallas_double(x: WasmPallasGProjective): WasmPallasGProjective;
export function caml_vesta_double(x: WasmVestaGProjective): WasmVestaGProjective;
/**
* @param {WasmPallasGProjective} x
* @param {WasmVestaGProjective} x
* @param {Uint8Array} y
* @returns {WasmPallasGProjective}
* @returns {WasmVestaGProjective}
*/
export function caml_pallas_scale(x: WasmPallasGProjective, y: Uint8Array): WasmPallasGProjective;
export function caml_vesta_scale(x: WasmVestaGProjective, y: Uint8Array): WasmVestaGProjective;
/**
* @returns {WasmPallasGProjective}
* @returns {WasmVestaGProjective}
*/
export function caml_pallas_random(): WasmPallasGProjective;
export function caml_vesta_random(): WasmVestaGProjective;
/**
* @param {number} i
* @returns {WasmPallasGProjective}
* @returns {WasmVestaGProjective}
*/
export function caml_pallas_rng(i: number): WasmPallasGProjective;
export function caml_vesta_rng(i: number): WasmVestaGProjective;
/**
* @returns {Uint8Array}
*/
export function caml_pallas_endo_base(): Uint8Array;
export function caml_vesta_endo_base(): Uint8Array;
/**
* @returns {Uint8Array}
*/
export function caml_pallas_endo_scalar(): Uint8Array;
export function caml_vesta_endo_scalar(): Uint8Array;
/**
* @param {WasmPallasGProjective} x
* @returns {WasmGPallas}
* @param {WasmVestaGProjective} x
* @returns {WasmGVesta}
*/
export function caml_pallas_to_affine(x: WasmPallasGProjective): WasmGPallas;
export function caml_vesta_to_affine(x: WasmVestaGProjective): WasmGVesta;
/**
* @param {WasmGPallas} x
* @returns {WasmPallasGProjective}
* @param {WasmGVesta} x
* @returns {WasmVestaGProjective}
*/
export function caml_pallas_of_affine(x: WasmGPallas): WasmPallasGProjective;
export function caml_vesta_of_affine(x: WasmGVesta): WasmVestaGProjective;
/**
* @param {Uint8Array} x
* @param {Uint8Array} y
* @returns {WasmPallasGProjective}
* @returns {WasmVestaGProjective}
*/
export function caml_pallas_of_affine_coordinates(x: Uint8Array, y: Uint8Array): WasmPallasGProjective;
export function caml_vesta_of_affine_coordinates(x: Uint8Array, y: Uint8Array): WasmVestaGProjective;
/**
* @param {WasmGPallas} x
* @returns {WasmGPallas}
* @param {WasmGVesta} x
* @returns {WasmGVesta}
*/
export function caml_pallas_affine_deep_copy(x: WasmGPallas): WasmGPallas;
export function caml_vesta_affine_deep_copy(x: WasmGVesta): WasmGVesta;
/**
* A row accessible from a given row, corresponds to the fact that we open all polynomials
* at `zeta` **and** `omega * zeta`.
Expand Down Expand Up @@ -3054,20 +3054,20 @@ export interface InitOutput {
readonly caml_pasta_fq_to_bytes: (a: number, b: number, c: number) => void;
readonly caml_pasta_fq_of_bytes: (a: number, b: number, c: number) => void;
readonly caml_pasta_fq_deep_copy: (a: number, b: number, c: number) => void;
readonly caml_vesta_one: () => number;
readonly caml_vesta_add: (a: number, b: number) => number;
readonly caml_vesta_sub: (a: number, b: number) => number;
readonly caml_vesta_negate: (a: number) => number;
readonly caml_vesta_double: (a: number) => number;
readonly caml_vesta_scale: (a: number, b: number, c: number) => number;
readonly caml_vesta_random: () => number;
readonly caml_vesta_rng: (a: number) => number;
readonly caml_vesta_endo_base: (a: number) => void;
readonly caml_vesta_endo_scalar: (a: number) => void;
readonly caml_vesta_to_affine: (a: number) => number;
readonly caml_vesta_of_affine: (a: number) => number;
readonly caml_vesta_of_affine_coordinates: (a: number, b: number, c: number, d: number) => number;
readonly caml_vesta_affine_deep_copy: (a: number) => number;
readonly caml_pallas_one: () => number;
readonly caml_pallas_add: (a: number, b: number) => number;
readonly caml_pallas_sub: (a: number, b: number) => number;
readonly caml_pallas_negate: (a: number) => number;
readonly caml_pallas_double: (a: number) => number;
readonly caml_pallas_scale: (a: number, b: number, c: number) => number;
readonly caml_pallas_random: () => number;
readonly caml_pallas_rng: (a: number) => number;
readonly caml_pallas_endo_base: (a: number) => void;
readonly caml_pallas_endo_scalar: (a: number) => void;
readonly caml_pallas_to_affine: (a: number) => number;
readonly caml_pallas_of_affine: (a: number) => number;
readonly caml_pallas_of_affine_coordinates: (a: number, b: number, c: number, d: number) => number;
readonly caml_pallas_affine_deep_copy: (a: number) => number;
readonly caml_pasta_fp_size_in_bits: () => number;
readonly caml_pasta_fp_size: (a: number) => void;
readonly caml_pasta_fp_add: (a: number, b: number, c: number, d: number, e: number) => void;
Expand All @@ -3094,20 +3094,20 @@ export interface InitOutput {
readonly caml_pasta_fp_to_bytes: (a: number, b: number, c: number) => void;
readonly caml_pasta_fp_of_bytes: (a: number, b: number, c: number) => void;
readonly caml_pasta_fp_deep_copy: (a: number, b: number, c: number) => void;
readonly caml_pallas_one: () => number;
readonly caml_pallas_add: (a: number, b: number) => number;
readonly caml_pallas_sub: (a: number, b: number) => number;
readonly caml_pallas_negate: (a: number) => number;
readonly caml_pallas_double: (a: number) => number;
readonly caml_pallas_scale: (a: number, b: number, c: number) => number;
readonly caml_pallas_random: () => number;
readonly caml_pallas_rng: (a: number) => number;
readonly caml_pallas_endo_base: (a: number) => void;
readonly caml_pallas_endo_scalar: (a: number) => void;
readonly caml_pallas_to_affine: (a: number) => number;
readonly caml_pallas_of_affine: (a: number) => number;
readonly caml_pallas_of_affine_coordinates: (a: number, b: number, c: number, d: number) => number;
readonly caml_pallas_affine_deep_copy: (a: number) => number;
readonly caml_vesta_one: () => number;
readonly caml_vesta_add: (a: number, b: number) => number;
readonly caml_vesta_sub: (a: number, b: number) => number;
readonly caml_vesta_negate: (a: number) => number;
readonly caml_vesta_double: (a: number) => number;
readonly caml_vesta_scale: (a: number, b: number, c: number) => number;
readonly caml_vesta_random: () => number;
readonly caml_vesta_rng: (a: number) => number;
readonly caml_vesta_endo_base: (a: number) => void;
readonly caml_vesta_endo_scalar: (a: number) => void;
readonly caml_vesta_to_affine: (a: number) => number;
readonly caml_vesta_of_affine: (a: number) => number;
readonly caml_vesta_of_affine_coordinates: (a: number, b: number, c: number, d: number) => number;
readonly caml_vesta_affine_deep_copy: (a: number) => number;
readonly __wbg_lookuppatterns_free: (a: number) => void;
readonly __wbg_get_lookuppatterns_xor: (a: number) => number;
readonly __wbg_set_lookuppatterns_xor: (a: number, b: number) => void;
Expand Down
Loading

0 comments on commit f15768d

Please sign in to comment.