@omnidotdev/terminal 0.1.2 → 0.1.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.
@@ -11,9 +11,9 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
11
11
  export interface InitOutput {
12
12
  readonly memory: WebAssembly.Memory;
13
13
  readonly create_terminal: (a: number, b: number, c: number, d: number, e: number) => void;
14
- readonly __wasm_bindgen_func_elem_361: (a: number, b: number, c: number) => void;
14
+ readonly __wasm_bindgen_func_elem_363: (a: number, b: number, c: number) => void;
15
15
  readonly __wasm_bindgen_func_elem_360: (a: number, b: number) => void;
16
- readonly __wasm_bindgen_func_elem_366: (a: number, b: number) => void;
16
+ readonly __wasm_bindgen_func_elem_361: (a: number, b: number) => void;
17
17
  readonly __wbindgen_export: (a: number, b: number) => number;
18
18
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
19
19
  readonly __wbindgen_export3: (a: number) => void;
@@ -229,12 +229,12 @@ if (!('encodeInto' in cachedTextEncoder)) {
229
229
 
230
230
  let WASM_VECTOR_LEN = 0;
231
231
 
232
- function __wasm_bindgen_func_elem_361(arg0, arg1, arg2) {
233
- wasm.__wasm_bindgen_func_elem_361(arg0, arg1, addHeapObject(arg2));
232
+ function __wasm_bindgen_func_elem_363(arg0, arg1, arg2) {
233
+ wasm.__wasm_bindgen_func_elem_363(arg0, arg1, addHeapObject(arg2));
234
234
  }
235
235
 
236
- function __wasm_bindgen_func_elem_366(arg0, arg1) {
237
- wasm.__wasm_bindgen_func_elem_366(arg0, arg1);
236
+ function __wasm_bindgen_func_elem_361(arg0, arg1) {
237
+ wasm.__wasm_bindgen_func_elem_361(arg0, arg1);
238
238
  }
239
239
 
240
240
  const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
@@ -1555,44 +1555,49 @@ function __wbg_get_imports() {
1555
1555
  imports.wbg.__wbg_writeTexture_0466bf7d7d35e04e = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1556
1556
  getObject(arg0).writeTexture(getObject(arg1), getObject(arg2), getObject(arg3), getObject(arg4));
1557
1557
  }, arguments) };
1558
- imports.wbg.__wbindgen_cast_187d9bf61ed157ff = function(arg0, arg1) {
1559
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1560
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
1558
+ imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
1559
+ // Cast intrinsic for `Ref(String) -> Externref`.
1560
+ const ret = getStringFromWasm0(arg0, arg1);
1561
1561
  return addHeapObject(ret);
1562
1562
  };
1563
- imports.wbg.__wbindgen_cast_1d60ba84c0e612df = function(arg0, arg1) {
1564
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1565
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
1563
+ imports.wbg.__wbindgen_cast_32cb1b8a0491499d = function(arg0, arg1) {
1564
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1565
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_363);
1566
1566
  return addHeapObject(ret);
1567
1567
  };
1568
- imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
1569
- // Cast intrinsic for `Ref(String) -> Externref`.
1570
- const ret = getStringFromWasm0(arg0, arg1);
1568
+ imports.wbg.__wbindgen_cast_7fcd1d93b4983df7 = function(arg0, arg1) {
1569
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("ClipboardEvent")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1570
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_363);
1571
1571
  return addHeapObject(ret);
1572
1572
  };
1573
- imports.wbg.__wbindgen_cast_32bc49bfb4050e32 = function(arg0, arg1) {
1574
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [Externref], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1575
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
1573
+ imports.wbg.__wbindgen_cast_8aaeb857af704dc7 = function(arg0, arg1) {
1574
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [Externref], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1575
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_363);
1576
1576
  return addHeapObject(ret);
1577
1577
  };
1578
- imports.wbg.__wbindgen_cast_46d6ccd6e2a13afa = function(arg0, arg1) {
1579
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1580
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
1578
+ imports.wbg.__wbindgen_cast_9296745c6ca989b2 = function(arg0, arg1) {
1579
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1580
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_363);
1581
1581
  return addHeapObject(ret);
1582
1582
  };
1583
- imports.wbg.__wbindgen_cast_56a336ee13022c01 = function(arg0, arg1) {
1584
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1585
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
1583
+ imports.wbg.__wbindgen_cast_a4cd16a5524358a3 = function(arg0, arg1) {
1584
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1585
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_363);
1586
1586
  return addHeapObject(ret);
1587
1587
  };
1588
- imports.wbg.__wbindgen_cast_5f4bddbc92058ea9 = function(arg0, arg1) {
1589
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1588
+ imports.wbg.__wbindgen_cast_aaa93aae03c115ab = function(arg0, arg1) {
1589
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1590
1590
  const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
1591
1591
  return addHeapObject(ret);
1592
1592
  };
1593
- imports.wbg.__wbindgen_cast_8d0a0c1360e48ed2 = function(arg0, arg1) {
1594
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1595
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
1593
+ imports.wbg.__wbindgen_cast_b0c35f99a334d315 = function(arg0, arg1) {
1594
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1595
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_363);
1596
+ return addHeapObject(ret);
1597
+ };
1598
+ imports.wbg.__wbindgen_cast_c7bd0d6cfb94687d = function(arg0, arg1) {
1599
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1600
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_363);
1596
1601
  return addHeapObject(ret);
1597
1602
  };
1598
1603
  imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
@@ -1600,24 +1605,19 @@ function __wbg_get_imports() {
1600
1605
  const ret = getArrayU8FromWasm0(arg0, arg1);
1601
1606
  return addHeapObject(ret);
1602
1607
  };
1608
+ imports.wbg.__wbindgen_cast_d01695cb5f652e0e = function(arg0, arg1) {
1609
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1610
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_363);
1611
+ return addHeapObject(ret);
1612
+ };
1603
1613
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
1604
1614
  // Cast intrinsic for `F64 -> Externref`.
