@schematichq/schematic-typescript-node 1.4.8 → 1.5.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.
@@ -1,4 +1,5 @@
1
- import * as Schematic from './api/types';
1
+ import * as Schematic from "./api/types";
2
+ import type { CheckFlagOptions } from "./wrapper";
2
3
  /** Entitlement details returned by the WASM rules engine */
3
4
  export interface WasmFeatureEntitlement {
4
5
  featureId: string;
@@ -40,6 +41,7 @@ export declare class RulesEngineClient {
40
41
  constructor();
41
42
  initialize(): Promise<void>;
42
43
  checkFlag(flag: object, company?: object | null, user?: object | null): Promise<WasmCheckFlagResult>;
44
+ checkFlagWithOptions(flag: object, company?: object | null, user?: object | null, options?: CheckFlagOptions | null): Promise<WasmCheckFlagResult>;
43
45
  /**
44
46
  * Get the version key of the WASM rules engine.
45
47
  * Useful for debugging and compatibility checking.