@algolia/client-personalization 5.7.0 → 5.8.1
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/README.md +5 -6
- package/dist/browser.d.ts +94 -95
- package/dist/builds/browser.js +9 -17
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +2 -2
- package/dist/builds/fetch.js +6 -14
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +6 -14
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +7 -15
- package/dist/builds/node.js.map +1 -1
- package/dist/fetch.d.ts +93 -93
- package/dist/node.d.cts +93 -93
- package/dist/node.d.ts +93 -93
- package/dist/src/personalizationClient.cjs +5 -13
- package/dist/src/personalizationClient.cjs.map +1 -1
- package/dist/src/personalizationClient.js +5 -13
- package/dist/src/personalizationClient.js.map +1 -1
- package/index.d.ts +0 -1
- package/index.js +1 -2
- package/model/clientMethodProps.ts +4 -4
- package/model/index.ts +1 -1
- package/model/personalizationStrategyParams.ts +2 -2
- package/package.json +6 -6
|
@@ -11,7 +11,7 @@ export type CustomDeleteProps = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Query parameters to apply to the current query.
|
|
13
13
|
*/
|
|
14
|
-
parameters?:
|
|
14
|
+
parameters?: { [key: string]: any };
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -25,7 +25,7 @@ export type CustomGetProps = {
|
|
|
25
25
|
/**
|
|
26
26
|
* Query parameters to apply to the current query.
|
|
27
27
|
*/
|
|
28
|
-
parameters?:
|
|
28
|
+
parameters?: { [key: string]: any };
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
/**
|
|
@@ -39,7 +39,7 @@ export type CustomPostProps = {
|
|
|
39
39
|
/**
|
|
40
40
|
* Query parameters to apply to the current query.
|
|
41
41
|
*/
|
|
42
|
-
parameters?:
|
|
42
|
+
parameters?: { [key: string]: any };
|
|
43
43
|
/**
|
|
44
44
|
* Parameters to send with the custom request.
|
|
45
45
|
*/
|
|
@@ -57,7 +57,7 @@ export type CustomPutProps = {
|
|
|
57
57
|
/**
|
|
58
58
|
* Query parameters to apply to the current query.
|
|
59
59
|
*/
|
|
60
|
-
parameters?:
|
|
60
|
+
parameters?: { [key: string]: any };
|
|
61
61
|
/**
|
|
62
62
|
* Parameters to send with the custom request.
|
|
63
63
|
*/
|
package/model/index.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
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
|
+
export * from './clientMethodProps';
|
|
3
4
|
export * from './deleteUserProfileResponse';
|
|
4
5
|
export * from './errorBase';
|
|
5
6
|
export * from './eventScoring';
|
|
@@ -8,4 +9,3 @@ export * from './facetScoring';
|
|
|
8
9
|
export * from './getUserTokenResponse';
|
|
9
10
|
export * from './personalizationStrategyParams';
|
|
10
11
|
export * from './setPersonalizationStrategyResponse';
|
|
11
|
-
export * from './clientMethodProps';
|
|
@@ -7,12 +7,12 @@ export type PersonalizationStrategyParams = {
|
|
|
7
7
|
/**
|
|
8
8
|
* Scores associated with each event. The higher the scores, the higher the impact of those events on the personalization of search results.
|
|
9
9
|
*/
|
|
10
|
-
eventScoring: EventScoring
|
|
10
|
+
eventScoring: Array<EventScoring>;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Scores associated with each facet. The higher the scores, the higher the impact of those events on the personalization of search results.
|
|
14
14
|
*/
|
|
15
|
-
facetScoring: FacetScoring
|
|
15
|
+
facetScoring: Array<FacetScoring>;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Impact of personalization on the search results. If set to 0, personalization has no impact on the search results.
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.
|
|
2
|
+
"version": "5.8.1",
|
|
3
3
|
"repository": {
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
"index.d.ts"
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@algolia/client-common": "5.
|
|
53
|
-
"@algolia/requester-browser-xhr": "5.
|
|
54
|
-
"@algolia/requester-fetch": "5.
|
|
55
|
-
"@algolia/requester-node-http": "5.
|
|
52
|
+
"@algolia/client-common": "5.8.1",
|
|
53
|
+
"@algolia/requester-browser-xhr": "5.8.1",
|
|
54
|
+
"@algolia/requester-fetch": "5.8.1",
|
|
55
|
+
"@algolia/requester-node-http": "5.8.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@arethetypeswrong/cli": "0.16.4",
|
|
59
59
|
"@types/node": "22.7.4",
|
|
60
60
|
"publint": "0.2.11",
|
|
61
|
-
"rollup": "4.
|
|
61
|
+
"rollup": "4.24.0",
|
|
62
62
|
"tsup": "8.3.0",
|
|
63
63
|
"typescript": "5.6.2"
|
|
64
64
|
},
|