@stacks/clarinet-sdk-wasm 3.21.1 → 3.22.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.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* @ts-self-types="./clarinet_sdk.d.ts" */
2
- const { syncHttpRequest, syncSleep } = require(String.raw`./snippets/clarity-repl-bf6e36e8a1aaa79a/src/repl/remote_data/http_request/sync_http.cjs`);
2
+ const { syncHttpRequest, syncSleep } = require(String.raw`./snippets/clarity-repl-184aefc93b6ce52c/src/repl/remote_data/http_request/sync_http.cjs`);
3
3
  const { existsSync, mkdirSync, readFileSync, writeFileSync } = require(`fs`);
4
4
 
5
5
  class CallFnArgs {
@@ -1061,7 +1061,7 @@ function __wbg_get_imports() {
1061
1061
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
1062
1062
  }
1063
1063
  },
1064
- __wbg_existsSync_5a69fed6aba4e49a: function(arg0, arg1) {
1064
+ __wbg_existsSync_aa986ef9f62aabc0: function(arg0, arg1) {
1065
1065
  const ret = existsSync(getStringFromWasm0(arg0, arg1));
1066
1066
  return ret;
1067
1067
  },
@@ -1161,7 +1161,7 @@ function __wbg_get_imports() {
1161
1161
  __wbg_log_524eedafa26daa59: function(arg0) {
1162
1162
  console.log(arg0);
1163
1163
  },
1164
- __wbg_mkdirSync_a3b1399461833e3a: function(arg0, arg1, arg2) {
1164
+ __wbg_mkdirSync_f3de41b625c7ffd0: function(arg0, arg1, arg2) {
1165
1165
  mkdirSync(getStringFromWasm0(arg0, arg1), arg2);
1166
1166
  },
1167
1167
  __wbg_new_0837727332ac86ba: function() { return handleError(function () {
@@ -1211,7 +1211,7 @@ function __wbg_get_imports() {
1211
1211
  const a = state0.a;
1212
1212
  state0.a = 0;
1213
1213
  try {
1214
- return wasm_bindgen__convert__closures_____invoke__h002a313088afd9d2(a, state0.b, arg0, arg1);
1214
+ return wasm_bindgen_afcd3c79e35a9e13___convert__closures_____invoke___js_sys_746c86d86c4af9ef___Function_fn_wasm_bindgen_afcd3c79e35a9e13___JsValue_____wasm_bindgen_afcd3c79e35a9e13___sys__Undefined___js_sys_746c86d86c4af9ef___Function_fn_wasm_bindgen_afcd3c79e35a9e13___JsValue_____wasm_bindgen_afcd3c79e35a9e13___sys__Undefined_______true_(a, state0.b, arg0, arg1);
1215
1215
  } finally {
1216
1216
  state0.a = a;
1217
1217
  }
@@ -1244,7 +1244,7 @@ function __wbg_get_imports() {
1244
1244
  __wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
1245
1245
  queueMicrotask(arg0);
1246
1246
  },
1247
- __wbg_readFileSync_96e21bc4d1bcaf3e: function(arg0, arg1, arg2) {
1247
+ __wbg_readFileSync_ada2d346b2777052: function(arg0, arg1, arg2) {
1248
1248
  const ret = readFileSync(getStringFromWasm0(arg1, arg2));
1249
1249
  const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
1250
1250
  const len1 = WASM_VECTOR_LEN;
@@ -1329,11 +1329,11 @@ function __wbg_get_imports() {
1329
1329
  const ret = JSON.stringify(arg0);
1330
1330
  return ret;
1331
1331
  }, arguments); },
1332
- __wbg_syncHttpRequest_4746ee2838da131c: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1332
+ __wbg_syncHttpRequest_dcb8ea87f27ca124: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1333
1333
  const ret = syncHttpRequest(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
1334
1334
  return ret;
1335
1335
  }, arguments); },
1336
- __wbg_syncSleep_b0686bdceca103a4: function(arg0) {
1336
+ __wbg_syncSleep_79f60ed12936f776: function(arg0) {
1337
1337
  syncSleep(arg0 >>> 0);
1338
1338
  },
1339
1339
  __wbg_then_098abe61755d12f6: function(arg0, arg1) {
@@ -1355,17 +1355,17 @@ function __wbg_get_imports() {
1355
1355
  const ret = arg0.value;
1356
1356
  return ret;
1357
1357
  },
1358
- __wbg_writeFileSync_d14c5b4930433627: function(arg0, arg1, arg2, arg3) {
1358
+ __wbg_writeFileSync_d7577502e4d6e157: function(arg0, arg1, arg2, arg3) {
1359
1359
  writeFileSync(getStringFromWasm0(arg0, arg1), getArrayU8FromWasm0(arg2, arg3));
1360
1360
  },
1361
1361
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1362
- // Cast intrinsic for `Closure(Closure { dtor_idx: 370, function: Function { arguments: [], shim_idx: 371, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1363
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h24f1008371b7a634, wasm_bindgen__convert__closures_____invoke__h6af13b07a06b3d89);
1362
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 363, function: Function { arguments: [], shim_idx: 364, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1363
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_afcd3c79e35a9e13___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut_____Output_______, wasm_bindgen_afcd3c79e35a9e13___convert__closures_____invoke_______true_);
1364
1364
  return ret;
1365
1365
  },
1366
1366
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1367
- // Cast intrinsic for `Closure(Closure { dtor_idx: 572, function: Function { arguments: [Externref], shim_idx: 573, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1368
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hbd502242fe259504, wasm_bindgen__convert__closures_____invoke__h008b08bdfa17cd4b);
1367
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 577, function: Function { arguments: [Externref], shim_idx: 578, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1368
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_afcd3c79e35a9e13___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut__wasm_bindgen_afcd3c79e35a9e13___JsValue____Output___core_9b3796e30d99ddb7___result__Result_____wasm_bindgen_afcd3c79e35a9e13___JsError___, wasm_bindgen_afcd3c79e35a9e13___convert__closures_____invoke___wasm_bindgen_afcd3c79e35a9e13___JsValue__core_9b3796e30d99ddb7___result__Result_____wasm_bindgen_afcd3c79e35a9e13___JsError___true_);
1369
1369
  return ret;
1370
1370
  },
1371
1371
  __wbindgen_cast_0000000000000003: function(arg0) {
@@ -1409,19 +1409,19 @@ function __wbg_get_imports() {
1409
1409
  };
1410
1410
  }
1411
1411
 
1412
- function wasm_bindgen__convert__closures_____invoke__h6af13b07a06b3d89(arg0, arg1) {
1413
- wasm.wasm_bindgen__convert__closures_____invoke__h6af13b07a06b3d89(arg0, arg1);
1412
+ function wasm_bindgen_afcd3c79e35a9e13___convert__closures_____invoke_______true_(arg0, arg1) {
1413
+ wasm.wasm_bindgen_afcd3c79e35a9e13___convert__closures_____invoke_______true_(arg0, arg1);
1414
1414
  }
1415
1415
 
1416
- function wasm_bindgen__convert__closures_____invoke__h008b08bdfa17cd4b(arg0, arg1, arg2) {
1417
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__h008b08bdfa17cd4b(arg0, arg1, arg2);
1416
+ function wasm_bindgen_afcd3c79e35a9e13___convert__closures_____invoke___wasm_bindgen_afcd3c79e35a9e13___JsValue__core_9b3796e30d99ddb7___result__Result_____wasm_bindgen_afcd3c79e35a9e13___JsError___true_(arg0, arg1, arg2) {
1417
+ const ret = wasm.wasm_bindgen_afcd3c79e35a9e13___convert__closures_____invoke___wasm_bindgen_afcd3c79e35a9e13___JsValue__core_9b3796e30d99ddb7___result__Result_____wasm_bindgen_afcd3c79e35a9e13___JsError___true_(arg0, arg1, arg2);
1418
1418
  if (ret[1]) {
1419
1419
  throw takeFromExternrefTable0(ret[0]);
1420
1420
  }
1421
1421
  }
1422
1422
 
1423
- function wasm_bindgen__convert__closures_____invoke__h002a313088afd9d2(arg0, arg1, arg2, arg3) {
1424
- wasm.wasm_bindgen__convert__closures_____invoke__h002a313088afd9d2(arg0, arg1, arg2, arg3);
1423
+ function wasm_bindgen_afcd3c79e35a9e13___convert__closures_____invoke___js_sys_746c86d86c4af9ef___Function_fn_wasm_bindgen_afcd3c79e35a9e13___JsValue_____wasm_bindgen_afcd3c79e35a9e13___sys__Undefined___js_sys_746c86d86c4af9ef___Function_fn_wasm_bindgen_afcd3c79e35a9e13___JsValue_____wasm_bindgen_afcd3c79e35a9e13___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
1424
+ wasm.wasm_bindgen_afcd3c79e35a9e13___convert__closures_____invoke___js_sys_746c86d86c4af9ef___Function_fn_wasm_bindgen_afcd3c79e35a9e13___JsValue_____wasm_bindgen_afcd3c79e35a9e13___sys__Undefined___js_sys_746c86d86c4af9ef___Function_fn_wasm_bindgen_afcd3c79e35a9e13___JsValue_____wasm_bindgen_afcd3c79e35a9e13___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
1425
1425
  }
1426
1426
 
1427
1427
 
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacks/clarinet-sdk-wasm",
3
3
  "description": "The core lib that powers @stacks/clarinet-sdk",
4
- "version": "3.21.1",
4
+ "version": "3.22.0",
5
5
  "license": "GPL-3.0",
6
6
  "repository": {
7
7
  "type": "git",