@pushwoosh/spa-context 1.7.1 → 1.7.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.
@@ -123,7 +123,7 @@ export class UniversalKeyValueStore {
123
123
  subscribe(key, listener, options) {
124
124
  const eventName = UniversalKeyValueStore.makeEventName(key);
125
125
  const unsubscribe = this.emitter.on(eventName, listener, false);
126
- if (options !== null && options !== void 0 && options.callImmediately) {
126
+ if (options?.callImmediately) {
127
127
  this.get(key).then(value => {
128
128
  if (value !== undefined) {
129
129
  listener({
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "idb-keyval": "^6.2.2"
24
24
  },
25
25
  "devDependencies": {
26
- "@pushwoosh/frontend-builder-engine": "^3.0.0",
26
+ "@pushwoosh/frontend-builder-engine": "^3.1.0",
27
27
  "@pushwoosh/http-client": "^2.10.0",
28
28
  "@pushwoosh/session-store": "^2.8.0",
29
29
  "@types/history": "^4.7.11",
@@ -44,5 +44,5 @@
44
44
  "@pushwoosh/session-store": "^2.7.0",
45
45
  "react": "^16.14.0 || ^18.0.0"
46
46
  },
47
- "version": "1.7.1"
47
+ "version": "1.7.2"
48
48
  }