@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 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
@@ -21,7 +21,7 @@ $ npm install -g @speedkit/cli
21
21
  $ sk COMMAND
22
22
  running command...
23
23
  $ sk (--version)
24
- @speedkit/cli/2.23.0 linux-x64 node-v20.12.2
24
+ @speedkit/cli/2.23.2 linux-x64 node-v20.12.2
25
25
  $ sk --help [COMMAND]
26
26
  USAGE
27
27
  $ sk COMMAND
@@ -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
- browserContext.startParameterDashboard = true;
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
  }
@@ -660,5 +660,5 @@
660
660
  ]
661
661
  }
662
662
  },
663
- "version": "2.23.0"
663
+ "version": "2.23.2"
664
664
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speedkit/cli",
3
3
  "description": "Speed Kit CLI",
4
- "version": "2.23.0",
4
+ "version": "2.23.2",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"
@@ -1,5 +0,0 @@
1
- import ErrorHandlerInterface from "../../interface/error-handler-interface";
2
- export default class DefaultErrorHandler implements ErrorHandlerInterface {
3
- canHandle(_error: Error): boolean;
4
- handle(error: Error): Promise<any>;
5
- }
@@ -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;