@quatrain/messaging-firebase 1.1.2 → 1.1.3-pr25.249

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quatrain/messaging-firebase",
3
- "version": "1.1.2",
3
+ "version": "1.1.3-pr25.0249",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,11 +19,11 @@
19
19
  },
20
20
  "author": "Quatrain Développement SAS <developers@quatrain.com>",
21
21
  "peerDependencies": {
22
- "@quatrain/core": "^1.2.9"
22
+ "@quatrain/core": "^1.2.18"
23
23
  },
24
24
  "dependencies": {
25
- "@quatrain/core": "^1.2.9",
26
- "@quatrain/messaging": "^1.1.3",
25
+ "@quatrain/core": "^1.2.18",
26
+ "@quatrain/messaging": "^1.1.5",
27
27
  "firebase-admin": "^13.0.1"
28
28
  },
29
29
  "devDependencies": {
@@ -89,7 +89,7 @@ describe('FirebaseMessagingAdapter', () => {
89
89
  })
90
90
 
91
91
  test('should handle empty body gracefully', async () => {
92
- const messageWithoutBody = { ...mockMessage, body: undefined }
92
+ const messageWithoutBody = { ...mockMessage, body: undefined } as unknown as NotificationMessage
93
93
 
94
94
  const result = await adapter.sendNotification(mockRecipient, messageWithoutBody)
95
95
  expect(result).toBe('message-id-123')