@sensefuel/sensefuelsdk
Version:
sensefuel discovery API SDK
35 lines (33 loc) • 1.97 kB
Plain Text
v1.1.0 => v1.2.0
- fix proxy mode
- activity tracking rewrite url
- fix discovery user action apply content mapping
v1.0.2 => v1.1.0
- fix builder discovery mapping :
- rename builder action to user_action
- rename builder actions.filters to user_actions.apply_filters
- rename builder actions.scopes to user_actions.apply_scopes
- rename builder actions.spotlights to user_actions.apply_spotlights
v0.1.3 => v1.0.2
- defaut export SDK class (instead of named export sensefuelSdk)
- SDK constructor has only one parameter -> config object
- SDK instance settings are available throw a settings property
- SDK connect method only get discovery settings
- user id ans sessin id are not stored by the sdk - it is sdk user's responsability
- tracking connector is renamed in activityTracking
- discovery and activityTracking connectors are now available throw apis object (sdk.apis.discovery)
- discovery builders naming respect the discoveryAPI naming and case
- add disable function to disable a module builder
- validators wasn't working - now they are
- write validators using JSONSchema specifications
- add missing sub builders
- rename buildRequest method af builder into getRequest
- change searchAttribute builder syntax
- add createMatchValueClause, createMatchRangeClause and createAttributesClause methods to builder instances
- facets, filters, items fields, sort and spotlights builders check settings to validate data
- add elastic style chaining facilities (usable with classic chaining and memento object settings)
- product sheet response now get an object with an items module. The product data is accessible using response.items.parts[0] like any other response
- activityTracking: rename createSession into startSession
- rewrite activityTracking event builders and add missing payload parameters
- add tracking: tag option to use tracking throw sensefuel tracking tag instead of using activityTracking
- remove any internal observable