@wix/sdk-types 1.13.29 → 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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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.
|
|
3
|
+
"version": "1.13.31",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ronny Ringel",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"*.{js,ts}": "yarn lint"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@wix/error-handler-types": "^1.
|
|
33
|
+
"@wix/error-handler-types": "^1.9.0",
|
|
34
34
|
"@wix/monitoring-types": "^0.12.0",
|
|
35
35
|
"type-fest": "^4.41.0"
|
|
36
36
|
},
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"wallaby": {
|
|
63
63
|
"autoDetect": true
|
|
64
64
|
},
|
|
65
|
-
"falconPackageHash": "
|
|
65
|
+
"falconPackageHash": "747e5bef7755ad456330fc7c3a373c7d68aa945207dd41880ad71002"
|
|
66
66
|
}
|