@searchspring/snap-preact 0.66.2 → 0.66.4
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/cjs/Snap.js +1 -1
- package/dist/esm/Snap.js +1 -1
- package/package.json +13 -13
package/dist/cjs/Snap.js
CHANGED
|
@@ -287,7 +287,7 @@ var Snap = /** @class */ (function () {
|
|
|
287
287
|
if (this.config.mode && Object.values(snap_toolbox_1.AppMode).includes(this.config.mode)) {
|
|
288
288
|
this.mode = this.config.mode;
|
|
289
289
|
}
|
|
290
|
-
// query param /
|
|
290
|
+
// query param / cookie override
|
|
291
291
|
if ((((_l = urlParams === null || urlParams === void 0 ? void 0 : urlParams.params) === null || _l === void 0 ? void 0 : _l.query) && 'dev' in urlParams.params.query) || !!snap_toolbox_1.cookies.get(exports.DEV_COOKIE)) {
|
|
292
292
|
if (((_m = urlParams === null || urlParams === void 0 ? void 0 : urlParams.params.query) === null || _m === void 0 ? void 0 : _m.dev) == 'false' || ((_o = urlParams === null || urlParams === void 0 ? void 0 : urlParams.params.query) === null || _o === void 0 ? void 0 : _o.dev) == '0') {
|
|
293
293
|
snap_toolbox_1.cookies.unset(exports.DEV_COOKIE, cookieDomain_1);
|
package/dist/esm/Snap.js
CHANGED
|
@@ -206,7 +206,7 @@ export class Snap {
|
|
|
206
206
|
if (this.config.mode && Object.values(AppMode).includes(this.config.mode)) {
|
|
207
207
|
this.mode = this.config.mode;
|
|
208
208
|
}
|
|
209
|
-
// query param /
|
|
209
|
+
// query param / cookie override
|
|
210
210
|
if ((urlParams?.params?.query && 'dev' in urlParams.params.query) || !!cookies.get(DEV_COOKIE)) {
|
|
211
211
|
if (urlParams?.params.query?.dev == 'false' || urlParams?.params.query?.dev == '0') {
|
|
212
212
|
cookies.unset(DEV_COOKIE, cookieDomain);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@searchspring/snap-preact",
|
|
3
|
-
"version": "0.66.
|
|
3
|
+
"version": "0.66.4",
|
|
4
4
|
"description": "Snap Preact",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"test:watch": "jest --watch"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@searchspring/snap-client": "^0.66.
|
|
24
|
-
"@searchspring/snap-controller": "^0.66.
|
|
25
|
-
"@searchspring/snap-event-manager": "^0.66.
|
|
26
|
-
"@searchspring/snap-logger": "^0.66.
|
|
27
|
-
"@searchspring/snap-platforms": "^0.66.
|
|
28
|
-
"@searchspring/snap-preact-components": "^0.66.
|
|
29
|
-
"@searchspring/snap-profiler": "^0.66.
|
|
30
|
-
"@searchspring/snap-store-mobx": "^0.66.
|
|
31
|
-
"@searchspring/snap-toolbox": "^0.66.
|
|
32
|
-
"@searchspring/snap-tracker": "^0.66.
|
|
33
|
-
"@searchspring/snap-url-manager": "^0.66.
|
|
23
|
+
"@searchspring/snap-client": "^0.66.4",
|
|
24
|
+
"@searchspring/snap-controller": "^0.66.4",
|
|
25
|
+
"@searchspring/snap-event-manager": "^0.66.4",
|
|
26
|
+
"@searchspring/snap-logger": "^0.66.4",
|
|
27
|
+
"@searchspring/snap-platforms": "^0.66.4",
|
|
28
|
+
"@searchspring/snap-preact-components": "^0.66.4",
|
|
29
|
+
"@searchspring/snap-profiler": "^0.66.4",
|
|
30
|
+
"@searchspring/snap-store-mobx": "^0.66.4",
|
|
31
|
+
"@searchspring/snap-toolbox": "^0.66.4",
|
|
32
|
+
"@searchspring/snap-tracker": "^0.66.4",
|
|
33
|
+
"@searchspring/snap-url-manager": "^0.66.4",
|
|
34
34
|
"deepmerge": "4.3.1",
|
|
35
35
|
"intersection-observer": "0.12.0",
|
|
36
36
|
"is-plain-object": "5.0.0"
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"files": [
|
|
44
44
|
"dist/**/*"
|
|
45
45
|
],
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "cae018513c5454d289f54c641902d300c8a4959a"
|
|
47
47
|
}
|