@atlaskit/tmp-editor-statsig 11.4.0 → 11.6.0

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.
@@ -4,8 +4,8 @@ export type ProductKeys = {
4
4
  test?: string;
5
5
  };
6
6
  export type ExperimentConfigValue = {
7
- productKeys?: ProductKeys;
8
7
  param: string;
8
+ productKeys?: ProductKeys;
9
9
  typeGuard: (value: unknown) => boolean;
10
10
  } & ({
11
11
  defaultValue: boolean;
@@ -14,15 +14,15 @@ export type ExperimentConfigValue = {
14
14
  values: string[];
15
15
  });
16
16
  export type BooleanExperimentConfig = {
17
- productKeys?: ProductKeys;
18
- param: string;
19
17
  defaultValue: boolean;
18
+ param: string;
19
+ productKeys?: ProductKeys;
20
20
  };
21
21
  export type MultivariateExperimentConfig<T extends string[]> = {
22
- productKeys?: ProductKeys;
22
+ defaultValue: T[number];
23
23
  param: string;
24
+ productKeys?: ProductKeys;
24
25
  values: [
25
26
  ...T
26
27
  ];
27
- defaultValue: T[number];
28
28
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "11.4.0",
3
+ "version": "11.6.0",
4
4
  "description": "Temp plugin to ease use of statsig feature flags until platform feature flags are available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",