@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.cjs
CHANGED
|
@@ -15727,15 +15727,15 @@ function ShopifyPage(_instance, page) {
|
|
|
15727
15727
|
return new ShopifyResource({
|
|
15728
15728
|
author: void 0,
|
|
15729
15729
|
// Not supported
|
|
15730
|
-
content:
|
|
15731
|
-
handle:
|
|
15730
|
+
content: deferWith(page, (page2) => page2.content),
|
|
15731
|
+
handle: deferWith(page, (page2) => page2.slug),
|
|
15732
15732
|
id: 0,
|
|
15733
15733
|
metafields: {},
|
|
15734
15734
|
published_at: deferWith(
|
|
15735
15735
|
page,
|
|
15736
15736
|
(page2) => page2.date_published || page2.date_created
|
|
15737
15737
|
),
|
|
15738
|
-
template_suffix:
|
|
15738
|
+
template_suffix: deferWith(page, (page2) => page2.theme_template),
|
|
15739
15739
|
title: deferWith(page, (page2) => page2.title || page2.name),
|
|
15740
15740
|
// Due to deprecated name field
|
|
15741
15741
|
url: deferWith(page, (page2) => `/pages/${page2.slug}`)
|