meilisearch-js
meilisearch-js copied to clipboard
JavaScript client for the Meilisearch API
Currently timeout is done with a [`Promise.race`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/race), where we have two promises, one for the `fetch` and one for a `setTimeout`. Using this solution will leave the request hanging and...
In the code below we're assuming that if [response.json()](https://developer.mozilla.org/en-US/docs/Web/API/Response/json) throws an error, it means we have a communication error. This is incorrect, it will only throw if the request body...
# Pull Request ## Related issue Close #1240 ## Preview [JS docs Preview](https://amit-ksh.github.io/meilisearch-js/) ## What does this PR do? - Generates the documentation from code using `typedoc` package. - Use...
# Pull Request ## Related issues Fixes #1612, #1655 ## What does this PR do? This PR aims to improve errors, so that they can contain all the necessary information,...
Currently this repository is using [`yarn` classic](https://classic.yarnpkg.com/en/). One day, perhaps not too long from now, it will be deprecated for good, it says on the [install page](https://classic.yarnpkg.com/en/docs/install).  There are...
# Pull Request ## What does this PR do? - It switches from Node.js crypto to [Web Crypto](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API), this way nullifying all problems related to node and browser compatibility issues...
As detailed in #1610, `cross-fetch` isn't helping much. The only thing it does is use [`node-fetch`](https://github.com/node-fetch/node-fetch) on older Node.js versions. Also we are using two additional web standards that won't...
Related to this issue: https://github.com/meilisearch/integration-guides/issues/303 This PR: - gathers the changes related to the next Meilisearch release (v1.11.0) so that this package is ready when the official release is out....
_This PR is auto-generated._ The automated script updates the version of meilisearch-js to a new version: "v0.45.0" --- CHANGELOG 👇 --- This version introduces features released on Meilisearch v1.11.0 🎉...
# Pull Request ## Related issue Fixes #1744 ## What does this PR do? - removes ts specific es-lint rule exceptions and adjusts the code accordingly - depends on #1741...