Skip to content

v1.1.0

Compare
Choose a tag to compare
@tbillington tbillington released this 31 Jul 03:15
· 1161 commits to master since this release

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.