@gorules/zen-engine 0.13.0 → 0.14.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/index.d.ts +1 -1
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface ZenEngineOptions {
|
|
|
11
11
|
loader?: (key: string) => Promise<Buffer>
|
|
12
12
|
}
|
|
13
13
|
export function evaluateExpression(expression: string, context?: any | undefined | null): Promise<any>
|
|
14
|
-
export function evaluateUnaryExpression(expression: string, context: any): Promise<
|
|
14
|
+
export function evaluateUnaryExpression(expression: string, context: any): Promise<boolean>
|
|
15
15
|
export class ZenDecision {
|
|
16
16
|
constructor()
|
|
17
17
|
evaluate(context: any, opts?: ZenEvaluateOptions | undefined | null): Promise<any>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gorules/zen-engine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -79,12 +79,12 @@
|
|
|
79
79
|
"prepublishOnly": "napi prepublish",
|
|
80
80
|
"version": "napi version"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "dc4706dc95c7c21f16c824e8d238984f7948a6c5",
|
|
83
83
|
"optionalDependencies": {
|
|
84
|
-
"@gorules/zen-engine-darwin-x64": "0.
|
|
85
|
-
"@gorules/zen-engine-linux-x64-gnu": "0.
|
|
86
|
-
"@gorules/zen-engine-win32-x64-msvc": "0.
|
|
87
|
-
"@gorules/zen-engine-linux-arm64-gnu": "0.
|
|
88
|
-
"@gorules/zen-engine-darwin-arm64": "0.
|
|
84
|
+
"@gorules/zen-engine-darwin-x64": "0.14.0",
|
|
85
|
+
"@gorules/zen-engine-linux-x64-gnu": "0.14.0",
|
|
86
|
+
"@gorules/zen-engine-win32-x64-msvc": "0.14.0",
|
|
87
|
+
"@gorules/zen-engine-linux-arm64-gnu": "0.14.0",
|
|
88
|
+
"@gorules/zen-engine-darwin-arm64": "0.14.0"
|
|
89
89
|
}
|
|
90
90
|
}
|