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

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
@@ -948,17 +948,21 @@ var getCollectionsByHandlesQuery = (handles) => (
948
948
  `
949
949
  collection_${index}: collection(handle: "${handle}") {
950
950
  ...collection
951
- product(handle: $handle) {
952
- ...product
953
- metafields(identifiers: $productMetafieldIdentifiers) {
954
- ...metafield
955
- }
956
- variants(first: 250) {
957
- nodes {
958
- ...variant
959
- metafields(identifiers: $variantMetafieldIdentifiers) {
951
+ products(first: 9) {
952
+ edges {
953
+ node {
954
+ ...product
955
+ metafields(identifiers: $productMetafieldIdentifiers) {
960
956
  ...metafield
961
957
  }
958
+ variants(first: 10) {
959
+ nodes {
960
+ ...variant
961
+ metafields(identifiers: $variantMetafieldIdentifiers) {
962
+ ...metafield
963
+ }
964
+ }
965
+ }
962
966
  }
963
967
  }
964
968
  }