@wix/sdk-types 1.13.30 → 1.13.31

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.
@@ -46,11 +46,6 @@ interface ReadOnlyExperimentsOptions {
46
46
  experiments?: ExperimentsBag;
47
47
  }
48
48
 
49
- type Conductor = {
50
- isFeatureOn: (featureName: string) => boolean;
51
- getABTestVariant: (abTestName: string) => 'a' | 'b' | 'c' | 'd' | 'e';
52
- };
53
-
54
49
  type HostModule<T, H extends Host> = {
55
50
  __type: 'host';
56
51
  create(host: H): T;
@@ -83,15 +78,10 @@ type Host<Environment = unknown> = {
83
78
  */
84
79
  getBiLogger?: () => BiLogger;
85
80
  /**
86
- * Optional function to get petri experiments
87
- * @internal
88
- */
89
- getPetriExperimentsClient?: () => ReadOnlyExperiments;
90
- /**
91
- * Optional function to get conductor experiments
81
+ * Optional function to get experiments instance
92
82
  * @internal
93
83
  */
94
- getConductorClient?: () => Conductor;
84
+ getExperiments?: () => ReadOnlyExperiments;
95
85
  /**
96
86
  * Optional ErrorHandler instance provided by the host
97
87
  * @internal
@@ -46,11 +46,6 @@ interface ReadOnlyExperimentsOptions {
46
46
  experiments?: ExperimentsBag;
47
47
  }
48
48
 
49
- type Conductor = {
50
- isFeatureOn: (featureName: string) => boolean;
51
- getABTestVariant: (abTestName: string) => 'a' | 'b' | 'c' | 'd' | 'e';
52
- };
53
-
54
49
  type HostModule<T, H extends Host> = {
55
50
  __type: 'host';
56
51
  create(host: H): T;
@@ -83,15 +78,10 @@ type Host<Environment = unknown> = {
83
78
  */
84
79
  getBiLogger?: () => BiLogger;
85
80
  /**
86
- * Optional function to get petri experiments
87
- * @internal
88
- */
89
- getPetriExperimentsClient?: () => ReadOnlyExperiments;
90
- /**
91
- * Optional function to get conductor experiments
81
+ * Optional function to get experiments instance
92
82
  * @internal
93
83
  */
94
- getConductorClient?: () => Conductor;
84
+ getExperiments?: () => ReadOnlyExperiments;
95
85
  /**
96
86
  * Optional ErrorHandler instance provided by the host
97
87
  * @internal
@@ -46,11 +46,6 @@ interface ReadOnlyExperimentsOptions {
46
46
  experiments?: ExperimentsBag;
47
47
  }
48
48
 
49
- type Conductor = {
50
- isFeatureOn: (featureName: string) => boolean;
51
- getABTestVariant: (abTestName: string) => 'a' | 'b' | 'c' | 'd' | 'e';
52
- };
53
-
54
49
  type HostModule<T, H extends Host> = {
55
50
  __type: 'host';
56
51
  create(host: H): T;
@@ -83,15 +78,10 @@ type Host<Environment = unknown> = {
83
78
  */
84
79
  getBiLogger?: () => BiLogger;
85
80
  /**
86
- * Optional function to get petri experiments
87
- * @internal
88
- */
89
- getPetriExperimentsClient?: () => ReadOnlyExperiments;
90
- /**
91
- * Optional function to get conductor experiments
81
+ * Optional function to get experiments instance
92
82
  * @internal
93
83
  */
94
- getConductorClient?: () => Conductor;
84
+ getExperiments?: () => ReadOnlyExperiments;
95
85
  /**
96
86
  * Optional ErrorHandler instance provided by the host
97
87
  * @internal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/sdk-types",
3
- "version": "1.13.30",
3
+ "version": "1.13.31",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Ronny Ringel",
@@ -62,5 +62,5 @@
62
62
  "wallaby": {
63
63
  "autoDetect": true
64
64
  },
65
- "falconPackageHash": "02e6117ddcfbd37d6edd0161bf39937504c94b1f29d7301f551bab95"
65
+ "falconPackageHash": "747e5bef7755ad456330fc7c3a373c7d68aa945207dd41880ad71002"
66
66
  }