@swell/apps-sdk 1.0.136 → 1.0.137
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 +3 -3
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -15594,15 +15594,15 @@ function ShopifyPage(_instance, page) {
|
|
|
15594
15594
|
return new ShopifyResource({
|
|
15595
15595
|
author: void 0,
|
|
15596
15596
|
// Not supported
|
|
15597
|
-
content:
|
|
15598
|
-
handle:
|
|
15597
|
+
content: deferWith(page, (page2) => page2.content),
|
|
15598
|
+
handle: deferWith(page, (page2) => page2.slug),
|
|
15599
15599
|
id: 0,
|
|
15600
15600
|
metafields: {},
|
|
15601
15601
|
published_at: deferWith(
|
|
15602
15602
|
page,
|
|
15603
15603
|
(page2) => page2.date_published || page2.date_created
|
|
15604
15604
|
),
|
|
15605
|
-
template_suffix:
|
|
15605
|
+
template_suffix: deferWith(page, (page2) => page2.theme_template),
|
|
15606
15606
|
title: deferWith(page, (page2) => page2.title || page2.name),
|
|
15607
15607
|
// Due to deprecated name field
|
|
15608
15608
|
url: deferWith(page, (page2) => `/pages/${page2.slug}`)
|