stacks 0.47.1 → 0.47.4

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 (92) hide show
  1. package/buddy/package.json +1 -1
  2. package/core/actions/package.json +1 -1
  3. package/core/ai/package.json +1 -1
  4. package/core/alias/package.json +1 -1
  5. package/core/alias/src/index.ts +8 -0
  6. package/core/arrays/package.json +1 -1
  7. package/core/auth/package.json +1 -1
  8. package/core/build/package.json +1 -1
  9. package/core/cache/package.json +1 -1
  10. package/core/chat/package.json +4 -5
  11. package/core/cli/package.json +1 -1
  12. package/core/cloud/package.json +1 -1
  13. package/core/collections/package.json +1 -1
  14. package/core/config/package.json +1 -1
  15. package/core/dashboard/package.json +1 -1
  16. package/core/database/package.json +1 -1
  17. package/core/datetime/package.json +1 -1
  18. package/core/desktop/package.json +1 -1
  19. package/core/docs/package.json +1 -1
  20. package/core/domains/package.json +1 -1
  21. package/core/drivers/package.json +1 -1
  22. package/core/email/package.json +10 -2
  23. package/core/email/src/{drivers/actions → actions}/send.ts +1 -1
  24. package/core/email/src/drivers/emailjs.ts +1 -1
  25. package/core/email/src/drivers/mailgun.ts +1 -1
  26. package/core/email/src/drivers/mailjet.ts +1 -1
  27. package/core/email/src/drivers/mandrill.ts +1 -1
  28. package/core/email/src/drivers/netcore.ts +1 -1
  29. package/core/email/src/drivers/nodemailer.ts +1 -1
  30. package/core/email/src/drivers/postmark.ts +1 -1
  31. package/core/email/src/drivers/sendgrid.ts +1 -1
  32. package/core/email/src/drivers/ses.ts +1 -1
  33. package/core/{notifications/src/drivers/email → email/src}/tailwind.config.ts +3 -1
  34. package/core/email/src/utils/config.ts +3 -1
  35. package/core/error-handling/package.json +1 -1
  36. package/core/events/package.json +1 -1
  37. package/core/git/package.json +1 -1
  38. package/core/health/package.json +1 -1
  39. package/core/lint/package.json +1 -1
  40. package/core/logging/package.json +1 -1
  41. package/core/modules/package.json +1 -1
  42. package/core/notifications/package.json +5 -1
  43. package/core/notifications/src/drivers/chat.ts +1 -0
  44. package/core/notifications/src/drivers/email.ts +1 -0
  45. package/core/notifications/src/drivers/push.ts +1 -0
  46. package/core/notifications/src/drivers/sms.ts +1 -0
  47. package/core/notifications/src/tailwind.config.ts +39 -0
  48. package/core/notifications/src/utils/config.ts +2 -2
  49. package/core/objects/package.json +1 -1
  50. package/core/path/package.json +1 -1
  51. package/core/path/src/index.ts +20 -0
  52. package/core/payments/package.json +1 -1
  53. package/core/push/package.json +1 -1
  54. package/core/realtime/package.json +1 -1
  55. package/core/router/package.json +1 -1
  56. package/core/search-engine/package.json +1 -1
  57. package/core/security/package.json +1 -1
  58. package/core/server/package.json +1 -1
  59. package/core/sms/package.json +10 -4
  60. package/core/storage/package.json +1 -1
  61. package/core/strings/package.json +1 -1
  62. package/core/testing/package.json +1 -1
  63. package/core/types/package.json +1 -1
  64. package/core/ui/package.json +1 -1
  65. package/core/utils/package.json +1 -1
  66. package/core/x-ray/package.json +1 -1
  67. package/package.json +2 -2
  68. package/core/notifications/src/drivers/chat/discord.ts +0 -15
  69. package/core/notifications/src/drivers/chat/index.ts +0 -2
  70. package/core/notifications/src/drivers/chat/slack.ts +0 -22
  71. package/core/notifications/src/drivers/email/actions/send.ts +0 -36
  72. package/core/notifications/src/drivers/email/emailjs.ts +0 -21
  73. package/core/notifications/src/drivers/email/index.ts +0 -9
  74. package/core/notifications/src/drivers/email/mailgun.ts +0 -19
  75. package/core/notifications/src/drivers/email/mailjet.ts +0 -18
  76. package/core/notifications/src/drivers/email/mandrill.ts +0 -17
  77. package/core/notifications/src/drivers/email/netcore.ts +0 -17
  78. package/core/notifications/src/drivers/email/nodemailer.ts +0 -21
  79. package/core/notifications/src/drivers/email/postmark.ts +0 -17
  80. package/core/notifications/src/drivers/email/sendgrid.ts +0 -18
  81. package/core/notifications/src/drivers/email/ses.ts +0 -19
  82. package/core/notifications/src/drivers/push/expo.ts +0 -19
  83. package/core/notifications/src/drivers/push/fcm.ts +0 -19
  84. package/core/notifications/src/drivers/sms/gupshup.ts +0 -21
  85. package/core/notifications/src/drivers/sms/index.ts +0 -8
  86. package/core/notifications/src/drivers/sms/nexmo.ts +0 -22
  87. package/core/notifications/src/drivers/sms/plivo.ts +0 -22
  88. package/core/notifications/src/drivers/sms/sms77.ts +0 -21
  89. package/core/notifications/src/drivers/sms/sns.ts +0 -22
  90. package/core/notifications/src/drivers/sms/telnyx.ts +0 -22
  91. package/core/notifications/src/drivers/sms/termii.ts +0 -21
  92. package/core/notifications/src/drivers/sms/twilio.ts +0 -22
