@trackunit/react-core-contexts 0.4.620 → 0.4.622

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/index.cjs.js CHANGED
@@ -90,7 +90,9 @@ const createApolloClient = ({ graphqlManagerUrl, graphqlPublicUrl, graphqlManage
90
90
  var _a, _b;
91
91
  if ("extensions" in error) {
92
92
  error.extensions.traceId = (_b = (_a = errorResponse.response) === null || _a === void 0 ? void 0 : _a.extensions) === null || _b === void 0 ? void 0 : _b.traceId;
93
- traceIds.push(error.extensions.traceId);
93
+ // eslint-disable-next-line local-rules/no-typescript-assertion
94
+ const traceId = error.extensions.traceId;
95
+ traceIds.push(traceId);
94
96
  }
95
97
  });
96
98
  /**
package/index.esm.js CHANGED
@@ -70,7 +70,9 @@ const createApolloClient = ({ graphqlManagerUrl, graphqlPublicUrl, graphqlManage
70
70
  var _a, _b;
71
71
  if ("extensions" in error) {
72
72
  error.extensions.traceId = (_b = (_a = errorResponse.response) === null || _a === void 0 ? void 0 : _a.extensions) === null || _b === void 0 ? void 0 : _b.traceId;
73
- traceIds.push(error.extensions.traceId);
73
+ // eslint-disable-next-line local-rules/no-typescript-assertion
74
+ const traceId = error.extensions.traceId;
75
+ traceIds.push(traceId);
74
76
  }
75
77
  });
76
78
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts",
3
- "version": "0.4.620",
3
+ "version": "0.4.622",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {