@stacksjs/notifications 0.58.73 → 0.59.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
@@ -262,7 +262,6 @@ For casual chit-chat with others using this package:
262
262
  Many thanks to the following core technologies & people who have contributed to this package:
263
263
 
264
264
  - [Chris Breuer](https://github.com/chrisbbreuer)
265
- - [Novu](https://novu.co/)
266
265
  - [All Contributors](../../contributors)
267
266
 
268
267
  ## 📄 License
@@ -0,0 +1 @@
1
+ export * as chat from '@stacksjs/chat';
@@ -0,0 +1 @@
1
+ export * as email from '@stacksjs/email';
@@ -0,0 +1,4 @@
1
+ export * from './chat';
2
+ export * from './email';
3
+ export * from './push';
4
+ export * from './sms';
@@ -0,0 +1 @@
1
+ export * as push from '@stacksjs/push';
@@ -0,0 +1 @@
1
+ export * as sms from '@stacksjs/sms';
@@ -0,0 +1,7 @@
1
+ import { chat, email, sms } from './drivers';
2
+ declare function useChat(driver?: string): typeof chat.slack | typeof chat.discord | typeof chat.teams;
3
+ declare function useEmail(driver?: string): typeof email.ses | typeof email.Email | ((options: email.Message) => email.Email);
4
+ declare function useSMS(driver?: string): typeof sms.twilio | typeof sms.plivo | typeof sms.nexmo | typeof sms.sms77 | typeof sms.sns | typeof sms.gupshup | typeof sms.telnyx | typeof sms.termii;
5
+ declare function useNotification(typeParam?: string, driverParam?: string): typeof chat.slack;
6
+ declare function notification(): typeof chat.slack;
7
+ export { useEmail, useChat, useSMS, useNotification, notification, };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/notifications",
3
3
  "type": "module",
4
- "version": "0.58.73",
4
+ "version": "0.59.1",
5
5
  "description": "The Stacks notifications integration.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -26,8 +26,7 @@
26
26
  "slack",
27
27
  "discord",
28
28
  "webhooks",
29
- "stacks",
30
- "maizzle"
29
+ "stacks"
31
30
  ],
32
31
  "exports": {
33
32
  ".": {
@@ -65,7 +64,6 @@
65
64
  "@stacksjs/types": "latest"
66
65
  },
67
66
  "dependencies": {
68
- "@maizzle/framework": "^4.7.6",
69
67
  "@stacksjs/chat": "latest",
70
68
  "@stacksjs/cli": "latest",
71
69
  "@stacksjs/config": "latest",
@@ -75,29 +73,6 @@
75
73
  "@stacksjs/sms": "latest",
76
74
  "@stacksjs/types": "latest"
77
75
  },
78
- "optionalDependencies": {
79
- "@novu/discord": "^0.23.1",
80
- "@novu/emailjs": "^0.23.1",
81
- "@novu/gupshup": "^0.23.1",
82
- "@novu/mailgun": "^0.23.1",
83
- "@novu/mailjet": "^0.23.1",
84
- "@novu/mandrill": "^0.23.1",
85
- "@novu/netcore": "^0.23.1",
86
- "@novu/nexmo": "^0.23.1",
87
- "@novu/node": "^0.23.1",
88
- "@novu/nodemailer": "^0.23.1",
89
- "@novu/plivo": "^0.23.1",
90
- "@novu/postmark": "^0.23.1",
91
- "@novu/sendgrid": "^0.23.1",
92
- "@novu/ses": "^0.23.1",
93
- "@novu/slack": "^0.23.1",
94
- "@novu/sms77": "^0.23.1",
95
- "@novu/sns": "^0.23.1",
96
- "@novu/stateless": "^0.23.1",
97
- "@novu/telnyx": "^0.23.1",
98
- "@novu/termii": "^0.23.1",
99
- "@novu/twilio": "^0.23.1"
100
- },
101
76
  "devDependencies": {
102
77
  "@stacksjs/development": "latest"
103
78
  }