@wraps.dev/cli 2.30.2 → 3.0.0
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 +11 -14
- package/dist/cli.js +952 -2214
- package/dist/cli.js.map +1 -1
- package/dist/console/assets/{index-P0x5JCC4.js → index--39O8UcT.js} +3 -3
- package/dist/console/assets/index-D6au_OkL.css +1 -0
- package/dist/console/index.html +2 -2
- package/dist/lambda/agent-enforcer/.bundled +1 -1
- package/dist/lambda/event-processor/.bundled +1 -1
- package/dist/lambda/inbound-processor/.bundled +1 -1
- package/dist/lambda/sms-event-processor/.bundled +1 -1
- package/package.json +3 -4
- package/dist/api-lambda.zip +0 -0
- package/dist/console/assets/index-BP4FpEpn.css +0 -1
- package/dist/selfhost-migrations/0000_absent_rogue.sql +0 -203
- package/dist/selfhost-migrations/0001_polite_maverick.sql +0 -17
- package/dist/selfhost-migrations/0002_perpetual_scorpion.sql +0 -1
- package/dist/selfhost-migrations/0003_wealthy_absorbing_man.sql +0 -1
- package/dist/selfhost-migrations/0004_opposite_blur.sql +0 -1
- package/dist/selfhost-migrations/0005_clear_terror.sql +0 -4
- package/dist/selfhost-migrations/0006_soft_black_widow.sql +0 -20
- package/dist/selfhost-migrations/0007_dazzling_saracen.sql +0 -124
- package/dist/selfhost-migrations/0008_broad_hannibal_king.sql +0 -33
- package/dist/selfhost-migrations/0009_bouncy_mystique.sql +0 -73
- package/dist/selfhost-migrations/0010_cheerful_valeria_richards.sql +0 -18
- package/dist/selfhost-migrations/0011_absent_thunderbolts.sql +0 -2
- package/dist/selfhost-migrations/0012_demonic_donald_blake.sql +0 -1
- package/dist/selfhost-migrations/0013_nifty_preak.sql +0 -143
- package/dist/selfhost-migrations/0014_hesitant_beast.sql +0 -2
- package/dist/selfhost-migrations/0015_blue_giant_girl.sql +0 -1
- package/dist/selfhost-migrations/0016_cooing_overlord.sql +0 -1
- package/dist/selfhost-migrations/0017_tranquil_ender_wiggin.sql +0 -11
- package/dist/selfhost-migrations/0018_talented_groot.sql +0 -8
- package/dist/selfhost-migrations/0019_ambitious_devos.sql +0 -3
- package/dist/selfhost-migrations/0020_misty_master_mold.sql +0 -95
- package/dist/selfhost-migrations/0021_regular_harrier.sql +0 -14
- package/dist/selfhost-migrations/0022_sour_blizzard.sql +0 -10
- package/dist/selfhost-migrations/0023_flawless_psynapse.sql +0 -1
- package/dist/selfhost-migrations/0024_premium_blindfold.sql +0 -1
- package/dist/selfhost-migrations/0025_unusual_santa_claus.sql +0 -1
- package/dist/selfhost-migrations/0026_volatile_pandemic.sql +0 -2
- package/dist/selfhost-migrations/0027_workable_logan.sql +0 -4
- package/dist/selfhost-migrations/0028_familiar_prodigy.sql +0 -1
- package/dist/selfhost-migrations/0029_cute_maddog.sql +0 -13
- package/dist/selfhost-migrations/0030_adorable_scarecrow.sql +0 -1
- package/dist/selfhost-migrations/0031_material_slapstick.sql +0 -10
- package/dist/selfhost-migrations/0032_hot_dust.sql +0 -11
- package/dist/selfhost-migrations/0033_slow_deathbird.sql +0 -1
- package/dist/selfhost-migrations/0034_lush_rafael_vega.sql +0 -12
- package/dist/selfhost-migrations/0035_normal_red_hulk.sql +0 -8
- package/dist/selfhost-migrations/0036_marvelous_ezekiel.sql +0 -1
- package/dist/selfhost-migrations/0037_swift_talisman.sql +0 -8
- package/dist/selfhost-migrations/0038_first_mandroid.sql +0 -1
- package/dist/selfhost-migrations/0039_fixed_stryfe.sql +0 -1
- package/dist/selfhost-migrations/0040_add_channel_check_constraints.sql +0 -2
- package/dist/selfhost-migrations/0041_black_spencer_smythe.sql +0 -1
- package/dist/selfhost-migrations/0042_plain_marvel_zombies.sql +0 -2
- package/dist/selfhost-migrations/0043_curved_champions.sql +0 -1
- package/dist/selfhost-migrations/0044_clean_iceman.sql +0 -1
- package/dist/selfhost-migrations/0045_condemned_steel_serpent.sql +0 -1
- package/dist/selfhost-migrations/0046_steep_ultimo.sql +0 -2
- package/dist/selfhost-migrations/0047_empty_sleepwalker.sql +0 -2
- package/dist/selfhost-migrations/0048_cheerful_multiple_man.sql +0 -1
- package/dist/selfhost-migrations/0049_nostalgic_loki.sql +0 -3
- package/dist/selfhost-migrations/0050_add_engagement_metadata.sql +0 -4
- package/dist/selfhost-migrations/0051_odd_marrow.sql +0 -2
- package/dist/selfhost-migrations/0052_redundant_siren.sql +0 -5
- package/dist/selfhost-migrations/0053_soft_carnage.sql +0 -31
- package/dist/selfhost-migrations/0054_blushing_vin_gonzales.sql +0 -1
- package/dist/selfhost-migrations/0055_broadcast_resume_columns.sql +0 -12
- package/dist/selfhost-migrations/0056_broadcast_resume_dedup_cleanup.sql +0 -31
- package/dist/selfhost-migrations/0057_audit_log_actoremail_jsonb.sql +0 -5
- package/dist/selfhost-migrations/0058_email_log_sent_at_idx.sql +0 -1
- package/dist/selfhost-migrations/0059_message_send_claimed_at.sql +0 -1
- package/dist/selfhost-migrations/0060_harsh_nehzno.sql +0 -1
- package/dist/selfhost-migrations/0061_flashy_spirit.sql +0 -1
- package/dist/selfhost-migrations/0062_next_timeslip.sql +0 -2
- package/dist/selfhost-migrations/0063_greedy_legion.sql +0 -17
- package/dist/selfhost-migrations/0064_wise_brood.sql +0 -42
- package/dist/selfhost-migrations/0065_public_the_fallen.sql +0 -2
- package/dist/selfhost-migrations/0066_odd_yellow_claw.sql +0 -3
- package/dist/selfhost-migrations/CLAUDE.md +0 -49
- package/dist/selfhost-migrations/meta/0000_snapshot.json +0 -1311
- package/dist/selfhost-migrations/meta/0001_snapshot.json +0 -1454
- package/dist/selfhost-migrations/meta/0002_snapshot.json +0 -1460
- package/dist/selfhost-migrations/meta/0003_snapshot.json +0 -1467
- package/dist/selfhost-migrations/meta/0004_snapshot.json +0 -1473
- package/dist/selfhost-migrations/meta/0005_snapshot.json +0 -1499
- package/dist/selfhost-migrations/meta/0006_snapshot.json +0 -1617
- package/dist/selfhost-migrations/meta/0007_snapshot.json +0 -2581
- package/dist/selfhost-migrations/meta/0008_snapshot.json +0 -2861
- package/dist/selfhost-migrations/meta/0009_snapshot.json +0 -3447
- package/dist/selfhost-migrations/meta/0010_snapshot.json +0 -3586
- package/dist/selfhost-migrations/meta/0011_snapshot.json +0 -3600
- package/dist/selfhost-migrations/meta/0012_snapshot.json +0 -3607
- package/dist/selfhost-migrations/meta/0013_snapshot.json +0 -4697
- package/dist/selfhost-migrations/meta/0014_snapshot.json +0 -4704
- package/dist/selfhost-migrations/meta/0015_snapshot.json +0 -4697
- package/dist/selfhost-migrations/meta/0016_snapshot.json +0 -4703
- package/dist/selfhost-migrations/meta/0017_snapshot.json +0 -4769
- package/dist/selfhost-migrations/meta/0018_snapshot.json +0 -4821
- package/dist/selfhost-migrations/meta/0019_snapshot.json +0 -4840
- package/dist/selfhost-migrations/meta/0020_snapshot.json +0 -5602
- package/dist/selfhost-migrations/meta/0021_snapshot.json +0 -5729
- package/dist/selfhost-migrations/meta/0022_snapshot.json +0 -5792
- package/dist/selfhost-migrations/meta/0023_snapshot.json +0 -5799
- package/dist/selfhost-migrations/meta/0024_snapshot.json +0 -5821
- package/dist/selfhost-migrations/meta/0025_snapshot.json +0 -5831
- package/dist/selfhost-migrations/meta/0026_snapshot.json +0 -5844
- package/dist/selfhost-migrations/meta/0027_snapshot.json +0 -5864
- package/dist/selfhost-migrations/meta/0028_snapshot.json +0 -5871
- package/dist/selfhost-migrations/meta/0029_snapshot.json +0 -5984
- package/dist/selfhost-migrations/meta/0030_snapshot.json +0 -5990
- package/dist/selfhost-migrations/meta/0031_snapshot.json +0 -5950
- package/dist/selfhost-migrations/meta/0032_snapshot.json +0 -6042
- package/dist/selfhost-migrations/meta/0033_snapshot.json +0 -6057
- package/dist/selfhost-migrations/meta/0034_snapshot.json +0 -6130
- package/dist/selfhost-migrations/meta/0035_snapshot.json +0 -6195
- package/dist/selfhost-migrations/meta/0036_snapshot.json +0 -6201
- package/dist/selfhost-migrations/meta/0037_snapshot.json +0 -6265
- package/dist/selfhost-migrations/meta/0038_snapshot.json +0 -6271
- package/dist/selfhost-migrations/meta/0039_snapshot.json +0 -6278
- package/dist/selfhost-migrations/meta/0041_snapshot.json +0 -6284
- package/dist/selfhost-migrations/meta/0042_snapshot.json +0 -6297
- package/dist/selfhost-migrations/meta/0043_snapshot.json +0 -6297
- package/dist/selfhost-migrations/meta/0044_snapshot.json +0 -6297
- package/dist/selfhost-migrations/meta/0045_snapshot.json +0 -6303
- package/dist/selfhost-migrations/meta/0046_snapshot.json +0 -6315
- package/dist/selfhost-migrations/meta/0047_snapshot.json +0 -6330
- package/dist/selfhost-migrations/meta/0048_snapshot.json +0 -6336
- package/dist/selfhost-migrations/meta/0049_snapshot.json +0 -6366
- package/dist/selfhost-migrations/meta/0050_snapshot.json +0 -6390
- package/dist/selfhost-migrations/meta/0051_snapshot.json +0 -6403
- package/dist/selfhost-migrations/meta/0052_snapshot.json +0 -6470
- package/dist/selfhost-migrations/meta/0053_snapshot.json +0 -6470
- package/dist/selfhost-migrations/meta/0054_snapshot.json +0 -6646
- package/dist/selfhost-migrations/meta/0055_snapshot.json +0 -6713
- package/dist/selfhost-migrations/meta/0056_snapshot.json +0 -6713
- package/dist/selfhost-migrations/meta/0057_snapshot.json +0 -6731
- package/dist/selfhost-migrations/meta/0059_snapshot.json +0 -6764
- package/dist/selfhost-migrations/meta/0060_snapshot.json +0 -7125
- package/dist/selfhost-migrations/meta/0061_snapshot.json +0 -7131
- package/dist/selfhost-migrations/meta/0062_snapshot.json +0 -7143
- package/dist/selfhost-migrations/meta/0063_snapshot.json +0 -7282
- package/dist/selfhost-migrations/meta/0064_snapshot.json +0 -7626
- package/dist/selfhost-migrations/meta/0065_snapshot.json +0 -7662
- package/dist/selfhost-migrations/meta/0066_snapshot.json +0 -7682
- package/dist/selfhost-migrations/meta/_journal.json +0 -475
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 {
|
|
104
|
+
import { WrapsEmail } from '@wraps.dev/email';
|
|
105
105
|
|
|
106
|
-
const
|
|
106
|
+
const email = new WrapsEmail();
|
|
107
107
|
|
|
108
|
-
await
|
|
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 {
|
|
119
|
+
import { WrapsSMS } from '@wraps.dev/sms';
|
|
120
120
|
|
|
121
|
-
const
|
|
121
|
+
const sms = new WrapsSMS();
|
|
122
122
|
|
|
123
|
-
await
|
|
123
|
+
await sms.send({
|
|
124
124
|
to: '+14155551234',
|
|
125
125
|
message: 'Your code is 123456',
|
|
126
126
|
});
|
|
@@ -363,22 +363,19 @@ wraps cdn init --provider vercel --region us-east-1 --domain cdn.myapp.com
|
|
|
363
363
|
Run the Wraps control plane in your own AWS account instead of app.wraps.dev.
|
|
364
364
|
Requires an enterprise license key.
|
|
365
365
|
|
|
366
|
+
Deploy it with `pnpm selfhost:deploy` from a fork — see the
|
|
367
|
+
[self-hosted guide](https://wraps.dev/docs/guides/self-hosted). These commands
|
|
368
|
+
operate on a deployment that already exists:
|
|
369
|
+
|
|
366
370
|
| Command | Description |
|
|
367
371
|
|---------|-------------|
|
|
368
|
-
| `wraps selfhost deploy` | Deploy an API-only control plane to your AWS account |
|
|
369
|
-
| `wraps selfhost upgrade` | Rebuild and redeploy the self-hosted API |
|
|
370
372
|
| `wraps selfhost status` | Show self-hosted deployment details |
|
|
371
373
|
| `wraps selfhost env` | Print env vars for hosting `apps/web` against your control plane |
|
|
372
374
|
| `wraps selfhost login` | Sign in to your self-hosted instance (not wraps.dev) |
|
|
373
375
|
| `wraps selfhost logout` | Sign out of your self-hosted instance |
|
|
374
376
|
| `wraps selfhost connect` | Connect your AWS account to your self-hosted instance |
|
|
375
377
|
| `wraps selfhost update-role` | Refresh your self-hosted console role's permissions |
|
|
376
|
-
| `wraps selfhost
|
|
377
|
-
|
|
378
|
-
`wraps selfhost deploy` gives you the API only — you host the dashboard
|
|
379
|
-
yourself. For the full platform (API, dashboard, and workers) deployed via SST
|
|
380
|
-
from a fork, see the [self-hosted guide](https://wraps.dev/docs/guides/self-hosted).
|
|
381
|
-
The two variants cannot coexist in one AWS account.
|
|
378
|
+
| `wraps selfhost logs` | Stream logs from your self-hosted API, dashboard, and workers |
|
|
382
379
|
|
|
383
380
|
`selfhost connect` and `selfhost update-role` write
|
|
384
381
|
`wraps-selfhost-console-access-role`, which trusts your own AWS account. Their
|