@trackunit/react-core-contexts 2.4.10 → 2.4.12

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
@@ -285,13 +285,13 @@ const createApolloClient = ({ graphqlPublicUrl, graphqlInternalUrl, graphqlRepor
285
285
  let token = firstToken;
286
286
  let tracingHeaders = initialTracingHeaders;
287
287
  const publicGraphQLLink = client.createHttpLink({
288
- uri: request => graphqlPublicUrl + "/" + request.operationName,
288
+ uri: request => `${graphqlPublicUrl}/${request.operationName}`,
289
289
  });
290
290
  const internalGraphQLLink = client.createHttpLink({
291
- uri: request => graphqlInternalUrl + "/" + request.operationName,
291
+ uri: request => `${graphqlInternalUrl}/${request.operationName}`,
292
292
  });
293
293
  const reportGraphQLLink = client.createHttpLink({
294
- uri: request => graphqlReportUrl + "/" + request.operationName,
294
+ uri: request => `${graphqlReportUrl}/${request.operationName}`,
295
295
  });
296
296
  const authLink = context.setContext((_, { headers: existingHeaders }) => {
297
297
  return {
package/index.esm.js CHANGED
@@ -283,13 +283,13 @@ const createApolloClient = ({ graphqlPublicUrl, graphqlInternalUrl, graphqlRepor
283
283
  let token = firstToken;
284
284
  let tracingHeaders = initialTracingHeaders;
285
285
  const publicGraphQLLink = createHttpLink({
286
- uri: request => graphqlPublicUrl + "/" + request.operationName,
286
+ uri: request => `${graphqlPublicUrl}/${request.operationName}`,
287
287
  });
288
288
  const internalGraphQLLink = createHttpLink({
289
- uri: request => graphqlInternalUrl + "/" + request.operationName,
289
+ uri: request => `${graphqlInternalUrl}/${request.operationName}`,
290
290
  });
291
291
  const reportGraphQLLink = createHttpLink({
292
- uri: request => graphqlReportUrl + "/" + request.operationName,
292
+ uri: request => `${graphqlReportUrl}/${request.operationName}`,
293
293
  });
294
294
  const authLink = setContext((_, { headers: existingHeaders }) => {
295
295
  return {
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts",
3
- "version": "2.4.10",
3
+ "version": "2.4.12",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
7
7
  "node": ">=24.x"
8
8
  },
9
9
  "dependencies": {
10
- "@trackunit/iris-app-api": "2.3.6",
11
- "@trackunit/iris-app-runtime-core-api": "1.17.4",
12
- "@trackunit/react-core-hooks": "1.20.6",
13
- "@trackunit/i18n-library-translation": "2.3.6",
14
- "@trackunit/react-components": "2.6.5",
15
- "@trackunit/iris-app-runtime-core": "1.18.4",
10
+ "@trackunit/iris-app-api": "2.3.8",
11
+ "@trackunit/iris-app-runtime-core-api": "1.17.6",
12
+ "@trackunit/react-core-hooks": "1.20.8",
13
+ "@trackunit/i18n-library-translation": "2.3.8",
14
+ "@trackunit/react-components": "2.7.1",
15
+ "@trackunit/iris-app-runtime-core": "1.18.6",
16
16
  "graphql-sse": "^2.5.4",
17
- "@trackunit/react-core-contexts-api": "1.18.4"
17
+ "@trackunit/react-core-contexts-api": "1.18.6"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@apollo/client": "^3.13.8",
@@ -1 +0,0 @@
1
- {"version":3,"file":"entry.js","sourceRoot":"","sources":["../../../../../libs/react/core-contexts/migrations/entry.ts"],"names":[],"mappings":"","sourcesContent":["export {};\n"]}