Skip to content

Commit

Permalink
Release fix types, imports
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraFiedler committed Dec 20, 2023
1 parent 02400ee commit e4e8815
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The library is [UMD](https://github.com/umdjs/umd) compatible.
You can download [recombee-api-client.min.js](./dist/recombee-api-client.min.js) and host it at your site, or use a CDN such as [jsDelivr](https://www.jsdelivr.com/) CDN:

```js
<script src="https://cdn.jsdelivr.net/gh/recombee/[email protected].4/dist/recombee-api-client.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/recombee/[email protected].5/dist/recombee-api-client.min.js"></script>
```

and use the global `recombee` object.
Expand Down Expand Up @@ -209,7 +209,7 @@ Let's assume we want to show recommendations at product page of pants `product-2
</div>
</div>

<script src="https://cdn.jsdelivr.net/gh/recombee/[email protected].4/dist/recombee-api-client.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/recombee/[email protected].5/dist/recombee-api-client.min.js"></script>

<script type="text/javascript">
Expand Down
4 changes: 3 additions & 1 deletion dist/recombee-api-client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/recombee-api-client.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/recombee-api-client.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/recombee-api-client.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "recombee-js-api-client",
"version": "4.1.4",
"version": "4.1.5",
"description": "Client-side js library for easy use of the Recombee recommendation API",
"main": "./src/index.js",
"browser": "./src/index.js",
Expand Down
7 changes: 3 additions & 4 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export module "recombee-js-api-client" {
*/
export class Batch extends Request {
/**
* @param requests - Array containing the
* @param requests - Array containing the requests.
* @param optional - Optional parameters given as an object (allowed parameters: distinctRecomms).
*/
constructor(
Expand Down Expand Up @@ -968,7 +968,7 @@ export module "recombee-js-api-client" {
/**
* Full-text personalized search. The results are based on the provided `searchQuery` and also on the user's past interactions (purchases, ratings, etc.) with the items (items more suitable for the user are preferred in the results).
* All the string and set item properties are indexed by the search engine.
* This endpoint should be used in a search box on your website/app. It can be called multiple times as the user is typing the query in order to get the most viable suggestions based on the current state of the query, or once after submitting the whole query.
* This endpoint should be used in a search box on your website/app. It can be called multiple times as the user is typing the query in order to get the most viable suggestions based on the current state of the query, or once after submitting the whole query.
* The returned items are sorted by relevance (the first item being the most relevant).
* Besides the recommended items, also a unique `recommId` is returned in the response. It can be used to:
* - Let Recombee know that this search was successful (e.g., user clicked one of the recommended items). See [Reported metrics](https://docs.recombee.com/admin_ui.html#reported-metrics).
Expand Down Expand Up @@ -1105,7 +1105,6 @@ export module "recombee-js-api-client" {

queryParameters(): {
};
}


}
}

0 comments on commit e4e8815

Please sign in to comment.