1605
1615
  const ret = arg0;
1606
1616
  return addHeapObject(ret);
1607
1617
  };
1608
- imports.wbg.__wbindgen_cast_ed6979b760f73a7b = function(arg0, arg1) {
1609
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("ClipboardEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1610
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
1611
- return addHeapObject(ret);
1612
- };
1613
- imports.wbg.__wbindgen_cast_edc3ef780a25528f = function(arg0, arg1) {
1614
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1615
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_361);
1616
- return addHeapObject(ret);
1617
- };
1618
- imports.wbg.__wbindgen_cast_fb7e0e3832461097 = function(arg0, arg1) {
1619
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx: 5, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1620
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_366);
1618
+ imports.wbg.__wbindgen_cast_dd0517a126ce8ca8 = function(arg0, arg1) {
1619
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1620
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_360, __wasm_bindgen_func_elem_363);
1621
1621
  return addHeapObject(ret);
1622
1622
  };
1623
1623
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
Binary file
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
4
  export const create_terminal: (a: number, b: number, c: number, d: number, e: number) => void;
5
- export const __wasm_bindgen_func_elem_361: (a: number, b: number, c: number) => void;
5
+ export const __wasm_bindgen_func_elem_363: (a: number, b: number, c: number) => void;
6
6
  export const __wasm_bindgen_func_elem_360: (a: number, b: number) => void;
7
- export const __wasm_bindgen_func_elem_366: (a: number, b: number) => void;
7
+ export const __wasm_bindgen_func_elem_361: (a: number, b: number) => void;
8
8
  export const __wbindgen_export: (a: number, b: number) => number;
9
9
  export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
10
10
  export const __wbindgen_export3: (a: number) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnidotdev/terminal",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "description": "Embeddable WebGPU terminal component powered by WASM",
6
6
  "main": "./build/index.js",