@moonbase.sh/storefront-api 0.3.0 → 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.js CHANGED
@@ -76,7 +76,8 @@ var pricingVariationSchema = z.object({
76
76
  price: priceCollectionSchema,
77
77
  hasDiscount: z.boolean(),
78
78
  discount: discountSchema.optional(),
79
- recurrence: recurrenceSchema,
79
+ // TODO: Remove default once subscriptions are live
80
+ recurrence: recurrenceSchema.default({ type: "OneOff" }),
80
81
  pricingTiers: z.array(pricingTierSchema).nullish()
81
82
  });
82
83
  function paged(itemSchema) {
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.0",
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",