@stacks/clarinet-sdk-wasm-browser 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 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;
@@ -328,11 +329,11 @@ export interface InitOutput {
328
329
  readonly sdk_stacksBlockHeight: (a: number) => number;
329
330
  readonly __wbg_get_transactionres_events: (a: number) => [number, number];
330
331
  readonly __wbg_get_transactionres_result: (a: number) => [number, number];
331
- readonly wasm_bindgen__closure__destroy__hff5c1156dd58bff4: (a: number, b: number) => void;
332
- readonly wasm_bindgen__closure__destroy__h1452c6b5fefb066a: (a: number, b: number) => void;
333
- readonly wasm_bindgen__convert__closures_____invoke__h459f402597d7e8f0: (a: number, b: number, c: any) => [number, number];
334
- readonly wasm_bindgen__convert__closures_____invoke__h5710156571ab0e8d: (a: number, b: number, c: any, d: any) => void;
335
- readonly wasm_bindgen__convert__closures_____invoke__h148bd402dd11a197: (a: number, b: number) => void;
332
+ readonly wasm_bindgen__closure__destroy__h3eb3c39bdee44103: (a: number, b: number) => void;
333
+ readonly wasm_bindgen__closure__destroy__hc216b882ea054e6f: (a: number, b: number) => void;
334
+ readonly wasm_bindgen__convert__closures_____invoke__he5eee221768fd278: (a: number, b: number, c: any) => [number, number];
335
+ readonly wasm_bindgen__convert__closures_____invoke__h7b5eed4538ab5ee4: (a: number, b: number, c: any, d: any) => void;
336
+ readonly wasm_bindgen__convert__closures_____invoke__hf542ac6ebe6e67e6: (a: number, b: number) => void;
336
337
  readonly __wbindgen_malloc: (a: number, b: number) => number;
337
338
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
338
339
  readonly __wbindgen_exn_store: (a: number) => void;
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
- __wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
1063
- arg0.getRandomValues(arg1);
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;
@@ -1198,7 +1190,7 @@ function __wbg_get_imports() {
1198
1190
  const a = state0.a;
1199
1191
  state0.a = 0;
1200
1192
  try {
1201
- return wasm_bindgen__convert__closures_____invoke__h5710156571ab0e8d(a, state0.b, arg0, arg1);
1193
+ return wasm_bindgen__convert__closures_____invoke__h7b5eed4538ab5ee4(a, state0.b, arg0, arg1);
1202
1194
  } finally {
1203
1195
  state0.a = a;
1204
1196
  }
@@ -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
- __wbg_versions_276b2795b1c6a219: function(arg0) {
1375
- const ret = arg0.versions;
1376
- return ret;
1377
- },
1378
- __wbg_vfs_f76349d17fde2652: function(arg0, arg1, arg2) {
1343
+ __wbg_vfs_aff973bbcd0e9481: function(arg0, arg1, arg2) {
1379
1344
  let deferred0_0;
1380
1345
  let deferred0_1;
1381
1346
  try {
@@ -1388,13 +1353,13 @@ function __wbg_get_imports() {
1388
1353
  }
1389
1354
  },
1390
1355
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1391
- // Cast intrinsic for `Closure(Closure { dtor_idx: 345, function: Function { arguments: [], shim_idx: 346, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1392
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hff5c1156dd58bff4, wasm_bindgen__convert__closures_____invoke__h148bd402dd11a197);
1356
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 369, function: Function { arguments: [], shim_idx: 370, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1357
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3eb3c39bdee44103, wasm_bindgen__convert__closures_____invoke__hf542ac6ebe6e67e6);
1393
1358
  return ret;
1394
1359
  },
1395
1360
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1396
- // Cast intrinsic for `Closure(Closure { dtor_idx: 550, function: Function { arguments: [Externref], shim_idx: 551, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1397
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1452c6b5fefb066a, wasm_bindgen__convert__closures_____invoke__h459f402597d7e8f0);
1361
+ // 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`.
1362
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc216b882ea054e6f, wasm_bindgen__convert__closures_____invoke__he5eee221768fd278);
1398
1363
  return ret;
1399
1364
  },
1400
1365
  __wbindgen_cast_0000000000000003: function(arg0) {
@@ -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
- __wbindgen_cast_0000000000000007: function(arg0, arg1) {
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
- __wbindgen_cast_0000000000000008: function(arg0) {
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
- __wbindgen_cast_0000000000000009: function(arg0, arg1) {
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`.
@@ -1450,19 +1410,19 @@ function __wbg_get_imports() {
1450
1410
  };
1451
1411
  }
1452
1412
 
1453
- function wasm_bindgen__convert__closures_____invoke__h148bd402dd11a197(arg0, arg1) {
1454
- wasm.wasm_bindgen__convert__closures_____invoke__h148bd402dd11a197(arg0, arg1);
1413
+ function wasm_bindgen__convert__closures_____invoke__hf542ac6ebe6e67e6(arg0, arg1) {
1414
+ wasm.wasm_bindgen__convert__closures_____invoke__hf542ac6ebe6e67e6(arg0, arg1);
1455
1415
  }
1456
1416
 
1457
- function wasm_bindgen__convert__closures_____invoke__h459f402597d7e8f0(arg0, arg1, arg2) {
1458
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__h459f402597d7e8f0(arg0, arg1, arg2);
1417
+ function wasm_bindgen__convert__closures_____invoke__he5eee221768fd278(arg0, arg1, arg2) {
1418
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__he5eee221768fd278(arg0, arg1, arg2);
1459
1419
  if (ret[1]) {
1460
1420
  throw takeFromExternrefTable0(ret[0]);
1461
1421
  }
1462
1422
  }
1463
1423
 
1464
- function wasm_bindgen__convert__closures_____invoke__h5710156571ab0e8d(arg0, arg1, arg2, arg3) {
1465
- wasm.wasm_bindgen__convert__closures_____invoke__h5710156571ab0e8d(arg0, arg1, arg2, arg3);
1424
+ function wasm_bindgen__convert__closures_____invoke__h7b5eed4538ab5ee4(arg0, arg1, arg2, arg3) {
1425
+ wasm.wasm_bindgen__convert__closures_____invoke__h7b5eed4538ab5ee4(arg0, arg1, arg2, arg3);
1466
1426
  }
1467
1427
 
1468
1428
 
Binary file
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacks/clarinet-sdk-wasm-browser",
3
3
  "type": "module",
4
4
  "description": "The core lib that powers @stacks/clarinet-sdk",
5
- "version": "3.17.0",
5
+ "version": "3.19.0",
6
6
  "license": "GPL-3.0",
7
7
  "repository": {
8
8
  "type": "git",