@searchspring/snap-preact-components 0.70.0 → 0.70.1
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.
|
@@ -58,7 +58,7 @@ function withTracking(WrappedComponent) {
|
|
|
58
58
|
var _b = (0, utilities_1.createImpressionObserver)({ resetKey: resetKey }), ref = _b.ref, inViewport = _b.inViewport;
|
|
59
59
|
if (inViewport) {
|
|
60
60
|
// TODO: add support for disabling tracking events via config like in ResultTracker
|
|
61
|
-
if ((result === null || result === void 0 ? void 0 : result.type) === 'product') {
|
|
61
|
+
if ((result === null || result === void 0 ? void 0 : result.type) === 'product' && !(result === null || result === void 0 ? void 0 : result.bundleSeed)) {
|
|
62
62
|
controller === null || controller === void 0 ? void 0 : controller.track.product.impression(result);
|
|
63
63
|
}
|
|
64
64
|
else {
|
|
@@ -32,7 +32,7 @@ export function withTracking(WrappedComponent) {
|
|
|
32
32
|
const { ref, inViewport } = createImpressionObserver({ resetKey });
|
|
33
33
|
if (inViewport) {
|
|
34
34
|
// TODO: add support for disabling tracking events via config like in ResultTracker
|
|
35
|
-
if (result?.type === 'product') {
|
|
35
|
+
if (result?.type === 'product' && !result?.bundleSeed) {
|
|
36
36
|
controller?.track.product.impression(result);
|
|
37
37
|
}
|
|
38
38
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@searchspring/snap-preact-components",
|
|
3
|
-
"version": "0.70.
|
|
3
|
+
"version": "0.70.1",
|
|
4
4
|
"description": "Snap Preact Component Library",
|
|
5
5
|
"author": "Searchspring",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@cypress/react": "^8.0.0",
|
|
31
31
|
"@emotion/react": "11.9.0",
|
|
32
|
-
"@searchspring/snap-toolbox": "0.70.
|
|
32
|
+
"@searchspring/snap-toolbox": "0.70.1",
|
|
33
33
|
"classnames": "^2.3.2",
|
|
34
34
|
"cypress": "^13.7.1",
|
|
35
35
|
"cypress-wait-until": "^1.7.2",
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
"@babel/preset-env": "^7.21.4",
|
|
53
53
|
"@babel/preset-react": "^7.18.6",
|
|
54
54
|
"@babel/runtime": "^7.21.0",
|
|
55
|
-
"@searchspring/snap-client": "0.70.
|
|
56
|
-
"@searchspring/snap-controller": "0.70.
|
|
57
|
-
"@searchspring/snap-event-manager": "0.70.
|
|
58
|
-
"@searchspring/snap-logger": "0.70.
|
|
59
|
-
"@searchspring/snap-profiler": "0.70.
|
|
60
|
-
"@searchspring/snap-store-mobx": "0.70.
|
|
61
|
-
"@searchspring/snap-tracker": "0.70.
|
|
62
|
-
"@searchspring/snap-url-manager": "0.70.
|
|
55
|
+
"@searchspring/snap-client": "0.70.1",
|
|
56
|
+
"@searchspring/snap-controller": "0.70.1",
|
|
57
|
+
"@searchspring/snap-event-manager": "0.70.1",
|
|
58
|
+
"@searchspring/snap-logger": "0.70.1",
|
|
59
|
+
"@searchspring/snap-profiler": "0.70.1",
|
|
60
|
+
"@searchspring/snap-store-mobx": "0.70.1",
|
|
61
|
+
"@searchspring/snap-tracker": "0.70.1",
|
|
62
|
+
"@searchspring/snap-url-manager": "0.70.1",
|
|
63
63
|
"@storybook/addon-actions": "6.4.22",
|
|
64
64
|
"@storybook/addon-controls": "6.4.22",
|
|
65
65
|
"@storybook/addon-docs": "6.4.22",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"webpack-merge": "^5.8.0"
|
|
85
85
|
},
|
|
86
86
|
"sideEffects": false,
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "91ca0ec407be1edb997da1256242d167aa7da79f"
|
|
88
88
|
}
|