@moonbase.sh/storefront-api 2.4.0 → 2.5.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.
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +666 -666
- package/dist/index.d.ts +666 -666
- package/dist/index.js +7 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -180,7 +180,7 @@ var downloadSchema = z2.object({
|
|
|
180
180
|
var productSummarySchema = z2.object({
|
|
181
181
|
id: z2.string(),
|
|
182
182
|
name: z2.string(),
|
|
183
|
-
tagline: z2.string(),
|
|
183
|
+
tagline: z2.string().nullish(),
|
|
184
184
|
description: z2.string().nullish(),
|
|
185
185
|
website: z2.string().optional(),
|
|
186
186
|
iconUrl: z2.string().optional(),
|
|
@@ -203,8 +203,8 @@ var productSummarySchema = z2.object({
|
|
|
203
203
|
var storefrontProductSchema = z3.object({
|
|
204
204
|
id: z3.string(),
|
|
205
205
|
name: z3.string(),
|
|
206
|
-
tagline: z3.string(),
|
|
207
|
-
description: z3.string(),
|
|
206
|
+
tagline: z3.string().nullish(),
|
|
207
|
+
description: z3.string().nullish(),
|
|
208
208
|
iconUrl: z3.string().nullable(),
|
|
209
209
|
website: z3.string().nullish(),
|
|
210
210
|
owned: z3.boolean(),
|
|
@@ -218,8 +218,8 @@ var storefrontProductSchema = z3.object({
|
|
|
218
218
|
var storefrontBundleSchema = z3.object({
|
|
219
219
|
id: z3.string(),
|
|
220
220
|
name: z3.string(),
|
|
221
|
-
tagline: z3.string(),
|
|
222
|
-
description: z3.string(),
|
|
221
|
+
tagline: z3.string().nullish(),
|
|
222
|
+
description: z3.string().nullish(),
|
|
223
223
|
iconUrl: z3.string().nullable(),
|
|
224
224
|
owned: z3.boolean(),
|
|
225
225
|
partial: z3.boolean(),
|
|
@@ -1054,7 +1054,7 @@ var couponSchema = z12.object({
|
|
|
1054
1054
|
var lineItemProductSchema = z12.object({
|
|
1055
1055
|
id: z12.string(),
|
|
1056
1056
|
name: z12.string(),
|
|
1057
|
-
tagline: z12.string(),
|
|
1057
|
+
tagline: z12.string().nullish(),
|
|
1058
1058
|
iconUrl: z12.string().nullable()
|
|
1059
1059
|
});
|
|
1060
1060
|
var lineItemTotalSchema = z12.object({
|
|
@@ -1081,7 +1081,7 @@ var openProductLineItem = z12.object({
|
|
|
1081
1081
|
var lineItemBundleSchema = z12.object({
|
|
1082
1082
|
id: z12.string(),
|
|
1083
1083
|
name: z12.string(),
|
|
1084
|
-
tagline: z12.string(),
|
|
1084
|
+
tagline: z12.string().nullish(),
|
|
1085
1085
|
iconUrl: z12.string().nullable(),
|
|
1086
1086
|
products: lineItemProductSchema.and(z12.object({
|
|
1087
1087
|
included: z12.boolean().optional()
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/storefront-api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.5.0",
|
|
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",
|