@constructor-io/constructorio-client-javascript 2.27.6 → 2.27.9
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/lib/constructorio.js +1 -1
- package/lib/modules/tracker.js +3 -3
- package/package.json +2 -2
package/lib/constructorio.js
CHANGED
|
@@ -36,7 +36,7 @@ var computePackageVersion = function computePackageVersion() {
|
|
|
36
36
|
versionModifiers.push('domless');
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
if (typeof process.env !== 'undefined' && process.env.BUNDLED) {
|
|
39
|
+
if (typeof process !== 'undefined' && typeof process.env !== 'undefined' && process.env.BUNDLED) {
|
|
40
40
|
versionModifiers.push('bundled');
|
|
41
41
|
}
|
|
42
42
|
|
package/lib/modules/tracker.js
CHANGED
|
@@ -456,7 +456,7 @@ var Tracker = /*#__PURE__*/function () {
|
|
|
456
456
|
* @param {boolean} [parameters.is_custom_type] - Specify if type is custom conversion type
|
|
457
457
|
* @param {string} [parameters.display_name] - Display name for the custom conversion type
|
|
458
458
|
* @param {string} [parameters.result_id] - Result identifier (returned in response from Constructor)
|
|
459
|
-
* @param {string} [parameters.section] - Index section
|
|
459
|
+
* @param {string} [parameters.section="Products"] - Index section
|
|
460
460
|
* @param {object} [networkParameters] - Parameters relevant to the network request
|
|
461
461
|
* @param {number} [networkParameters.timeout] - Request timeout (in milliseconds)
|
|
462
462
|
* @returns {(true|Error)}
|
|
@@ -563,7 +563,7 @@ var Tracker = /*#__PURE__*/function () {
|
|
|
563
563
|
* @param {object[]} parameters.items - List of product item objects
|
|
564
564
|
* @param {number} parameters.revenue - The subtotal (not including taxes, shipping, etc.) of the entire order
|
|
565
565
|
* @param {string} [parameters.order_id] - Unique order identifier
|
|
566
|
-
* @param {string} [parameters.section] - Index section
|
|
566
|
+
* @param {string} [parameters.section="Products"] - Index section
|
|
567
567
|
* @param {object} [networkParameters] - Parameters relevant to the network request
|
|
568
568
|
* @param {number} [networkParameters.timeout] - Request timeout (in milliseconds)
|
|
569
569
|
* @returns {(true|Error)}
|
|
@@ -843,7 +843,7 @@ var Tracker = /*#__PURE__*/function () {
|
|
|
843
843
|
* @param {number} [parameters.result_count] - Total number of results
|
|
844
844
|
* @param {number} [parameters.result_page] - Page number of results
|
|
845
845
|
* @param {string} [parameters.result_id] - Browse result identifier (returned in response from Constructor)
|
|
846
|
-
* @param {
|
|
846
|
+
* @param {object} [parameters.selected_filters] - Selected filters
|
|
847
847
|
* @param {string} [parameters.sort_order] - Sort order ('ascending' or 'descending')
|
|
848
848
|
* @param {string} [parameters.sort_by] - Sorting method
|
|
849
849
|
* @param {object[]} [parameters.items] - List of product item objects
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructor-io/constructorio-client-javascript",
|
|
3
|
-
"version": "2.27.
|
|
3
|
+
"version": "2.27.9",
|
|
4
4
|
"description": "Constructor.io JavaScript client",
|
|
5
5
|
"main": "lib/constructorio.js",
|
|
6
6
|
"scripts": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"sinon-chai": "^3.7.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@constructor-io/constructorio-id": "^2.4.
|
|
64
|
+
"@constructor-io/constructorio-id": "^2.4.10",
|
|
65
65
|
"crc-32": "^1.2.0",
|
|
66
66
|
"es6-promise": "^4.2.8",
|
|
67
67
|
"events": "^3.0.0",
|