@stacksjs/notifications 0.59.6 → 0.59.8

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 +3 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
+ import { email, sms } from './drivers';
1
2
  declare function useChat(driver?: string): any;
2
- declare function useEmail(driver?: string): any;
3
- declare function useSMS(driver?: string): any;
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;
4
5
  declare function useNotification(typeParam?: string, driverParam?: string): any;
5
6
  declare function notification(): any;
6
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.59.6",
4
+ "version": "0.59.8",
5
5
  "description": "The Stacks notifications integration.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",