@esri/solution-deployer 6.4.0-next.20250817 → 6.4.0-next.20250820

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.
@@ -49,7 +49,14 @@ function deploySolutionItems(portalSharingUrl, storageItemId, templates, storage
49
49
  function checkCancelled() {
50
50
  if (options && options.abortController) {
51
51
  if (options.abortController.signal.aborted) {
52
- reject(new Error(`Operation was cancelled`));
52
+ // Delete created items
53
+ const progressOptions = {
54
+ consoleProgress: true,
55
+ };
56
+ // eslint-disable-next-line @typescript-eslint/no-floating-promises
57
+ common
58
+ .deleteSolutionByComponents(deployedSolutionId, deployedItemIds, templates, templateDictionary, destinationAuthentication, progressOptions)
59
+ .then(() => reject(common.failWithIds(failedTemplateItemIds)));
53
60
  }
54
61
  }
55
62
  }
@@ -45,7 +45,14 @@ export function deploySolutionItems(portalSharingUrl, storageItemId, templates,
45
45
  function checkCancelled() {
46
46
  if (options && options.abortController) {
47
47
  if (options.abortController.signal.aborted) {
48
- reject(new Error(`Operation was cancelled`));
48
+ // Delete created items
49
+ const progressOptions = {
50
+ consoleProgress: true,
51
+ };
52
+ // eslint-disable-next-line @typescript-eslint/no-floating-promises
53
+ common
54
+ .deleteSolutionByComponents(deployedSolutionId, deployedItemIds, templates, templateDictionary, destinationAuthentication, progressOptions)
55
+ .then(() => reject(common.failWithIds(failedTemplateItemIds)));
49
56
  }
50
57
  }
51
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solution-deployer",
3
- "version": "6.4.0-next.20250817",
3
+ "version": "6.4.0-next.20250820",
4
4
  "description": "Manages the deployment of a Solution for @esri/solution.js.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -24,18 +24,18 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@esri/hub-common": "^17.0.2",
27
- "@esri/solution-common": "^6.4.0-next.20250817",
28
- "@esri/solution-feature-layer": "^6.4.0-next.20250817",
29
- "@esri/solution-file": "^6.4.0-next.20250817",
30
- "@esri/solution-form": "^6.4.0-next.20250817",
31
- "@esri/solution-group": "^6.4.0-next.20250817",
32
- "@esri/solution-hub-types": "^6.4.0-next.20250817",
33
- "@esri/solution-simple-types": "^6.4.0-next.20250817",
34
- "@esri/solution-storymap": "^6.4.0-next.20250817",
35
- "@esri/solution-velocity": "^6.4.0-next.20250817",
36
- "@esri/solution-web-experience": "^6.4.0-next.20250817",
37
- "@esri/solution-web-tool": "^6.4.0-next.20250817",
38
- "@esri/solution-workflow": "^6.4.0-next.20250817",
27
+ "@esri/solution-common": "^6.4.0-next.20250820",
28
+ "@esri/solution-feature-layer": "^6.4.0-next.20250820",
29
+ "@esri/solution-file": "^6.4.0-next.20250820",
30
+ "@esri/solution-form": "^6.4.0-next.20250820",
31
+ "@esri/solution-group": "^6.4.0-next.20250820",
32
+ "@esri/solution-hub-types": "^6.4.0-next.20250820",
33
+ "@esri/solution-simple-types": "^6.4.0-next.20250820",
34
+ "@esri/solution-storymap": "^6.4.0-next.20250820",
35
+ "@esri/solution-velocity": "^6.4.0-next.20250820",
36
+ "@esri/solution-web-experience": "^6.4.0-next.20250820",
37
+ "@esri/solution-web-tool": "^6.4.0-next.20250820",
38
+ "@esri/solution-workflow": "^6.4.0-next.20250820",
39
39
  "tslib": "1.14.1"
40
40
  },
41
41
  "scripts": {
@@ -90,5 +90,5 @@
90
90
  "esri",
91
91
  "ES6"
92
92
  ],
93
- "gitHead": "fc677f0f21a1a090d65743f08073eeed47e22ef0"
93
+ "gitHead": "3abeb59bf15ab856aefec425dc9d7e89ceee1f97"
94
94
  }