Skip to content

Commit

Permalink
Fix module export
Browse files Browse the repository at this point in the history
  • Loading branch information
vallpaper authored and OndraFiedler committed Oct 26, 2023
1 parent ec81ec9 commit 534d37d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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].3/dist/recombee-api-client.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/recombee/[email protected].4/dist/recombee-api-client.min.js"></script>
```

### npm
Expand Down Expand Up @@ -189,7 +189,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].3/dist/recombee-api-client.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/recombee/[email protected].4/dist/recombee-api-client.min.js"></script>

<script type="text/javascript">
Expand Down
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.3",
"version": "4.1.4",
"description": "Client-side js library for easy use of the Recombee recommendation API",
"browser": "./src/index.js",
"types": "src/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module "recombee-api-client" {
export module "recombee-js-api-client" {
namespace errors {
/**
* Base class for errors that occur because of errors in requests reported by API or because of a timeout
Expand Down

0 comments on commit 534d37d

Please sign in to comment.