Comparing version
@@ -1,19 +0,2 @@ | ||
import LuaWasm from './luawasm'; | ||
import { Thread } from './types'; | ||
export declare class Lua extends LuaWasm { | ||
private readonly functionRegistry; | ||
private L; | ||
constructor(); | ||
registerStandardLib(): void; | ||
doString(script: string): any; | ||
getGlobal(name: string): any; | ||
setGlobal(name: string, value: any): void; | ||
callGlobal(name: string, ...args: any[]): any[]; | ||
mountFile(path: string, content: string | ArrayBufferView): void; | ||
close(): void; | ||
private pushValue; | ||
private getValue; | ||
private getTableValue; | ||
dumpStack(...logs: any[]): void; | ||
} | ||
export { Thread }; | ||
export { default as Lua } from './engine'; | ||
export { Thread } from './types'; |
{ | ||
"name": "wasmoon", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "A real lua VM with JS bindings made with webassembly", | ||
@@ -39,3 +39,3 @@ "main": "dist/index.js", | ||
"tslib": "2.0.3", | ||
"typescript": "4.0.5" | ||
"typescript": "next" | ||
}, | ||
@@ -42,0 +42,0 @@ "dependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
617698
-4.03%12
-7.69%739
-16.4%