@highflame/sdk 0.3.2 → 0.3.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/dist/index.d.cts CHANGED
@@ -36,9 +36,9 @@ interface EvidenceSource {
36
36
  /** */
37
37
  interface ConditionResult {
38
38
  /** Actual value from the context (null if field was missing). */
39
- actual: Record<string, unknown>;
39
+ actual: unknown;
40
40
  /** Expected value (threshold from the rule). */
41
- expected: Record<string, unknown>;
41
+ expected: unknown;
42
42
  /** Context field name. */
43
43
  field: string;
44
44
  /** Whether this condition matched. */
@@ -285,13 +285,13 @@ interface DeterminingPolicy {
285
285
  /** */
286
286
  interface EvaluatedExpression {
287
287
  /** Actual value from the context. */
288
- actual?: Record<string, unknown>;
288
+ actual?: unknown;
289
289
  /** Child expression (for not nodes). */
290
290
  child?: EvaluatedExpression;
291
291
  /** Child expressions (for and/or nodes). */
292
292
  children?: EvaluatedExpression[];
293
293
  /** Expected value (threshold from the rule). */
294
- expected?: Record<string, unknown>;
294
+ expected?: unknown;
295
295
  /** Context field name. */
296
296
  field?: string;
297
297
  /** Expression kind: comparison, contains, like, has, and, or, not, raw. */
package/dist/index.d.ts CHANGED
@@ -36,9 +36,9 @@ interface EvidenceSource {
36
36
  /** */
37
37
  interface ConditionResult {
38
38
  /** Actual value from the context (null if field was missing). */
39
- actual: Record<string, unknown>;
39
+ actual: unknown;
40
40
  /** Expected value (threshold from the rule). */
41
- expected: Record<string, unknown>;
41
+ expected: unknown;
42
42
  /** Context field name. */
43
43
  field: string;
44
44
  /** Whether this condition matched. */
@@ -285,13 +285,13 @@ interface DeterminingPolicy {
285
285
  /** */
286
286
  interface EvaluatedExpression {
287
287
  /** Actual value from the context. */
288
- actual?: Record<string, unknown>;
288
+ actual?: unknown;
289
289
  /** Child expression (for not nodes). */
290
290
  child?: EvaluatedExpression;
291
291
  /** Child expressions (for and/or nodes). */
292
292
  children?: EvaluatedExpression[];
293
293
  /** Expected value (threshold from the rule). */
294
- expected?: Record<string, unknown>;
294
+ expected?: unknown;
295
295
  /** Context field name. */
296
296
  field?: string;
297
297
  /** Expression kind: comparison, contains, like, has, and, or, not, raw. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@highflame/sdk",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "JavaScript/TypeScript SDK for Highflame AI guardrails",
5
5
  "type": "module",
6
6
  "sideEffects": false,