algolia / autocomplete

🔮 Fast and full-featured autocomplete library
https://alg.li/autocomplete
MIT License
5.03k stars 329 forks source link

feat(insights): support `authenticatedUserToken` #1233

Closed dhayab closed 8 months ago

dhayab commented 8 months ago

This PR brings support to authenticatedUserToken in Autocomplete's insights plugin.

When provided, its value is sent instead of the userToken value. When unset, the value for userToken is reverted.

FX-2708

codesandbox-ci[bot] commented 8 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 08a156cf504ea6eb257c04506b83f2784e0be454:

Sandbox Source
@algolia/autocomplete-example-github-repositories-custom-plugin Configuration
@algolia/autocomplete-example-instantsearch Configuration
@algolia/autocomplete-example-playground Configuration
@algolia/autocomplete-example-preview-panel-in-modal Configuration
@algolia/autocomplete-example-react-renderer Configuration
@algolia/autocomplete-example-starter-algolia Configuration
@algolia/autocomplete-example-starter Configuration
@algolia/autocomplete-example-reshape Configuration
@algolia/autocomplete-example-vue Configuration