@stacksjs/sms 0.58.73 → 0.59.2

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/README.md CHANGED
@@ -127,7 +127,6 @@ For casual chit-chat with others using this package:
127
127
  Many thanks to the following core technologies & people who have contributed to this package:
128
128
 
129
129
  - [Chris Breuer](https://github.com/chrisbbreuer)
130
- - [Novu](https://novu.co/)
131
130
  - [All Contributors](../../contributors)
132
131
 
133
132
  ## 📄 License
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ export * as twilio from './twilio';
2
+ export * as plivo from './plivo';
3
+ export * as nexmo from './nexmo';
4
+ export * as sms77 from './sms77';
5
+ export * as sns from './sns';
6
+ export * as gupshup from './gupshup';
7
+ export * as telnyx from './telnyx';
8
+ export * as termii from './termii';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export * from './drivers';
package/dist/index.js CHANGED
@@ -1,233 +1,20 @@
1
- var __defProp = Object.defineProperty;
2
- var __export = (target, all) => {
3
- for (var name in all)
4
- __defProp(target, name, {
5
- get: all[name],
6
- enumerable: true,
7
- configurable: true,
8
- set: (newValue) => all[name] = () => newValue
9
- });
10
- };
11
-
1
+ // @bun
12
2
  // src/drivers/twilio.ts
13
3
  var exports_twilio = {};
14
- __export(exports_twilio, {
15
- send: () => {
16
- {
17
- return send;
18
- }
19
- },
20
- Send: () => {
21
- {
22
- return send;
23
- }
24
- }
25
- });
26
- import {TwilioSmsProvider} from "@novu/twilio";
27
- import {italic} from "@stacksjs/cli";
28
- import {ResultAsync} from "@stacksjs/error-handling";
29
- import {notification} from "@stacksjs/config";
30
- var send = function(options) {
31
- return ResultAsync.fromPromise(provider.sendMessage(options), () => new Error(`Failed to send message using provider: ${italic("Twilio")}`));
32
- };
33
- var from = notification.sms?.from;
34
- var env = notification.sms?.drivers.twilio;
35
- var provider = new TwilioSmsProvider({
36
- accountSid: env?.sid,
37
- authToken: env?.authToken,
38
- from: from || ""
39
- });
40
4
  // src/drivers/plivo.ts
41
5
  var exports_plivo = {};
42
- __export(exports_plivo, {
43
- send: () => {
44
- {
45
- return send2;
46
- }
47
- },
48
- Send: () => {
49
- {
50
- return send2;
51
- }
52
- }
53
- });
54
- import {PlivoSmsProvider} from "@novu/plivo";
55
- import {italic as italic2} from "@stacksjs/cli";
56
- import {ResultAsync as ResultAsync2} from "@stacksjs/error-handling";
57
- import {notification as notification2} from "@stacksjs/config";
58
- var send2 = function(options) {
59
- return ResultAsync2.fromPromise(provider2.sendMessage(options), () => new Error(`Failed to send message using provider: ${italic2("Plivo")}`));
60
- };
61
- var from2 = notification2.sms?.from;
62
- var env2 = notification2.sms?.drivers.plivo;
63
- var provider2 = new PlivoSmsProvider({
64
- accountSid: env2?.sid,
65
- authToken: env2?.authToken,
66
- from: from2 || ""
67
- });
68
6
  // src/drivers/nexmo.ts
69
7
  var exports_nexmo = {};
70
- __export(exports_nexmo, {
71
- send: () => {
72
- {
73
- return send3;
74
- }
75
- },
76
- Send: () => {
77
- {
78
- return send3;
79
- }
80
- }
81
- });
82
- import {NexmoSmsProvider} from "@novu/nexmo";
83
- import {italic as italic3} from "@stacksjs/cli";
84
- import {ResultAsync as ResultAsync3} from "@stacksjs/error-handling";
85
- import {notification as notification3} from "@stacksjs/config";
86
- var send3 = function(options) {
87
- return ResultAsync3.fromPromise(provider3.sendMessage(options), () => new Error(`Failed to send message using provider: ${italic3("Nexmo")}`));
88
- };
89
- var from3 = notification3.sms?.from;
90
- var env3 = notification3.sms?.drivers.nexmo;
91
- var provider3 = new NexmoSmsProvider({
92
- apiKey: env3?.key || "",
93
- apiSecret: env3?.secret || "",
94
- from: from3 || ""
95
- });
96
8
  // src/drivers/sms77.ts
97
9
  var exports_sms77 = {};
98
- __export(exports_sms77, {
99
- send: () => {
100
- {
101
- return send4;
102
- }
103
- },
104
- Send: () => {
105
- {
106
- return send4;
107
- }
108
- }
109
- });
110
- import {Sms77SmsProvider} from "@novu/sms77";
111
- import {italic as italic4} from "@stacksjs/cli";
112
- import {ResultAsync as ResultAsync4} from "@stacksjs/error-handling";
113
- import {notification as notification4} from "@stacksjs/config";
114
- var send4 = function(options) {
115
- return ResultAsync4.fromPromise(provider4.sendMessage(options), () => new Error(`Failed to send message using provider: ${italic4("Sms77")}`));
116
- };
117
- var from4 = notification4.sms?.from;
118
- var env4 = notification4.sms?.drivers.sms77;
119
- var provider4 = new Sms77SmsProvider({
120
- apiKey: env4?.key,
121
- from: from4
122
- });
123
10
  // src/drivers/sns.ts
124
11
  var exports_sns = {};
125
- __export(exports_sns, {
126
- send: () => {
127
- {
128
- return send5;
129
- }
130
- },
131
- Send: () => {
132
- {
133
- return send5;
134
- }
135
- }
136
- });
137
- import {SNSSmsProvider} from "@novu/sns";
138
- import {italic as italic5} from "@stacksjs/cli";
139
- import {ResultAsync as ResultAsync5} from "@stacksjs/error-handling";
140
- import {notification as notification5} from "@stacksjs/config";
141
- var send5 = function(options) {
142
- return ResultAsync5.fromPromise(provider5.sendMessage(options), () => new Error(`Failed to send message using provider: ${italic5("SNS")}`));
143
- };
144
- var env5 = notification5.sms?.drivers.sns;
145
- var provider5 = new SNSSmsProvider({
146
- region: env5?.region,
147
- accessKeyId: env5?.key,
148
- secretAccessKey: env5?.secret
149
- });
150
12
  // src/drivers/gupshup.ts
151
13
  var exports_gupshup = {};
152
- __export(exports_gupshup, {
153
- send: () => {
154
- {
155
- return send6;
156
- }
157
- },
158
- Send: () => {
159
- {
160
- return send6;
161
- }
162
- }
163
- });
164
- import {GupshupSmsProvider} from "@novu/gupshup";
165
- import {italic as italic6} from "@stacksjs/cli";
166
- import {ResultAsync as ResultAsync6} from "@stacksjs/error-handling";
167
- import {notification as notification6} from "@stacksjs/config";
168
- var send6 = function(options) {
169
- return ResultAsync6.fromPromise(provider6.sendMessage(options), () => new Error(`Failed to send message using provider: ${italic6("Gupshup")}`));
170
- };
171
- var env6 = notification6.sms?.drivers.gupshup;
172
- var provider6 = new GupshupSmsProvider({
173
- userId: env6?.user || "",
174
- password: env6?.password || ""
175
- });
176
14
  // src/drivers/telnyx.ts
177
15
  var exports_telnyx = {};
178
- __export(exports_telnyx, {
179
- send: () => {
180
- {
181
- return send7;
182
- }
183
- },
184
- Send: () => {
185
- {
186
- return send7;
187
- }
188
- }
189
- });
190
- import {TelnyxSmsProvider} from "@novu/telnyx";
191
- import {italic as italic7} from "@stacksjs/cli";
192
- import {ResultAsync as ResultAsync7} from "@stacksjs/error-handling";
193
- import {notification as notification7} from "@stacksjs/config";
194
- var send7 = function(options) {
195
- return ResultAsync7.fromPromise(provider7.sendMessage(options), () => new Error(`Failed to send message using provider: ${italic7("Telnyx")}`));
196
- };
197
- var from5 = notification7.sms?.from;
198
- var env7 = notification7.sms?.drivers.telnyx;
199
- var provider7 = new TelnyxSmsProvider({
200
- apiKey: env7?.key,
201
- messageProfileId: env7?.messageProfileId,
202
- from: from5 || ""
203
- });
204
16
  // src/drivers/termii.ts
205
17
  var exports_termii = {};
206
- __export(exports_termii, {
207
- send: () => {
208
- {
209
- return send8;
210
- }
211
- },
212
- Send: () => {
213
- {
214
- return send8;
215
- }
216
- }
217
- });
218
- import {TermiiSmsProvider} from "@novu/termii";
219
- import {italic as italic8} from "@stacksjs/cli";
220
- import {ResultAsync as ResultAsync8} from "@stacksjs/error-handling";
221
- import {notification as notification8} from "@stacksjs/config";
222
- var send8 = function(options) {
223
- return ResultAsync8.fromPromise(provider8.sendMessage(options), () => new Error(`Failed to send message using provider: ${italic8("Termii")}`));
224
- };
225
- var from6 = notification8.sms?.from;
226
- var env8 = notification8.sms?.drivers.termii;
227
- var provider8 = new TermiiSmsProvider({
228
- apiKey: env8?.key,
229
- from: from6 || ""
230
- });
231
18
  export {
232
19
  exports_twilio as twilio,
233
20
  exports_termii as termii,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/sms",
3
3
  "type": "module",
4
- "version": "0.58.73",
4
+ "version": "0.59.2",
5
5
  "description": "The Stacks SMS integration. Painlessly create & manage your inboxes, templates, and send sms.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -64,18 +64,6 @@
64
64
  "@stacksjs/error-handling": "latest",
65
65
  "@stacksjs/types": "latest"
66
66
  },
67
- "optionalDependencies": {
68
- "@novu/gupshup": "^0.23.1",
69
- "@novu/nexmo": "^0.23.1",
70
- "@novu/node": "^0.23.1",
71
- "@novu/plivo": "^0.23.1",
72
- "@novu/sms77": "^0.23.1",
73
- "@novu/sns": "^0.23.1",
74
- "@novu/stateless": "^0.23.1",
75
- "@novu/telnyx": "^0.23.1",
76
- "@novu/termii": "^0.23.1",
77
- "@novu/twilio": "^0.23.1"
78
- },
79
67
  "devDependencies": {
80
68
  "@stacksjs/config": "latest",
81
69
  "@stacksjs/development": "latest"
@@ -1,21 +1,21 @@
1
- import { GupshupSmsProvider } from '@novu/gupshup'
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'
1
+ // import { GupshupSmsProvider } from '@novu/gupshup'
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
6
 
7
- const env = notification.sms?.drivers.gupshup
7
+ // const env = notification.sms?.drivers.gupshup
8
8
 
9
- const provider = new GupshupSmsProvider({
10
- userId: env?.user || '',
11
- password: env?.password || '',
12
- })
9
+ // const provider = new GupshupSmsProvider({
10
+ // userId: env?.user || '',
11
+ // password: env?.password || '',
12
+ // })
13
13
 
14
- function send(options: SmsOptions) {
15
- return ResultAsync.fromPromise(
16
- provider.sendMessage(options),
17
- () => new Error(`Failed to send message using provider: ${italic('Gupshup')}`),
18
- )
19
- }
14
+ // function send(options: SmsOptions) {
15
+ // return ResultAsync.fromPromise(
16
+ // provider.sendMessage(options),
17
+ // () => new Error(`Failed to send message using provider: ${italic('Gupshup')}`),
18
+ // )
19
+ // }
20
20
 
21
- export { send as Send, send }
21
+ // export { send as Send, send }
@@ -1,23 +1,23 @@
1
- import { NexmoSmsProvider } from '@novu/nexmo'
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'
1
+ // import { NexmoSmsProvider } from '@novu/nexmo'
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
6
 
7
- const from = notification.sms?.from
8
- const env = notification.sms?.drivers.nexmo
7
+ // const from = notification.sms?.from
8
+ // const env = notification.sms?.drivers.nexmo
9
9
 
10
- const provider = new NexmoSmsProvider({
11
- apiKey: env?.key || '',
12
- apiSecret: env?.secret || '',
13
- from: from || '',
14
- })
10
+ // const provider = new NexmoSmsProvider({
11
+ // apiKey: env?.key || '',
12
+ // apiSecret: env?.secret || '',
13
+ // from: from || '',
14
+ // })
15
15
 
16
- function send(options: SmsOptions) {
17
- return ResultAsync.fromPromise(
18
- provider.sendMessage(options),
19
- () => new Error(`Failed to send message using provider: ${italic('Nexmo')}`),
20
- )
21
- }
16
+ // function send(options: SmsOptions) {
17
+ // return ResultAsync.fromPromise(
18
+ // provider.sendMessage(options),
19
+ // () => new Error(`Failed to send message using provider: ${italic('Nexmo')}`),
20
+ // )
21
+ // }
22
22
 
23
- export { send as Send, send }
23
+ // export { send as Send, send }
@@ -1,23 +1,23 @@
1
- import { PlivoSmsProvider } from '@novu/plivo'
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'
1
+ // import { PlivoSmsProvider } from '@novu/plivo'
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
6
 
7
- const from = notification.sms?.from
8
- const env = notification.sms?.drivers.plivo
7
+ // const from = notification.sms?.from
8
+ // const env = notification.sms?.drivers.plivo
9
9
 
10
- const provider = new PlivoSmsProvider({
11
- accountSid: env?.sid,
12
- authToken: env?.authToken,
13
- from: from || '',
14
- })
10
+ // const provider = new PlivoSmsProvider({
11
+ // accountSid: env?.sid,
12
+ // authToken: env?.authToken,
13
+ // from: from || '',
14
+ // })
15
15
 
16
- function send(options: SmsOptions) {
17
- return ResultAsync.fromPromise(
18
- provider.sendMessage(options),
19
- () => new Error(`Failed to send message using provider: ${italic('Plivo')}`),
20
- )
21
- }
16
+ // function send(options: SmsOptions) {
17
+ // return ResultAsync.fromPromise(
18
+ // provider.sendMessage(options),
19
+ // () => new Error(`Failed to send message using provider: ${italic('Plivo')}`),
20
+ // )
21
+ // }
22
22
 
23
- export { send as Send, send }
23
+ // export { send as Send, send }
@@ -1,22 +1,22 @@
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'
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
6
 
7
- const from = notification.sms?.from
8
- const env = notification.sms?.drivers.sms77
7
+ // const from = notification.sms?.from
8
+ // const env = notification.sms?.drivers.sms77
9
9
 
10
- const provider = new Sms77SmsProvider({
11
- apiKey: env?.key,
12
- from,
13
- })
10
+ // const provider = new Sms77SmsProvider({
11
+ // apiKey: env?.key,
12
+ // from,
13
+ // })
14
14
 
15
- function send(options: SmsOptions) {
16
- return ResultAsync.fromPromise(
17
- provider.sendMessage(options),
18
- () => new Error(`Failed to send message using provider: ${italic('Sms77')}`),
19
- )
20
- }
15
+ // function send(options: SmsOptions) {
16
+ // return ResultAsync.fromPromise(
17
+ // provider.sendMessage(options),
18
+ // () => new Error(`Failed to send message using provider: ${italic('Sms77')}`),
19
+ // )
20
+ // }
21
21
 
22
- export { send as Send, send }
22
+ // export { send as Send, send }
@@ -1,22 +1,22 @@
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'
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
6
 
7
- const env = notification.sms?.drivers.sns
7
+ // const env = notification.sms?.drivers.sns
8
8
 
9
- const provider = new SNSSmsProvider({
10
- region: env?.region,
11
- accessKeyId: env?.key,
12
- secretAccessKey: env?.secret,
13
- })
9
+ // const provider = new SNSSmsProvider({
10
+ // region: env?.region,
11
+ // accessKeyId: env?.key,
12
+ // secretAccessKey: env?.secret,
13
+ // })
14
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
- }
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
21
 
22
- export { send as Send, send }
22
+ // export { send as Send, send }
@@ -1,23 +1,23 @@
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'
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
6
 
7
- const from = notification.sms?.from
8
- const env = notification.sms?.drivers.telnyx
7
+ // const from = notification.sms?.from
8
+ // const env = notification.sms?.drivers.telnyx
9
9
 
10
- const provider = new TelnyxSmsProvider({
11
- apiKey: env?.key,
12
- messageProfileId: env?.messageProfileId,
13
- from: from || '',
14
- })
10
+ // const provider = new TelnyxSmsProvider({
11
+ // apiKey: env?.key,
12
+ // messageProfileId: env?.messageProfileId,
13
+ // from: from || '',
14
+ // })
15
15
 
16
- function send(options: SmsOptions) {
17
- return ResultAsync.fromPromise(
18
- provider.sendMessage(options),
19
- () => new Error(`Failed to send message using provider: ${italic('Telnyx')}`),
20
- )
21
- }
16
+ // function send(options: SmsOptions) {
17
+ // return ResultAsync.fromPromise(
18
+ // provider.sendMessage(options),
19
+ // () => new Error(`Failed to send message using provider: ${italic('Telnyx')}`),
20
+ // )
21
+ // }
22
22
 
23
- export { send as Send, send }
23
+ // export { send as Send, send }
@@ -1,22 +1,22 @@
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'
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
6
 
7
- const from = notification.sms?.from
8
- const env = notification.sms?.drivers.termii
7
+ // const from = notification.sms?.from
8
+ // const env = notification.sms?.drivers.termii
9
9
 
10
- const provider = new TermiiSmsProvider({
11
- apiKey: env?.key,
12
- from: from || '',
13
- })
10
+ // const provider = new TermiiSmsProvider({
11
+ // apiKey: env?.key,
12
+ // from: from || '',
13
+ // })
14
14
 
15
- function send(options: SmsOptions) {
16
- return ResultAsync.fromPromise(
17
- provider.sendMessage(options),
18
- () => new Error(`Failed to send message using provider: ${italic('Termii')}`),
19
- )
20
- }
15
+ // function send(options: SmsOptions) {
16
+ // return ResultAsync.fromPromise(
17
+ // provider.sendMessage(options),
18
+ // () => new Error(`Failed to send message using provider: ${italic('Termii')}`),
19
+ // )
20
+ // }
21
21
 
22
- export { send as Send, send }
22
+ // export { send as Send, send }
@@ -1,23 +1,23 @@
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'
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
6
 
7
- const from = notification.sms?.from
8
- const env = notification.sms?.drivers.twilio
7
+ // const from = notification.sms?.from
8
+ // const env = notification.sms?.drivers.twilio
9
9
 
10
- const provider = new TwilioSmsProvider({
11
- accountSid: env?.sid,
12
- authToken: env?.authToken,
13
- from: from || '',
14
- })
10
+ // const provider = new TwilioSmsProvider({
11
+ // accountSid: env?.sid,
12
+ // authToken: env?.authToken,
13
+ // from: from || '',
14
+ // })
15
15
 
16
- function send(options: SmsOptions) {
17
- return ResultAsync.fromPromise(
18
- provider.sendMessage(options),
19
- () => new Error(`Failed to send message using provider: ${italic('Twilio')}`),
20
- )
21
- }
16
+ // function send(options: SmsOptions) {
17
+ // return ResultAsync.fromPromise(
18
+ // provider.sendMessage(options),
19
+ // () => new Error(`Failed to send message using provider: ${italic('Twilio')}`),
20
+ // )
21
+ // }
22
22
 
23
- export { send as Send, send }
23
+ // export { send as Send, send }