@noir-lang/noirc_abi 0.26.0 → 0.27.0
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,17 +1,3 @@
|
|
|
1
1
|
# Noir Lang ABI JavaScript Package
|
|
2
2
|
|
|
3
3
|
This JavaScript package enables users to ABI encode inputs to a Noir program, i.e. generating an initial witness.
|
|
4
|
-
|
|
5
|
-
## Building from source
|
|
6
|
-
|
|
7
|
-
Outside of the [noir repo](https://github.com/noir-lang/noir), this package can be built using the command below:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
nix build -L github:noir-lang/noir/master#abi_wasm
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
If you are within the noir repo and would like to build local changes, you can use:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
nix build -L #abi_wasm
|
|
17
|
-
```
|
package/nodejs/noirc_abi_wasm.js
CHANGED
|
@@ -185,7 +185,7 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
|
185
185
|
takeObject(arg0);
|
|
186
186
|
};
|
|
187
187
|
|
|
188
|
-
module.exports.
|
|
188
|
+
module.exports.__wbg_constructor_311fc8beeab98bd6 = function(arg0) {
|
|
189
189
|
const ret = new Error(takeObject(arg0));
|
|
190
190
|
return addHeapObject(ret);
|
|
191
191
|
};
|
|
@@ -195,7 +195,7 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
|
195
195
|
return ret;
|
|
196
196
|
};
|
|
197
197
|
|
|
198
|
-
module.exports.
|
|
198
|
+
module.exports.__wbg_new_6699176386b67a04 = function() {
|
|
199
199
|
const ret = new Map();
|
|
200
200
|
return addHeapObject(ret);
|
|
201
201
|
};
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"contributors": [
|
|
4
4
|
"The Noir Team <team@noir-lang.org>"
|
|
5
5
|
],
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.27.0",
|
|
7
7
|
"license": "(MIT OR Apache-2.0)",
|
|
8
8
|
"homepage": "https://noir-lang.org/",
|
|
9
9
|
"repository": {
|
|
@@ -33,12 +33,10 @@
|
|
|
33
33
|
"clean": "chmod u+w web nodejs || true && rm -rf ./nodejs ./web ./target ./result",
|
|
34
34
|
"nightly:version": "jq --arg new_version \"-$(git rev-parse --short HEAD)$1\" '.version = .version + $new_version' package.json > package-tmp.json && mv package-tmp.json package.json",
|
|
35
35
|
"publish": "echo 📡 publishing `$npm_package_name` && yarn npm publish",
|
|
36
|
-
"lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0"
|
|
37
|
-
"build:nix": "nix build -L .#noirc_abi_wasm",
|
|
38
|
-
"install:from:nix": "yarn clean && yarn build:nix && cp -rL ./result/noirc_abi_wasm/nodejs ./ && cp -rL ./result/noirc_abi_wasm/web ./"
|
|
36
|
+
"lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0"
|
|
39
37
|
},
|
|
40
38
|
"dependencies": {
|
|
41
|
-
"@noir-lang/types": "0.
|
|
39
|
+
"@noir-lang/types": "0.27.0"
|
|
42
40
|
},
|
|
43
41
|
"devDependencies": {
|
|
44
42
|
"@esm-bundle/chai": "^4.3.4-fix.0",
|
package/web/noirc_abi_wasm.js
CHANGED
|
@@ -215,7 +215,7 @@ function __wbg_get_imports() {
|
|
|
215
215
|
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
216
216
|
takeObject(arg0);
|
|
217
217
|
};
|
|
218
|
-
imports.wbg.
|
|
218
|
+
imports.wbg.__wbg_constructor_311fc8beeab98bd6 = function(arg0) {
|
|
219
219
|
const ret = new Error(takeObject(arg0));
|
|
220
220
|
return addHeapObject(ret);
|
|
221
221
|
};
|
|
@@ -223,7 +223,7 @@ function __wbg_get_imports() {
|
|
|
223
223
|
const ret = getObject(arg0) === undefined;
|
|
224
224
|
return ret;
|
|
225
225
|
};
|
|
226
|
-
imports.wbg.
|
|
226
|
+
imports.wbg.__wbg_new_6699176386b67a04 = function() {
|
|
227
227
|
const ret = new Map();
|
|
228
228
|
return addHeapObject(ret);
|
|
229
229
|
};
|
|
Binary file
|