@avsbhq/snippet-types 1.2.0 → 1.3.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.
Files changed (2) hide show
  1. package/avsb.d.ts +2 -2
  2. package/package.json +1 -1
package/avsb.d.ts CHANGED
@@ -349,8 +349,8 @@ interface AvsbUtils {
349
349
 
350
350
  // --- Experiment decisions ---
351
351
 
352
- /** Why an experiment did or did not run for this visit. `variant` / `control` mean the visitor is IN the test. */
353
- type AvsbDecisionStatus = 'variant' | 'control' | 'trigger-pending' | 'not-targeted' | 'audience-mismatch' | 'excluded' | 'traffic-holdout' | 'capped' | 'scheduled-off' | 'error'
352
+ /** Why an experiment did or did not run for this visit. `variant` / `control` mean the visitor is IN the test. `self-redirect` also means IN the test: the visitor is bucketed to a split-URL variant whose destination is the page they are already on, so the redirect was refused instead of looped. */
353
+ type AvsbDecisionStatus = 'variant' | 'control' | 'trigger-pending' | 'self-redirect' | 'not-targeted' | 'audience-mismatch' | 'excluded' | 'traffic-holdout' | 'capped' | 'scheduled-off' | 'error'
354
354
 
355
355
  /** One row of `avsb.getExperimentDecisions()`. The variation fields are present only when a variation was assigned. */
356
356
  interface AvsbExperimentDecision {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avsbhq/snippet-types",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "TypeScript declarations for window.avsb, the A vs B web-snippet API",
5
5
  "keywords": [
6
6
  "avsb",