@arcgis/components-utils 4.33.0-next.97 → 4.33.0-next.99
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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -199,7 +199,7 @@ function safeCall(callback, thisContext, ...rest) {
|
|
|
199
199
|
async function safeAsyncCall(callback, thisContext, ...rest) {
|
|
200
200
|
try {
|
|
201
201
|
const result = callback?.call(thisContext, ...rest);
|
|
202
|
-
return
|
|
202
|
+
return await result;
|
|
203
203
|
} catch (error) {
|
|
204
204
|
console.error(error, callback);
|
|
205
205
|
}
|
package/dist/index.js
CHANGED
|
@@ -197,7 +197,7 @@ function safeCall(callback, thisContext, ...rest) {
|
|
|
197
197
|
async function safeAsyncCall(callback, thisContext, ...rest) {
|
|
198
198
|
try {
|
|
199
199
|
const result = callback?.call(thisContext, ...rest);
|
|
200
|
-
return
|
|
200
|
+
return await result;
|
|
201
201
|
} catch (error) {
|
|
202
202
|
console.error(error, callback);
|
|
203
203
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/components-utils",
|
|
3
|
-
"version": "4.33.0-next.
|
|
3
|
+
"version": "4.33.0-next.99",
|
|
4
4
|
"description": "Collection of common internal patterns and utilities for ArcGIS Maps SDK for JavaScript components.",
|
|
5
5
|
"homepage": "https://developers.arcgis.com/javascript/latest/",
|
|
6
6
|
"sideEffects": false,
|