@arkstack/notifications 0.12.14 → 0.12.15
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/dist/index.d.ts +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -280,7 +280,7 @@ declare class Notification<D extends keyof DriverMap = keyof DriverMap> {
|
|
|
280
280
|
static email(options?: MailDriverOptions): MailNotification;
|
|
281
281
|
static sms(options?: SmsDriverOptions): SmsNotification;
|
|
282
282
|
static db(): DbNotification;
|
|
283
|
-
static channel(channel?: NotificationChannel | 'email', options?: MailDriverOptions | SmsDriverOptions):
|
|
283
|
+
static channel(channel?: NotificationChannel | 'email', options?: MailDriverOptions | SmsDriverOptions): MailNotification | SmsNotification | DbNotification;
|
|
284
284
|
prepare(recipient?: null | MailRecipient | NotificationRecipient | User$1, data?: NotificationData): DriverMap[D];
|
|
285
285
|
private static createDriver;
|
|
286
286
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkstack/notifications",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Framework-agnostic notification module for Arkstack and Nodejs, providing support for multi-channel notification delivery.",
|
|
6
6
|
"homepage": "https://arkstack.toneflix.net/guide/notifications",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"africastalking": "^0.8.0",
|
|
35
35
|
"nodemailer": "^8.0.7",
|
|
36
36
|
"twilio": "^6.0.0",
|
|
37
|
-
"@arkstack/common": "^0.12.
|
|
37
|
+
"@arkstack/common": "^0.12.15"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@arkstack/database": "^0.12.
|
|
41
|
-
"@arkstack/contract": "^0.12.
|
|
40
|
+
"@arkstack/database": "^0.12.15",
|
|
41
|
+
"@arkstack/contract": "^0.12.15"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/nodemailer": "^7.0.11"
|