@quintype/framework 7.3.2-node16.4 → 7.3.2-node16.5

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.
Files changed (2) hide show
  1. package/client/start.js +4 -2
  2. package/package.json +1 -1
package/client/start.js CHANGED
@@ -284,8 +284,10 @@ export function startApp(renderApplication, reducers, opts) {
284
284
 
285
285
  if (opts.firebaseConfig) {
286
286
  const fcm = typeof opts.firebaseConfig === "function" ? opts.firebaseConfig(page) : opts.firebaseConfig;
287
- const mssgSenderId = fcm.messagingSenderId;
288
- mssgSenderId && initializeFCM(fcm);
287
+ if (fcm) {
288
+ const mssgSenderId = fcm.messagingSenderId;
289
+ mssgSenderId && initializeFCM(fcm);
290
+ }
289
291
  }
290
292
 
291
293
  const { config: { "theme-attributes": pageThemeAttributes = {} } = {} } = page;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/framework",
3
- "version": "7.3.2-node16.4",
3
+ "version": "7.3.2-node16.5",
4
4
  "description": "Libraries to help build Quintype Node.js apps",
5
5
  "main": "index.js",
6
6
  "scripts": {