@oai-statsig/statsig-node-core 0.20.0 → 0.21.0-beta.20260528.1842

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.
@@ -12,4 +12,4 @@ export type StickyValues = {
12
12
  configVersion?: number | undefined;
13
13
  };
14
14
  export type UserPersistedValues = Record<string, StickyValues>;
15
- export type SdkEvent = '*' | 'gate_evaluated' | 'dynamic_config_evaluated' | 'experiment_evaluated' | 'layer_evaluated' | 'specs_updated';
15
+ export type SdkEvent = '*' | 'gate_evaluated' | 'dynamic_config_evaluated' | 'experiment_evaluated' | 'layer_evaluated' | 'specs_updated' | '__internal_sdk_configs_updated__';
package/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import { DynamicConfigEvaluationOptions, ExperimentEvaluationOptions, FeatureGat
2
2
  import { DynamicConfig, Experiment, FeatureGate, Layer } from './statsig_types';
3
3
  export * from './statsig-generated';
4
4
  export * from './statsig_types';
5
+ export declare const SDK_VERSION = "0.21.0-beta.20260528.1842";
5
6
  export declare class Statsig extends StatsigNapiInternal {
6
7
  private static _sharedInstance;
7
8
  static shared(): Statsig;
package/index.js CHANGED
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  });
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Statsig = void 0;
26
+ exports.Statsig = exports.SDK_VERSION = void 0;
27
27
  const https_proxy_agent_1 = require("https-proxy-agent");
28
28
  const console_capture_1 = require("./console_capture");
29
29
  const error_boundary_1 = require("./error_boundary");
@@ -31,6 +31,7 @@ const statsig_generated_1 = require("./statsig-generated");
31
31
  const statsig_types_1 = require("./statsig_types");
32
32
  __exportStar(require("./statsig-generated"), exports);
33
33
  __exportStar(require("./statsig_types"), exports);
34
+ exports.SDK_VERSION = '0.21.0-beta.20260528.1842';
34
35
  const inspectSym = Symbol.for('nodejs.util.inspect.custom');
35
36
  // @ts-expect-error - prototype assignment
36
37
  statsig_generated_1.StatsigUser.prototype[inspectSym] = function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oai-statsig/statsig-node-core",
3
- "version": "0.20.0",
3
+ "version": "0.21.0-beta.20260528.1842",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "jest --colors"
@@ -9,7 +9,7 @@
9
9
  "author": "",
10
10
  "license": "ISC",
11
11
  "description": "",
12
- "repository": "https://github.com/statsig-io/statsig-server-core.git",
12
+ "repository": "https://github.com/openai/statsig-priv-server-core.git",
13
13
  "dependencies": {
14
14
  "@octokit/core": "^6",
15
15
  "https-proxy-agent": "^7.0.6",
@@ -60,13 +60,13 @@
60
60
  }
61
61
  },
62
62
  "optionalDependencies": {
63
- "@oai-statsig/statsig-node-core-linux-x64-musl": "0.20.0",
64
- "@oai-statsig/statsig-node-core-linux-x64-gnu": "0.20.0",
65
- "@oai-statsig/statsig-node-core-win32-x64-msvc": "0.20.0",
66
- "@oai-statsig/statsig-node-core-darwin-x64": "0.20.0",
67
- "@oai-statsig/statsig-node-core-win32-ia32-msvc": "0.20.0",
68
- "@oai-statsig/statsig-node-core-linux-arm64-musl": "0.20.0",
69
- "@oai-statsig/statsig-node-core-linux-arm64-gnu": "0.20.0",
70
- "@oai-statsig/statsig-node-core-darwin-arm64": "0.20.0"
63
+ "@oai-statsig/statsig-node-core-darwin-arm64": "0.21.0-beta.20260528.1842",
64
+ "@oai-statsig/statsig-node-core-darwin-x64": "0.21.0-beta.20260528.1842",
65
+ "@oai-statsig/statsig-node-core-linux-arm64-gnu": "0.21.0-beta.20260528.1842",
66
+ "@oai-statsig/statsig-node-core-linux-arm64-musl": "0.21.0-beta.20260528.1842",
67
+ "@oai-statsig/statsig-node-core-linux-x64-gnu": "0.21.0-beta.20260528.1842",
68
+ "@oai-statsig/statsig-node-core-linux-x64-musl": "0.21.0-beta.20260528.1842",
69
+ "@oai-statsig/statsig-node-core-win32-ia32-msvc": "0.21.0-beta.20260528.1842",
70
+ "@oai-statsig/statsig-node-core-win32-x64-msvc": "0.21.0-beta.20260528.1842"
71
71
  }
72
72
  }
@@ -311,4 +311,5 @@ export type SdkEvent =
311
311
  | 'dynamic_config_evaluated'
312
312
  | 'experiment_evaluated'
313
313
  | 'layer_evaluated'
314
- | 'specs_updated';
314
+ | 'specs_updated'
315
+ | '__internal_sdk_configs_updated__';