@waiaas/push-relay 2.8.0-rc → 2.8.0-rc.1

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.
@@ -16,6 +16,21 @@ application_code = "ABCDE-12345"
16
16
  # project_id = "my-wallet-app"
17
17
  # service_account_key_path = "/etc/push-relay/service-account.json"
18
18
 
19
+ # Optional: customize push notification payload per category
20
+ # Static fields are added to every push notification
21
+ # [relay.push.payload.static_fields]
22
+ # app_id = "com.example.wallet"
23
+ # env = "production"
24
+ #
25
+ # Category-specific fields (merged on top of static_fields)
26
+ # [relay.push.payload.category_map.sign_request]
27
+ # sound = "alert.caf"
28
+ # badge = "1"
29
+ #
30
+ # [relay.push.payload.category_map.notification]
31
+ # sound = "default"
32
+ # channel = "info"
33
+
19
34
  [relay.server]
20
35
  port = 3200
21
36
  host = "0.0.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@waiaas/push-relay",
3
- "version": "2.8.0-rc",
3
+ "version": "2.8.0-rc.1",
4
4
  "description": "WAIaaS Push Relay Server - bridge ntfy topics to push notification services (Pushwoosh, FCM)",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -41,7 +41,7 @@
41
41
  "hono": "^4.5.0",
42
42
  "smol-toml": "^1.3.0",
43
43
  "zod": "^3.24.0",
44
- "@waiaas/core": "2.8.0-rc"
44
+ "@waiaas/core": "2.8.0-rc.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/better-sqlite3": "^7.6.8",