@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.js CHANGED
@@ -15621,15 +15621,15 @@ ${formattedMessage}`;
15621
15621
  return new ShopifyResource({
15622
15622
  author: void 0,
15623
15623
  // Not supported
15624
- content: defer(() => page.content),
15625
- handle: defer(() => page.slug),
15624
+ content: deferWith(page, (page2) => page2.content),
15625
+ handle: deferWith(page, (page2) => page2.slug),
15626
15626
  id: 0,
15627
15627
  metafields: {},
15628
15628
  published_at: deferWith(
15629
15629
  page,
15630
15630
  (page2) => page2.date_published || page2.date_created
15631
15631
  ),
15632
- template_suffix: defer(() => page.theme_template),
15632
+ template_suffix: deferWith(page, (page2) => page2.theme_template),
15633
15633
  title: deferWith(page, (page2) => page2.title || page2.name),
15634
15634
  // Due to deprecated name field
15635
15635
  url: deferWith(page, (page2) => `/pages/${page2.slug}`)