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/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): any;
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): any;
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): Promise<any>;
337
- static run(source: string, cache?: boolean): Promise<any>;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mevento",
3
- "version": "2.0.0",
3
+ "version": "2.0.3",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.3"
6
6
  },