@esri/solution-deployer 6.4.0-next.20250914 → 6.4.0-next.20250915

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.
@@ -32,4 +32,4 @@ import { IModel } from "@esri/hub-common";
32
32
  * @returns The id of the created deployed solution item
33
33
  */
34
34
  export declare function deploySolution(maybeModel: string | IModel, authentication: common.UserSession, options?: common.IDeploySolutionOptions): Promise<string>;
35
- export declare function deployCatchHandler(ex: any, authentication: common.UserSession): void;
35
+ export declare function deployCatchHandler(ex: string, authentication: common.UserSession): void;
@@ -107,7 +107,9 @@ async function deploySolution(maybeModel, authentication, options) {
107
107
  return Promise.reject(error);
108
108
  })
109
109
  .catch((ex) => {
110
- deployCatchHandler(ex, authentication);
110
+ if (typeof ex === "string") {
111
+ deployCatchHandler(ex, authentication);
112
+ }
111
113
  throw ex;
112
114
  });
113
115
  }
@@ -32,4 +32,4 @@ import { IModel } from "@esri/hub-common";
32
32
  * @returns The id of the created deployed solution item
33
33
  */
34
34
  export declare function deploySolution(maybeModel: string | IModel, authentication: common.UserSession, options?: common.IDeploySolutionOptions): Promise<string>;
35
- export declare function deployCatchHandler(ex: any, authentication: common.UserSession): void;
35
+ export declare function deployCatchHandler(ex: string, authentication: common.UserSession): void;
@@ -103,7 +103,9 @@ export async function deploySolution(maybeModel, authentication, options) {
103
103
  return Promise.reject(error);
104
104
  })
105
105
  .catch((ex) => {
106
- deployCatchHandler(ex, authentication);
106
+ if (typeof ex === "string") {
107
+ deployCatchHandler(ex, authentication);
108
+ }
107
109
  throw ex;
108
110
  });
109
111
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solution-deployer",
3
- "version": "6.4.0-next.20250914",
3
+ "version": "6.4.0-next.20250915",
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.20250914",
28
- "@esri/solution-feature-layer": "^6.4.0-next.20250914",
29
- "@esri/solution-file": "^6.4.0-next.20250914",
30
- "@esri/solution-form": "^6.4.0-next.20250914",
31
- "@esri/solution-group": "^6.4.0-next.20250914",
32
- "@esri/solution-hub-types": "^6.4.0-next.20250914",
33
- "@esri/solution-simple-types": "^6.4.0-next.20250914",
34
- "@esri/solution-storymap": "^6.4.0-next.20250914",
35
- "@esri/solution-velocity": "^6.4.0-next.20250914",
36
- "@esri/solution-web-experience": "^6.4.0-next.20250914",
37
- "@esri/solution-web-tool": "^6.4.0-next.20250914",
38
- "@esri/solution-workflow": "^6.4.0-next.20250914",
27
+ "@esri/solution-common": "^6.4.0-next.20250915",
28
+ "@esri/solution-feature-layer": "^6.4.0-next.20250915",
29
+ "@esri/solution-file": "^6.4.0-next.20250915",
30
+ "@esri/solution-form": "^6.4.0-next.20250915",
31
+ "@esri/solution-group": "^6.4.0-next.20250915",
32
+ "@esri/solution-hub-types": "^6.4.0-next.20250915",
33
+ "@esri/solution-simple-types": "^6.4.0-next.20250915",
34
+ "@esri/solution-storymap": "^6.4.0-next.20250915",
35
+ "@esri/solution-velocity": "^6.4.0-next.20250915",
36
+ "@esri/solution-web-experience": "^6.4.0-next.20250915",
37
+ "@esri/solution-web-tool": "^6.4.0-next.20250915",
38
+ "@esri/solution-workflow": "^6.4.0-next.20250915",
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": "0cc72d9767881d8f404457e15ae997e1e8bda0d1"
93
+ "gitHead": "464d3c174cf2e314f5443f23200a39ead61d97ca"
94
94
  }