@trackunit/react-core-contexts 2.4.9 → 2.4.11
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 +3 -3
- package/index.esm.js +3 -3
- package/package.json +8 -8
- package/migrations/entry.js.map +0 -1
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
|
|
288
|
+
uri: request => `${graphqlPublicUrl}/${request.operationName}`,
|
|
289
289
|
});
|
|
290
290
|
const internalGraphQLLink = client.createHttpLink({
|
|
291
|
-
uri: request => graphqlInternalUrl
|
|
291
|
+
uri: request => `${graphqlInternalUrl}/${request.operationName}`,
|
|
292
292
|
});
|
|
293
293
|
const reportGraphQLLink = client.createHttpLink({
|
|
294
|
-
uri: request => graphqlReportUrl
|
|
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
|
|
286
|
+
uri: request => `${graphqlPublicUrl}/${request.operationName}`,
|
|
287
287
|
});
|
|
288
288
|
const internalGraphQLLink = createHttpLink({
|
|
289
|
-
uri: request => graphqlInternalUrl
|
|
289
|
+
uri: request => `${graphqlInternalUrl}/${request.operationName}`,
|
|
290
290
|
});
|
|
291
291
|
const reportGraphQLLink = createHttpLink({
|
|
292
|
-
uri: request => graphqlReportUrl
|
|
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.
|
|
3
|
+
"version": "2.4.11",
|
|
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.
|
|
11
|
-
"@trackunit/iris-app-runtime-core-api": "1.17.
|
|
12
|
-
"@trackunit/react-core-hooks": "1.20.
|
|
13
|
-
"@trackunit/i18n-library-translation": "2.3.
|
|
14
|
-
"@trackunit/react-components": "2.
|
|
15
|
-
"@trackunit/iris-app-runtime-core": "1.18.
|
|
10
|
+
"@trackunit/iris-app-api": "2.3.7",
|
|
11
|
+
"@trackunit/iris-app-runtime-core-api": "1.17.5",
|
|
12
|
+
"@trackunit/react-core-hooks": "1.20.7",
|
|
13
|
+
"@trackunit/i18n-library-translation": "2.3.7",
|
|
14
|
+
"@trackunit/react-components": "2.7.0",
|
|
15
|
+
"@trackunit/iris-app-runtime-core": "1.18.5",
|
|
16
16
|
"graphql-sse": "^2.5.4",
|
|
17
|
-
"@trackunit/react-core-contexts-api": "1.18.
|
|
17
|
+
"@trackunit/react-core-contexts-api": "1.18.5"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@apollo/client": "^3.13.8",
|
package/migrations/entry.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entry.js","sourceRoot":"","sources":["../../../../../libs/react/core-contexts/migrations/entry.ts"],"names":[],"mappings":"","sourcesContent":["export {};\n"]}
|