@searchspring/snap-preact 0.63.2 → 0.63.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 CHANGED
@@ -81,7 +81,6 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
81
81
  var __importDefault = (this && this.__importDefault) || function (mod) {
82
82
  return (mod && mod.__esModule) ? mod : { "default": mod };
83
83
  };
84
- var _a;
85
84
  Object.defineProperty(exports, "__esModule", { value: true });
86
85
  exports.Snap = exports.STYLESHEET_CLASSNAME = exports.DEV_COOKIE = exports.BRANCH_PARAM = exports.BRANCH_COOKIE = void 0;
87
86
  var jsx_runtime_1 = require("preact/jsx-runtime");
@@ -100,7 +99,7 @@ var createSearchController_1 = __importDefault(require("./create/createSearchCon
100
99
  var configureSnapFeatures_1 = require("./configureSnapFeatures");
101
100
  var setupEvents_1 = require("./setupEvents");
102
101
  // configure MobX
103
- (0, mobx_1.configure)({ useProxies: ((_a = window === null || window === void 0 ? void 0 : window.searchspring) === null || _a === void 0 ? void 0 : _a.build) == 'universal' ? 'never' : 'always', isolateGlobalState: true, enforceActions: 'never' });
102
+ (0, mobx_1.configure)({ useProxies: 'always', isolateGlobalState: true, enforceActions: 'never' });
104
103
  exports.BRANCH_COOKIE = 'ssBranch';
105
104
  exports.BRANCH_PARAM = 'searchspring-preview';
106
105
  exports.DEV_COOKIE = 'ssDev';
package/dist/esm/Snap.js CHANGED
@@ -14,7 +14,7 @@ import { default as createSearchController } from './create/createSearchControll
14
14
  import { configureSnapFeatures } from './configureSnapFeatures';
15
15
  import { setupEvents } from './setupEvents';
16
16
  // configure MobX
17
- configureMobx({ useProxies: window?.searchspring?.build == 'universal' ? 'never' : 'always', isolateGlobalState: true, enforceActions: 'never' });
17
+ configureMobx({ useProxies: 'always', isolateGlobalState: true, enforceActions: 'never' });
18
18
  export const BRANCH_COOKIE = 'ssBranch';
19
19
  export const BRANCH_PARAM = 'searchspring-preview';
20
20
  export const DEV_COOKIE = 'ssDev';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@searchspring/snap-preact",
3
- "version": "0.63.2",
3
+ "version": "0.63.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.63.2",
24
- "@searchspring/snap-controller": "^0.63.2",
25
- "@searchspring/snap-event-manager": "^0.63.2",
26
- "@searchspring/snap-logger": "^0.63.2",
27
- "@searchspring/snap-platforms": "^0.63.2",
28
- "@searchspring/snap-preact-components": "^0.63.2",
29
- "@searchspring/snap-profiler": "^0.63.2",
30
- "@searchspring/snap-store-mobx": "^0.63.2",
31
- "@searchspring/snap-toolbox": "^0.63.2",
32
- "@searchspring/snap-tracker": "^0.63.2",
33
- "@searchspring/snap-url-manager": "^0.63.2",
23
+ "@searchspring/snap-client": "^0.63.4",
24
+ "@searchspring/snap-controller": "^0.63.4",
25
+ "@searchspring/snap-event-manager": "^0.63.4",
26
+ "@searchspring/snap-logger": "^0.63.4",
27
+ "@searchspring/snap-platforms": "^0.63.4",
28
+ "@searchspring/snap-preact-components": "^0.63.4",
29
+ "@searchspring/snap-profiler": "^0.63.4",
30
+ "@searchspring/snap-store-mobx": "^0.63.4",
31
+ "@searchspring/snap-toolbox": "^0.63.4",
32
+ "@searchspring/snap-tracker": "^0.63.4",
33
+ "@searchspring/snap-url-manager": "^0.63.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": "e0cbff5ebba37135d0ead609f6dc4b4b8db48916"
46
+ "gitHead": "8d744ee5f79d14ed44a3d2f1dcf8cd2a08f12485"
47
47
  }