@arcgis/core-adapter 4.32.0-next.22 → 4.32.0-next.23

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.
@@ -6,11 +6,11 @@ CLI Target: es2020
6
6
  CLI Cleaning output folder
7
7
  ESM Build start
8
8
  CJS Build start
9
- ESM dist/index.js 480.78 KB
10
- ESM ⚡️ Build success in 853ms
11
9
  CJS dist/index.cjs 621.09 KB
12
- CJS ⚡️ Build success in 900ms
10
+ CJS ⚡️ Build success in 869ms
11
+ ESM dist/index.js 480.78 KB
12
+ ESM ⚡️ Build success in 1001ms
13
13
  DTS Build start
14
- DTS ⚡️ Build success in 12302ms
14
+ DTS ⚡️ Build success in 12402ms
15
15
  DTS dist/index.d.ts 251.40 KB
16
16
  DTS dist/index.d.cts 251.40 KB
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/core-adapter",
3
- "version": "4.32.0-next.22",
3
+ "version": "4.32.0-next.23",
4
4
  "description": "ArcGIS Core Adapter",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -24,6 +24,8 @@ const files = [
24
24
  },
25
25
  ];
26
26
 
27
+ const HttpOK = 200;
28
+
27
29
  // Download the typings and support files.
28
30
  async function downloadSupportFiles(source: string, destination: string): Promise<void> {
29
31
  const file = fs.createWriteStream(destination);
@@ -33,6 +35,12 @@ async function downloadSupportFiles(source: string, destination: string): Promis
33
35
  console.log("Downloaded:", source);
34
36
  console.log(`Response type: ${resp.headers["content-type"]}`);
35
37
 
38
+ if (resp.statusCode !== HttpOK) {
39
+ console.error(`Request failed for ${source}:`, resp.statusMessage);
40
+ console.error(`Skipping: ${destination}`);
41
+ resolve(undefined);
42
+ }
43
+
36
44
  resp.pipe(file);
37
45
 
38
46
  resp.on("error", (err) => {
@@ -49211,6 +49211,12 @@ declare namespace __esri {
49211
49211
  * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-UtilityNetworkAssociationsContent.html#description)
49212
49212
  */
49213
49213
  description: string;
49214
+ /**
49215
+ * A numeric value indicating the maximum number of features to display in the list of associated features per layer.
49216
+ *
49217
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-UtilityNetworkAssociationsContent.html#displayCount)
49218
+ */
49219
+ displayCount: number;
49214
49220
  /**
49215
49221
  * A heading indicating what the relationship's content represents.
49216
49222
  *
@@ -49240,6 +49246,12 @@ declare namespace __esri {
49240
49246
  * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-UtilityNetworkAssociationsContent.html#description)
49241
49247
  */
49242
49248
  description?: string;
49249
+ /**
49250
+ * A numeric value indicating the maximum number of features to display in the list of associated features per layer.
49251
+ *
49252
+ * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-UtilityNetworkAssociationsContent.html#displayCount)
49253
+ */
49254
+ displayCount?: number;
49243
49255
  /**
49244
49256
  * A heading indicating what the relationship's content represents.
49245
49257
  *
@@ -98642,7 +98654,7 @@ declare namespace __esri {
98642
98654
  *
98643
98655
  * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-HighlightLayerViewMixin.html#highlight)
98644
98656
  */
98645
- highlight(target?: Graphic | Graphic[] | number | number[] | string | string[], group?: string): Handle;
98657
+ highlight(target?: Graphic | Graphic[] | number | number[] | string | string[]): Handle;
98646
98658
  }
98647
98659
 
98648
98660
  interface HighlightLayerViewMixinProperties {