@algolia/client-abtesting 5.0.0-alpha.73 → 5.0.0-alpha.75
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/client-abtesting.cjs.js +29 -31
- package/dist/client-abtesting.esm.browser.js +29 -29
- package/dist/client-abtesting.esm.node.js +29 -29
- package/dist/client-abtesting.umd.js +2 -2
- package/dist/model/aBTest.d.ts +8 -12
- package/dist/model/aBTest.d.ts.map +1 -1
- package/dist/model/aBTestResponse.d.ts +3 -3
- package/dist/model/abTestsVariant.d.ts +3 -3
- package/dist/model/addABTestsRequest.d.ts +3 -3
- package/dist/model/addABTestsRequest.d.ts.map +1 -1
- package/dist/model/clientMethodProps.d.ts +16 -16
- package/dist/model/customSearchParams.d.ts +3 -0
- package/dist/model/customSearchParams.d.ts.map +1 -1
- package/dist/model/listABTestsResponse.d.ts +3 -3
- package/dist/model/variant.d.ts +14 -14
- package/dist/src/abtestingClient.d.ts +27 -27
- package/model/aBTest.ts +8 -13
- package/model/aBTestResponse.ts +3 -3
- package/model/abTestsVariant.ts +3 -3
- package/model/addABTestsRequest.ts +3 -3
- package/model/clientMethodProps.ts +16 -16
- package/model/customSearchParams.ts +3 -0
- package/model/listABTestsResponse.ts +3 -3
- package/model/variant.ts +14 -14
- package/package.json +8 -7
package/model/variant.ts
CHANGED
|
@@ -2,72 +2,72 @@
|
|
|
2
2
|
|
|
3
3
|
export type Variant = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Variant\'s [average click position](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-position).
|
|
6
6
|
*/
|
|
7
7
|
averageClickPosition: number;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Number of click events for this variant.
|
|
11
11
|
*/
|
|
12
12
|
clickCount: number;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Variant\'s [click-through rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
16
16
|
*/
|
|
17
17
|
clickThroughRate: number;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Number of click events for this variant.
|
|
21
21
|
*/
|
|
22
22
|
conversionCount: number;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Variant\'s [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).
|
|
26
26
|
*/
|
|
27
27
|
conversionRate: number;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* A/B test description.
|
|
31
31
|
*/
|
|
32
32
|
description: string;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* A/B test index.
|
|
36
36
|
*/
|
|
37
37
|
index: string;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Number of [searches without results](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#searches-without-results) for that variant.
|
|
41
41
|
*/
|
|
42
42
|
noResultCount: number;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Number of tracked searches attributed to [outlier traffic](https://www.algolia.com/doc/guides/ab-testing/how-to-read-your-a-b-test-results/#is-the-split-off) that were removed from the A/B test. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.
|
|
46
46
|
*/
|
|
47
47
|
outlierTrackedSearchesCount: number;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Number of users attributed to [outlier traffic](https://www.algolia.com/doc/guides/ab-testing/how-to-read-your-a-b-test-results/#is-the-split-off) that were removed from the A/B test.
|
|
51
51
|
*/
|
|
52
52
|
outlierUsersCount: number;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Number of searches carried out during the A/B test.
|
|
56
56
|
*/
|
|
57
57
|
searchCount: number;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
|
|
61
61
|
*/
|
|
62
62
|
trackedSearchCount: number;
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* A/B test traffic percentage.
|
|
66
66
|
*/
|
|
67
67
|
trafficPercentage: number;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* Number of users during the A/B test.
|
|
71
71
|
*/
|
|
72
72
|
userCount: number;
|
|
73
73
|
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/client-abtesting",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.75",
|
|
4
4
|
"description": "JavaScript client for client-abtesting",
|
|
5
5
|
"repository": "algolia/algoliasearch-client-javascript",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Algolia",
|
|
8
|
+
"type": "module",
|
|
8
9
|
"exports": {
|
|
9
10
|
".": {
|
|
10
11
|
"node": {
|
|
@@ -38,14 +39,14 @@
|
|
|
38
39
|
"clean": "rm -rf ./dist || true"
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
|
41
|
-
"@algolia/client-common": "5.0.0-alpha.
|
|
42
|
-
"@algolia/requester-browser-xhr": "5.0.0-alpha.
|
|
43
|
-
"@algolia/requester-node-http": "5.0.0-alpha.
|
|
42
|
+
"@algolia/client-common": "5.0.0-alpha.75",
|
|
43
|
+
"@algolia/requester-browser-xhr": "5.0.0-alpha.75",
|
|
44
|
+
"@algolia/requester-node-http": "5.0.0-alpha.75"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
|
-
"@types/node": "18.
|
|
47
|
-
"rollup": "
|
|
48
|
-
"typescript": "5.
|
|
47
|
+
"@types/node": "18.17.0",
|
|
48
|
+
"rollup": "3.26.3",
|
|
49
|
+
"typescript": "5.1.6"
|
|
49
50
|
},
|
|
50
51
|
"engines": {
|
|
51
52
|
"node": ">= 14.0.0"
|