@stacksjs/notifications 0.47.4 → 0.48.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.
- package/README.md +7 -2
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -11,8 +11,6 @@ Stacks Notifications is a unified driver system for sending messages/notificatio
|
|
|
11
11
|
|
|
12
12
|
## TODO
|
|
13
13
|
|
|
14
|
-
- [ ] Driver: FCM
|
|
15
|
-
- [ ] Driver: Expo
|
|
16
14
|
- [ ] Driver: SNS (Push)
|
|
17
15
|
- [ ] Driver: Pushwoosh
|
|
18
16
|
|
|
@@ -22,6 +20,13 @@ Stacks Notifications is a unified driver system for sending messages/notificatio
|
|
|
22
20
|
pnpm i -D @stacksjs/notifications
|
|
23
21
|
```
|
|
24
22
|
|
|
23
|
+
Set these variables in your env:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
NOTIFICATION_TYPE=email
|
|
27
|
+
NOTIFICATION_DRIVER=sendgrid
|
|
28
|
+
```
|
|
29
|
+
|
|
25
30
|
You may now use it in your project:
|
|
26
31
|
|
|
27
32
|
```ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/notifications",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.48.2",
|
|
5
5
|
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks notifications integration.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -68,20 +68,20 @@
|
|
|
68
68
|
"@novu/telnyx": "^0.10.0",
|
|
69
69
|
"@novu/termii": "^0.10.0",
|
|
70
70
|
"@novu/twilio": "^0.10.0",
|
|
71
|
-
"@stacksjs/chat": "0.
|
|
72
|
-
"@stacksjs/cli": "0.
|
|
73
|
-
"@stacksjs/config": "0.
|
|
74
|
-
"@stacksjs/email": "0.
|
|
75
|
-
"@stacksjs/error-handling": "0.
|
|
76
|
-
"@stacksjs/push": "0.
|
|
77
|
-
"@stacksjs/sms": "0.
|
|
78
|
-
"@stacksjs/types": "0.
|
|
71
|
+
"@stacksjs/chat": "0.48.2",
|
|
72
|
+
"@stacksjs/cli": "0.48.2",
|
|
73
|
+
"@stacksjs/config": "0.48.2",
|
|
74
|
+
"@stacksjs/email": "0.48.2",
|
|
75
|
+
"@stacksjs/error-handling": "0.48.2",
|
|
76
|
+
"@stacksjs/push": "0.48.2",
|
|
77
|
+
"@stacksjs/sms": "0.48.2",
|
|
78
|
+
"@stacksjs/types": "0.48.2"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"mkdist": "^1.0.0",
|
|
82
82
|
"typescript": "^4.9.4",
|
|
83
83
|
"unbuild": "^1.0.2",
|
|
84
|
-
"@stacksjs/testing": "0.
|
|
84
|
+
"@stacksjs/testing": "0.48.2"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
87
|
"build": "unbuild",
|