Skip to content

Commit

Permalink
Merge #1653
Browse files Browse the repository at this point in the history
1653: Update version for the next release (v0.40.0) r=curquiza a=meili-bot

- Fix the issue introduced in the v0.39 that affected vite apps #1652 `@brunoocasali` 
- Now to use the `generateTenantToken` you should use it with `await`:
  before:
  ```js
  const token = client.generateTenantToken(apiKeyUid, searchRules, {
      apiKey: apiKey,
      expiresAt: expiresAt,
    })
  ```
  after:
  ```js
  const token = await client.generateTenantToken(apiKeyUid, searchRules, {
      apiKey: apiKey,
      expiresAt: expiresAt,
    })
  ```


Co-authored-by: meili-bot <[email protected]>
  • Loading branch information
meili-bors[bot] and meili-bot authored May 15, 2024
2 parents 9639f78 + f53131f commit cd61a8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meilisearch",
"version": "0.39.0",
"version": "0.40.0",
"description": "The Meilisearch JS client for Node.js and the browser.",
"keywords": [
"meilisearch",
Expand Down
2 changes: 1 addition & 1 deletion src/package-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const PACKAGE_VERSION = '0.39.0'
export const PACKAGE_VERSION = '0.40.0'

0 comments on commit cd61a8c

Please sign in to comment.