Skip to content

Releases: AddSearch/js-client-library

v0.1.16

19 Sep 08:51
Compare
Choose a tag to compare

New function to define the number of facets to fetch

  • client.setNumberOfFacets

v0.1.15

12 Sep 11:35
Compare
Choose a tag to compare

New function to define result types, i.e. to leave out Pinned results and Promotions:

  • setResultType

New function to pass personalization events with the search query, instead of sending user actions beforehand.

  • setPersonalizationEvents

v0.1.14

29 Aug 09:34
Compare
Choose a tag to compare

Added support for facets. New function:

  • addFacetField

For example, faceting against genre:

client.addFacetField('custom_fields.genre')

could return

hits: [ ... ]
facets: {
  custom_fields.genre: [
    {
      value: "rock",
      count: 932
    },
    {
      value: "pop",
      count: 823
    },
    ...

v0.1.13

26 Aug 07:48
Compare
Choose a tag to compare

Added functions

  • setPriceRangeFilter(min, max)
  • setUserToken(uuid)

v0.1.12

16 Aug 09:55
Compare
Choose a tag to compare
Increase version

v0.1.11

14 Jun 07:43
Compare
Choose a tag to compare
Add jwt instructions

v0.1.10

27 May 12:56
Compare
Choose a tag to compare
Increase version

v0.1.9

27 May 12:52
Compare
Choose a tag to compare
Increase version

v0.1.8

27 May 07:49
Compare
Choose a tag to compare
Merge remote-tracking branch 'origin/master'