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

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 {
@@ -955,19 +960,18 @@ var getCollectionsByHandlesQuery = (handles) => (
955
960
  ...metafield
956
961
  }
957
962
  variants(first: 10) {
958
- nodes {
959
- ...variant
960
- metafields(identifiers: $variantMetafieldIdentifiers) {
961
- ...metafield
963
+ edges {
964
+ node {
965
+ ...variant
966
+ metafields(identifiers: $variantMetafieldIdentifiers) {
967
+ ...metafield
968
+ }
962
969
  }
963
970
  }
964
971
  }
965
972
  }
966
973
  }
967
974
  }
968
- metafields(identifiers: $collectionMetafieldIdentifiers) {
969
- ...metafield
970
- }
971
975
  }
972
976
  `
973
977
  )