@algolia/client-abtesting 5.0.0-alpha.1 → 5.0.0-alpha.100
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/builds/browser.d.ts +5 -5
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +5 -5
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/{client-abtesting.cjs.js → client-abtesting.cjs} +330 -305
- package/dist/client-abtesting.esm.browser.js +542 -539
- package/dist/client-abtesting.esm.node.js +330 -303
- package/dist/client-abtesting.umd.js +2 -2
- package/dist/model/aBTest.d.ts +51 -39
- package/dist/model/aBTest.d.ts.map +1 -1
- package/dist/model/aBTestResponse.d.ts +14 -14
- package/dist/model/aBTestResponse.d.ts.map +1 -1
- package/dist/model/abTestsVariant.d.ts +14 -14
- package/dist/model/abTestsVariant.d.ts.map +1 -1
- package/dist/model/abTestsVariantSearchParams.d.ts +3 -3
- package/dist/model/abTestsVariantSearchParams.d.ts.map +1 -1
- package/dist/model/addABTestsRequest.d.ts +15 -15
- package/dist/model/addABTestsRequest.d.ts.map +1 -1
- package/dist/model/addABTestsVariant.d.ts +3 -3
- package/dist/model/addABTestsVariant.d.ts.map +1 -1
- package/dist/model/clientMethodProps.d.ts +108 -100
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/currenciesValue.d.ts +19 -0
- package/dist/model/currenciesValue.d.ts.map +1 -0
- package/dist/model/customSearchParams.d.ts +6 -3
- package/dist/model/customSearchParams.d.ts.map +1 -1
- package/dist/model/errorBase.d.ts +6 -6
- package/dist/model/errorBase.d.ts.map +1 -1
- package/dist/model/filterEffects.d.ts +10 -0
- package/dist/model/filterEffects.d.ts.map +1 -0
- package/dist/model/filterEffectsEmptySearch.d.ts +14 -0
- package/dist/model/filterEffectsEmptySearch.d.ts.map +1 -0
- package/dist/model/filterEffectsOutliers.d.ts +14 -0
- package/dist/model/filterEffectsOutliers.d.ts.map +1 -0
- package/dist/model/index.d.ts +15 -11
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/listABTestsResponse.d.ts +15 -15
- package/dist/model/listABTestsResponse.d.ts.map +1 -1
- package/dist/model/variant.d.ts +77 -50
- package/dist/model/variant.d.ts.map +1 -1
- package/dist/src/abtestingClient.d.ts +132 -113
- package/dist/src/abtestingClient.d.ts.map +1 -1
- package/index.js +1 -1
- package/model/aBTest.ts +33 -10
- package/model/aBTestResponse.ts +6 -4
- package/model/abTestsVariant.ts +6 -4
- package/model/abTestsVariantSearchParams.ts +1 -1
- package/model/addABTestsRequest.ts +6 -4
- package/model/addABTestsVariant.ts +1 -1
- package/model/clientMethodProps.ts +54 -46
- package/model/currenciesValue.ts +23 -0
- package/model/customSearchParams.ts +4 -1
- package/model/errorBase.ts +1 -1
- package/model/filterEffects.ts +13 -0
- package/model/filterEffectsEmptySearch.ts +16 -0
- package/model/filterEffectsOutliers.ts +16 -0
- package/model/index.ts +5 -1
- package/model/listABTestsResponse.ts +6 -4
- package/model/variant.ts +59 -13
- package/package.json +32 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { AbTestsVariant } from './abTestsVariant';
|
|
4
4
|
import type { CustomSearchParams } from './customSearchParams';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { AddABTestsVariant } from './addABTestsVariant';
|
|
4
4
|
|
|
@@ -7,12 +7,14 @@ export type AddABTestsRequest = {
|
|
|
7
7
|
* A/B test name.
|
|
8
8
|
*/
|
|
9
9
|
name: string;
|
|
10
|
+
|
|
10
11
|
/**
|
|
11
|
-
*
|
|
12
|
+
* A/B test variants.
|
|
12
13
|
*/
|
|
13
|
-
|
|
14
|
+
variants: AddABTestsVariant[];
|
|
15
|
+
|
|
14
16
|
/**
|
|
15
|
-
* End date
|
|
17
|
+
* End date timestamp in [ISO-8601](https://wikipedia.org/wiki/ISO_8601) format.
|
|
16
18
|
*/
|
|
17
19
|
endAt: string;
|
|
18
20
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { AbTestsVariant } from './abTestsVariant';
|
|
4
4
|
import type { AbTestsVariantSearchParams } from './abTestsVariantSearchParams';
|
|
@@ -1,101 +1,109 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Properties for the `
|
|
4
|
+
* Properties for the `customDelete` method.
|
|
5
5
|
*/
|
|
6
|
-
export type
|
|
6
|
+
export type CustomDeleteProps = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
9
9
|
*/
|
|
10
10
|
path: string;
|
|
11
11
|
/**
|
|
12
|
-
* Query parameters to
|
|
12
|
+
* Query parameters to apply to the current query.
|
|
13
13
|
*/
|
|
14
14
|
parameters?: Record<string, any>;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* Properties for the `
|
|
18
|
+
* Properties for the `customGet` method.
|
|
19
19
|
*/
|
|
20
|
-
export type
|
|
20
|
+
export type CustomGetProps = {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
path: string;
|
|
25
|
+
/**
|
|
26
|
+
* Query parameters to apply to the current query.
|
|
27
|
+
*/
|
|
28
|
+
parameters?: Record<string, any>;
|
|
25
29
|
};
|
|
26
30
|
|
|
27
31
|
/**
|
|
28
|
-
* Properties for the `
|
|
32
|
+
* Properties for the `customPost` method.
|
|
29
33
|
*/
|
|
30
|
-
export type
|
|
34
|
+
export type CustomPostProps = {
|
|
31
35
|
/**
|
|
32
|
-
*
|
|
36
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
33
37
|
*/
|
|
34
38
|
path: string;
|
|
35
39
|
/**
|
|
36
|
-
* Query parameters to
|
|
40
|
+
* Query parameters to apply to the current query.
|
|
37
41
|
*/
|
|
38
42
|
parameters?: Record<string, any>;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Properties for the `getABTest` method.
|
|
43
|
-
*/
|
|
44
|
-
export type GetABTestProps = {
|
|
45
43
|
/**
|
|
46
|
-
*
|
|
44
|
+
* Parameters to send with the custom request.
|
|
47
45
|
*/
|
|
48
|
-
|
|
46
|
+
body?: Record<string, any>;
|
|
49
47
|
};
|
|
50
48
|
|
|
51
49
|
/**
|
|
52
|
-
* Properties for the `
|
|
50
|
+
* Properties for the `customPut` method.
|
|
53
51
|
*/
|
|
54
|
-
export type
|
|
52
|
+
export type CustomPutProps = {
|
|
55
53
|
/**
|
|
56
|
-
*
|
|
54
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
57
55
|
*/
|
|
58
|
-
|
|
56
|
+
path: string;
|
|
59
57
|
/**
|
|
60
|
-
*
|
|
58
|
+
* Query parameters to apply to the current query.
|
|
61
59
|
*/
|
|
62
|
-
|
|
60
|
+
parameters?: Record<string, any>;
|
|
61
|
+
/**
|
|
62
|
+
* Parameters to send with the custom request.
|
|
63
|
+
*/
|
|
64
|
+
body?: Record<string, any>;
|
|
63
65
|
};
|
|
64
66
|
|
|
65
67
|
/**
|
|
66
|
-
* Properties for the `
|
|
68
|
+
* Properties for the `deleteABTest` method.
|
|
67
69
|
*/
|
|
68
|
-
export type
|
|
69
|
-
/**
|
|
70
|
-
* The path of the API endpoint to target, anything after the /1 needs to be specified.
|
|
71
|
-
*/
|
|
72
|
-
path: string;
|
|
70
|
+
export type DeleteABTestProps = {
|
|
73
71
|
/**
|
|
74
|
-
*
|
|
72
|
+
* Unique A/B test ID.
|
|
75
73
|
*/
|
|
76
|
-
|
|
74
|
+
id: number;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Properties for the `getABTest` method.
|
|
79
|
+
*/
|
|
80
|
+
export type GetABTestProps = {
|
|
77
81
|
/**
|
|
78
|
-
*
|
|
82
|
+
* Unique A/B test ID.
|
|
79
83
|
*/
|
|
80
|
-
|
|
84
|
+
id: number;
|
|
81
85
|
};
|
|
82
86
|
|
|
83
87
|
/**
|
|
84
|
-
* Properties for the `
|
|
88
|
+
* Properties for the `listABTests` method.
|
|
85
89
|
*/
|
|
86
|
-
export type
|
|
90
|
+
export type ListABTestsProps = {
|
|
87
91
|
/**
|
|
88
|
-
*
|
|
92
|
+
* Position of the starting record. Used for paging. 0 is the first record.
|
|
89
93
|
*/
|
|
90
|
-
|
|
94
|
+
offset?: number;
|
|
91
95
|
/**
|
|
92
|
-
*
|
|
96
|
+
* Number of records to return (page size).
|
|
93
97
|
*/
|
|
94
|
-
|
|
98
|
+
limit?: number;
|
|
95
99
|
/**
|
|
96
|
-
*
|
|
100
|
+
* Only return A/B tests for indices starting with this prefix.
|
|
97
101
|
*/
|
|
98
|
-
|
|
102
|
+
indexPrefix?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Only return A/B tests for indices ending with this suffix.
|
|
105
|
+
*/
|
|
106
|
+
indexSuffix?: string;
|
|
99
107
|
};
|
|
100
108
|
|
|
101
109
|
/**
|
|
@@ -103,7 +111,7 @@ export type PutProps = {
|
|
|
103
111
|
*/
|
|
104
112
|
export type StopABTestProps = {
|
|
105
113
|
/**
|
|
106
|
-
*
|
|
114
|
+
* Unique A/B test ID.
|
|
107
115
|
*/
|
|
108
116
|
id: number;
|
|
109
117
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
export type CurrenciesValue = {
|
|
4
|
+
/**
|
|
5
|
+
* Currency code.
|
|
6
|
+
*/
|
|
7
|
+
currency?: string;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Revenue for this currency.
|
|
11
|
+
*/
|
|
12
|
+
revenue?: number;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Mean for this currency.
|
|
16
|
+
*/
|
|
17
|
+
mean?: number;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Standard deviation for this currency.
|
|
21
|
+
*/
|
|
22
|
+
standardDeviation?: number;
|
|
23
|
+
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Applies search parameters from [a restricted set of options](https://www.algolia.com/doc/api-reference/api-methods/add-ab-test/#method-param-customsearchparameters). Only use this parameter if the two variants use the same index.
|
|
5
|
+
*/
|
|
3
6
|
export type CustomSearchParams = {
|
|
4
7
|
customSearchParameters: Record<string, any>;
|
|
5
8
|
};
|
package/model/errorBase.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Error.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { FilterEffectsEmptySearch } from './filterEffectsEmptySearch';
|
|
4
|
+
import type { FilterEffectsOutliers } from './filterEffectsOutliers';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* A/B test filter effects resulting from configuration settings.
|
|
8
|
+
*/
|
|
9
|
+
export type FilterEffects = {
|
|
10
|
+
outliers?: FilterEffectsOutliers;
|
|
11
|
+
|
|
12
|
+
emptySearch?: FilterEffectsEmptySearch;
|
|
13
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Empty searches removed from the A/B test as a result of configuration settings.
|
|
5
|
+
*/
|
|
6
|
+
export type FilterEffectsEmptySearch = {
|
|
7
|
+
/**
|
|
8
|
+
* Number of users removed from the A/B test.
|
|
9
|
+
*/
|
|
10
|
+
usersCount?: number;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Number of tracked searches removed from the A/B test.
|
|
14
|
+
*/
|
|
15
|
+
trackedSearchesCount?: number;
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Outliers removed from the A/B test as a result of configuration settings.
|
|
5
|
+
*/
|
|
6
|
+
export type FilterEffectsOutliers = {
|
|
7
|
+
/**
|
|
8
|
+
* Number of users removed from the A/B test.
|
|
9
|
+
*/
|
|
10
|
+
usersCount?: number;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Number of tracked searches removed from the A/B test.
|
|
14
|
+
*/
|
|
15
|
+
trackedSearchesCount?: number;
|
|
16
|
+
};
|
package/model/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export * from './aBTest';
|
|
4
4
|
export * from './aBTestResponse';
|
|
@@ -6,8 +6,12 @@ export * from './abTestsVariant';
|
|
|
6
6
|
export * from './abTestsVariantSearchParams';
|
|
7
7
|
export * from './addABTestsRequest';
|
|
8
8
|
export * from './addABTestsVariant';
|
|
9
|
+
export * from './currenciesValue';
|
|
9
10
|
export * from './customSearchParams';
|
|
10
11
|
export * from './errorBase';
|
|
12
|
+
export * from './filterEffects';
|
|
13
|
+
export * from './filterEffectsEmptySearch';
|
|
14
|
+
export * from './filterEffectsOutliers';
|
|
11
15
|
export * from './listABTestsResponse';
|
|
12
16
|
export * from './variant';
|
|
13
17
|
export * from './clientMethodProps';
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { ABTest } from './aBTest';
|
|
4
4
|
|
|
5
5
|
export type ListABTestsResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* A/B tests.
|
|
8
8
|
*/
|
|
9
9
|
abtests: ABTest[];
|
|
10
|
+
|
|
10
11
|
/**
|
|
11
|
-
* Number of A/B tests
|
|
12
|
+
* Number of A/B tests implemented.
|
|
12
13
|
*/
|
|
13
14
|
count: number;
|
|
15
|
+
|
|
14
16
|
/**
|
|
15
|
-
* Number of A/B tests
|
|
17
|
+
* Number of retrievable A/B tests.
|
|
16
18
|
*/
|
|
17
19
|
total: number;
|
|
18
20
|
};
|
package/model/variant.ts
CHANGED
|
@@ -1,52 +1,98 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { CurrenciesValue } from './currenciesValue';
|
|
4
|
+
import type { FilterEffects } from './filterEffects';
|
|
2
5
|
|
|
3
6
|
export type Variant = {
|
|
4
7
|
/**
|
|
5
|
-
*
|
|
8
|
+
* Number of add-to-cart events for this variant.
|
|
9
|
+
*/
|
|
10
|
+
addToCartCount: number;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Variant\'s [add-to-cart rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#add-to-cart-rate).
|
|
14
|
+
*/
|
|
15
|
+
addToCartRate: number;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Variant\'s [average click position](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-position).
|
|
6
19
|
*/
|
|
7
20
|
averageClickPosition: number;
|
|
21
|
+
|
|
8
22
|
/**
|
|
9
|
-
*
|
|
23
|
+
* Number of click events for this variant.
|
|
10
24
|
*/
|
|
11
25
|
clickCount: number;
|
|
26
|
+
|
|
12
27
|
/**
|
|
13
|
-
*
|
|
28
|
+
* Variant\'s [click-through rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
14
29
|
*/
|
|
15
30
|
clickThroughRate: number;
|
|
31
|
+
|
|
16
32
|
/**
|
|
17
|
-
*
|
|
33
|
+
* Number of click events for this variant.
|
|
18
34
|
*/
|
|
19
35
|
conversionCount: number;
|
|
36
|
+
|
|
20
37
|
/**
|
|
21
|
-
*
|
|
38
|
+
* Variant\'s [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).
|
|
22
39
|
*/
|
|
23
40
|
conversionRate: number;
|
|
41
|
+
|
|
24
42
|
/**
|
|
25
|
-
*
|
|
43
|
+
* A/B test currencies.
|
|
44
|
+
*/
|
|
45
|
+
currencies: Record<string, CurrenciesValue>;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* A/B test description.
|
|
26
49
|
*/
|
|
27
50
|
description: string;
|
|
51
|
+
|
|
52
|
+
filterEffects?: FilterEffects;
|
|
53
|
+
|
|
28
54
|
/**
|
|
29
|
-
*
|
|
55
|
+
* A/B test index.
|
|
30
56
|
*/
|
|
31
57
|
index: string;
|
|
58
|
+
|
|
32
59
|
/**
|
|
33
|
-
*
|
|
60
|
+
* Number of [searches without results](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#searches-without-results) for that variant.
|
|
34
61
|
*/
|
|
35
62
|
noResultCount: number;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Number of purchase events for this variant.
|
|
66
|
+
*/
|
|
67
|
+
purchaseCount: number;
|
|
68
|
+
|
|
36
69
|
/**
|
|
37
|
-
*
|
|
70
|
+
* Variant\'s [purchase rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#purchase-rate).
|
|
71
|
+
*/
|
|
72
|
+
purchaseRate: number;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Number of searches carried out during the A/B test.
|
|
38
76
|
*/
|
|
39
77
|
searchCount: number;
|
|
78
|
+
|
|
40
79
|
/**
|
|
41
|
-
*
|
|
80
|
+
* Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
|
|
42
81
|
*/
|
|
43
82
|
trackedSearchCount: number;
|
|
83
|
+
|
|
44
84
|
/**
|
|
45
|
-
*
|
|
85
|
+
* A/B test traffic percentage.
|
|
46
86
|
*/
|
|
47
87
|
trafficPercentage: number;
|
|
88
|
+
|
|
48
89
|
/**
|
|
49
|
-
*
|
|
90
|
+
* Number of users during the A/B test.
|
|
50
91
|
*/
|
|
51
92
|
userCount: number;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Number of users that performed a tracked search during the A/B test.
|
|
96
|
+
*/
|
|
97
|
+
trackedUserCount: number;
|
|
52
98
|
};
|
package/package.json
CHANGED
|
@@ -1,16 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/client-abtesting",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.100",
|
|
4
4
|
"description": "JavaScript client for client-abtesting",
|
|
5
5
|
"repository": "algolia/algoliasearch-client-javascript",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Algolia",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"node": {
|
|
12
|
+
"import": "./dist/client-abtesting.esm.node.js",
|
|
13
|
+
"module": "./dist/client-abtesting.esm.node.js",
|
|
14
|
+
"require": "./dist/client-abtesting.cjs",
|
|
15
|
+
"default": "./dist/client-abtesting.cjs"
|
|
16
|
+
},
|
|
17
|
+
"default": {
|
|
18
|
+
"umd": "./dist/client-abtesting.umd.js",
|
|
19
|
+
"module": "./dist/client-abtesting.esm.browser.js",
|
|
20
|
+
"import": "./dist/client-abtesting.esm.browser.js",
|
|
21
|
+
"default": "./dist/client-abtesting.umd.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"./src/*": "./src/*.ts",
|
|
25
|
+
"./model": "./model/index.ts"
|
|
26
|
+
},
|
|
27
|
+
"jsdelivr": "./dist/client-abtesting.umd.js",
|
|
28
|
+
"unpkg": "./dist/client-abtesting.umd.js",
|
|
29
|
+
"browser": "./dist/client-abtesting.umd.js",
|
|
30
|
+
"types": "./index.d.ts",
|
|
14
31
|
"files": [
|
|
15
32
|
"dist",
|
|
16
33
|
"model",
|
|
@@ -18,16 +35,18 @@
|
|
|
18
35
|
"index.d.ts"
|
|
19
36
|
],
|
|
20
37
|
"scripts": {
|
|
21
|
-
"
|
|
38
|
+
"build": "yarn clean && rollup --config",
|
|
39
|
+
"clean": "rm -rf ./dist || true"
|
|
22
40
|
},
|
|
23
41
|
"dependencies": {
|
|
24
|
-
"@algolia/client-common": "5.0.0-alpha.
|
|
25
|
-
"@algolia/requester-browser-xhr": "5.0.0-alpha.
|
|
26
|
-
"@algolia/requester-node-http": "5.0.0-alpha.
|
|
42
|
+
"@algolia/client-common": "5.0.0-alpha.101",
|
|
43
|
+
"@algolia/requester-browser-xhr": "5.0.0-alpha.101",
|
|
44
|
+
"@algolia/requester-node-http": "5.0.0-alpha.101"
|
|
27
45
|
},
|
|
28
46
|
"devDependencies": {
|
|
29
|
-
"@types/node": "
|
|
30
|
-
"
|
|
47
|
+
"@types/node": "20.11.0",
|
|
48
|
+
"rollup": "4.9.6",
|
|
49
|
+
"typescript": "5.3.3"
|
|
31
50
|
},
|
|
32
51
|
"engines": {
|
|
33
52
|
"node": ">= 14.0.0"
|