@abconvert/headless 0.1.1 → 0.1.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/dist/types.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export type AssignmentType = 'price' | 'shipping' | 'theme' | 'template' | 'url_redirect' | 'checkout' | 'offer' | 'visual_editor' | 'combined' | 'personalization';
1
+ export type AssignmentType = 'price' | 'shipping' | 'theme' | 'template' | 'url_redirect' | 'checkout' | 'offer' | 'subscription' | 'visual_editor' | 'combined' | 'personalization';
2
2
  export type AssignmentReason = 'random_split' | 'force_assign_group' | 'preview_override' | 'url_force_assign';
3
3
  /** Why a visitor was left out of a test, for the exclusions reported as test group -1. */
4
4
  export type ReportedExclusion = 'audience_targeting_excluded' | 'force_assign_excluded';
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export type AssignmentType = 'price' | 'shipping' | 'theme' | 'template' | 'url_redirect' | 'checkout' | 'offer' | 'visual_editor' | 'combined' | 'personalization';
1
+ export type AssignmentType = 'price' | 'shipping' | 'theme' | 'template' | 'url_redirect' | 'checkout' | 'offer' | 'subscription' | 'visual_editor' | 'combined' | 'personalization';
2
2
  export type AssignmentReason = 'random_split' | 'force_assign_group' | 'preview_override' | 'url_force_assign';
3
3
  /** Why a visitor was left out of a test, for the exclusions reported as test group -1. */
4
4
  export type ReportedExclusion = 'audience_targeting_excluded' | 'force_assign_excluded';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abconvert/headless",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "ABConvert A/B tests on a custom Shopify storefront: assignment, test prices, and cart attributes on the server, edge, or browser.",
5
5
  "keywords": ["abconvert", "shopify", "headless", "hydrogen", "nextjs", "ab-testing", "storefront-api"],
6
6
  "homepage": "https://docs.abconvert.io/headless-sdk/overview",