@arcgis/coding-components 5.2.0-next.117 → 5.2.0-next.119
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/chunks/utils.js
CHANGED
|
@@ -17,7 +17,6 @@ const R = "https://services6.arcgis.com/HXHga6CfMLMBOlBX/ArcGIS/rest/services/su
|
|
|
17
17
|
return s?.aiForOrg?.enabled === !0 && s?.aiForOrg?.aiCapabilities?.aiAssistants?.enabled === !0;
|
|
18
18
|
};
|
|
19
19
|
async function T({
|
|
20
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated -- TODO(6.0)
|
|
21
20
|
portalUrl: e
|
|
22
21
|
}) {
|
|
23
22
|
e && a(
|
|
@@ -552,7 +552,6 @@ class et extends ce {
|
|
|
552
552
|
answer: this.encodeForFeedback(a),
|
|
553
553
|
useragent: navigator.userAgent,
|
|
554
554
|
_source: Y,
|
|
555
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated -- TODO(6.0)
|
|
556
555
|
version: this.appVersion || s || "NOT_SET",
|
|
557
556
|
context: o ? JSON.stringify({
|
|
558
557
|
...o,
|
|
@@ -707,7 +706,6 @@ class et extends ce {
|
|
|
707
706
|
answer: this.encodeForFeedback(e.answer),
|
|
708
707
|
useragent: navigator.userAgent,
|
|
709
708
|
_source: Y,
|
|
710
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated -- TODO(6.0)
|
|
711
709
|
version: this.appVersion || o || "NOT_SET",
|
|
712
710
|
// we send the snapshotted context in the automatic logging, rather than the full context, to avoid accidentally logging sensitive information that may be in the full context.
|
|
713
711
|
context: s ? JSON.stringify({ ...s, isSnapshot: !0 }) : "",
|