@saasquatch/component-environment 1.0.6-1 → 1.0.6-2
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.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -376,6 +376,7 @@ function lazilyStartLocaleContext() {
|
|
|
376
376
|
if (!globalProvider) {
|
|
377
377
|
debug3("Creating locale context provider");
|
|
378
378
|
const locale = ((_a = window.widgetIdent) == null ? void 0 : _a.locale) ?? validateLocale(navigator.language.replaceAll("-", "_"));
|
|
379
|
+
debug3("initializing with locale:", locale);
|
|
379
380
|
globalProvider = new import_dom_context.ContextProvider({
|
|
380
381
|
element: document.documentElement,
|
|
381
382
|
initialState: locale,
|
package/dist/index.mjs
CHANGED
|
@@ -327,6 +327,7 @@ function lazilyStartLocaleContext() {
|
|
|
327
327
|
if (!globalProvider) {
|
|
328
328
|
debug3("Creating locale context provider");
|
|
329
329
|
const locale = ((_a = window.widgetIdent) == null ? void 0 : _a.locale) ?? validateLocale(navigator.language.replaceAll("-", "_"));
|
|
330
|
+
debug3("initializing with locale:", locale);
|
|
330
331
|
globalProvider = new ContextProvider({
|
|
331
332
|
element: document.documentElement,
|
|
332
333
|
initialState: locale,
|