@capgo/cli 4.0.7 → 4.0.9

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
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [4.0.9](https://github.com/Cap-go/CLI/compare/v4.0.8...v4.0.9) (2024-02-23)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * timeout issue ([2377461](https://github.com/Cap-go/CLI/commit/237746148224fe146abc5cc733739cde6bc0701d))
11
+
12
+ ### [4.0.8](https://github.com/Cap-go/CLI/compare/v4.0.7...v4.0.8) (2024-02-19)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * prevent usage of default appId ([8fa2002](https://github.com/Cap-go/CLI/commit/8fa2002f2913f84e52390bcf9cf147a954573867))
18
+
5
19
  ### [4.0.7](https://github.com/Cap-go/CLI/compare/v4.0.6...v4.0.7) (2024-02-18)
6
20
 
7
21
 
package/dist/index.js CHANGED
@@ -61661,7 +61661,7 @@ var import_get_latest_version = __toESM(require_src3());
61661
61661
  // package.json
61662
61662
  var package_default = {
61663
61663
  name: "@capgo/cli",
61664
- version: "4.0.7",
61664
+ version: "4.0.9",
61665
61665
  description: "A CLI to upload to capgo servers",
61666
61666
  main: "dist/index.js",
61667
61667
  bin: {
@@ -62944,6 +62944,9 @@ var checkAppExistsAndHasPermissionErr = async (supabase, apikey, appid, shouldEx
62944
62944
  }
62945
62945
  if (res && !perm) {
62946
62946
  f2.error(`App ${appid} exist and you don't have permission to access it`);
62947
+ if (appid === "io.ionic.starter") {
62948
+ f2.info("Modify your appid in your capacitor.config.json file to something unique, this is a default appid for ionic starter app");
62949
+ }
62947
62950
  program.error("");
62948
62951
  }
62949
62952
  };
@@ -63643,6 +63646,7 @@ The app size is ${mbSize} Mb, this may take a while to download for users
63643
63646
  program.error("");
63644
63647
  }
63645
63648
  await distribution_default.put(url, {
63649
+ timeout: 6e4,
63646
63650
  body: zipped,
63647
63651
  headers: !localS3 ? {
63648
63652
  "Content-Type": "application/octet-stream",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
- "version": "4.0.7",
3
+ "version": "4.0.9",
4
4
  "description": "A CLI to upload to capgo servers",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/api/app.ts CHANGED
@@ -26,6 +26,9 @@ export const checkAppExistsAndHasPermissionErr = async (supabase: SupabaseClient
26
26
  }
27
27
  if (res && !perm) {
28
28
  p.log.error(`App ${appid} exist and you don't have permission to access it`);
29
+ if (appid === 'io.ionic.starter') {
30
+ p.log.info('Modify your appid in your capacitor.config.json file to something unique, this is a default appid for ionic starter app');
31
+ }
29
32
  program.error('');
30
33
  }
31
34
  }
@@ -321,6 +321,7 @@ It will be also visible in your dashboard\n`);
321
321
  program.error('');
322
322
  }
323
323
  await ky.put(url, {
324
+ timeout: 60000,
324
325
  body: zipped,
325
326
  headers: (!localS3 ? {
326
327
  "Content-Type": "application/octet-stream",