@eshal-bot/chat-widget 0.2.22 → 0.2.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.
- package/dist/{chat-widget-MarkdownRenderer-BzKIktxl.esm.js → chat-widget-MarkdownRenderer-CiMP1VOp.esm.js} +1 -1
- package/dist/{chat-widget-index-CiaYbZwv.esm.js → chat-widget-index-CM9IkUEC.esm.js} +2 -2
- package/dist/chat-widget.esm.js +1 -1
- package/dist/chat-widget.js +7 -9
- package/dist/chat-widget.min.js +2 -2
- package/dist/chat-widget.umd.js +2 -2
- package/package.json +1 -1
package/dist/chat-widget.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{e as default}from"./chat-widget-index-
|
|
1
|
+
export{e as default}from"./chat-widget-index-CM9IkUEC.esm.js";import"react";import"react-dom/client";import"react/jsx-runtime";import"react-dom";
|
package/dist/chat-widget.js
CHANGED
|
@@ -12582,14 +12582,12 @@
|
|
|
12582
12582
|
} = await Promise.resolve().then(function () { return index; });
|
|
12583
12583
|
const tracer = new UserTrace({
|
|
12584
12584
|
cache: true,
|
|
12585
|
-
//
|
|
12586
|
-
//
|
|
12587
|
-
//
|
|
12588
|
-
//
|
|
12589
|
-
//
|
|
12590
|
-
|
|
12591
|
-
// durable even if @eshal-tracker/sdk changes its default later.
|
|
12592
|
-
geoFromBrowser: true,
|
|
12585
|
+
// 26 Oct 2026 (owner review): never ask a website visitor for their
|
|
12586
|
+
// GPS location. The area comes from their IP, resolved on our server
|
|
12587
|
+
// (services/widgetVisitorLocation.ts); the SDK's own IP lookup below
|
|
12588
|
+
// is only a fallback for when the server finds nothing. Set
|
|
12589
|
+
// explicitly because the SDK's default is `true` (prompt on init).
|
|
12590
|
+
geoFromBrowser: false,
|
|
12593
12591
|
// EV-2167: freeipapi.com 302-redirects and fails in some environments;
|
|
12594
12592
|
// prefer ipwho.is which responds directly with no redirect.
|
|
12595
12593
|
preferredProvider: "ipwho.is",
|
|
@@ -21905,7 +21903,7 @@
|
|
|
21905
21903
|
* value by its own test (that constant sat at 0.1.113 while this package was
|
|
21906
21904
|
* at 0.2.2 precisely because nothing enforced it - EV-2431).
|
|
21907
21905
|
*/
|
|
21908
|
-
const WIDGET_VERSION = '0.2.
|
|
21906
|
+
const WIDGET_VERSION = '0.2.23';
|
|
21909
21907
|
|
|
21910
21908
|
/**
|
|
21911
21909
|
* API utility functions
|