@wraps.dev/cli 2.30.2 → 2.30.3

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
@@ -101,11 +101,11 @@ npm install @wraps.dev/sms
101
101
  **Send your first email:**
102
102
 
103
103
  ```typescript
104
- import { Wraps } from '@wraps.dev/email';
104
+ import { WrapsEmail } from '@wraps.dev/email';
105
105
 
106
- const wraps = new Wraps();
106
+ const email = new WrapsEmail();
107
107
 
108
- await wraps.emails.send({
108
+ await email.send({
109
109
  from: 'hello@yourapp.com',
110
110
  to: 'user@example.com',
111
111
  subject: 'Welcome!',
@@ -116,11 +116,11 @@ await wraps.emails.send({
116
116
  **Send your first SMS:**
117
117
 
118
118
  ```typescript
119
- import { Wraps } from '@wraps.dev/sms';
119
+ import { WrapsSMS } from '@wraps.dev/sms';
120
120
 
121
- const wraps = new Wraps();
121
+ const sms = new WrapsSMS();
122
122
 
123
- await wraps.sms.send({
123
+ await sms.send({
124
124
  to: '+14155551234',
125
125
  message: 'Your code is 123456',
126
126
  });
Binary file