@@ -1,21 +0,0 @@
1
- import { Sms77SmsProvider } from '@novu/sms77'
2
- import { italic } from '@stacksjs/cli'
3
- import type { SmsOptions } from '@stacksjs/types'
4
- import { ResultAsync } from '@stacksjs/error-handling'
5
- import { notification } from '@stacksjs/config'
6
-
7
- const env = notification.sms.sms77
8
-
9
- const provider = new Sms77SmsProvider({
10
- apiKey: env.key,
11
- from: env.from,
12
- })
13
-
14
- function send(options: SmsOptions) {
15
- return ResultAsync.fromPromise(
16
- provider.sendMessage(options),
17
- () => new Error(`Failed to send message using provider: ${italic('Sms77')}`),
18
- )
19
- }
20
-
21
- export { send as Send, send }
@@ -1,22 +0,0 @@
1
- import { SNSSmsProvider } from '@novu/sns'
2
- import { italic } from '@stacksjs/cli'
3
- import type { SmsOptions } from '@stacksjs/types'
4
- import { ResultAsync } from '@stacksjs/error-handling'
5
- import { notification } from '@stacksjs/config'
6
-
7
- const env = notification.sms.sns
8
-
9
- const provider = new SNSSmsProvider({
10
- region: env.region,
11
- accessKeyId: env.key,
12
- secretAccessKey: env.secret,
13
- })
14
-
15
- function send(options: SmsOptions) {
16
- return ResultAsync.fromPromise(
17
- provider.sendMessage(options),
18
- () => new Error(`Failed to send message using provider: ${italic('SNS')}`),
19
- )
20
- }
21
-
22
- export { send as Send, send }
@@ -1,22 +0,0 @@
1
- import { TelnyxSmsProvider } from '@novu/telnyx'
2
- import { italic } from '@stacksjs/cli'
3
- import type { SmsOptions } from '@stacksjs/types'
4
- import { ResultAsync } from '@stacksjs/error-handling'
5
- import { notification } from '@stacksjs/config'
6
-
7
- const env = notification.sms.telnyx
8
-
9
- const provider = new TelnyxSmsProvider({
10
- apiKey: env.key,
11
- messageProfileId: env.messageProfileId,
12
- from: env.from,
13
- })
14
-
15
- function send(options: SmsOptions) {
16
- return ResultAsync.fromPromise(
17
- provider.sendMessage(options),
18
- () => new Error(`Failed to send message using provider: ${italic('Telnyx')}`),
19
- )
20
- }
21
-
22
- export { send as Send, send }
@@ -1,21 +0,0 @@
1
- import { TermiiSmsProvider } from '@novu/termii'
2
- import { italic } from '@stacksjs/cli'
3
- import type { SmsOptions } from '@stacksjs/types'
4
- import { ResultAsync } from '@stacksjs/error-handling'
5
- import { notification } from '@stacksjs/config'
6
-
7
- const env = notification.sms.termii
8
-
9
- const provider = new TermiiSmsProvider({
10
- apiKey: env.key,
11
- from: env.from,
12
- })
13
-
14
- function send(options: SmsOptions) {
15
- return ResultAsync.fromPromise(
16
- provider.sendMessage(options),
17
- () => new Error(`Failed to send message using provider: ${italic('Termii')}`),
18
- )
19
- }
20
-
21
- export { send as Send, send }
@@ -1,22 +0,0 @@
1
- import { TwilioSmsProvider } from '@novu/twilio'
2
- import { italic } from '@stacksjs/cli'
3
- import type { SmsOptions } from '@stacksjs/types'
4
- import { ResultAsync } from '@stacksjs/error-handling'
5
- import { notification } from '@stacksjs/config'
6
-
7
- const env = notification.sms.twilio
8
-
9
- const provider = new TwilioSmsProvider({
10
- accountSid: env.sid,
11
- authToken: env.authToken,
12
- from: env.from,
13
- })
14
-
15
- function send(options: SmsOptions) {
16
- return ResultAsync.fromPromise(
17
- provider.sendMessage(options),
18
- () => new Error(`Failed to send message using provider: ${italic('Twilio')}`),
19
- )
20
- }
21
-
22
- export { send as Send, send }