@omnidotdev/terminal 0.1.3 → 0.2.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.
|
@@ -9,35 +9,45 @@ export function create_terminal(container_id: string, ws_url: string, font_size:
|
|
|
9
9
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
10
10
|
|
|
11
11
|
export interface InitOutput {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
readonly memory: WebAssembly.Memory;
|
|
13
|
+
readonly create_terminal: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
14
|
+
readonly __wasm_bindgen_func_elem_359: (a: number, b: number) => void;
|
|
15
|
+
readonly __wasm_bindgen_func_elem_1508: (a: number, b: number, c: number, d: number) => void;
|
|
16
|
+
readonly __wasm_bindgen_func_elem_360: (a: number, b: number, c: number) => void;
|
|
17
|
+
readonly __wasm_bindgen_func_elem_360_2: (a: number, b: number, c: number) => void;
|
|
18
|
+
readonly __wasm_bindgen_func_elem_360_3: (a: number, b: number, c: number) => void;
|
|
19
|
+
readonly __wasm_bindgen_func_elem_360_4: (a: number, b: number, c: number) => void;
|
|
20
|
+
readonly __wasm_bindgen_func_elem_360_5: (a: number, b: number, c: number) => void;
|
|
21
|
+
readonly __wasm_bindgen_func_elem_360_6: (a: number, b: number, c: number) => void;
|
|
22
|
+
readonly __wasm_bindgen_func_elem_360_7: (a: number, b: number, c: number) => void;
|
|
23
|
+
readonly __wasm_bindgen_func_elem_360_8: (a: number, b: number, c: number) => void;
|
|
24
|
+
readonly __wasm_bindgen_func_elem_360_9: (a: number, b: number, c: number) => void;
|
|
25
|
+
readonly __wasm_bindgen_func_elem_363: (a: number, b: number) => void;
|
|
26
|
+
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
27
|
+
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
28
|
+
readonly __wbindgen_export3: (a: number) => void;
|
|
29
|
+
readonly __wbindgen_export4: (a: number, b: number, c: number) => void;
|
|
30
|
+
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
21
31
|
}
|
|
22
32
|
|
|
23
33
|
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
|
24
34
|
|
|
25
35
|
/**
|
|
26
|
-
* Instantiates the given `module`, which can either be bytes or
|
|
27
|
-
* a precompiled `WebAssembly.Module`.
|
|
28
|
-
*
|
|
29
|
-
* @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
|
|
30
|
-
*
|
|
31
|
-
* @returns {InitOutput}
|
|
32
|
-
*/
|
|
36
|
+
* Instantiates the given `module`, which can either be bytes or
|
|
37
|
+
* a precompiled `WebAssembly.Module`.
|
|
38
|
+
*
|
|
39
|
+
* @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
|
|
40
|
+
*
|
|
41
|
+
* @returns {InitOutput}
|
|
42
|
+
*/
|
|
33
43
|
export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
|
|
34
44
|
|
|
35
45
|
/**
|
|
36
|
-
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
|
37
|
-
* for everything else, calls `WebAssembly.instantiate` directly.
|
|
38
|
-
*
|
|
39
|
-
* @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
|
|
40
|
-
*
|
|
41
|
-
* @returns {Promise<InitOutput>}
|
|
42
|
-
*/
|
|
46
|
+
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
|
47
|
+
* for everything else, calls `WebAssembly.instantiate` directly.
|
|
48
|
+
*
|
|
49
|
+
* @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
|
|
50
|
+
*
|
|
51
|
+
* @returns {Promise<InitOutput>}
|
|
52
|
+
*/
|
|
43
53
|
export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;
|