@arkstack/notifications 0.16.13 → 0.17.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. 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): MailNotification | SmsNotification | DbNotification | RealtimeNotification;
442
+ static channel(channel?: NotificationChannel | 'email', options?: DriverOptions): RealtimeNotification | MailNotification | SmsNotification | 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.16.13",
3
+ "version": "0.17.1",
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.16.13"
37
+ "@arkstack/common": "^0.17.1"
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/contract": "^0.16.13",
44
- "@arkstack/database": "^0.16.13"
43
+ "@arkstack/contract": "^0.17.1",
44
+ "@arkstack/database": "^0.17.1"
45
45
  },
46
46
  "peerDependenciesMeta": {
47
47
  "pusher": {