@stacks/clarinet-sdk-wasm-browser 3.17.0 → 3.18.1
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 +7 -47
- 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
|
@@ -1025,10 +1025,6 @@ function __wbg_get_imports() {
|
|
|
1025
1025
|
const ret = clearTimeout(arg0);
|
|
1026
1026
|
return ret;
|
|
1027
1027
|
},
|
|
1028
|
-
__wbg_crypto_38df2bab126b63dc: function(arg0) {
|
|
1029
|
-
const ret = arg0.crypto;
|
|
1030
|
-
return ret;
|
|
1031
|
-
},
|
|
1032
1028
|
__wbg_done_08ce71ee07e3bd17: function(arg0) {
|
|
1033
1029
|
const ret = arg0.done;
|
|
1034
1030
|
return ret;
|
|
@@ -1059,8 +1055,8 @@ function __wbg_get_imports() {
|
|
|
1059
1055
|
const ret = fetch(arg0);
|
|
1060
1056
|
return ret;
|
|
1061
1057
|
},
|
|
1062
|
-
|
|
1063
|
-
|
|
1058
|
+
__wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
|
|
1059
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1064
1060
|
}, arguments); },
|
|
1065
1061
|
__wbg_getTime_1dad7b5386ddd2d9: function(arg0) {
|
|
1066
1062
|
const ret = arg0.getTime();
|
|
@@ -1143,10 +1139,6 @@ function __wbg_get_imports() {
|
|
|
1143
1139
|
__wbg_log_524eedafa26daa59: function(arg0) {
|
|
1144
1140
|
console.log(arg0);
|
|
1145
1141
|
},
|
|
1146
|
-
__wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
|
|
1147
|
-
const ret = arg0.msCrypto;
|
|
1148
|
-
return ret;
|
|
1149
|
-
},
|
|
1150
1142
|
__wbg_new_0837727332ac86ba: function() { return handleError(function () {
|
|
1151
1143
|
const ret = new Headers();
|
|
1152
1144
|
return ret;
|
|
@@ -1209,10 +1201,6 @@ function __wbg_get_imports() {
|
|
|
1209
1201
|
state0.a = state0.b = 0;
|
|
1210
1202
|
}
|
|
1211
1203
|
},
|
|
1212
|
-
__wbg_new_with_length_825018a1616e9e55: function(arg0) {
|
|
1213
|
-
const ret = new Uint8Array(arg0 >>> 0);
|
|
1214
|
-
return ret;
|
|
1215
|
-
},
|
|
1216
1204
|
__wbg_new_with_str_and_init_b4b54d1a819bc724: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1217
1205
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1218
1206
|
return ret;
|
|
@@ -1225,17 +1213,9 @@ function __wbg_get_imports() {
|
|
|
1225
1213
|
const ret = arg0.next;
|
|
1226
1214
|
return ret;
|
|
1227
1215
|
},
|
|
1228
|
-
__wbg_node_84ea875411254db1: function(arg0) {
|
|
1229
|
-
const ret = arg0.node;
|
|
1230
|
-
return ret;
|
|
1231
|
-
},
|
|
1232
1216
|
__wbg_open_ab5f9641f561c051: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1233
1217
|
arg0.open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), arg5 !== 0);
|
|
1234
1218
|
}, arguments); },
|
|
1235
|
-
__wbg_process_44c7a14e11e9f69e: function(arg0) {
|
|
1236
|
-
const ret = arg0.process;
|
|
1237
|
-
return ret;
|
|
1238
|
-
},
|
|
1239
1219
|
__wbg_prototypesetcall_d62e5099504357e6: function(arg0, arg1, arg2) {
|
|
1240
1220
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1241
1221
|
},
|
|
@@ -1246,13 +1226,6 @@ function __wbg_get_imports() {
|
|
|
1246
1226
|
__wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
|
|
1247
1227
|
queueMicrotask(arg0);
|
|
1248
1228
|
},
|
|
1249
|
-
__wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
|
|
1250
|
-
arg0.randomFillSync(arg1);
|
|
1251
|
-
}, arguments); },
|
|
1252
|
-
__wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
|
|
1253
|
-
const ret = module.require;
|
|
1254
|
-
return ret;
|
|
1255
|
-
}, arguments); },
|
|
1256
1229
|
__wbg_resolve_ae8d83246e5bcc12: function(arg0) {
|
|
1257
1230
|
const ret = Promise.resolve(arg0);
|
|
1258
1231
|
return ret;
|
|
@@ -1348,10 +1321,6 @@ function __wbg_get_imports() {
|
|
|
1348
1321
|
const ret = JSON.stringify(arg0);
|
|
1349
1322
|
return ret;
|
|
1350
1323
|
}, arguments); },
|
|
1351
|
-
__wbg_subarray_a068d24e39478a8a: function(arg0, arg1, arg2) {
|
|
1352
|
-
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1353
|
-
return ret;
|
|
1354
|
-
},
|
|
1355
1324
|
__wbg_then_098abe61755d12f6: function(arg0, arg1) {
|
|
1356
1325
|
const ret = arg0.then(arg1);
|
|
1357
1326
|
return ret;
|
|
@@ -1371,11 +1340,7 @@ function __wbg_get_imports() {
|
|
|
1371
1340
|
const ret = arg0.value;
|
|
1372
1341
|
return ret;
|
|
1373
1342
|
},
|
|
1374
|
-
|
|
1375
|
-
const ret = arg0.versions;
|
|
1376
|
-
return ret;
|
|
1377
|
-
},
|
|
1378
|
-
__wbg_vfs_f76349d17fde2652: function(arg0, arg1, arg2) {
|
|
1343
|
+
__wbg_vfs_e72ef923a405f797: function(arg0, arg1, arg2) {
|
|
1379
1344
|
let deferred0_0;
|
|
1380
1345
|
let deferred0_1;
|
|
1381
1346
|
try {
|
|
@@ -1393,7 +1358,7 @@ function __wbg_get_imports() {
|
|
|
1393
1358
|
return ret;
|
|
1394
1359
|
},
|
|
1395
1360
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1396
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1361
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 574, function: Function { arguments: [Externref], shim_idx: 575, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1397
1362
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1452c6b5fefb066a, wasm_bindgen__convert__closures_____invoke__h459f402597d7e8f0);
|
|
1398
1363
|
return ret;
|
|
1399
1364
|
},
|
|
@@ -1408,26 +1373,21 @@ function __wbg_get_imports() {
|
|
|
1408
1373
|
return ret;
|
|
1409
1374
|
},
|
|
1410
1375
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
1411
|
-
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1412
|
-
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
1413
|
-
return ret;
|
|
1414
|
-
},
|
|
1415
|
-
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
1416
1376
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1417
1377
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1418
1378
|
return ret;
|
|
1419
1379
|
},
|
|
1420
|
-
|
|
1380
|
+
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
1421
1381
|
// Cast intrinsic for `U128 -> Externref`.
|
|
1422
1382
|
const ret = (BigInt.asUintN(64, arg0) | (BigInt.asUintN(64, arg1) << BigInt(64)));
|
|
1423
1383
|
return ret;
|
|
1424
1384
|
},
|
|
1425
|
-
|
|
1385
|
+
__wbindgen_cast_0000000000000007: function(arg0) {
|
|
1426
1386
|
// Cast intrinsic for `U64 -> Externref`.
|
|
1427
1387
|
const ret = BigInt.asUintN(64, arg0);
|
|
1428
1388
|
return ret;
|
|
1429
1389
|
},
|
|
1430
|
-
|
|
1390
|
+
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
1431
1391
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
1432
1392
|
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
1433
1393
|
// Cast intrinsic for `Vector(U8) -> Externref`.
|
package/clarinet_sdk_bg.wasm
CHANGED
|
Binary file
|