@statsig/statsig-node-core 0.14.1-beta.2512170241 → 0.14.1-beta.2512200239

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statsig/statsig-node-core",
3
- "version": "0.14.1-beta.2512170241",
3
+ "version": "0.14.1-beta.2512200239",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "jest --colors"
@@ -55,13 +55,13 @@
55
55
  ]
56
56
  },
57
57
  "optionalDependencies": {
58
- "@statsig/statsig-node-core-linux-x64-musl": "0.14.1-beta.2512170241",
59
- "@statsig/statsig-node-core-linux-x64-gnu": "0.14.1-beta.2512170241",
60
- "@statsig/statsig-node-core-win32-x64-msvc": "0.14.1-beta.2512170241",
61
- "@statsig/statsig-node-core-darwin-x64": "0.14.1-beta.2512170241",
62
- "@statsig/statsig-node-core-win32-ia32-msvc": "0.14.1-beta.2512170241",
63
- "@statsig/statsig-node-core-linux-arm64-musl": "0.14.1-beta.2512170241",
64
- "@statsig/statsig-node-core-linux-arm64-gnu": "0.14.1-beta.2512170241",
65
- "@statsig/statsig-node-core-darwin-arm64": "0.14.1-beta.2512170241"
58
+ "@statsig/statsig-node-core-linux-x64-musl": "0.14.1-beta.2512200239",
59
+ "@statsig/statsig-node-core-linux-x64-gnu": "0.14.1-beta.2512200239",
60
+ "@statsig/statsig-node-core-win32-x64-msvc": "0.14.1-beta.2512200239",
61
+ "@statsig/statsig-node-core-darwin-x64": "0.14.1-beta.2512200239",
62
+ "@statsig/statsig-node-core-win32-ia32-msvc": "0.14.1-beta.2512200239",
63
+ "@statsig/statsig-node-core-linux-arm64-musl": "0.14.1-beta.2512200239",
64
+ "@statsig/statsig-node-core-linux-arm64-gnu": "0.14.1-beta.2512200239",
65
+ "@statsig/statsig-node-core-darwin-arm64": "0.14.1-beta.2512200239"
66
66
  }
67
67
  }
@@ -16,7 +16,7 @@ export declare class StatsigNapiInternal {
16
16
  initialize(): Promise<StatsigResult>
17
17
  shutdown(timeoutMs?: number | undefined | null): Promise<StatsigResult>
18
18
  flushEvents(): Promise<StatsigResult>
19
- logEvent(user: StatsigUser, eventName: string, value?: string | number | null, metadata?: Record<string, string> | undefined | null): void
19
+ logEvent(user: StatsigUser, eventName: string, value?: string | number | null, metadata?: Record<string, string | number | boolean | null | undefined> | null | undefined): void
20
20
  forwardLogLineEvent(user: StatsigUser, logLevel: 'trace' | 'debug' |'log' | 'info' | 'warn' | 'error', value?: string | undefined | null, metadata?: Record<string, string> | undefined | null): void
21
21
  checkGate(user: StatsigUser, gateName: string, options?: FeatureGateEvaluationOptions | undefined | null): boolean
22
22
  __INTERNAL_getFeatureGate(user: StatsigUser, featureName: string, options?: FeatureGateEvaluationOptions | undefined | null): string
@@ -102,6 +102,7 @@ export interface ClientInitResponseOptions {
102
102
  removeIdType?: boolean
103
103
  removeDefaultValueGates?: boolean
104
104
  responseFormat?: GCIRResponseFormat
105
+ previousResponseHash?: string
105
106
  }
106
107
 
107
108
  export interface ConsoleCaptureOptions {