@graphcommerce/graphql-mesh 9.1.0-canary.50 → 9.1.0-canary.52

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.1.0-canary.52
4
+
5
+ ## 9.1.0-canary.51
6
+
7
+ ### Patch Changes
8
+
9
+ - [#2537](https://github.com/graphcommerce-org/graphcommerce/pull/2537) [`31397f9`](https://github.com/graphcommerce-org/graphcommerce/commit/31397f9c5b2d85895d6e00732b2e3d7a99ffee53) - Solve issue where a magento store reference was added to the graphql-mesh package. ([@paales](https://github.com/paales))
10
+
3
11
  ## 9.1.0-canary.50
4
12
 
5
13
  ## 9.1.0-canary.49
package/index.ts CHANGED
@@ -5,4 +5,3 @@ export * from './.mesh'
5
5
  // @ts-expect-error getBuiltMesh and createBuiltMeshHTTPHandler are re-exported here and override the export from .mesh
6
6
  export * from './api/globalThisMesh'
7
7
  export * from './utils/traverseSelectionSet'
8
- export * from './utils/storefrontFromContext'
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/graphql-mesh",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.1.0-canary.50",
5
+ "version": "9.1.0-canary.52",
6
6
  "main": "index.ts",
7
7
  "dependencies": {
8
8
  "@whatwg-node/fetch": "^0.10.1",
@@ -14,9 +14,9 @@
14
14
  },
15
15
  "peerDependencies": {
16
16
  "@apollo/client": "*",
17
- "@graphcommerce/eslint-config-pwa": "^9.1.0-canary.50",
18
- "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.50",
19
- "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.50",
17
+ "@graphcommerce/eslint-config-pwa": "^9.1.0-canary.52",
18
+ "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.52",
19
+ "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.52",
20
20
  "@graphql-mesh/runtime": "*",
21
21
  "@graphql-mesh/types": "*"
22
22
  },
@@ -1,10 +0,0 @@
1
- import type { GraphCommerceStorefrontConfig } from '@graphcommerce/next-config'
2
- import type { MeshContext } from '@graphql-mesh/runtime'
3
-
4
- export function storefrontFromContext(
5
- context: MeshContext & { headers?: Record<string, string> },
6
- ): GraphCommerceStorefrontConfig | undefined {
7
- const storefrontAll = import.meta.graphCommerce.storefront
8
- const store = context.headers?.store
9
- return storefrontAll.find((s) => s.magentoStoreCode === store)
10
- }