@esri/solution-common 5.6.9 → 5.7.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.
package/README.md CHANGED
@@ -15,56 +15,6 @@
15
15
 
16
16
  > Common helpers for [`@esri/solution-*`](https://github.com/Esri/solution.js) packages.
17
17
 
18
- ### Example
19
-
20
- ```js
21
- var fetch = require("node-fetch");
22
- var FormData = require("isomorphic-form-data");
23
- var Promise = require("promise");
24
-
25
- require("@esri/arcgis-rest-portal");
26
- require("@esri/arcgis-rest-request");
27
- require("@esri/arcgis-rest-service-admin");
28
-
29
- var solutionCommon = require("@esri/solution-common");
30
-
31
- var originalExtent = {
32
- xmin: -9821384,
33
- ymin: 5117339,
34
- xmax: -9797228,
35
- ymax: 5137789,
36
- spatialReference: { wkid: 102100 }
37
- };
38
- var desiredSpatialRef = { wkid: 4326 };
39
-
40
- solutionCommon.convertExtent(
41
- originalExtent,
42
- desiredSpatialRef,
43
- "http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/Geometry/GeometryServer",
44
- {
45
- fetch: fetch
46
- }
47
- ).then(
48
- response => {
49
- console.log("spatialReference: " + response.spatialReference.wkid);
50
- console.log("xmax: " + response.xmax);
51
- console.log("xmin: " + response.xmin);
52
- console.log("ymax: " + response.ymax);
53
- console.log("ymin: " + response.ymin);
54
- },
55
- response => console.error(response)
56
- );
57
- ```
58
- Example is hosted in [RunKit](https://runkit.com/miketschudi/esri-solution-common/1.0.0); expected output:
59
- ```
60
- Promise (resolved) undefined
61
- "spatialReference: 4326"
62
- "xmax: -88.0099965440373"
63
- "xmin: -88.22699358406922"
64
- "ymax: 41.84499732645768"
65
- "ymin: 41.70799917451703"
66
- ```
67
-
68
18
  ### [API Reference](https://esri.github.io/solution.js/modules/common_src.html)
69
19
 
70
20
  ### Issues
@@ -106,7 +106,7 @@ function getItemTypeAbbrev(type) {
106
106
  "Deep Learning Package": "xxx",
107
107
  "Desktop Add In": "dai",
108
108
  "Desktop Application Template": "dat",
109
- "Desktop Style": "xxx",
109
+ "Desktop Style": "dst",
110
110
  "Document Link": "doc",
111
111
  "Explorer Add In": "xxx",
112
112
  "Explorer Layer": "xxx",
@@ -161,7 +161,7 @@ function getItemTypeAbbrev(type) {
161
161
  "Service Definition": "xxx",
162
162
  "Shapefile": "xxx",
163
163
  "Statistical Data Collection": "xxx",
164
- "Style": "xxx",
164
+ "Style": "sty",
165
165
  "Survey123 Add In": "xxx",
166
166
  "Symbol Set": "xxx",
167
167
  "Task File": "xxx",
@@ -103,7 +103,7 @@ export function getItemTypeAbbrev(type) {
103
103
  "Deep Learning Package": "xxx",
104
104
  "Desktop Add In": "dai",
105
105
  "Desktop Application Template": "dat",
106
- "Desktop Style": "xxx",
106
+ "Desktop Style": "dst",
107
107
  "Document Link": "doc",
108
108
  "Explorer Add In": "xxx",
109
109
  "Explorer Layer": "xxx",
@@ -158,7 +158,7 @@ export function getItemTypeAbbrev(type) {
158
158
  "Service Definition": "xxx",
159
159
  "Shapefile": "xxx",
160
160
  "Statistical Data Collection": "xxx",
161
- "Style": "xxx",
161
+ "Style": "sty",
162
162
  "Survey123 Add In": "xxx",
163
163
  "Symbol Set": "xxx",
164
164
  "Task File": "xxx",
@@ -1,10 +1,8 @@
1
- Built 10/17/2024 7:07:59.90
2
- develop
3
- commit d507bd734a66379b98d21861bf163fb1cf130d7d
4
- Merge: ce5f37326 a0fd49ba5
1
+ Built 11/22/2024 13:45:22.32
2
+ master
3
+ commit d8e35eca01138cbe1831599daefca4063af552ed
4
+ Merge: 6802c26b0 fb8fdf237
5
5
  Author: Mike Tschudi <mtschudi@esri.com>
6
- Date: Tue Oct 8 07:57:43 2024 -0700
6
+ Date: Thu Oct 17 09:50:27 2024 -0700
7
7
 
8
- Merge pull request #1510 from Esri/enh/930-handle-massive-rsrcs
9
-
10
- Enhanced constraints for creating zips for uploading resources
8
+ Merge branch 'develop'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solution-common",
3
- "version": "5.6.9",
3
+ "version": "5.7.0",
4
4
  "description": "Provides general helper functions for @esri/solution.js.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -94,5 +94,5 @@
94
94
  "esri",
95
95
  "ES6"
96
96
  ],
97
- "gitHead": "c4909b430880620aa0c966dd7280ca0eeea98e2e"
97
+ "gitHead": "7b2f1a03ba139c773d0aa9731ff7c479497d1b30"
98
98
  }