@splitlab/core 0.3.1 → 0.3.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/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -59,6 +59,14 @@ interface EvalResult {
|
|
|
59
59
|
experiments: Record<string, string | null>;
|
|
60
60
|
flags: Record<string, boolean>;
|
|
61
61
|
}
|
|
62
|
+
interface BootstrapData {
|
|
63
|
+
evalResult: EvalResult;
|
|
64
|
+
serverConfig: ServerConfig;
|
|
65
|
+
deviceId: string;
|
|
66
|
+
sessionId: string | null;
|
|
67
|
+
etag: string | null;
|
|
68
|
+
generatedAt: string;
|
|
69
|
+
}
|
|
62
70
|
interface TrackEvent {
|
|
63
71
|
distinct_id: string;
|
|
64
72
|
event_name: string;
|
|
@@ -86,4 +94,4 @@ interface UAResult {
|
|
|
86
94
|
}
|
|
87
95
|
declare function parseUserAgent(ua?: string): UAResult;
|
|
88
96
|
|
|
89
|
-
export { type EvalResult, type ExclusionGroupConfig, type ExperimentConfig, type FlagConfig, type SegmentConfig, type ServerConfig, type TargetingCondition, type TargetingGroup, type TargetingRules, type TrackEvent, type UAResult, type Variant, evaluateRules, hashToFloat, localEvaluate, murmurhash3, parseUserAgent };
|
|
97
|
+
export { type BootstrapData, type EvalResult, type ExclusionGroupConfig, type ExperimentConfig, type FlagConfig, type SegmentConfig, type ServerConfig, type TargetingCondition, type TargetingGroup, type TargetingRules, type TrackEvent, type UAResult, type Variant, evaluateRules, hashToFloat, localEvaluate, murmurhash3, parseUserAgent };
|
package/dist/index.d.ts
CHANGED
|
@@ -59,6 +59,14 @@ interface EvalResult {
|
|
|
59
59
|
experiments: Record<string, string | null>;
|
|
60
60
|
flags: Record<string, boolean>;
|
|
61
61
|
}
|
|
62
|
+
interface BootstrapData {
|
|
63
|
+
evalResult: EvalResult;
|
|
64
|
+
serverConfig: ServerConfig;
|
|
65
|
+
deviceId: string;
|
|
66
|
+
sessionId: string | null;
|
|
67
|
+
etag: string | null;
|
|
68
|
+
generatedAt: string;
|
|
69
|
+
}
|
|
62
70
|
interface TrackEvent {
|
|
63
71
|
distinct_id: string;
|
|
64
72
|
event_name: string;
|
|
@@ -86,4 +94,4 @@ interface UAResult {
|
|
|
86
94
|
}
|
|
87
95
|
declare function parseUserAgent(ua?: string): UAResult;
|
|
88
96
|
|
|
89
|
-
export { type EvalResult, type ExclusionGroupConfig, type ExperimentConfig, type FlagConfig, type SegmentConfig, type ServerConfig, type TargetingCondition, type TargetingGroup, type TargetingRules, type TrackEvent, type UAResult, type Variant, evaluateRules, hashToFloat, localEvaluate, murmurhash3, parseUserAgent };
|
|
97
|
+
export { type BootstrapData, type EvalResult, type ExclusionGroupConfig, type ExperimentConfig, type FlagConfig, type SegmentConfig, type ServerConfig, type TargetingCondition, type TargetingGroup, type TargetingRules, type TrackEvent, type UAResult, type Variant, evaluateRules, hashToFloat, localEvaluate, murmurhash3, parseUserAgent };
|