@statsig/client-core 3.31.2-beta.1 → 3.31.2-beta.2

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/client-core",
3
- "version": "3.31.2-beta.1",
3
+ "version": "3.31.2-beta.2",
4
4
  "license": "ISC",
5
5
  "homepage": "https://github.com/statsig-io/js-client-monorepo",
6
6
  "repository": {
@@ -1,5 +1,18 @@
1
+ import type { SessionReplayPrivacySettings } from './InitializeResponse';
1
2
  import { ParamStoreConfig } from './ParamStoreTypes';
2
3
  import { StatsigUser } from './StatsigUser';
4
+ export type SessionReplayTriggerSpec = {
5
+ values?: string[];
6
+ sampling_rate?: number;
7
+ };
8
+ export type SessionReplayInfoSpec = {
9
+ recording_blocked?: boolean;
10
+ sampling_rate?: number;
11
+ targeting_gate?: string;
12
+ session_recording_event_triggers?: Record<string, SessionReplayTriggerSpec>;
13
+ session_recording_exposure_triggers?: Record<string, SessionReplayTriggerSpec>;
14
+ session_recording_privacy_settings?: SessionReplayPrivacySettings;
15
+ };
3
16
  export type SpecCondition = {
4
17
  type: string;
5
18
  targetValue: unknown;
@@ -58,4 +71,5 @@ export type DownloadConfigSpecsResponse = {
58
71
  experiments: string[];
59
72
  }>;
60
73
  app_id?: string;
74
+ session_replay_info?: SessionReplayInfoSpec;
61
75
  };
@@ -1,4 +1,4 @@
1
- export declare const SDK_VERSION = "3.31.2-beta.1";
1
+ export declare const SDK_VERSION = "3.31.2-beta.2";
2
2
  export type StatsigMetadata = {
3
3
  readonly [key: string]: string | undefined | null;
4
4
  readonly appVersion?: string;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StatsigMetadataProvider = exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = '3.31.2-beta.1';
4
+ exports.SDK_VERSION = '3.31.2-beta.2';
5
5
  let metadata = {
6
6
  sdkVersion: exports.SDK_VERSION,
7
7
  sdkType: 'js-mono', // js-mono is overwritten by Precomp and OnDevice clients