@algolia/client-search 5.49.1 → 5.50.0
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 +4 -4
- package/dist/browser.d.ts +3 -2
- package/dist/builds/browser.js +3 -2
- 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 +3 -3
- package/dist/builds/fetch.js +3 -1
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +3 -1
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +3 -1
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +3 -2
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +3 -2
- package/dist/node.d.cts +3 -2
- package/dist/node.d.ts +3 -2
- package/dist/src/searchClient.cjs +1 -1
- package/dist/src/searchClient.cjs.map +1 -1
- package/dist/src/searchClient.js +6 -3
- package/dist/src/searchClient.js.map +1 -1
- package/dist/worker.d.ts +3 -2
- package/package.json +7 -7
package/dist/worker.d.ts
CHANGED
|
@@ -1548,6 +1548,7 @@ type Rule = {
|
|
|
1548
1548
|
validity?: Array<TimeRange> | undefined;
|
|
1549
1549
|
tags?: Array<string> | undefined;
|
|
1550
1550
|
scope?: string | undefined;
|
|
1551
|
+
condition?: Condition | undefined;
|
|
1551
1552
|
};
|
|
1552
1553
|
|
|
1553
1554
|
type SaveObjectResponse = {
|
|
@@ -3065,7 +3066,7 @@ type AccountCopyIndexOptions = {
|
|
|
3065
3066
|
batchSize?: number | undefined;
|
|
3066
3067
|
};
|
|
3067
3068
|
|
|
3068
|
-
declare const apiClientVersion = "5.
|
|
3069
|
+
declare const apiClientVersion = "5.50.0";
|
|
3069
3070
|
declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
|
|
3070
3071
|
transporter: _algolia_client_common.Transporter;
|
|
3071
3072
|
/**
|
|
@@ -3551,7 +3552,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3551
3552
|
* @param getObject.attributesToRetrieve - Attributes to include with the records in the response. This is useful to reduce the size of the API response. By default, all retrievable attributes are returned. `objectID` is always retrieved. Attributes included in `unretrievableAttributes` won\'t be retrieved unless the request is authenticated with the admin API key.
|
|
3552
3553
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3553
3554
|
*/
|
|
3554
|
-
getObject({ indexName, objectID, attributesToRetrieve }: GetObjectProps, requestOptions?: RequestOptions): Promise<
|
|
3555
|
+
getObject<T = Record<string, unknown>>({ indexName, objectID, attributesToRetrieve }: GetObjectProps, requestOptions?: RequestOptions): Promise<T>;
|
|
3555
3556
|
/**
|
|
3556
3557
|
* Retrieves one or more records, potentially from different indices. Records are returned in the same order as the requests.
|
|
3557
3558
|
*
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.
|
|
2
|
+
"version": "5.50.0",
|
|
3
3
|
"repository": {
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
|
|
@@ -49,15 +49,15 @@
|
|
|
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.50.0",
|
|
53
|
+
"@algolia/requester-browser-xhr": "5.50.0",
|
|
54
|
+
"@algolia/requester-fetch": "5.50.0",
|
|
55
|
+
"@algolia/requester-node-http": "5.50.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@arethetypeswrong/cli": "0.18.2",
|
|
59
59
|
"@types/node": "25.1.0",
|
|
60
|
-
"publint": "0.3.
|
|
60
|
+
"publint": "0.3.18",
|
|
61
61
|
"rollup": "4.58.0",
|
|
62
62
|
"tsup": "8.5.1",
|
|
63
63
|
"typescript": "5.9.3"
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": ">= 14.0.0"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "571df5df8545c8e76cd72fa9d8efc6316dc287f4"
|
|
69
69
|
}
|