@noir-lang/noir_wasm 0.3.2-98c2cd9 → 0.3.2-a69758c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
1
  # Noir Lang WASM JavaScript Package
2
2
 
3
3
  ## Tracks
4
- Noir lang Repository [noir-lang/noir@98c2cd9](https://github.com/noir-lang/noir/tree/98c2cd957c3e60ae94936ba71ca864217001abfd)
4
+ Noir lang Repository [noir-lang/noir@a69758c](https://github.com/noir-lang/noir/tree/a69758c0dff98bb23539df9c13366ef5b23e6b0f)
@@ -1,14 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * @param {string} level
5
- */
6
- export function init_log_level(level: string): void;
7
- /**
8
- * @returns {any}
9
- */
10
- export function build_info(): any;
11
- /**
12
4
  * @param {any} args
13
5
  * @returns {any}
14
6
  */
@@ -33,3 +25,11 @@ export function acir_read_bytes(bytes: Uint8Array): any;
33
25
  * @returns {Uint8Array}
34
26
  */
35
27
  export function acir_write_bytes(acir: any): Uint8Array;
28
+ /**
29
+ * @param {string} level
30
+ */
31
+ export function init_log_level(level: string): void;
32
+ /**
33
+ * @returns {any}
34
+ */
35
+ export function build_info(): any;
@@ -117,23 +117,6 @@ function getInt32Memory0() {
117
117
  }
118
118
  return cachedInt32Memory0;
119
119
  }
120
- /**
121
- * @param {string} level
122
- */
123
- module.exports.init_log_level = function(level) {
124
- const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
125
- const len0 = WASM_VECTOR_LEN;
126
- wasm.init_log_level(ptr0, len0);
127
- };
128
-
129
- /**
130
- * @returns {any}
131
- */
132
- module.exports.build_info = function() {
133
- const ret = wasm.build_info();
134
- return takeObject(ret);
135
- };
136
-
137
120
  /**
138
121
  * @param {any} args
139
122
  * @returns {any}
@@ -210,6 +193,23 @@ module.exports.acir_write_bytes = function(acir) {
210
193
  }
211
194
  };
212
195
 
196
+ /**
197
+ * @param {string} level
198
+ */
199
+ module.exports.init_log_level = function(level) {
200
+ const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
201
+ const len0 = WASM_VECTOR_LEN;
202
+ wasm.init_log_level(ptr0, len0);
203
+ };
204
+
205
+ /**
206
+ * @returns {any}
207
+ */
208
+ module.exports.build_info = function() {
209
+ const ret = wasm.build_info();
210
+ return takeObject(ret);
211
+ };
212
+
213
213
  function handleError(f, args) {
214
214
  try {
215
215
  return f.apply(this, args);
Binary file
@@ -1,13 +1,13 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export function init_log_level(a: number, b: number): void;
5
- export function build_info(): number;
6
4
  export function compile(a: number): number;
7
5
  export function acir_from_bytes(a: number, b: number): number;
8
6
  export function acir_to_bytes(a: number, b: number): void;
9
7
  export function acir_read_bytes(a: number, b: number): number;
10
8
  export function acir_write_bytes(a: number, b: number): void;
9
+ export function init_log_level(a: number, b: number): void;
10
+ export function build_info(): number;
11
11
  export function __wbindgen_export_0(a: number): number;
12
12
  export function __wbindgen_export_1(a: number, b: number, c: number): number;
13
13
  export function __wbindgen_add_to_stack_pointer(a: number): number;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "collaborators": [
4
4
  "The Noir Team <kevtheappdev@gmail.com>"
5
5
  ],
6
- "version": "0.3.2-98c2cd9",
6
+ "version": "0.3.2-a69758c",
7
7
  "files": [
8
8
  "nodejs",
9
9
  "web",
@@ -21,6 +21,6 @@
21
21
  "url": "https://github.com/noir-lang/noir_wasm.git"
22
22
  },
23
23
  "compiler": {
24
- "versionHash": "98c2cd957c3e60ae94936ba71ca864217001abfd"
24
+ "versionHash": "a69758c0dff98bb23539df9c13366ef5b23e6b0f"
25
25
  }
26
26
  }
@@ -1,14 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * @param {string} level
5
- */
6
- export function init_log_level(level: string): void;
7
- /**
8
- * @returns {any}
9
- */
10
- export function build_info(): any;
11
- /**
12
4
  * @param {any} args
13
5
  * @returns {any}
14
6
  */
@@ -33,18 +25,26 @@ export function acir_read_bytes(bytes: Uint8Array): any;
33
25
  * @returns {Uint8Array}
34
26
  */
35
27
  export function acir_write_bytes(acir: any): Uint8Array;
28
+ /**
29
+ * @param {string} level
30
+ */
31
+ export function init_log_level(level: string): void;
32
+ /**
33
+ * @returns {any}
34
+ */
35
+ export function build_info(): any;
36
36
 
37
37
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
38
38
 
39
39
  export interface InitOutput {
40
40
  readonly memory: WebAssembly.Memory;
41
- readonly init_log_level: (a: number, b: number) => void;
42
- readonly build_info: () => number;
43
41
  readonly compile: (a: number) => number;
44
42
  readonly acir_from_bytes: (a: number, b: number) => number;
45
43
  readonly acir_to_bytes: (a: number, b: number) => void;
46
44
  readonly acir_read_bytes: (a: number, b: number) => number;
47
45
  readonly acir_write_bytes: (a: number, b: number) => void;
46
+ readonly init_log_level: (a: number, b: number) => void;
47
+ readonly build_info: () => number;
48
48
  readonly __wbindgen_export_0: (a: number) => number;
49
49
  readonly __wbindgen_export_1: (a: number, b: number, c: number) => number;
50
50
  readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
package/web/noir_wasm.js CHANGED
@@ -115,23 +115,6 @@ function getInt32Memory0() {
115
115
  }
116
116
  return cachedInt32Memory0;
117
117
  }
118
- /**
119
- * @param {string} level
120
- */
121
- export function init_log_level(level) {
122
- const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
123
- const len0 = WASM_VECTOR_LEN;
124
- wasm.init_log_level(ptr0, len0);
125
- }
126
-
127
- /**
128
- * @returns {any}
129
- */
130
- export function build_info() {
131
- const ret = wasm.build_info();
132
- return takeObject(ret);
133
- }
134
-
135
118
  /**
136
119
  * @param {any} args
137
120
  * @returns {any}
@@ -208,6 +191,23 @@ export function acir_write_bytes(acir) {
208
191
  }
209
192
  }
210
193
 
194
+ /**
195
+ * @param {string} level
196
+ */
197
+ export function init_log_level(level) {
198
+ const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
199
+ const len0 = WASM_VECTOR_LEN;
200
+ wasm.init_log_level(ptr0, len0);
201
+ }
202
+
203
+ /**
204
+ * @returns {any}
205
+ */
206
+ export function build_info() {
207
+ const ret = wasm.build_info();
208
+ return takeObject(ret);
209
+ }
210
+
211
211
  function handleError(f, args) {
212
212
  try {
213
213
  return f.apply(this, args);
Binary file
@@ -1,13 +1,13 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export function init_log_level(a: number, b: number): void;
5
- export function build_info(): number;
6
4
  export function compile(a: number): number;
7
5
  export function acir_from_bytes(a: number, b: number): number;
8
6
  export function acir_to_bytes(a: number, b: number): void;
9
7
  export function acir_read_bytes(a: number, b: number): number;
10
8
  export function acir_write_bytes(a: number, b: number): void;
9
+ export function init_log_level(a: number, b: number): void;
10
+ export function build_info(): number;
11
11
  export function __wbindgen_export_0(a: number): number;
12
12
  export function __wbindgen_export_1(a: number, b: number, c: number): number;
13
13
  export function __wbindgen_add_to_stack_pointer(a: number): number;