mevento 2.0.0 → 2.0.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.
- package/esm2020/lib/mevento.mjs +18 -6
- package/fesm2015/mevento.mjs +17 -5
- package/fesm2015/mevento.mjs.map +1 -1
- package/fesm2020/mevento.mjs +17 -5
- package/fesm2020/mevento.mjs.map +1 -1
- package/lib/mevento.d.ts +12 -4
- package/package.json +1 -1
package/lib/mevento.d.ts
CHANGED
|
@@ -300,11 +300,15 @@ export declare class MEvento extends NodeVisitor {
|
|
|
300
300
|
resolveFunction(name: string): MEventoFBinding | undefined;
|
|
301
301
|
registerFunction(id: string, fn: MEventoFBinding): void;
|
|
302
302
|
unregisterFunction(id: string): void;
|
|
303
|
-
execute(source: string, cache?: boolean
|
|
303
|
+
execute(source: string, cache?: boolean, input?: {
|
|
304
|
+
[k: string]: any;
|
|
305
|
+
}): any;
|
|
304
306
|
static compile(source: string, cache?: boolean): AST;
|
|
305
307
|
static register(id: string, fn: MEventoFBinding): void;
|
|
306
308
|
static unregister(id: string): void;
|
|
307
|
-
static run(source: string, cache?: boolean
|
|
309
|
+
static run(source: string, cache?: boolean, input?: {
|
|
310
|
+
[k: string]: any;
|
|
311
|
+
}): any;
|
|
308
312
|
static newInstance(): MEvento;
|
|
309
313
|
clone(): MEvento;
|
|
310
314
|
newAsyncInstance(): MEventoAsync;
|
|
@@ -333,8 +337,12 @@ export declare class MEventoAsync extends MEvento {
|
|
|
333
337
|
resolveArgumentsAsync(args: AST[]): Promise<any[]>;
|
|
334
338
|
registerFunction(id: string, fn: MEventoFBinding): void;
|
|
335
339
|
unregisterFunction(id: string): void;
|
|
336
|
-
execute(source: string, cache?: boolean
|
|
337
|
-
|
|
340
|
+
execute(source: string, cache?: boolean, input?: {
|
|
341
|
+
[k: string]: any;
|
|
342
|
+
}): Promise<any>;
|
|
343
|
+
static run(source: string, cache?: boolean, input?: {
|
|
344
|
+
[k: string]: any;
|
|
345
|
+
}): Promise<any>;
|
|
338
346
|
static newInstance(): MEventoAsync;
|
|
339
347
|
clone(): MEventoAsync;
|
|
340
348
|
}
|