@moonbase.sh/storefront-api 0.3.1 → 0.3.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/index.cjs CHANGED
@@ -120,6 +120,7 @@ var pricingVariationSchema = import_zod.z.object({
120
120
  price: priceCollectionSchema,
121
121
  hasDiscount: import_zod.z.boolean(),
122
122
  discount: discountSchema.optional(),
123
+ // TODO: Remove default once subscriptions are live
123
124
  recurrence: recurrenceSchema.default({ type: "OneOff" }),
124
125
  pricingTiers: import_zod.z.array(pricingTierSchema).nullish()
125
126
  });
package/dist/index.js CHANGED
@@ -76,6 +76,7 @@ var pricingVariationSchema = z.object({
76
76
  price: priceCollectionSchema,
77
77
  hasDiscount: z.boolean(),
78
78
  discount: discountSchema.optional(),
79
+ // TODO: Remove default once subscriptions are live
79
80
  recurrence: recurrenceSchema.default({ type: "OneOff" }),
80
81
  pricingTiers: z.array(pricingTierSchema).nullish()
81
82
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/storefront-api",
3
3
  "type": "module",
4
- "version": "0.3.1",
4
+ "version": "0.3.3",
5
5
  "description": "Package to let you build storefronts with Moonbase.sh as payment and delivery provider",
6
6
  "author": "Tobias Lønnerød Madsen <m@dsen.tv>",
7
7
  "license": "MIT",