-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate token specific code into its own export #1739
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1739 +/- ##
==========================================
+ Coverage 97.55% 97.81% +0.26%
==========================================
Files 20 17 -3
Lines 1513 1465 -48
Branches 319 307 -12
==========================================
- Hits 1476 1433 -43
+ Misses 37 32 -5 ☔ View full report in Codecov by Sentry. |
What will happen if I try to use it on the web? It will just not even compile or what? |
By the way do you know if this could solve the issue: meilisearch/meilisearch-js-plugins#1330 ? |
@brunoocasali It should solve it, because they would no longer be importing any file associated with
It will err, because there is no such thing as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Can you mention in the transition path tutorial about the requirement of the apiKey
(in a clear example)
@flevi29 I would just wait to merge this after the next release. Unless we merge this and create a new release before the main one, wtdyt? |
Okay, we can wait. |
bors merge |
Pull Request
Related issue
Fixes #1690
What does this PR do?
MeiliSearch
client into a single universal export by stripping Node.js crypto specific token code into its own separate exported moduleapiKey
option is now mandatory ingenerateTenantToken
functionMigration
Old:
New:
PR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!