@graphql-mesh/cross-helpers 0.2.0-alpha-aa19542a6.0 → 0.2.0

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,10 +1,10 @@
1
1
  # @graphql-mesh/cross-helpers
2
2
 
3
- ## 0.2.0-alpha-aa19542a6.0
3
+ ## 0.2.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - 288c2ad8a: **Improvements on string interpolation ({env.sth} or {context.headers.sth}) for different environments**
7
+ - 0401c7617: **Improvements on string interpolation ({env.sth} or {context.headers.sth}) for different environments**
8
8
 
9
9
  As we mention in most of our docs, we usually expect a key-value `header` object in the context.
10
10
  But Fetch-like environments don't have this kind of object but instead `Headers` object which is a kind `Map`.
package/browser.js CHANGED
@@ -20,7 +20,7 @@ const processObj =
20
20
  return new Proxy(
21
21
  {},
22
22
  {
23
- get(key) {
23
+ get(_, key) {
24
24
  if (key === 'NODE_ENV') {
25
25
  return 'development';
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-mesh/cross-helpers",
3
- "version": "0.2.0-alpha-aa19542a6.0",
3
+ "version": "0.2.0",
4
4
  "description": "Cross Platform Helpers for GraphQL Mesh",
5
5
  "author": "Arda TANRIKULU <ardatanrikulu@gmail.com>",
6
6
  "repository": {