@wraps.dev/cli 2.14.0 → 2.14.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/cli.js
CHANGED
|
@@ -26263,15 +26263,6 @@ updateContact('mark-onboarded', {
|
|
|
26263
26263
|
})
|
|
26264
26264
|
\`\`\`
|
|
26265
26265
|
|
|
26266
|
-
### addToSegment(id, config) / removeFromSegment(id, config)
|
|
26267
|
-
|
|
26268
|
-
Manage segment membership.
|
|
26269
|
-
|
|
26270
|
-
\`\`\`typescript
|
|
26271
|
-
addToSegment('add-to-vip', { segmentId: 'vip-customers' })
|
|
26272
|
-
removeFromSegment('remove-from-trial', { segmentId: 'trial-users' })
|
|
26273
|
-
\`\`\`
|
|
26274
|
-
|
|
26275
26266
|
### subscribeTopic(id, config) / unsubscribeTopic(id, config)
|
|
26276
26267
|
|
|
26277
26268
|
Manage topic subscriptions.
|
|
@@ -26311,19 +26302,6 @@ Cross-channel cascade: tries channels in order, falling back if no engagement.
|
|
|
26311
26302
|
})
|
|
26312
26303
|
\`\`\`
|
|
26313
26304
|
|
|
26314
|
-
### abTest(id, config)
|
|
26315
|
-
|
|
26316
|
-
Split contacts into A/B test variants by weight.
|
|
26317
|
-
|
|
26318
|
-
\`\`\`typescript
|
|
26319
|
-
abTest('subject-test', {
|
|
26320
|
-
variants: [
|
|
26321
|
-
{ weight: 50, steps: [sendEmail('variant-a', { template: 'welcome-a' })] },
|
|
26322
|
-
{ weight: 50, steps: [sendEmail('variant-b', { template: 'welcome-b' })] },
|
|
26323
|
-
],
|
|
26324
|
-
})
|
|
26325
|
-
\`\`\`
|
|
26326
|
-
|
|
26327
26305
|
## WorkflowSettings
|
|
26328
26306
|
|
|
26329
26307
|
\`\`\`typescript
|