@stacksjs/notifications 0.59.11 → 0.61.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/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  // @bun
2
2
  // src/index.ts
3
3
  import process from "process";
4
- import {err} from "@stacksjs/error-handling";
5
- import {notification as config2} from "@stacksjs/config";
6
4
  import {log} from "@stacksjs/cli";
5
+ import {notification as config2} from "@stacksjs/config";
6
+ import {err} from "@stacksjs/error-handling";
7
7
  import {ExitCode} from "@stacksjs/types";
8
8
 
9
9
  // src/drivers/chat.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/notifications",
3
3
  "type": "module",
4
- "version": "0.59.11",
4
+ "version": "0.61.1",
5
5
  "description": "The Stacks notifications integration.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import process from 'node:process'
2
- import { err } from '@stacksjs/error-handling'
3
- import { notification as config } from '@stacksjs/config'
4
2
  import { log } from '@stacksjs/cli'
3
+ import { notification as config } from '@stacksjs/config'
4
+ import { err } from '@stacksjs/error-handling'
5
5
  import { ExitCode } from '@stacksjs/types'
6
6
  import { chat, email, sms } from './drivers'
7
7
 
@@ -42,10 +42,4 @@ function notification() {
42
42
  return useNotification()
43
43
  }
44
44
 
45
- export {
46
- useEmail,
47
- useChat,
48
- useSMS,
49
- useNotification,
50
- notification,
51
- }
45
+ export { useEmail, useChat, useSMS, useNotification, notification }
@@ -12,14 +12,14 @@ export default {
12
12
  xl: '1440px',
13
13
  },
14
14
  colors: {
15
- 'blue': '#1fb6ff',
16
- 'purple': '#7e5bef',
17
- 'pink': '#ff49db',
18
- 'orange': '#ff7849',
19
- 'green': '#13ce66',
20
- 'yellow': '#ffc82c',
15
+ blue: '#1fb6ff',
16
+ purple: '#7e5bef',
17
+ pink: '#ff49db',
18
+ orange: '#ff7849',
19
+ green: '#13ce66',
20
+ yellow: '#ffc82c',
21
21
  'gray-dark': '#273444',
22
- 'gray': '#8492a6',
22
+ gray: '#8492a6',
23
23
  'gray-light': '#d3dce6',
24
24
  },
25
25
  fontFamily: {
@@ -1 +0,0 @@
1
- export * as chat from '@stacksjs/chat';
@@ -1 +0,0 @@
1
- export * as email from '@stacksjs/email';
@@ -1,4 +0,0 @@
1
- export * from './chat';
2
- export * from './email';
3
- export * from './push';
4
- export * from './sms';
@@ -1 +0,0 @@
1
- export * as push from '@stacksjs/push';
@@ -1 +0,0 @@
1
- export * as sms from '@stacksjs/sms';
package/dist/index.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { email, sms } from './drivers';
2
- declare function useChat(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;
5
- declare function useNotification(typeParam?: string, driverParam?: string): any;
6
- declare function notification(): any;
7
- export { useEmail, useChat, useSMS, useNotification, notification, };