@speedkit/cli 2.23.0 → 2.23.2
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 +15 -0
- package/README.md +1 -1
- package/dist/services/onboarding/fetch-events/speed-kit-asset-request.js +1 -1
- package/dist/services/onboarding/onboarding-service-factory.js +6 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
- package/dist/services/error-handling/error/handler/default-error-handler.d.ts +0 -5
- package/dist/services/error-handling/error/handler/default-error-handler.js +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [2.23.2](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.23.1...v2.23.2) (2024-04-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **onboarding:** disable parameter dashboard temporarily ([c71bd4f](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/c71bd4faae3a38c7884d5bfcf20a48e7be2ccbe1))
|
|
7
|
+
|
|
8
|
+
## [2.23.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.23.0...v2.23.1) (2024-04-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **onboarding:** remove doublicate toUppercase ([5be449c](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/5be449c47f8661d69465e83376cac05e4969c707))
|
|
14
|
+
* **onboarding:** set variation to uppercase ([906f22e](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/906f22e741eb3d1febf90141ed65a6d5e7b85864))
|
|
15
|
+
|
|
1
16
|
# [2.23.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.22.0...v2.23.0) (2024-04-12)
|
|
2
17
|
|
|
3
18
|
|
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ class SpeedKitAssetRequest {
|
|
|
50
50
|
const originUrl = this.getAssetUrl(event.request.url);
|
|
51
51
|
const UrlObject = new URL(event.request.url);
|
|
52
52
|
const variation = UrlObject.searchParams.has("bqvariation")
|
|
53
|
-
? UrlObject.searchParams.get("bqvariation")
|
|
53
|
+
? UrlObject.searchParams.get("bqvariation").toUpperCase()
|
|
54
54
|
: "DEFAULT";
|
|
55
55
|
const cachedResponse = this.getCachedResponse(event.request.url);
|
|
56
56
|
if (cachedResponse instanceof baqend_response_1.BaqendResponse) {
|
|
@@ -109,7 +109,12 @@ class OnboardingServiceFactory {
|
|
|
109
109
|
const athenaClient = await this.getAthenaClient();
|
|
110
110
|
if (athenaClient) {
|
|
111
111
|
handlers.push(new dashboard_request_1.DashboardRequest(new dashboard_1.Dashboard(customerConfig, parameterQueryBuilder, athenaClient, requestDiffService, cache)));
|
|
112
|
-
|
|
112
|
+
/**
|
|
113
|
+
* todo check error `Cannot read properties of undefined (reading 'mainFrame')`
|
|
114
|
+
* until this is fixed, we need to deaktivate the parameter dashboard
|
|
115
|
+
* See ticket: https://www.notion.so/baqend/d3749c5796d647f5892aa5ebfa2fd75f?v=306744f97b924ce29f59a2a3779a045c&p=728aae13a9a94c10807f368143b7dabf&pm=s
|
|
116
|
+
**/
|
|
117
|
+
// browserContext.startParameterDashboard = true;
|
|
113
118
|
}
|
|
114
119
|
return new fetch_event_handler_1.FetchEventHandler(handlers, customerConfig, cli, configApi);
|
|
115
120
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const core_1 = require("@oclif/core");
|
|
4
|
-
class DefaultErrorHandler {
|
|
5
|
-
canHandle(_error) {
|
|
6
|
-
return true;
|
|
7
|
-
}
|
|
8
|
-
async handle(error) {
|
|
9
|
-
console.log(error);
|
|
10
|
-
core_1.ux.exit(1);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.default = DefaultErrorHandler;
|