@speedkit/cli 3.7.0 → 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,17 @@
|
|
|
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
|
+
|
|
8
|
+
## [3.7.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.7.0...v3.7.1) (2025-10-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **onboarding:** make cli compatible to latest docHandlerRelease ([7225838](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/7225838079fa836025e6a701e522d25d2fbf9059))
|
|
14
|
+
|
|
1
15
|
# [3.7.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.6.3...v3.7.0) (2025-10-10)
|
|
2
16
|
|
|
3
17
|
|
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');
|
|
@@ -17,6 +17,9 @@ class dataHandler {
|
|
|
17
17
|
static load() {
|
|
18
18
|
return this
|
|
19
19
|
}
|
|
20
|
+
static detach() {
|
|
21
|
+
return this
|
|
22
|
+
}
|
|
20
23
|
|
|
21
24
|
static send() {
|
|
22
25
|
return this
|
|
@@ -80,6 +83,7 @@ class database {
|
|
|
80
83
|
static 'jobs.Definition' = dataHandler
|
|
81
84
|
static 'speedKit.Release' = dataHandler
|
|
82
85
|
static 'speedKit.Asset' = dataHandler
|
|
86
|
+
static 'speedKit.AssetInfo' = dataHandler
|
|
83
87
|
static 'MasterHash' = dataHandler
|
|
84
88
|
static 'connection' = {
|
|
85
89
|
secure:true,
|
|
@@ -101,6 +105,8 @@ class database {
|
|
|
101
105
|
console.log('error: ' + msg, dump)
|
|
102
106
|
},
|
|
103
107
|
}
|
|
108
|
+
|
|
109
|
+
static detach = ()=>{}
|
|
104
110
|
}
|
|
105
111
|
|
|
106
112
|
module.exports = database
|
package/oclif.manifest.json
CHANGED