@stacks/clarinet-sdk-wasm 3.17.0 → 3.19.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 +3 -2
- package/clarinet_sdk.js +21 -61
- package/clarinet_sdk_bg.wasm +0 -0
- package/package.json +1 -1
package/clarinet_sdk.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export type ClarityVersionString = "Clarity1" | "Clarity2" | "Clarity3"| "Clarity4" | "Clarity5";
|
|
3
|
+
export type ClarityVersionString = "Clarity1" | "Clarity2" | "Clarity3"| "Clarity4" | "Clarity5" | "Clarity6";
|
|
4
4
|
|
|
5
5
|
export type EpochString =
|
|
6
6
|
| "2.0"
|
|
@@ -40,7 +40,8 @@ export type StacksEpochId =
|
|
|
40
40
|
| "Epoch31"
|
|
41
41
|
| "Epoch32"
|
|
42
42
|
| "Epoch33"
|
|
43
|
-
| "Epoch34"
|
|
43
|
+
| "Epoch34"
|
|
44
|
+
| "Epoch40";
|
|
44
45
|
|
|
45
46
|
type Atom = {
|
|
46
47
|
Atom: String;
|
package/clarinet_sdk.js
CHANGED
|
@@ -1037,10 +1037,6 @@ function __wbg_get_imports() {
|
|
|
1037
1037
|
const ret = clearTimeout(arg0);
|
|
1038
1038
|
return ret;
|
|
1039
1039
|
},
|
|
1040
|
-
__wbg_crypto_38df2bab126b63dc: function(arg0) {
|
|
1041
|
-
const ret = arg0.crypto;
|
|
1042
|
-
return ret;
|
|
1043
|
-
},
|
|
1044
1040
|
__wbg_done_08ce71ee07e3bd17: function(arg0) {
|
|
1045
1041
|
const ret = arg0.done;
|
|
1046
1042
|
return ret;
|
|
@@ -1063,14 +1059,14 @@ function __wbg_get_imports() {
|
|
|
1063
1059
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1064
1060
|
}
|
|
1065
1061
|
},
|
|
1066
|
-
|
|
1062
|
+
__wbg_execSync_0d4ed7d269f65ed7: function(arg0, arg1, arg2) {
|
|
1067
1063
|
const ret = execSync(getStringFromWasm0(arg1, arg2));
|
|
1068
1064
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
1069
1065
|
const len1 = WASM_VECTOR_LEN;
|
|
1070
1066
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1071
1067
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1072
1068
|
},
|
|
1073
|
-
|
|
1069
|
+
__wbg_existsSync_1d441dd1bfae15ff: function(arg0, arg1) {
|
|
1074
1070
|
const ret = existsSync(getStringFromWasm0(arg0, arg1));
|
|
1075
1071
|
return ret;
|
|
1076
1072
|
},
|
|
@@ -1082,8 +1078,8 @@ function __wbg_get_imports() {
|
|
|
1082
1078
|
const ret = fetch(arg0);
|
|
1083
1079
|
return ret;
|
|
1084
1080
|
},
|
|
1085
|
-
|
|
1086
|
-
|
|
1081
|
+
__wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
|
|
1082
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1087
1083
|
}, arguments); },
|
|
1088
1084
|
__wbg_getTime_1dad7b5386ddd2d9: function(arg0) {
|
|
1089
1085
|
const ret = arg0.getTime();
|
|
@@ -1170,13 +1166,9 @@ function __wbg_get_imports() {
|
|
|
1170
1166
|
__wbg_log_524eedafa26daa59: function(arg0) {
|
|
1171
1167
|
console.log(arg0);
|
|
1172
1168
|
},
|
|
1173
|
-
|
|
1169
|
+
__wbg_mkdirSync_28cf4eada9653cc9: function(arg0, arg1, arg2) {
|
|
1174
1170
|
mkdirSync(getStringFromWasm0(arg0, arg1), arg2);
|
|
1175
1171
|
},
|
|
1176
|
-
__wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
|
|
1177
|
-
const ret = arg0.msCrypto;
|
|
1178
|
-
return ret;
|
|
1179
|
-
},
|
|
1180
1172
|
__wbg_new_0837727332ac86ba: function() { return handleError(function () {
|
|
1181
1173
|
const ret = new Headers();
|
|
1182
1174
|
return ret;
|
|
@@ -1224,7 +1216,7 @@ function __wbg_get_imports() {
|
|
|
1224
1216
|
const a = state0.a;
|
|
1225
1217
|
state0.a = 0;
|
|
1226
1218
|
try {
|
|
1227
|
-
return
|
|
1219
|
+
return wasm_bindgen__convert__closures_____invoke__h7b5eed4538ab5ee4(a, state0.b, arg0, arg1);
|
|
1228
1220
|
} finally {
|
|
1229
1221
|
state0.a = a;
|
|
1230
1222
|
}
|
|
@@ -1235,10 +1227,6 @@ function __wbg_get_imports() {
|
|
|
1235
1227
|
state0.a = state0.b = 0;
|
|
1236
1228
|
}
|
|
1237
1229
|
},
|
|
1238
|
-
__wbg_new_with_length_825018a1616e9e55: function(arg0) {
|
|
1239
|
-
const ret = new Uint8Array(arg0 >>> 0);
|
|
1240
|
-
return ret;
|
|
1241
|
-
},
|
|
1242
1230
|
__wbg_new_with_str_and_init_b4b54d1a819bc724: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1243
1231
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1244
1232
|
return ret;
|
|
@@ -1251,14 +1239,6 @@ function __wbg_get_imports() {
|
|
|
1251
1239
|
const ret = arg0.next;
|
|
1252
1240
|
return ret;
|
|
1253
1241
|
},
|
|
1254
|
-
__wbg_node_84ea875411254db1: function(arg0) {
|
|
1255
|
-
const ret = arg0.node;
|
|
1256
|
-
return ret;
|
|
1257
|
-
},
|
|
1258
|
-
__wbg_process_44c7a14e11e9f69e: function(arg0) {
|
|
1259
|
-
const ret = arg0.process;
|
|
1260
|
-
return ret;
|
|
1261
|
-
},
|
|
1262
1242
|
__wbg_prototypesetcall_d62e5099504357e6: function(arg0, arg1, arg2) {
|
|
1263
1243
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1264
1244
|
},
|
|
@@ -1269,20 +1249,13 @@ function __wbg_get_imports() {
|
|
|
1269
1249
|
__wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
|
|
1270
1250
|
queueMicrotask(arg0);
|
|
1271
1251
|
},
|
|
1272
|
-
|
|
1273
|
-
arg0.randomFillSync(arg1);
|
|
1274
|
-
}, arguments); },
|
|
1275
|
-
__wbg_readFileSync_e652a3af08bc53dd: function(arg0, arg1, arg2) {
|
|
1252
|
+
__wbg_readFileSync_a5d0b4f32c113cb8: function(arg0, arg1, arg2) {
|
|
1276
1253
|
const ret = readFileSync(getStringFromWasm0(arg1, arg2));
|
|
1277
1254
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
1278
1255
|
const len1 = WASM_VECTOR_LEN;
|
|
1279
1256
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1280
1257
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1281
1258
|
},
|
|
1282
|
-
__wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
|
|
1283
|
-
const ret = module.require;
|
|
1284
|
-
return ret;
|
|
1285
|
-
}, arguments); },
|
|
1286
1259
|
__wbg_resolve_ae8d83246e5bcc12: function(arg0) {
|
|
1287
1260
|
const ret = Promise.resolve(arg0);
|
|
1288
1261
|
return ret;
|
|
@@ -1337,7 +1310,7 @@ function __wbg_get_imports() {
|
|
|
1337
1310
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1338
1311
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1339
1312
|
},
|
|
1340
|
-
|
|
1313
|
+
__wbg_static_accessor_ENV_d1de898b0d61375f: function() {
|
|
1341
1314
|
const ret = env;
|
|
1342
1315
|
return ret;
|
|
1343
1316
|
},
|
|
@@ -1365,10 +1338,6 @@ function __wbg_get_imports() {
|
|
|
1365
1338
|
const ret = JSON.stringify(arg0);
|
|
1366
1339
|
return ret;
|
|
1367
1340
|
}, arguments); },
|
|
1368
|
-
__wbg_subarray_a068d24e39478a8a: function(arg0, arg1, arg2) {
|
|
1369
|
-
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1370
|
-
return ret;
|
|
1371
|
-
},
|
|
1372
1341
|
__wbg_then_098abe61755d12f6: function(arg0, arg1) {
|
|
1373
1342
|
const ret = arg0.then(arg1);
|
|
1374
1343
|
return ret;
|
|
@@ -1388,21 +1357,17 @@ function __wbg_get_imports() {
|
|
|
1388
1357
|
const ret = arg0.value;
|
|
1389
1358
|
return ret;
|
|
1390
1359
|
},
|
|
1391
|
-
|
|
1392
|
-
const ret = arg0.versions;
|
|
1393
|
-
return ret;
|
|
1394
|
-
},
|
|
1395
|
-
__wbg_writeFileSync_5347feab01e925fb: function(arg0, arg1, arg2, arg3) {
|
|
1360
|
+
__wbg_writeFileSync_8b708dfbe8f73da5: function(arg0, arg1, arg2, arg3) {
|
|
1396
1361
|
writeFileSync(getStringFromWasm0(arg0, arg1), getArrayU8FromWasm0(arg2, arg3));
|
|
1397
1362
|
},
|
|
1398
1363
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1399
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1400
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1364
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 357, function: Function { arguments: [], shim_idx: 358, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1365
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4f53b7943fceff9f, wasm_bindgen__convert__closures_____invoke__h7fb3d9536d4d27f0);
|
|
1401
1366
|
return ret;
|
|
1402
1367
|
},
|
|
1403
1368
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1404
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1405
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1369
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 573, function: Function { arguments: [Externref], shim_idx: 574, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1370
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc216b882ea054e6f, wasm_bindgen__convert__closures_____invoke__he5eee221768fd278);
|
|
1406
1371
|
return ret;
|
|
1407
1372
|
},
|
|
1408
1373
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -1416,21 +1381,16 @@ function __wbg_get_imports() {
|
|
|
1416
1381
|
return ret;
|
|
1417
1382
|
},
|
|
1418
1383
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
1419
|
-
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1420
|
-
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
1421
|
-
return ret;
|
|
1422
|
-
},
|
|
1423
|
-
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
1424
1384
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1425
1385
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1426
1386
|
return ret;
|
|
1427
1387
|
},
|
|
1428
|
-
|
|
1388
|
+
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
1429
1389
|
// Cast intrinsic for `U128 -> Externref`.
|
|
1430
1390
|
const ret = (BigInt.asUintN(64, arg0) | (BigInt.asUintN(64, arg1) << BigInt(64)));
|
|
1431
1391
|
return ret;
|
|
1432
1392
|
},
|
|
1433
|
-
|
|
1393
|
+
__wbindgen_cast_0000000000000007: function(arg0) {
|
|
1434
1394
|
// Cast intrinsic for `U64 -> Externref`.
|
|
1435
1395
|
const ret = BigInt.asUintN(64, arg0);
|
|
1436
1396
|
return ret;
|
|
@@ -1451,19 +1411,19 @@ function __wbg_get_imports() {
|
|
|
1451
1411
|
};
|
|
1452
1412
|
}
|
|
1453
1413
|
|
|
1454
|
-
function
|
|
1455
|
-
wasm.
|
|
1414
|
+
function wasm_bindgen__convert__closures_____invoke__h7fb3d9536d4d27f0(arg0, arg1) {
|
|
1415
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7fb3d9536d4d27f0(arg0, arg1);
|
|
1456
1416
|
}
|
|
1457
1417
|
|
|
1458
|
-
function
|
|
1459
|
-
const ret = wasm.
|
|
1418
|
+
function wasm_bindgen__convert__closures_____invoke__he5eee221768fd278(arg0, arg1, arg2) {
|
|
1419
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__he5eee221768fd278(arg0, arg1, arg2);
|
|
1460
1420
|
if (ret[1]) {
|
|
1461
1421
|
throw takeFromExternrefTable0(ret[0]);
|
|
1462
1422
|
}
|
|
1463
1423
|
}
|
|
1464
1424
|
|
|
1465
|
-
function
|
|
1466
|
-
wasm.
|
|
1425
|
+
function wasm_bindgen__convert__closures_____invoke__h7b5eed4538ab5ee4(arg0, arg1, arg2, arg3) {
|
|
1426
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h7b5eed4538ab5ee4(arg0, arg1, arg2, arg3);
|
|
1467
1427
|
}
|
|
1468
1428
|
|
|
1469
1429
|
|
package/clarinet_sdk_bg.wasm
CHANGED
|
Binary file
|