v1.1.0
Pipeline constructor has changed:
/**
* Constructs a Pipeline object.
* @param {string} project Name of the project
* @param {string} collection Name of the collection
* @param {string} name Name of the pipeline.
* @param {Sajari.Tracking|undefined} [tracking=ClickTracking()] Default tracking to use in searches.
*/
constructor(project, collection, name, tracking = ClickTracking()) { ///...
Pipeline listeners now receive a Response
object which wraps the raw search response with helpers and convenience methods.
The sajari
package now comes with sajari-react
, no need to import it separately.