algolia / algoliasearch-helper-js

Helper for implementing advanced search features with Algolia
https://instantsearchjs.netlify.app/algoliasearch-helper-js/
MIT License
174 stars 46 forks source link

feat(types): support algoliasearch v5 #910

Closed Haroenv closed 2 years ago

Haroenv commented 2 years ago

Algoliasearch v5 has different type names and packages, so needs to be supported separately.

This pull request has the following changes:

  1. add a folder /types/algoliasearch with both a .d.ts and .js file
  2. add utilities and simplify the dealing of importing different types across the major versions

FX-1434

codesandbox-ci[bot] commented 2 years 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 19a2a33defe14682e6f908150f380571b4c5d8f5:

Sandbox Source
javascript-helper-app Configuration
InstantSearch.js Configuration