@stacks/clarinet-sdk-wasm 3.19.0 → 3.20.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/clarinet_sdk.d.ts +2 -1
- package/clarinet_sdk.js +9 -6
- package/clarinet_sdk_bg.wasm +0 -0
- package/package.json +1 -1
package/clarinet_sdk.d.ts
CHANGED
package/clarinet_sdk.js
CHANGED
|
@@ -320,6 +320,9 @@ class SDK {
|
|
|
320
320
|
const ptr0 = passStringToWasm0(contract, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
321
321
|
const len0 = WASM_VECTOR_LEN;
|
|
322
322
|
const ret = wasm.sdk_getContractSource(this.__wbg_ptr, ptr0, len0);
|
|
323
|
+
if (ret[3]) {
|
|
324
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
325
|
+
}
|
|
323
326
|
let v2;
|
|
324
327
|
if (ret[0] !== 0) {
|
|
325
328
|
v2 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
@@ -1059,14 +1062,14 @@ function __wbg_get_imports() {
|
|
|
1059
1062
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1060
1063
|
}
|
|
1061
1064
|
},
|
|
1062
|
-
|
|
1065
|
+
__wbg_execSync_e2c70c9dbfcff7e6: function(arg0, arg1, arg2) {
|
|
1063
1066
|
const ret = execSync(getStringFromWasm0(arg1, arg2));
|
|
1064
1067
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
1065
1068
|
const len1 = WASM_VECTOR_LEN;
|
|
1066
1069
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1067
1070
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1068
1071
|
},
|
|
1069
|
-
|
|
1072
|
+
__wbg_existsSync_036cfc17615a0d6b: function(arg0, arg1) {
|
|
1070
1073
|
const ret = existsSync(getStringFromWasm0(arg0, arg1));
|
|
1071
1074
|
return ret;
|
|
1072
1075
|
},
|
|
@@ -1166,7 +1169,7 @@ function __wbg_get_imports() {
|
|
|
1166
1169
|
__wbg_log_524eedafa26daa59: function(arg0) {
|
|
1167
1170
|
console.log(arg0);
|
|
1168
1171
|
},
|
|
1169
|
-
|
|
1172
|
+
__wbg_mkdirSync_24eaf73f4b98bffc: function(arg0, arg1, arg2) {
|
|
1170
1173
|
mkdirSync(getStringFromWasm0(arg0, arg1), arg2);
|
|
1171
1174
|
},
|
|
1172
1175
|
__wbg_new_0837727332ac86ba: function() { return handleError(function () {
|
|
@@ -1249,7 +1252,7 @@ function __wbg_get_imports() {
|
|
|
1249
1252
|
__wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
|
|
1250
1253
|
queueMicrotask(arg0);
|
|
1251
1254
|
},
|
|
1252
|
-
|
|
1255
|
+
__wbg_readFileSync_7e86a7d642ed7aae: function(arg0, arg1, arg2) {
|
|
1253
1256
|
const ret = readFileSync(getStringFromWasm0(arg1, arg2));
|
|
1254
1257
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
1255
1258
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -1310,7 +1313,7 @@ function __wbg_get_imports() {
|
|
|
1310
1313
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1311
1314
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1312
1315
|
},
|
|
1313
|
-
|
|
1316
|
+
__wbg_static_accessor_ENV_8e51995cf06886bc: function() {
|
|
1314
1317
|
const ret = env;
|
|
1315
1318
|
return ret;
|
|
1316
1319
|
},
|
|
@@ -1357,7 +1360,7 @@ function __wbg_get_imports() {
|
|
|
1357
1360
|
const ret = arg0.value;
|
|
1358
1361
|
return ret;
|
|
1359
1362
|
},
|
|
1360
|
-
|
|
1363
|
+
__wbg_writeFileSync_42cee1c221b2718d: function(arg0, arg1, arg2, arg3) {
|
|
1361
1364
|
writeFileSync(getStringFromWasm0(arg0, arg1), getArrayU8FromWasm0(arg2, arg3));
|
|
1362
1365
|
},
|
|
1363
1366
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
package/clarinet_sdk_bg.wasm
CHANGED
|
Binary file
|