@noir-lang/noir_wasm 1.0.0-beta.17-13fa945.nightly → 1.0.0-beta.17-2f1315f.nightly
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/dist/node/index_bg.wasm +0 -0
- package/dist/node/main.js +114 -108
- package/dist/node/main.js.map +1 -1
- package/dist/types/build/cjs/index.d.ts +2 -2
- package/dist/types/build/esm/index.d.ts +8 -8
- package/dist/web/main.mjs +4283 -7843
- package/dist/web/main.mjs.map +1 -1
- package/package.json +8 -8
package/dist/node/index_bg.wasm
CHANGED
|
Binary file
|
package/dist/node/main.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/ "../../node_modules/@ltd/j-toml sync recursive"
|
|
4
|
+
/***/ "../../node_modules/@ltd/j-toml sync recursive"
|
|
5
5
|
/*!********************************************!*\
|
|
6
6
|
!*** ../../node_modules/@ltd/j-toml/ sync ***!
|
|
7
7
|
\********************************************/
|
|
8
|
-
|
|
8
|
+
(module) {
|
|
9
9
|
|
|
10
10
|
function webpackEmptyContext(req) {
|
|
11
11
|
var e = new Error("Cannot find module '" + req + "'");
|
|
@@ -17,13 +17,13 @@ webpackEmptyContext.resolve = webpackEmptyContext;
|
|
|
17
17
|
webpackEmptyContext.id = "../../node_modules/@ltd/j-toml sync recursive";
|
|
18
18
|
module.exports = webpackEmptyContext;
|
|
19
19
|
|
|
20
|
-
/***/ }
|
|
20
|
+
/***/ },
|
|
21
21
|
|
|
22
|
-
/***/ "../../node_modules/@ltd/j-toml/index.js"
|
|
22
|
+
/***/ "../../node_modules/@ltd/j-toml/index.js"
|
|
23
23
|
/*!***********************************************!*\
|
|
24
24
|
!*** ../../node_modules/@ltd/j-toml/index.js ***!
|
|
25
25
|
\***********************************************/
|
|
26
|
-
|
|
26
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
27
27
|
|
|
28
28
|
(function (global, factory) {
|
|
29
29
|
true ? module.exports = factory() :
|
|
@@ -3022,13 +3022,13 @@ return _export;
|
|
|
3022
3022
|
|
|
3023
3023
|
//# sourceMappingURL=index.js.map
|
|
3024
3024
|
|
|
3025
|
-
/***/ }
|
|
3025
|
+
/***/ },
|
|
3026
3026
|
|
|
3027
|
-
/***/ "../../node_modules/pako/index.js"
|
|
3027
|
+
/***/ "../../node_modules/pako/index.js"
|
|
3028
3028
|
/*!****************************************!*\
|
|
3029
3029
|
!*** ../../node_modules/pako/index.js ***!
|
|
3030
3030
|
\****************************************/
|
|
3031
|
-
|
|
3031
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
3032
3032
|
|
|
3033
3033
|
"use strict";
|
|
3034
3034
|
// Top level file is just a mixin of submodules & constants
|
|
@@ -3051,13 +3051,13 @@ module.exports.ungzip = ungzip;
|
|
|
3051
3051
|
module.exports.constants = constants;
|
|
3052
3052
|
|
|
3053
3053
|
|
|
3054
|
-
/***/ }
|
|
3054
|
+
/***/ },
|
|
3055
3055
|
|
|
3056
|
-
/***/ "../../node_modules/pako/lib/deflate.js"
|
|
3056
|
+
/***/ "../../node_modules/pako/lib/deflate.js"
|
|
3057
3057
|
/*!**********************************************!*\
|
|
3058
3058
|
!*** ../../node_modules/pako/lib/deflate.js ***!
|
|
3059
3059
|
\**********************************************/
|
|
3060
|
-
|
|
3060
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
3061
3061
|
|
|
3062
3062
|
"use strict";
|
|
3063
3063
|
|
|
@@ -3442,13 +3442,13 @@ module.exports.gzip = gzip;
|
|
|
3442
3442
|
module.exports.constants = __webpack_require__(/*! ./zlib/constants */ "../../node_modules/pako/lib/zlib/constants.js");
|
|
3443
3443
|
|
|
3444
3444
|
|
|
3445
|
-
/***/ }
|
|
3445
|
+
/***/ },
|
|
3446
3446
|
|
|
3447
|
-
/***/ "../../node_modules/pako/lib/inflate.js"
|
|
3447
|
+
/***/ "../../node_modules/pako/lib/inflate.js"
|
|
3448
3448
|
/*!**********************************************!*\
|
|
3449
3449
|
!*** ../../node_modules/pako/lib/inflate.js ***!
|
|
3450
3450
|
\**********************************************/
|
|
3451
|
-
|
|
3451
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
3452
3452
|
|
|
3453
3453
|
"use strict";
|
|
3454
3454
|
|
|
@@ -3872,13 +3872,13 @@ module.exports.ungzip = inflate;
|
|
|
3872
3872
|
module.exports.constants = __webpack_require__(/*! ./zlib/constants */ "../../node_modules/pako/lib/zlib/constants.js");
|
|
3873
3873
|
|
|
3874
3874
|
|
|
3875
|
-
/***/ }
|
|
3875
|
+
/***/ },
|
|
3876
3876
|
|
|
3877
|
-
/***/ "../../node_modules/pako/lib/utils/common.js"
|
|
3877
|
+
/***/ "../../node_modules/pako/lib/utils/common.js"
|
|
3878
3878
|
/*!***************************************************!*\
|
|
3879
3879
|
!*** ../../node_modules/pako/lib/utils/common.js ***!
|
|
3880
3880
|
\***************************************************/
|
|
3881
|
-
|
|
3881
|
+
(module) {
|
|
3882
3882
|
|
|
3883
3883
|
"use strict";
|
|
3884
3884
|
|
|
@@ -3931,13 +3931,13 @@ module.exports.flattenChunks = (chunks) => {
|
|
|
3931
3931
|
};
|
|
3932
3932
|
|
|
3933
3933
|
|
|
3934
|
-
/***/ }
|
|
3934
|
+
/***/ },
|
|
3935
3935
|
|
|
3936
|
-
/***/ "../../node_modules/pako/lib/utils/strings.js"
|
|
3936
|
+
/***/ "../../node_modules/pako/lib/utils/strings.js"
|
|
3937
3937
|
/*!****************************************************!*\
|
|
3938
3938
|
!*** ../../node_modules/pako/lib/utils/strings.js ***!
|
|
3939
3939
|
\****************************************************/
|
|
3940
|
-
|
|
3940
|
+
(module) {
|
|
3941
3941
|
|
|
3942
3942
|
"use strict";
|
|
3943
3943
|
// String encode/decode helpers
|
|
@@ -4116,13 +4116,13 @@ module.exports.utf8border = (buf, max) => {
|
|
|
4116
4116
|
};
|
|
4117
4117
|
|
|
4118
4118
|
|
|
4119
|
-
/***/ }
|
|
4119
|
+
/***/ },
|
|
4120
4120
|
|
|
4121
|
-
/***/ "../../node_modules/pako/lib/zlib/adler32.js"
|
|
4121
|
+
/***/ "../../node_modules/pako/lib/zlib/adler32.js"
|
|
4122
4122
|
/*!***************************************************!*\
|
|
4123
4123
|
!*** ../../node_modules/pako/lib/zlib/adler32.js ***!
|
|
4124
4124
|
\***************************************************/
|
|
4125
|
-
|
|
4125
|
+
(module) {
|
|
4126
4126
|
|
|
4127
4127
|
"use strict";
|
|
4128
4128
|
|
|
@@ -4178,13 +4178,13 @@ const adler32 = (adler, buf, len, pos) => {
|
|
|
4178
4178
|
module.exports = adler32;
|
|
4179
4179
|
|
|
4180
4180
|
|
|
4181
|
-
/***/ }
|
|
4181
|
+
/***/ },
|
|
4182
4182
|
|
|
4183
|
-
/***/ "../../node_modules/pako/lib/zlib/constants.js"
|
|
4183
|
+
/***/ "../../node_modules/pako/lib/zlib/constants.js"
|
|
4184
4184
|
/*!*****************************************************!*\
|
|
4185
4185
|
!*** ../../node_modules/pako/lib/zlib/constants.js ***!
|
|
4186
4186
|
\*****************************************************/
|
|
4187
|
-
|
|
4187
|
+
(module) {
|
|
4188
4188
|
|
|
4189
4189
|
"use strict";
|
|
4190
4190
|
|
|
@@ -4257,13 +4257,13 @@ module.exports = {
|
|
|
4257
4257
|
};
|
|
4258
4258
|
|
|
4259
4259
|
|
|
4260
|
-
/***/ }
|
|
4260
|
+
/***/ },
|
|
4261
4261
|
|
|
4262
|
-
/***/ "../../node_modules/pako/lib/zlib/crc32.js"
|
|
4262
|
+
/***/ "../../node_modules/pako/lib/zlib/crc32.js"
|
|
4263
4263
|
/*!*************************************************!*\
|
|
4264
4264
|
!*** ../../node_modules/pako/lib/zlib/crc32.js ***!
|
|
4265
4265
|
\*************************************************/
|
|
4266
|
-
|
|
4266
|
+
(module) {
|
|
4267
4267
|
|
|
4268
4268
|
"use strict";
|
|
4269
4269
|
|
|
@@ -4327,13 +4327,13 @@ const crc32 = (crc, buf, len, pos) => {
|
|
|
4327
4327
|
module.exports = crc32;
|
|
4328
4328
|
|
|
4329
4329
|
|
|
4330
|
-
/***/ }
|
|
4330
|
+
/***/ },
|
|
4331
4331
|
|
|
4332
|
-
/***/ "../../node_modules/pako/lib/zlib/deflate.js"
|
|
4332
|
+
/***/ "../../node_modules/pako/lib/zlib/deflate.js"
|
|
4333
4333
|
/*!***************************************************!*\
|
|
4334
4334
|
!*** ../../node_modules/pako/lib/zlib/deflate.js ***!
|
|
4335
4335
|
\***************************************************/
|
|
4336
|
-
|
|
4336
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
4337
4337
|
|
|
4338
4338
|
"use strict";
|
|
4339
4339
|
|
|
@@ -6386,13 +6386,13 @@ module.exports.deflateTune = deflateTune;
|
|
|
6386
6386
|
*/
|
|
6387
6387
|
|
|
6388
6388
|
|
|
6389
|
-
/***/ }
|
|
6389
|
+
/***/ },
|
|
6390
6390
|
|
|
6391
|
-
/***/ "../../node_modules/pako/lib/zlib/gzheader.js"
|
|
6391
|
+
/***/ "../../node_modules/pako/lib/zlib/gzheader.js"
|
|
6392
6392
|
/*!****************************************************!*\
|
|
6393
6393
|
!*** ../../node_modules/pako/lib/zlib/gzheader.js ***!
|
|
6394
6394
|
\****************************************************/
|
|
6395
|
-
|
|
6395
|
+
(module) {
|
|
6396
6396
|
|
|
6397
6397
|
"use strict";
|
|
6398
6398
|
|
|
@@ -6455,13 +6455,13 @@ function GZheader() {
|
|
|
6455
6455
|
module.exports = GZheader;
|
|
6456
6456
|
|
|
6457
6457
|
|
|
6458
|
-
/***/ }
|
|
6458
|
+
/***/ },
|
|
6459
6459
|
|
|
6460
|
-
/***/ "../../node_modules/pako/lib/zlib/inffast.js"
|
|
6460
|
+
/***/ "../../node_modules/pako/lib/zlib/inffast.js"
|
|
6461
6461
|
/*!***************************************************!*\
|
|
6462
6462
|
!*** ../../node_modules/pako/lib/zlib/inffast.js ***!
|
|
6463
6463
|
\***************************************************/
|
|
6464
|
-
|
|
6464
|
+
(module) {
|
|
6465
6465
|
|
|
6466
6466
|
"use strict";
|
|
6467
6467
|
|
|
@@ -6810,13 +6810,13 @@ module.exports = function inflate_fast(strm, start) {
|
|
|
6810
6810
|
};
|
|
6811
6811
|
|
|
6812
6812
|
|
|
6813
|
-
/***/ }
|
|
6813
|
+
/***/ },
|
|
6814
6814
|
|
|
6815
|
-
/***/ "../../node_modules/pako/lib/zlib/inflate.js"
|
|
6815
|
+
/***/ "../../node_modules/pako/lib/zlib/inflate.js"
|
|
6816
6816
|
/*!***************************************************!*\
|
|
6817
6817
|
!*** ../../node_modules/pako/lib/zlib/inflate.js ***!
|
|
6818
6818
|
\***************************************************/
|
|
6819
|
-
|
|
6819
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
6820
6820
|
|
|
6821
6821
|
"use strict";
|
|
6822
6822
|
|
|
@@ -8393,13 +8393,13 @@ module.exports.inflateValidate = inflateValidate;
|
|
|
8393
8393
|
*/
|
|
8394
8394
|
|
|
8395
8395
|
|
|
8396
|
-
/***/ }
|
|
8396
|
+
/***/ },
|
|
8397
8397
|
|
|
8398
|
-
/***/ "../../node_modules/pako/lib/zlib/inftrees.js"
|
|
8398
|
+
/***/ "../../node_modules/pako/lib/zlib/inftrees.js"
|
|
8399
8399
|
/*!****************************************************!*\
|
|
8400
8400
|
!*** ../../node_modules/pako/lib/zlib/inftrees.js ***!
|
|
8401
8401
|
\****************************************************/
|
|
8402
|
-
|
|
8402
|
+
(module) {
|
|
8403
8403
|
|
|
8404
8404
|
"use strict";
|
|
8405
8405
|
|
|
@@ -8744,13 +8744,13 @@ const inflate_table = (type, lens, lens_index, codes, table, table_index, work,
|
|
|
8744
8744
|
module.exports = inflate_table;
|
|
8745
8745
|
|
|
8746
8746
|
|
|
8747
|
-
/***/ }
|
|
8747
|
+
/***/ },
|
|
8748
8748
|
|
|
8749
|
-
/***/ "../../node_modules/pako/lib/zlib/messages.js"
|
|
8749
|
+
/***/ "../../node_modules/pako/lib/zlib/messages.js"
|
|
8750
8750
|
/*!****************************************************!*\
|
|
8751
8751
|
!*** ../../node_modules/pako/lib/zlib/messages.js ***!
|
|
8752
8752
|
\****************************************************/
|
|
8753
|
-
|
|
8753
|
+
(module) {
|
|
8754
8754
|
|
|
8755
8755
|
"use strict";
|
|
8756
8756
|
|
|
@@ -8787,13 +8787,13 @@ module.exports = {
|
|
|
8787
8787
|
};
|
|
8788
8788
|
|
|
8789
8789
|
|
|
8790
|
-
/***/ }
|
|
8790
|
+
/***/ },
|
|
8791
8791
|
|
|
8792
|
-
/***/ "../../node_modules/pako/lib/zlib/trees.js"
|
|
8792
|
+
/***/ "../../node_modules/pako/lib/zlib/trees.js"
|
|
8793
8793
|
/*!*************************************************!*\
|
|
8794
8794
|
!*** ../../node_modules/pako/lib/zlib/trees.js ***!
|
|
8795
8795
|
\*************************************************/
|
|
8796
|
-
|
|
8796
|
+
(module) {
|
|
8797
8797
|
|
|
8798
8798
|
"use strict";
|
|
8799
8799
|
|
|
@@ -9977,13 +9977,13 @@ module.exports._tr_tally = _tr_tally;
|
|
|
9977
9977
|
module.exports._tr_align = _tr_align;
|
|
9978
9978
|
|
|
9979
9979
|
|
|
9980
|
-
/***/ }
|
|
9980
|
+
/***/ },
|
|
9981
9981
|
|
|
9982
|
-
/***/ "../../node_modules/pako/lib/zlib/zstream.js"
|
|
9982
|
+
/***/ "../../node_modules/pako/lib/zlib/zstream.js"
|
|
9983
9983
|
/*!***************************************************!*\
|
|
9984
9984
|
!*** ../../node_modules/pako/lib/zlib/zstream.js ***!
|
|
9985
9985
|
\***************************************************/
|
|
9986
|
-
|
|
9986
|
+
(module) {
|
|
9987
9987
|
|
|
9988
9988
|
"use strict";
|
|
9989
9989
|
|
|
@@ -10035,13 +10035,13 @@ function ZStream() {
|
|
|
10035
10035
|
module.exports = ZStream;
|
|
10036
10036
|
|
|
10037
10037
|
|
|
10038
|
-
/***/ }
|
|
10038
|
+
/***/ },
|
|
10039
10039
|
|
|
10040
|
-
/***/ "../../node_modules/unzipit/dist/unzipit.module.js"
|
|
10040
|
+
/***/ "../../node_modules/unzipit/dist/unzipit.module.js"
|
|
10041
10041
|
/*!*********************************************************!*\
|
|
10042
10042
|
!*** ../../node_modules/unzipit/dist/unzipit.module.js ***!
|
|
10043
10043
|
\*********************************************************/
|
|
10044
|
-
|
|
10044
|
+
(module, __webpack_exports__, __webpack_require__) {
|
|
10045
10045
|
|
|
10046
10046
|
"use strict";
|
|
10047
10047
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -11243,13 +11243,13 @@ function cleanup$1() {
|
|
|
11243
11243
|
|
|
11244
11244
|
|
|
11245
11245
|
|
|
11246
|
-
/***/ }
|
|
11246
|
+
/***/ },
|
|
11247
11247
|
|
|
11248
|
-
/***/ "./build/cjs/index.js"
|
|
11248
|
+
/***/ "./build/cjs/index.js"
|
|
11249
11249
|
/*!****************************!*\
|
|
11250
11250
|
!*** ./build/cjs/index.js ***!
|
|
11251
11251
|
\****************************/
|
|
11252
|
-
|
|
11252
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
11253
11253
|
|
|
11254
11254
|
|
|
11255
11255
|
let imports = {};
|
|
@@ -11436,17 +11436,19 @@ function takeFromExternrefTable0(idx) {
|
|
|
11436
11436
|
return value;
|
|
11437
11437
|
}
|
|
11438
11438
|
/**
|
|
11439
|
+
* This is a method that exposes the same API as `compile`
|
|
11440
|
+
* But uses the Context based APi internally
|
|
11439
11441
|
* @param {string} entry_point
|
|
11440
11442
|
* @param {DependencyGraph | null | undefined} dependency_graph
|
|
11441
11443
|
* @param {PathToFileSourceMap} file_source_map
|
|
11442
11444
|
* @returns {ProgramCompileResult}
|
|
11443
11445
|
*/
|
|
11444
|
-
module.exports.
|
|
11446
|
+
module.exports.compile_program_ = function(entry_point, dependency_graph, file_source_map) {
|
|
11445
11447
|
const ptr0 = passStringToWasm0(entry_point, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
11446
11448
|
const len0 = WASM_VECTOR_LEN;
|
|
11447
11449
|
_assertClass(file_source_map, PathToFileSourceMap);
|
|
11448
11450
|
var ptr1 = file_source_map.__destroy_into_raw();
|
|
11449
|
-
const ret = wasm.
|
|
11451
|
+
const ret = wasm.compile_program_(ptr0, len0, isLikeNone(dependency_graph) ? 0 : addToExternrefTable0(dependency_graph), ptr1);
|
|
11450
11452
|
if (ret[2]) {
|
|
11451
11453
|
throw takeFromExternrefTable0(ret[1]);
|
|
11452
11454
|
}
|
|
@@ -11454,17 +11456,19 @@ module.exports.compile_program = function(entry_point, dependency_graph, file_so
|
|
|
11454
11456
|
};
|
|
11455
11457
|
|
|
11456
11458
|
/**
|
|
11459
|
+
* This is a method that exposes the same API as `compile`
|
|
11460
|
+
* But uses the Context based APi internally
|
|
11457
11461
|
* @param {string} entry_point
|
|
11458
11462
|
* @param {DependencyGraph | null | undefined} dependency_graph
|
|
11459
11463
|
* @param {PathToFileSourceMap} file_source_map
|
|
11460
11464
|
* @returns {ContractCompileResult}
|
|
11461
11465
|
*/
|
|
11462
|
-
module.exports.
|
|
11466
|
+
module.exports.compile_contract_ = function(entry_point, dependency_graph, file_source_map) {
|
|
11463
11467
|
const ptr0 = passStringToWasm0(entry_point, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
11464
11468
|
const len0 = WASM_VECTOR_LEN;
|
|
11465
11469
|
_assertClass(file_source_map, PathToFileSourceMap);
|
|
11466
11470
|
var ptr1 = file_source_map.__destroy_into_raw();
|
|
11467
|
-
const ret = wasm.
|
|
11471
|
+
const ret = wasm.compile_contract_(ptr0, len0, isLikeNone(dependency_graph) ? 0 : addToExternrefTable0(dependency_graph), ptr1);
|
|
11468
11472
|
if (ret[2]) {
|
|
11469
11473
|
throw takeFromExternrefTable0(ret[1]);
|
|
11470
11474
|
}
|
|
@@ -11472,19 +11476,17 @@ module.exports.compile_contract = function(entry_point, dependency_graph, file_s
|
|
|
11472
11476
|
};
|
|
11473
11477
|
|
|
11474
11478
|
/**
|
|
11475
|
-
* This is a method that exposes the same API as `compile`
|
|
11476
|
-
* But uses the Context based APi internally
|
|
11477
11479
|
* @param {string} entry_point
|
|
11478
11480
|
* @param {DependencyGraph | null | undefined} dependency_graph
|
|
11479
11481
|
* @param {PathToFileSourceMap} file_source_map
|
|
11480
11482
|
* @returns {ProgramCompileResult}
|
|
11481
11483
|
*/
|
|
11482
|
-
module.exports.
|
|
11484
|
+
module.exports.compile_program = function(entry_point, dependency_graph, file_source_map) {
|
|
11483
11485
|
const ptr0 = passStringToWasm0(entry_point, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
11484
11486
|
const len0 = WASM_VECTOR_LEN;
|
|
11485
11487
|
_assertClass(file_source_map, PathToFileSourceMap);
|
|
11486
11488
|
var ptr1 = file_source_map.__destroy_into_raw();
|
|
11487
|
-
const ret = wasm.
|
|
11489
|
+
const ret = wasm.compile_program(ptr0, len0, isLikeNone(dependency_graph) ? 0 : addToExternrefTable0(dependency_graph), ptr1);
|
|
11488
11490
|
if (ret[2]) {
|
|
11489
11491
|
throw takeFromExternrefTable0(ret[1]);
|
|
11490
11492
|
}
|
|
@@ -11492,19 +11494,17 @@ module.exports.compile_program_ = function(entry_point, dependency_graph, file_s
|
|
|
11492
11494
|
};
|
|
11493
11495
|
|
|
11494
11496
|
/**
|
|
11495
|
-
* This is a method that exposes the same API as `compile`
|
|
11496
|
-
* But uses the Context based APi internally
|
|
11497
11497
|
* @param {string} entry_point
|
|
11498
11498
|
* @param {DependencyGraph | null | undefined} dependency_graph
|
|
11499
11499
|
* @param {PathToFileSourceMap} file_source_map
|
|
11500
11500
|
* @returns {ContractCompileResult}
|
|
11501
11501
|
*/
|
|
11502
|
-
module.exports.
|
|
11502
|
+
module.exports.compile_contract = function(entry_point, dependency_graph, file_source_map) {
|
|
11503
11503
|
const ptr0 = passStringToWasm0(entry_point, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
11504
11504
|
const len0 = WASM_VECTOR_LEN;
|
|
11505
11505
|
_assertClass(file_source_map, PathToFileSourceMap);
|
|
11506
11506
|
var ptr1 = file_source_map.__destroy_into_raw();
|
|
11507
|
-
const ret = wasm.
|
|
11507
|
+
const ret = wasm.compile_contract(ptr0, len0, isLikeNone(dependency_graph) ? 0 : addToExternrefTable0(dependency_graph), ptr1);
|
|
11508
11508
|
if (ret[2]) {
|
|
11509
11509
|
throw takeFromExternrefTable0(ret[1]);
|
|
11510
11510
|
}
|
|
@@ -11851,13 +11851,13 @@ wasm.__wbindgen_start();
|
|
|
11851
11851
|
|
|
11852
11852
|
|
|
11853
11853
|
|
|
11854
|
-
/***/ }
|
|
11854
|
+
/***/ },
|
|
11855
11855
|
|
|
11856
|
-
/***/ "./src/noir/debug.ts"
|
|
11856
|
+
/***/ "./src/noir/debug.ts"
|
|
11857
11857
|
/*!***************************!*\
|
|
11858
11858
|
!*** ./src/noir/debug.ts ***!
|
|
11859
11859
|
\***************************/
|
|
11860
|
-
|
|
11860
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
11861
11861
|
|
|
11862
11862
|
"use strict";
|
|
11863
11863
|
|
|
@@ -11873,13 +11873,13 @@ function inflateDebugSymbols(debugSymbols) {
|
|
|
11873
11873
|
}
|
|
11874
11874
|
|
|
11875
11875
|
|
|
11876
|
-
/***/ }
|
|
11876
|
+
/***/ },
|
|
11877
11877
|
|
|
11878
|
-
/***/ "./src/noir/dependencies/dependency-manager.ts"
|
|
11878
|
+
/***/ "./src/noir/dependencies/dependency-manager.ts"
|
|
11879
11879
|
/*!*****************************************************!*\
|
|
11880
11880
|
!*** ./src/noir/dependencies/dependency-manager.ts ***!
|
|
11881
11881
|
\*****************************************************/
|
|
11882
|
-
|
|
11882
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
11883
11883
|
|
|
11884
11884
|
"use strict";
|
|
11885
11885
|
|
|
@@ -12009,13 +12009,13 @@ class DependencyManager {
|
|
|
12009
12009
|
exports.DependencyManager = DependencyManager;
|
|
12010
12010
|
|
|
12011
12011
|
|
|
12012
|
-
/***/ }
|
|
12012
|
+
/***/ },
|
|
12013
12013
|
|
|
12014
|
-
/***/ "./src/noir/dependencies/github-dependency-resolver.ts"
|
|
12014
|
+
/***/ "./src/noir/dependencies/github-dependency-resolver.ts"
|
|
12015
12015
|
/*!*************************************************************!*\
|
|
12016
12016
|
!*** ./src/noir/dependencies/github-dependency-resolver.ts ***!
|
|
12017
12017
|
\*************************************************************/
|
|
12018
|
-
|
|
12018
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
12019
12019
|
|
|
12020
12020
|
"use strict";
|
|
12021
12021
|
|
|
@@ -12150,13 +12150,13 @@ function resolveGithubCodeArchive(dependency, format) {
|
|
|
12150
12150
|
}
|
|
12151
12151
|
|
|
12152
12152
|
|
|
12153
|
-
/***/ }
|
|
12153
|
+
/***/ },
|
|
12154
12154
|
|
|
12155
|
-
/***/ "./src/noir/dependencies/local-dependency-resolver.ts"
|
|
12155
|
+
/***/ "./src/noir/dependencies/local-dependency-resolver.ts"
|
|
12156
12156
|
/*!************************************************************!*\
|
|
12157
12157
|
!*** ./src/noir/dependencies/local-dependency-resolver.ts ***!
|
|
12158
12158
|
\************************************************************/
|
|
12159
|
-
|
|
12159
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
12160
12160
|
|
|
12161
12161
|
"use strict";
|
|
12162
12162
|
|
|
@@ -12190,13 +12190,13 @@ class LocalDependencyResolver {
|
|
|
12190
12190
|
exports.LocalDependencyResolver = LocalDependencyResolver;
|
|
12191
12191
|
|
|
12192
12192
|
|
|
12193
|
-
/***/ }
|
|
12193
|
+
/***/ },
|
|
12194
12194
|
|
|
12195
|
-
/***/ "./src/noir/file-manager/file-manager.ts"
|
|
12195
|
+
/***/ "./src/noir/file-manager/file-manager.ts"
|
|
12196
12196
|
/*!***********************************************!*\
|
|
12197
12197
|
!*** ./src/noir/file-manager/file-manager.ts ***!
|
|
12198
12198
|
\***********************************************/
|
|
12199
|
-
|
|
12199
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
12200
12200
|
|
|
12201
12201
|
"use strict";
|
|
12202
12202
|
|
|
@@ -12300,13 +12300,13 @@ class FileManager {
|
|
|
12300
12300
|
exports.FileManager = FileManager;
|
|
12301
12301
|
|
|
12302
12302
|
|
|
12303
|
-
/***/ }
|
|
12303
|
+
/***/ },
|
|
12304
12304
|
|
|
12305
|
-
/***/ "./src/noir/file-manager/nodejs-file-manager.ts"
|
|
12305
|
+
/***/ "./src/noir/file-manager/nodejs-file-manager.ts"
|
|
12306
12306
|
/*!******************************************************!*\
|
|
12307
12307
|
!*** ./src/noir/file-manager/nodejs-file-manager.ts ***!
|
|
12308
12308
|
\******************************************************/
|
|
12309
|
-
|
|
12309
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
12310
12310
|
|
|
12311
12311
|
"use strict";
|
|
12312
12312
|
|
|
@@ -12357,13 +12357,13 @@ function createNodejsFileManager(dataDir) {
|
|
|
12357
12357
|
}
|
|
12358
12358
|
|
|
12359
12359
|
|
|
12360
|
-
/***/ }
|
|
12360
|
+
/***/ },
|
|
12361
12361
|
|
|
12362
|
-
/***/ "./src/noir/noir-wasm-compiler.ts"
|
|
12362
|
+
/***/ "./src/noir/noir-wasm-compiler.ts"
|
|
12363
12363
|
/*!****************************************!*\
|
|
12364
12364
|
!*** ./src/noir/noir-wasm-compiler.ts ***!
|
|
12365
12365
|
\****************************************/
|
|
12366
|
-
|
|
12366
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
12367
12367
|
|
|
12368
12368
|
"use strict";
|
|
12369
12369
|
|
|
@@ -12531,13 +12531,13 @@ class NoirWasmCompiler {
|
|
|
12531
12531
|
exports.NoirWasmCompiler = NoirWasmCompiler;
|
|
12532
12532
|
|
|
12533
12533
|
|
|
12534
|
-
/***/ }
|
|
12534
|
+
/***/ },
|
|
12535
12535
|
|
|
12536
|
-
/***/ "./src/noir/package.ts"
|
|
12536
|
+
/***/ "./src/noir/package.ts"
|
|
12537
12537
|
/*!*****************************!*\
|
|
12538
12538
|
!*** ./src/noir/package.ts ***!
|
|
12539
12539
|
\*****************************/
|
|
12540
|
-
|
|
12540
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
12541
12541
|
|
|
12542
12542
|
"use strict";
|
|
12543
12543
|
|
|
@@ -12648,13 +12648,13 @@ class Package {
|
|
|
12648
12648
|
exports.Package = Package;
|
|
12649
12649
|
|
|
12650
12650
|
|
|
12651
|
-
/***/ }
|
|
12651
|
+
/***/ },
|
|
12652
12652
|
|
|
12653
|
-
/***/ "./src/types/noir_package_config.ts"
|
|
12653
|
+
/***/ "./src/types/noir_package_config.ts"
|
|
12654
12654
|
/*!******************************************!*\
|
|
12655
12655
|
!*** ./src/types/noir_package_config.ts ***!
|
|
12656
12656
|
\******************************************/
|
|
12657
|
-
|
|
12657
|
+
(__unused_webpack_module, exports) {
|
|
12658
12658
|
|
|
12659
12659
|
"use strict";
|
|
12660
12660
|
|
|
@@ -12670,40 +12670,40 @@ function parseNoirPackageConfig(config) {
|
|
|
12670
12670
|
}
|
|
12671
12671
|
|
|
12672
12672
|
|
|
12673
|
-
/***/ }
|
|
12673
|
+
/***/ },
|
|
12674
12674
|
|
|
12675
|
-
/***/ "fs"
|
|
12675
|
+
/***/ "fs"
|
|
12676
12676
|
/*!*********************!*\
|
|
12677
12677
|
!*** external "fs" ***!
|
|
12678
12678
|
\*********************/
|
|
12679
|
-
|
|
12679
|
+
(module) {
|
|
12680
12680
|
|
|
12681
12681
|
"use strict";
|
|
12682
12682
|
module.exports = require("fs");
|
|
12683
12683
|
|
|
12684
|
-
/***/ }
|
|
12684
|
+
/***/ },
|
|
12685
12685
|
|
|
12686
|
-
/***/ "path"
|
|
12686
|
+
/***/ "path"
|
|
12687
12687
|
/*!***********************!*\
|
|
12688
12688
|
!*** external "path" ***!
|
|
12689
12689
|
\***********************/
|
|
12690
|
-
|
|
12690
|
+
(module) {
|
|
12691
12691
|
|
|
12692
12692
|
"use strict";
|
|
12693
12693
|
module.exports = require("path");
|
|
12694
12694
|
|
|
12695
|
-
/***/ }
|
|
12695
|
+
/***/ },
|
|
12696
12696
|
|
|
12697
|
-
/***/ "util"
|
|
12697
|
+
/***/ "util"
|
|
12698
12698
|
/*!***********************!*\
|
|
12699
12699
|
!*** external "util" ***!
|
|
12700
12700
|
\***********************/
|
|
12701
|
-
|
|
12701
|
+
(module) {
|
|
12702
12702
|
|
|
12703
12703
|
"use strict";
|
|
12704
12704
|
module.exports = require("util");
|
|
12705
12705
|
|
|
12706
|
-
/***/ }
|
|
12706
|
+
/***/ }
|
|
12707
12707
|
|
|
12708
12708
|
/******/ });
|
|
12709
12709
|
/************************************************************************/
|
|
@@ -12717,6 +12717,12 @@ module.exports = require("util");
|
|
|
12717
12717
|
/******/ if (cachedModule !== undefined) {
|
|
12718
12718
|
/******/ return cachedModule.exports;
|
|
12719
12719
|
/******/ }
|
|
12720
|
+
/******/ // Check if module exists (development only)
|
|
12721
|
+
/******/ if (__webpack_modules__[moduleId] === undefined) {
|
|
12722
|
+
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
|
12723
|
+
/******/ e.code = 'MODULE_NOT_FOUND';
|
|
12724
|
+
/******/ throw e;
|
|
12725
|
+
/******/ }
|
|
12720
12726
|
/******/ // Create a new module (and put it into the cache)
|
|
12721
12727
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
12722
12728
|
/******/ id: moduleId,
|