@speedkit/cli 2.23.0 → 2.23.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [2.23.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.23.0...v2.23.1) (2024-04-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **onboarding:** remove doublicate toUppercase ([5be449c](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/5be449c47f8661d69465e83376cac05e4969c707))
7
+ * **onboarding:** set variation to uppercase ([906f22e](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/906f22e741eb3d1febf90141ed65a6d5e7b85864))
8
+
1
9
  # [2.23.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.22.0...v2.23.0) (2024-04-12)
2
10
 
3
11
 
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.1 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) {
@@ -660,5 +660,5 @@
660
660
  ]
661
661
  }
662
662
  },
663
- "version": "2.23.0"
663
+ "version": "2.23.1"
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.1",
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;