@gem-sdk/core 1.25.38 → 1.25.49

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.
@@ -178,7 +178,13 @@ const fetchVariantsByBaseIds = async (fetcher, { ids, isSample, isStorefront })=
178
178
  try {
179
179
  return await fetcher([
180
180
  productVariants_generated.ProductVariantsDocument,
181
- variables
181
+ {
182
+ ...variables,
183
+ orderByVariant: {
184
+ field: 'POSITION',
185
+ direction: 'ASC'
186
+ }
187
+ }
182
188
  ]);
183
189
  } catch {
184
190
  return {};
@@ -176,7 +176,13 @@ const fetchVariantsByBaseIds = async (fetcher, { ids, isSample, isStorefront })=
176
176
  try {
177
177
  return await fetcher([
178
178
  ProductVariantsDocument,
179
- variables
179
+ {
180
+ ...variables,
181
+ orderByVariant: {
182
+ field: 'POSITION',
183
+ direction: 'ASC'
184
+ }
185
+ }
180
186
  ]);
181
187
  } catch {
182
188
  return {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.25.38",
3
+ "version": "1.25.49",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",