algolia / algoliasearch-client-javascript

⚡️ A fully-featured and blazing-fast JavaScript API client to interact with Algolia.
https://www.algolia.com/doc/api-client/javascript/getting-started/
MIT License
1.33k stars 222 forks source link

generateSecuredApiKey are not updated. #1556

Closed frmsaul closed 1 month ago

frmsaul commented 1 month ago

Description

This doc isn't updated

https://www.algolia.com/doc/api-reference/api-methods/generate-secured-api-key/?client=javascript#examples

Code has changed and now it breaks:

https://github.com/algolia/algoliasearch-client-javascript/blob/173f86c8d8f0df46c5a00a3e43b6f9638f040fd9/packages/client-search/builds/node.ts#L63

Would really appreciate it if you guys have examples of this working. I'm struggling with it and can't get it to actually use the filters.

Client

Search

Version

7

Relevant log output

No response

shortcuts commented 1 month ago

Hey, you can find some docs here: https://www.algolia.com/doc/libraries/javascript/v5/helpers/

Let me know if that helps! Or don't hesitate to provide your v4 snippet, I can help you converting it to v5