@noir-lang/noir_wasm 0.6.0-181813 → 0.6.0-dffa3c5

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@0181813](https://github.com/noir-lang/noir/tree/0181813203a9e3e46c6d8c3169ad5d25971d4282)
4
+ Noir lang Repository [noir-lang/noir@dffa3c5](https://github.com/noir-lang/noir/tree/dffa3c50337ec0f71a62377d985ebdc8eefe490e)
@@ -1,6 +1,14 @@
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
+ /**
4
12
  * @param {Uint8Array} bytes
5
13
  * @returns {any}
6
14
  */
@@ -11,14 +19,6 @@ export function acir_read_bytes(bytes: Uint8Array): any;
11
19
  */
12
20
  export function acir_write_bytes(acir: any): Uint8Array;
13
21
  /**
14
- * @param {string} level
15
- */
16
- export function init_log_level(level: string): void;
17
- /**
18
- * @returns {any}
19
- */
20
- export function build_info(): any;
21
- /**
22
22
  * @param {any} args
23
23
  * @returns {any}
24
24
  */
@@ -117,6 +117,22 @@ 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
+ };
120
136
 
121
137
  function passArray8ToWasm0(arg, malloc) {
122
138
  const ptr = malloc(arg.length * 1);
@@ -156,23 +172,6 @@ module.exports.acir_write_bytes = function(acir) {
156
172
  }
157
173
  };
158
174
 
159
- /**
160
- * @param {string} level
161
- */
162
- module.exports.init_log_level = function(level) {
163
- const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
164
- const len0 = WASM_VECTOR_LEN;
165
- wasm.init_log_level(ptr0, len0);
166
- };
167
-
168
- /**
169
- * @returns {any}
170
- */
171
- module.exports.build_info = function() {
172
- const ret = wasm.build_info();
173
- return takeObject(ret);
174
- };
175
-
176
175
  /**
177
176
  * @param {any} args
178
177
  * @returns {any}
Binary file
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export function acir_read_bytes(a: number, b: number): number;
5
- export function acir_write_bytes(a: number, b: number): void;
6
4
  export function init_log_level(a: number, b: number): void;
7
5
  export function build_info(): number;
6
+ export function acir_read_bytes(a: number, b: number): number;
7
+ export function acir_write_bytes(a: number, b: number): void;
8
8
  export function compile(a: number): number;
9
9
  export function __wbindgen_export_0(a: number): number;
10
10
  export function __wbindgen_export_1(a: number, b: number, c: number): number;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "collaborators": [
4
4
  "The Noir Team <team@noir-lang.org>"
5
5
  ],
6
- "version": "0.6.0-0181813",
6
+ "version": "0.6.0-dffa3c5",
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": "0181813203a9e3e46c6d8c3169ad5d25971d4282"
24
+ "versionHash": "dffa3c50337ec0f71a62377d985ebdc8eefe490e"
25
25
  }
26
26
  }
@@ -1,6 +1,14 @@
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
+ /**
4
12
  * @param {Uint8Array} bytes
5
13
  * @returns {any}
6
14
  */
@@ -11,14 +19,6 @@ export function acir_read_bytes(bytes: Uint8Array): any;
11
19
  */
12
20
  export function acir_write_bytes(acir: any): Uint8Array;
13
21
  /**
14
- * @param {string} level
15
- */
16
- export function init_log_level(level: string): void;
17
- /**
18
- * @returns {any}
19
- */
20
- export function build_info(): any;
21
- /**
22
22
  * @param {any} args
23
23
  * @returns {any}
24
24
  */
@@ -28,10 +28,10 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
28
28
 
29
29
  export interface InitOutput {
30
30
  readonly memory: WebAssembly.Memory;
31
- readonly acir_read_bytes: (a: number, b: number) => number;
32
- readonly acir_write_bytes: (a: number, b: number) => void;
33
31
  readonly init_log_level: (a: number, b: number) => void;
34
32
  readonly build_info: () => number;
33
+ readonly acir_read_bytes: (a: number, b: number) => number;
34
+ readonly acir_write_bytes: (a: number, b: number) => void;
35
35
  readonly compile: (a: number) => number;
36
36
  readonly __wbindgen_export_0: (a: number) => number;
37
37
  readonly __wbindgen_export_1: (a: number, b: number, c: number) => number;
package/web/noir_wasm.js CHANGED
@@ -115,6 +115,22 @@ 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
+ }
118
134
 
119
135
  function passArray8ToWasm0(arg, malloc) {
120
136
  const ptr = malloc(arg.length * 1);
@@ -154,23 +170,6 @@ export function acir_write_bytes(acir) {
154
170
  }
155
171
  }
156
172
 
157
- /**
158
- * @param {string} level
159
- */
160
- export function init_log_level(level) {
161
- const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
162
- const len0 = WASM_VECTOR_LEN;
163
- wasm.init_log_level(ptr0, len0);
164
- }
165
-
166
- /**
167
- * @returns {any}
168
- */
169
- export function build_info() {
170
- const ret = wasm.build_info();
171
- return takeObject(ret);
172
- }
173
-
174
173
  /**
175
174
  * @param {any} args
176
175
  * @returns {any}
Binary file
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export function acir_read_bytes(a: number, b: number): number;
5
- export function acir_write_bytes(a: number, b: number): void;
6
4
  export function init_log_level(a: number, b: number): void;
7
5
  export function build_info(): number;
6
+ export function acir_read_bytes(a: number, b: number): number;
7
+ export function acir_write_bytes(a: number, b: number): void;
8
8
  export function compile(a: number): number;
9
9
  export function __wbindgen_export_0(a: number): number;
10
10
  export function __wbindgen_export_1(a: number, b: number, c: number): number;