@arkstack/notifications 0.17.2 → 0.17.3
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
|
@@ -439,7 +439,7 @@ declare class Notification<D extends keyof DriverMap = keyof DriverMap> {
|
|
|
439
439
|
static sms(options?: SmsDriverOptions): SmsNotification;
|
|
440
440
|
static db(): DbNotification;
|
|
441
441
|
static realtime(options?: RealtimeDriverOptions): RealtimeNotification;
|
|
442
|
-
static channel(channel?: NotificationChannel | 'email', options?: DriverOptions):
|
|
442
|
+
static channel(channel?: NotificationChannel | 'email', options?: DriverOptions): RealtimeNotification | SmsNotification | MailNotification | DbNotification;
|
|
443
443
|
prepare(recipient?: null | MailRecipient | NotificationRecipient | User, data?: NotificationData): DriverMap[D];
|
|
444
444
|
private static createDriver;
|
|
445
445
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkstack/notifications",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.3",
|
|
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,14 +34,14 @@
|
|
|
34
34
|
"africastalking": "^0.8.0",
|
|
35
35
|
"nodemailer": "^8.0.7",
|
|
36
36
|
"twilio": "^6.0.0",
|
|
37
|
-
"@arkstack/common": "^0.17.
|
|
37
|
+
"@arkstack/common": "^0.17.3"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@kanun-hq/plugin-phone": "^0.1.8",
|
|
41
41
|
"firebase-admin": "^13.0.0",
|
|
42
42
|
"pusher": "^5.2.0",
|
|
43
|
-
"@arkstack/
|
|
44
|
-
"@arkstack/
|
|
43
|
+
"@arkstack/contract": "^0.17.3",
|
|
44
|
+
"@arkstack/database": "^0.17.3"
|
|
45
45
|
},
|
|
46
46
|
"peerDependenciesMeta": {
|
|
47
47
|
"pusher": {
|