@stacksjs/notifications 0.46.4 → 0.48.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.
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/dist/config.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  const config$1 = require('@stacksjs/config');
4
4
 
5
5
  const config = {
6
- email: config$1.email
6
+ purgeCSS: config$1.notification.email.purgeCSS
7
7
  };
8
8
 
9
9
  module.exports = config;
package/dist/config.d.ts CHANGED
@@ -1,7 +1,5 @@
1
1
  declare const _default: {
2
- email: {
3
- purgeCSS: boolean;
4
- };
2
+ purgeCSS: boolean;
5
3
  };
6
4
 
7
5
  export { _default as default };
package/dist/config.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { email } from '@stacksjs/config';
1
+ import { notification } from '@stacksjs/config';
2
2
 
3
3
  const config = {
4
- email
4
+ purgeCSS: notification.email.purgeCSS
5
5
  };
6
6
 
7
7
  export { config as default };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/notifications",
3
3
  "type": "module",
4
- "version": "0.46.4",
5
- "packageManager": "pnpm@7.19.0",
4
+ "version": "0.48.1",
5
+ "packageManager": "pnpm@7.21.0",
6
6
  "description": "The Stacks notifications integration.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -43,41 +43,45 @@
43
43
  ],
44
44
  "engines": {
45
45
  "node": ">=v18.12.1",
46
- "pnpm": ">=7.19.0"
46
+ "pnpm": ">=7.21.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@maizzle/framework": "latest",
50
- "@novu/discord": "^0.9.0",
51
- "@novu/emailjs": "^0.9.0",
52
- "@novu/gupshup": "^0.9.0",
53
- "@novu/mailgun": "^0.9.0",
54
- "@novu/mailjet": "^0.9.0",
55
- "@novu/mandrill": "^0.9.0",
56
- "@novu/netcore": "^0.9.0",
57
- "@novu/nexmo": "^0.9.0",
58
- "@novu/node": "^0.9.0",
59
- "@novu/nodemailer": "^0.9.0",
60
- "@novu/plivo": "^0.9.0",
61
- "@novu/postmark": "^0.9.0",
62
- "@novu/sendgrid": "^0.9.0",
63
- "@novu/ses": "^0.9.0",
64
- "@novu/slack": "^0.9.0",
65
- "@novu/sms77": "^0.9.0",
66
- "@novu/sns": "^0.9.0",
67
- "@novu/stateless": "^0.9.0",
68
- "@novu/telnyx": "^0.9.0",
69
- "@novu/termii": "^0.9.0",
70
- "@novu/twilio": "^0.9.0",
71
- "@stacksjs/cli": "0.46.4",
72
- "@stacksjs/config": "0.46.4",
73
- "@stacksjs/error-handling": "0.46.4",
74
- "@stacksjs/types": "0.46.4"
50
+ "@novu/discord": "^0.10.0",
51
+ "@novu/emailjs": "^0.10.0",
52
+ "@novu/gupshup": "^0.10.0",
53
+ "@novu/mailgun": "^0.10.0",
54
+ "@novu/mailjet": "^0.10.0",
55
+ "@novu/mandrill": "^0.10.0",
56
+ "@novu/netcore": "^0.10.0",
57
+ "@novu/nexmo": "^0.10.0",
58
+ "@novu/node": "^0.10.0",
59
+ "@novu/nodemailer": "^0.10.0",
60
+ "@novu/plivo": "^0.10.0",
61
+ "@novu/postmark": "^0.10.0",
62
+ "@novu/sendgrid": "^0.10.0",
63
+ "@novu/ses": "^0.10.0",
64
+ "@novu/slack": "^0.10.0",
65
+ "@novu/sms77": "^0.10.0",
66
+ "@novu/sns": "^0.10.0",
67
+ "@novu/stateless": "^0.10.0",
68
+ "@novu/telnyx": "^0.10.0",
69
+ "@novu/termii": "^0.10.0",
70
+ "@novu/twilio": "^0.10.0",
71
+ "@stacksjs/chat": "0.48.1",
72
+ "@stacksjs/cli": "0.48.1",
73
+ "@stacksjs/config": "0.48.1",
74
+ "@stacksjs/email": "0.48.1",
75
+ "@stacksjs/error-handling": "0.48.1",
76
+ "@stacksjs/push": "0.48.1",
77
+ "@stacksjs/sms": "0.48.1",
78
+ "@stacksjs/types": "0.48.1"
75
79
  },
76
80
  "devDependencies": {
77
81
  "mkdist": "^1.0.0",
78
82
  "typescript": "^4.9.4",
79
83
  "unbuild": "^1.0.2",
80
- "@stacksjs/testing": "0.46.4"
84
+ "@stacksjs/testing": "0.48.1"
81
85
  },
82
86
  "scripts": {
83
87
  "build": "unbuild",