@corva/create-app 0.46.0-0-test-3a92522 → 0.46.0-rc.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.
@@ -11,10 +11,14 @@ async function deleteAppPackage({ api, appId, appPkgVersion }) {
11
11
  );
12
12
 
13
13
  if (!packageToDelete) {
14
- throw new StepError('Failed to remove the package with the same package.json version');
14
+ throw new StepError('No matching version while trying to remove the existing package, unrecoverable error');
15
15
  }
16
16
 
17
- await api.deleteAppUpload(appId, packageToDelete?.id);
17
+ try {
18
+ await api.deleteAppUpload(appId, packageToDelete?.id);
19
+ } catch (error) {
20
+ throw new StepError('Failed to remove the package, probably can retry');
21
+ }
18
22
  }
19
23
 
20
24
  export const UPLOAD_ZIP_TO_CORVA_STEP = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/create-app",
3
- "version": "0.46.0-0-test-3a92522",
3
+ "version": "0.46.0-rc.0",
4
4
  "private": false,
5
5
  "description": "Create an app to use it in CORVA.AI",
6
6
  "keywords": [