@quintype/framework 7.2.0-fcm-madrid.2 → 7.2.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [7.2.0](https://github.com/quintype/quintype-node-framework/compare/v7.0.3...v7.2.0) (2022-02-18)
6
+
7
+
8
+ ### Features
9
+
10
+ * **Custom Layout:** support custom storylimit and custom nestedCollectionLimit ([#288](https://github.com/quintype/quintype-node-framework/issues/288)) ([1e3e8ae](https://github.com/quintype/quintype-node-framework/commit/1e3e8ae7c7da2e336260911cf41f56c5419e9480))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **fcm:** Support fcm integration keys from PB config ([#290](https://github.com/quintype/quintype-node-framework/issues/290)) ([6362c55](https://github.com/quintype/quintype-node-framework/commit/6362c55865f444ecfdc84f40332c94461750ed01))
16
+
5
17
  ## [7.1.0](https://github.com/quintype/quintype-node-framework/compare/v7.0.3...v7.1.0) (2022-02-11)
6
18
 
7
19
 
package/README.md CHANGED
@@ -154,17 +154,20 @@ startApp(renderApplication,
154
154
  CUSTOM_REDUCERS,
155
155
  {
156
156
  enableServiceWorker: process.env.NODE_ENV === "production",
157
- enableFCM: true,
157
+ fcmMessagingSenderId: (page) => <MessageSenderId> || fcmMessagingSenderId: <MessageSenderId> {(function|string)}
158
158
  ...
159
159
  })
160
160
  ```
161
161
 
162
- 2. publisher_config.yml should have the fcm configuration as below:
162
+ 2. app/server/app.js should have the fcm configuration as below:
163
163
 
164
164
  ```
165
- fcm:
166
- message_sender_id: <MessageSenderId>
167
- serverKey: <ServerKey>
165
+ isomorphicRoutes(app, {
166
+ ...
167
+ fcmServerKey: (config) => <ServerKey> || fcmServerKey: <ServerKey> {(function|string)}
168
+ ...
169
+ });
170
+
168
171
  ```
169
172
 
170
173
  3. You should have service worker script named firebase-messaging-sw.js in /public
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/framework",
3
- "version": "7.2.0-fcm-madrid.2",
3
+ "version": "7.2.0",
4
4
  "description": "Libraries to help build Quintype Node.js apps",
5
5
  "main": "index.js",
6
6
  "scripts": {