@constructor-io/constructorio-node 4.16.2 → 4.16.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructor-io/constructorio-node",
3
- "version": "4.16.2",
3
+ "version": "4.16.3",
4
4
  "description": "Constructor.io Node.js client",
5
5
  "main": "src/constructorio.js",
6
6
  "types": "src/types/constructorio.d.ts",
@@ -1,3 +1,4 @@
1
+ /* eslint-disable max-len */
1
2
  /* eslint-disable camelcase, no-underscore-dangle, no-unneeded-ternary, brace-style */
2
3
  const qs = require('qs');
3
4
  const { AbortController } = require('node-abort-controller');
@@ -381,8 +382,8 @@ class Tracker {
381
382
  * @param {string} parameters.originalQuery - The current autocomplete search query
382
383
  * @param {string} parameters.section - Section the selected item resides within
383
384
  * @param {string} [parameters.tr] - Trigger used to select the item (click, etc.)
384
- * @param {string} [parameters.groupId] - Group identifier of selected item
385
- * @param {string} [parameters.displayName] - Display name of group of selected item
385
+ * @param {string} [parameters.groupId] - Group identifier of the group to search within. Only required if searching within a group, i.e. "Pumpkin in Canned Goods"
386
+ * @param {string} [parameters.displayName] - Display name of the group to search within. Only required if searching within a group, i.e. "Pumpkin in Canned Goods"
386
387
  * @param {object} userParameters - Parameters relevant to the user request
387
388
  * @param {number} userParameters.sessionId - Session ID, utilized to personalize results
388
389
  * @param {string} userParameters.clientId - Client ID, utilized to personalize results
@@ -483,8 +484,8 @@ class Tracker {
483
484
  * @param {string} term - Term of submitted autocomplete event
484
485
  * @param {object} parameters - Additional parameters to be sent with request
485
486
  * @param {string} parameters.originalQuery - The current autocomplete search query
486
- * @param {string} [parameters.groupId] - Group identifier of selected item
487
- * @param {string} [parameters.displayName] - Display name of group of selected item
487
+ * @param {string} [parameters.groupId] - Group identifier of the group to search within. Only required if searching within a group, i.e. "Pumpkin in Canned Goods"
488
+ * @param {string} [parameters.displayName] - Display name of the group to search within. Only required if searching within a group, i.e. "Pumpkin in Canned Goods"
488
489
  * @param {object} userParameters - Parameters relevant to the user request
489
490
  * @param {number} userParameters.sessionId - Session ID, utilized to personalize results
490
491
  * @param {string} userParameters.clientId - Client ID, utilized to personalize results