@speedkit/cli 3.7.1 → 3.8.0
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [3.8.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.7.1...v3.8.0) (2025-10-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **customer-config:** remove shopify helpers and adapt tracking listeners ([140356d](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/140356d674acc15d201711abcd87f6d150809dc3))
|
|
7
|
+
|
|
1
8
|
## [3.7.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.7.0...v3.7.1) (2025-10-10)
|
|
2
9
|
|
|
3
10
|
|
package/README.md
CHANGED
|
@@ -78,7 +78,7 @@ import { PredictivePreloading } from 'predictive-preloading/predictivePreloading
|
|
|
78
78
|
},
|
|
79
79
|
{{else}}
|
|
80
80
|
{{#if isShopify}}
|
|
81
|
-
on:
|
|
81
|
+
on: 'window.Shopify',
|
|
82
82
|
set: function() {
|
|
83
83
|
return window.Shopify?.locale;
|
|
84
84
|
},
|
|
@@ -101,7 +101,7 @@ import { PredictivePreloading } from 'predictive-preloading/predictivePreloading
|
|
|
101
101
|
},
|
|
102
102
|
{{else}}
|
|
103
103
|
{{#if isShopify}}
|
|
104
|
-
on:
|
|
104
|
+
on: 'window.Shopify',
|
|
105
105
|
set: function() {
|
|
106
106
|
return window.Shopify?.country;
|
|
107
107
|
},
|
|
@@ -124,7 +124,7 @@ import { PredictivePreloading } from 'predictive-preloading/predictivePreloading
|
|
|
124
124
|
},
|
|
125
125
|
{{else}}
|
|
126
126
|
{{#if isShopify}}
|
|
127
|
-
on:
|
|
127
|
+
on: 'window.Shopify',
|
|
128
128
|
set: function() {
|
|
129
129
|
return window.Shopify?.currency?.active;
|
|
130
130
|
},
|
|
@@ -155,7 +155,7 @@ import { PredictivePreloading } from 'predictive-preloading/predictivePreloading
|
|
|
155
155
|
key: 'pageType',
|
|
156
156
|
type: 'PiDimension',
|
|
157
157
|
{{#if isShopify}}
|
|
158
|
-
on:
|
|
158
|
+
on: 'window.ShopifyAnalytics',
|
|
159
159
|
set: function() {
|
|
160
160
|
var pathname = window.location.pathname;
|
|
161
161
|
// TODO: verify pathname patterns
|
|
@@ -466,38 +466,8 @@ import { PredictivePreloading } from 'predictive-preloading/predictivePreloading
|
|
|
466
466
|
{{/if}}
|
|
467
467
|
);
|
|
468
468
|
{{#if isShopify}}
|
|
469
|
-
|
|
470
|
-
/* ==== */
|
|
471
|
-
|
|
472
469
|
// Shopify specific:
|
|
473
470
|
|
|
474
|
-
function ShopifyReady(cb, controller) {
|
|
475
|
-
controller.onDOMInteractive(function() {
|
|
476
|
-
function init() {
|
|
477
|
-
if (!window.Shopify) {
|
|
478
|
-
setTimeout(init, 500);
|
|
479
|
-
return;
|
|
480
|
-
}
|
|
481
|
-
cb();
|
|
482
|
-
}
|
|
483
|
-
init();
|
|
484
|
-
});
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
function ShopifyAnalyticsReady(cb, controller) {
|
|
488
|
-
controller.onDOMInteractive(function() {
|
|
489
|
-
function init() {
|
|
490
|
-
var SA = window.ShopifyAnalytics;
|
|
491
|
-
if (!SA) {
|
|
492
|
-
setTimeout(init, 500);
|
|
493
|
-
return;
|
|
494
|
-
}
|
|
495
|
-
cb();
|
|
496
|
-
}
|
|
497
|
-
init();
|
|
498
|
-
});
|
|
499
|
-
}
|
|
500
|
-
|
|
501
471
|
// function onAddToCartClick(cb, controller) {
|
|
502
472
|
// controller.onDOMInteractive(function() {
|
|
503
473
|
// var addToCartBtn = document.querySelector('.button--add-to-cart');
|
package/oclif.manifest.json
CHANGED