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