@cartridge/controller-wasm 0.9.2 → 0.9.3

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/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "@cartridge/controller-wasm",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "Wasm bindings for Cartridge Controller and Session Account",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/cartridge-gg/controller-rs",
8
+ "directory": "account-wasm"
9
+ },
5
10
  "type": "module",
6
11
  "main": "./pkg-controller/account_wasm.js",
7
12
  "module": "./pkg-controller/account_wasm.js",
@@ -47,7 +52,5 @@
47
52
  "devDependencies": {
48
53
  "wasm-pack": "^0.13.0"
49
54
  },
50
- "packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee",
51
- "repository": "https://github.com/cartridge-gg/controller-rs",
52
- "license": "MIT"
55
+ "packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
53
56
  }
@@ -1239,9 +1239,6 @@ export function __wbg_clearTimeout_42d9ccd50822fd3a(arg0) {
1239
1239
  const ret = clearTimeout(takeObject(arg0));
1240
1240
  return addHeapObject(ret);
1241
1241
  }
1242
- export function __wbg_clear_67072e039373b0a4() { return handleError(function (arg0) {
1243
- getObject(arg0).clear();
1244
- }, arguments); }
1245
1242
  export function __wbg_create_6703e053182342f8() { return handleError(function (arg0, arg1) {
1246
1243
  const ret = getObject(arg0).create(getObject(arg1));
1247
1244
  return addHeapObject(ret);
@@ -1387,10 +1384,21 @@ export function __wbg_jscontrollererror_new(arg0) {
1387
1384
  const ret = JsControllerError.__wrap(arg0);
1388
1385
  return addHeapObject(ret);
1389
1386
  }
1387
+ export function __wbg_key_0167bc764945979a() { return handleError(function (arg0, arg1, arg2) {
1388
+ const ret = getObject(arg1).key(arg2 >>> 0);
1389
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1390
+ var len1 = WASM_VECTOR_LEN;
1391
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1392
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1393
+ }, arguments); }
1390
1394
  export function __wbg_length_32ed9a279acd054c(arg0) {
1391
1395
  const ret = getObject(arg0).length;
1392
1396
  return ret;
1393
1397
  }
1398
+ export function __wbg_length_7724867d8e59c610() { return handleError(function (arg0) {
1399
+ const ret = getObject(arg0).length;
1400
+ return ret;
1401
+ }, arguments); }
1394
1402
  export function __wbg_localStorage_a22d31b9eacc4594() { return handleError(function (arg0) {
1395
1403
  const ret = getObject(arg0).localStorage;
1396
1404
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
@@ -1445,7 +1453,7 @@ export function __wbg_new_b5d9e2fb389fef91(arg0, arg1) {
1445
1453
  const a = state0.a;
1446
1454
  state0.a = 0;
1447
1455
  try {
1448
- return __wasm_bindgen_func_elem_10920(a, state0.b, arg0, arg1);
1456
+ return __wasm_bindgen_func_elem_10958(a, state0.b, arg0, arg1);
1449
1457
  } finally {
1450
1458
  state0.a = a;
1451
1459
  }
@@ -1714,17 +1722,17 @@ export function __wbg_versions_4e31226f5e8dc909(arg0) {
1714
1722
  }
1715
1723
  export function __wbindgen_cast_0000000000000001(arg0, arg1) {
1716
1724
  // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1717
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_235, __wasm_bindgen_func_elem_3294);
1725
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_236, __wasm_bindgen_func_elem_3296);
1718
1726
  return addHeapObject(ret);
1719
1727
  }
1720
1728
  export function __wbindgen_cast_0000000000000002(arg0, arg1) {
1721
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1003, function: Function { arguments: [Externref], shim_idx: 1004, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1722
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_8813, __wasm_bindgen_func_elem_8828);
1729
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1005, function: Function { arguments: [Externref], shim_idx: 1006, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1730
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_8850, __wasm_bindgen_func_elem_8865);
1723
1731
  return addHeapObject(ret);
1724
1732
  }
1725
1733
  export function __wbindgen_cast_0000000000000003(arg0, arg1) {
1726
- // Cast intrinsic for `Closure(Closure { dtor_idx: 968, function: Function { arguments: [], shim_idx: 969, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1727
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_8669, __wasm_bindgen_func_elem_8678);
1734
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 970, function: Function { arguments: [], shim_idx: 971, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1735
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_8706, __wasm_bindgen_func_elem_8715);
1728
1736
  return addHeapObject(ret);
1729
1737
  }
1730
1738
  export function __wbindgen_cast_0000000000000004(arg0) {
@@ -1754,20 +1762,20 @@ export function __wbindgen_object_clone_ref(arg0) {
1754
1762
  export function __wbindgen_object_drop_ref(arg0) {
1755
1763
  takeObject(arg0);
1756
1764
  }
1757
- function __wasm_bindgen_func_elem_8678(arg0, arg1) {
1758
- wasm.__wasm_bindgen_func_elem_8678(arg0, arg1);
1765
+ function __wasm_bindgen_func_elem_8715(arg0, arg1) {
1766
+ wasm.__wasm_bindgen_func_elem_8715(arg0, arg1);
1759
1767
  }
1760
1768
 
1761
- function __wasm_bindgen_func_elem_3294(arg0, arg1, arg2) {
1762
- wasm.__wasm_bindgen_func_elem_3294(arg0, arg1, addHeapObject(arg2));
1769
+ function __wasm_bindgen_func_elem_3296(arg0, arg1, arg2) {
1770
+ wasm.__wasm_bindgen_func_elem_3296(arg0, arg1, addHeapObject(arg2));
1763
1771
  }
1764
1772
 
1765
- function __wasm_bindgen_func_elem_8828(arg0, arg1, arg2) {
1766
- wasm.__wasm_bindgen_func_elem_8828(arg0, arg1, addHeapObject(arg2));
1773
+ function __wasm_bindgen_func_elem_8865(arg0, arg1, arg2) {
1774
+ wasm.__wasm_bindgen_func_elem_8865(arg0, arg1, addHeapObject(arg2));
1767
1775
  }
1768
1776
 
1769
- function __wasm_bindgen_func_elem_10920(arg0, arg1, arg2, arg3) {
1770
- wasm.__wasm_bindgen_func_elem_10920(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1777
+ function __wasm_bindgen_func_elem_10958(arg0, arg1, arg2, arg3) {
1778
+ wasm.__wasm_bindgen_func_elem_10958(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1771
1779
  }
1772
1780
 
1773
1781
 
Binary file