@anker-in/shopify-sdk 1.2.0-beta.7 → 1.2.0-beta.8

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
@@ -936,6 +936,8 @@ var getCollectionsByHandlesQuery = (handles) => (
936
936
  ${productFragment}
937
937
  ${variantFragment}
938
938
  ${metafieldFragment}
939
+ ${imageFragment}
940
+ ${seoFragment}
939
941
 
940
942
  query GetCollectionsByHandles(
941
943
  $collectionMetafieldIdentifiers: [HasMetafieldsIdentifier!] = []
@@ -948,6 +950,9 @@ var getCollectionsByHandlesQuery = (handles) => (
948
950
  `
949
951
  collection_${index}: collection(handle: "${handle}") {
950
952
  ...collection
953
+ metafields(identifiers: $collectionMetafieldIdentifiers) {
954
+ ...metafield
955
+ }
951
956
  products(first: 9) {
952
957
  edges {
953
958
  node {
@@ -966,9 +971,6 @@ var getCollectionsByHandlesQuery = (handles) => (
966
971
  }
967
972
  }
968
973
  }
969
- metafields(identifiers: $collectionMetafieldIdentifiers) {
970
- ...metafield
971
- }
972
974
  }
973
975
  `
974
976
  )