@tombi-toml/wasm-lsp 1.4.1 → 1.5.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/dist/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "ya7010 <ya7010@outlook.com>"
6
6
  ],
7
7
  "description": "Tombi formatter, linter, and language server for WebAssembly",
8
- "version": "1.4.1",
8
+ "version": "1.5.0",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
@@ -1,5 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export function start(): void;
3
4
  /**
4
5
  * Update one file in the browser-backed virtual workspace.
5
6
  */
@@ -20,7 +21,6 @@ export function set_workspace_entries(entries: any): void;
20
21
  * Serve Tombi LSP over byte streams using the standard LSP header framing.
21
22
  */
22
23
  export function serve(config: ServerConfig): Promise<void>;
23
- export function start(): void;
24
24
  /**
25
25
  * The `ReadableStreamType` enum.
26
26
  *
@@ -66,9 +66,15 @@ export interface InitOutput {
66
66
  readonly serve: (a: number) => number;
67
67
  readonly set_workspace_entries: (a: number, b: number) => void;
68
68
  readonly set_workspace_file: (a: number, b: number, c: number, d: number, e: number) => void;
69
+ readonly start: () => void;
69
70
  readonly set_workspace_files: (a: number, b: number) => void;
70
71
  readonly serverconfig_new: (a: number, b: number) => number;
71
- readonly start: () => void;
72
+ readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
73
+ readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
74
+ readonly intounderlyingbytesource_cancel: (a: number) => void;
75
+ readonly intounderlyingbytesource_pull: (a: number, b: number) => number;
76
+ readonly intounderlyingbytesource_start: (a: number, b: number) => void;
77
+ readonly intounderlyingbytesource_type: (a: number) => number;
72
78
  readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
73
79
  readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
74
80
  readonly intounderlyingsink_abort: (a: number, b: number) => number;
@@ -76,12 +82,6 @@ export interface InitOutput {
76
82
  readonly intounderlyingsink_write: (a: number, b: number) => number;
77
83
  readonly intounderlyingsource_cancel: (a: number) => void;
78
84
  readonly intounderlyingsource_pull: (a: number, b: number) => number;
79
- readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
80
- readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
81
- readonly intounderlyingbytesource_cancel: (a: number) => void;
82
- readonly intounderlyingbytesource_pull: (a: number, b: number) => number;
83
- readonly intounderlyingbytesource_start: (a: number, b: number) => void;
84
- readonly intounderlyingbytesource_type: (a: number) => number;
85
85
  readonly __wbindgen_export_0: (a: number) => void;
86
86
  readonly __wbindgen_export_1: (a: number, b: number, c: number) => void;
87
87
  readonly __wbindgen_export_2: (a: number, b: number) => number;
@@ -224,6 +224,11 @@ function debugString(val) {
224
224
  // TODO we could test for more things here, like `Set`s and `Map`s.
225
225
  return className;
226
226
  }
227
+
228
+ export function start() {
229
+ wasm.start();
230
+ }
231
+
227
232
  /**
228
233
  * Update one file in the browser-backed virtual workspace.
229
234
  * @param {string} uri
@@ -320,10 +325,6 @@ export function serve(config) {
320
325
  return takeObject(ret);
321
326
  }
322
327
 
323
- export function start() {
324
- wasm.start();
325
- }
326
-
327
328
  function __wbg_adapter_38(arg0, arg1, arg2) {
328
329
  wasm.__wbindgen_export_5(arg0, arg1, addHeapObject(arg2));
329
330
  }
@@ -886,8 +887,8 @@ function __wbg_get_imports() {
886
887
  const ret = false;
887
888
  return ret;
888
889
  };
889
- imports.wbg.__wbindgen_closure_wrapper15900 = function(arg0, arg1, arg2) {
890
- const ret = makeMutClosure(arg0, arg1, 5189, __wbg_adapter_38);
890
+ imports.wbg.__wbindgen_closure_wrapper16015 = function(arg0, arg1, arg2) {
891
+ const ret = makeMutClosure(arg0, arg1, 5204, __wbg_adapter_38);
891
892
  return addHeapObject(ret);
892
893
  };
893
894
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file
@@ -6,9 +6,15 @@ export const remove_workspace_file: (a: number, b: number, c: number) => void;
6
6
  export const serve: (a: number) => number;
7
7
  export const set_workspace_entries: (a: number, b: number) => void;
8
8
  export const set_workspace_file: (a: number, b: number, c: number, d: number, e: number) => void;
9
+ export const start: () => void;
9
10
  export const set_workspace_files: (a: number, b: number) => void;
10
11
  export const serverconfig_new: (a: number, b: number) => number;
11
- export const start: () => void;
12
+ export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
13
+ export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
14
+ export const intounderlyingbytesource_cancel: (a: number) => void;
15
+ export const intounderlyingbytesource_pull: (a: number, b: number) => number;
16
+ export const intounderlyingbytesource_start: (a: number, b: number) => void;
17
+ export const intounderlyingbytesource_type: (a: number) => number;
12
18
  export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
13
19
  export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
14
20
  export const intounderlyingsink_abort: (a: number, b: number) => number;
@@ -16,12 +22,6 @@ export const intounderlyingsink_close: (a: number) => number;
16
22
  export const intounderlyingsink_write: (a: number, b: number) => number;
17
23
  export const intounderlyingsource_cancel: (a: number) => void;
18
24
  export const intounderlyingsource_pull: (a: number, b: number) => number;
19
- export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
20
- export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
21
- export const intounderlyingbytesource_cancel: (a: number) => void;
22
- export const intounderlyingbytesource_pull: (a: number, b: number) => number;
23
- export const intounderlyingbytesource_start: (a: number, b: number) => void;
24
- export const intounderlyingbytesource_type: (a: number) => number;
25
25
  export const __wbindgen_export_0: (a: number) => void;
26
26
  export const __wbindgen_export_1: (a: number, b: number, c: number) => void;
27
27
  export const __wbindgen_export_2: (a: number, b: number) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tombi-toml/wasm-lsp",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "Tombi Language Server for WebAssembly",
5
5
  "repository": {
6
6
  "type": "git",