@influxdata/flux-lsp-browser
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -19,10 +19,10 @@ /* tslint:disable */ | ||
/** | ||
* @param {any} f | ||
* @param {Function} f | ||
*/ | ||
register_buckets_callback(f: any): void; | ||
register_buckets_callback(f: Function): void; | ||
/** | ||
* @param {string} msg | ||
* @returns {any} | ||
* @returns {Promise<any>} | ||
*/ | ||
process(msg: string): any; | ||
process(msg: string): Promise<any>; | ||
} | ||
@@ -29,0 +29,0 @@ export class ServerResponse { |
@@ -135,3 +135,3 @@ import * as wasm from './flux-lsp-browser_bg.wasm'; | ||
function __wbg_adapter_14(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h93044c64ee7a119a(arg0, arg1, addHeapObject(arg2)); | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4bf7c47f644e7843(arg0, arg1, addHeapObject(arg2)); | ||
} | ||
@@ -143,3 +143,3 @@ | ||
function __wbg_adapter_26(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h3d9780d99276beb7(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h5418373c40fa0211(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
} | ||
@@ -195,3 +195,3 @@ | ||
/** | ||
* @param {any} f | ||
* @param {Function} f | ||
*/ | ||
@@ -203,3 +203,3 @@ register_buckets_callback(f) { | ||
* @param {string} msg | ||
* @returns {any} | ||
* @returns {Promise<any>} | ||
*/ | ||
@@ -293,3 +293,3 @@ process(msg) { | ||
export const __wbg_call_183c0b733b35a027 = function(arg0, arg1) { | ||
export const __wbg_call_804d3ad7e8acd4d5 = function(arg0, arg1) { | ||
try { | ||
@@ -303,3 +303,3 @@ var ret = getObject(arg0).call(getObject(arg1)); | ||
export const __wbg_call_283f884995dd89e7 = function(arg0, arg1, arg2) { | ||
export const __wbg_call_1ad0eb4a7ab279eb = function(arg0, arg1, arg2) { | ||
try { | ||
@@ -313,3 +313,3 @@ var ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); | ||
export const __wbg_new_4b4544fc91638f83 = function(arg0, arg1) { | ||
export const __wbg_new_1bf1b0dbcaa9ee96 = function(arg0, arg1) { | ||
try { | ||
@@ -333,3 +333,3 @@ var state0 = {a: arg0, b: arg1}; | ||
export const __wbg_resolve_a77ae6f272249390 = function(arg0) { | ||
export const __wbg_resolve_3e5970e9c931a3c2 = function(arg0) { | ||
var ret = Promise.resolve(getObject(arg0)); | ||
@@ -339,3 +339,3 @@ return addHeapObject(ret); | ||
export const __wbg_then_695aa7e1c262b929 = function(arg0, arg1) { | ||
export const __wbg_then_d797310661d9e275 = function(arg0, arg1) { | ||
var ret = getObject(arg0).then(getObject(arg1)); | ||
@@ -345,3 +345,3 @@ return addHeapObject(ret); | ||
export const __wbg_then_bca69bfa503c3179 = function(arg0, arg1, arg2) { | ||
export const __wbg_then_e37e0b9ef0995585 = function(arg0, arg1, arg2) { | ||
var ret = getObject(arg0).then(getObject(arg1), getObject(arg2)); | ||
@@ -360,6 +360,6 @@ return addHeapObject(ret); | ||
export const __wbindgen_closure_wrapper712 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 161, __wbg_adapter_14); | ||
export const __wbindgen_closure_wrapper752 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 160, __wbg_adapter_14); | ||
return addHeapObject(ret); | ||
}; | ||
@@ -7,3 +7,3 @@ { | ||
"description": "LSP support for the flux language", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "repository": { |
@@ -92,14 +92,4 @@ # Flux LSP | ||
You might also have to add this snippet to your webpack configuration's 'module.rules' array to enable wasm file parsing: | ||
Also ensure that the wasm file is not being parsed by any file loader plugins, as this will interfere with it's proper instantiation. | ||
```javascript | ||
rules: [ | ||
{ | ||
test: /\.wasm$/, | ||
loader: 'file-loader', | ||
type: 'javascript/auto' | ||
}, | ||
// ... all the rest of your loaders | ||
] | ||
``` | ||
@@ -106,0 +96,0 @@ # Supported LSP features |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2371728
109