@statsig/statsig-node-core 0.10.2-rc.2510141845 → 0.10.3-beta.2510220237

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.10.2-rc.2510141845",
3
+ "version": "0.10.3-beta.2510220237",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "jest --colors"
@@ -53,13 +53,13 @@
53
53
  ]
54
54
  },
55
55
  "optionalDependencies": {
56
- "@statsig/statsig-node-core-linux-x64-musl": "0.10.2-rc.2510141845",
57
- "@statsig/statsig-node-core-linux-x64-gnu": "0.10.2-rc.2510141845",
58
- "@statsig/statsig-node-core-win32-x64-msvc": "0.10.2-rc.2510141845",
59
- "@statsig/statsig-node-core-darwin-x64": "0.10.2-rc.2510141845",
60
- "@statsig/statsig-node-core-win32-ia32-msvc": "0.10.2-rc.2510141845",
61
- "@statsig/statsig-node-core-linux-arm64-musl": "0.10.2-rc.2510141845",
62
- "@statsig/statsig-node-core-linux-arm64-gnu": "0.10.2-rc.2510141845",
63
- "@statsig/statsig-node-core-darwin-arm64": "0.10.2-rc.2510141845"
56
+ "@statsig/statsig-node-core-linux-x64-musl": "0.10.3-beta.2510220237",
57
+ "@statsig/statsig-node-core-linux-x64-gnu": "0.10.3-beta.2510220237",
58
+ "@statsig/statsig-node-core-win32-x64-msvc": "0.10.3-beta.2510220237",
59
+ "@statsig/statsig-node-core-darwin-x64": "0.10.3-beta.2510220237",
60
+ "@statsig/statsig-node-core-win32-ia32-msvc": "0.10.3-beta.2510220237",
61
+ "@statsig/statsig-node-core-linux-arm64-musl": "0.10.3-beta.2510220237",
62
+ "@statsig/statsig-node-core-linux-arm64-gnu": "0.10.3-beta.2510220237",
63
+ "@statsig/statsig-node-core-darwin-arm64": "0.10.3-beta.2510220237"
64
64
  }
65
65
  }
@@ -6,7 +6,8 @@ export declare class DynamicConfig {
6
6
  ruleID: string
7
7
  idType: string
8
8
  details: EvaluationDetails
9
- getValue(param_name: string, fallback: boolean | number | string | object | Array<any> | null): any
9
+ getValue(paramName: string, fallback: boolean | number | string | object | Array<any> | null): any
10
+ get<T>(paramName: string, fallback: T): T
10
11
  getRuleId(): string
11
12
  getIdType(): string
12
13
  getEvaluationDetails(): EvaluationDetails
@@ -21,7 +22,8 @@ export declare class Experiment {
21
22
  idType: string
22
23
  groupName?: string
23
24
  details: EvaluationDetails
24
- getValue(param_name: string, fallback: boolean | number | string | object | Array<any> | null): any
25
+ getValue(paramName: string, fallback: boolean | number | string | object | Array<any> | null): any
26
+ get<T>(paramName: string, fallback: T): T
25
27
  getRuleId(): string
26
28
  getIdType(): string
27
29
  getGroupName(): string | null
@@ -37,7 +39,8 @@ export declare class Layer {
37
39
  allocatedExperimentName?: string
38
40
  value: Record<string, any>
39
41
  details: EvaluationDetails
40
- getValue(param_name: string, fallback: boolean | number | string | object | Array<any> | null): any
42
+ getValue(paramName: string, fallback: boolean | number | string | object | Array<any> | null): any
43
+ get<T>(paramName: string, fallback: T): T
41
44
  getRuleId(): string
42
45
  getGroupName(): string | null
43
46
  getEvaluationDetails(): EvaluationDetails
@@ -166,6 +169,7 @@ export interface EvaluationDetails {
166
169
  reason: string
167
170
  lcut?: number
168
171
  receivedAt?: number
172
+ version?: number
169
173
  }
170
174
 
171
175
  export interface ExperimentEvaluationOptions {