@trackunit/react-core-contexts 2.1.29 → 2.1.31
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 +2 -2
- package/index.esm.js +2 -2
- package/package.json +8 -8
- package/src/utils/isInternalGqlContext.d.ts +1 -1
package/index.cjs.js
CHANGED
|
@@ -185,7 +185,7 @@ const readGlobalString = (key) => {
|
|
|
185
185
|
* Reads request context fields off `globalThis`.
|
|
186
186
|
*
|
|
187
187
|
* The manager bootstrap sets these as globals when the iris app loads. We must
|
|
188
|
-
* not access bare `global`, since iris-app/
|
|
188
|
+
* not access bare `global`, since iris-app/browser bundles do not have
|
|
189
189
|
* the Node `global` symbol unless something polyfills `window.global = window`.
|
|
190
190
|
*/
|
|
191
191
|
const getGlobalRequestContext = () => {
|
|
@@ -233,7 +233,7 @@ const generateHeaders = (token, tracingHeaders) => {
|
|
|
233
233
|
* Checks whether the iris app should target the internal GraphQL endpoint.
|
|
234
234
|
*
|
|
235
235
|
* The flag is set on `globalThis` by `TrackunitInternalProviders`. We must not
|
|
236
|
-
* read it through bare `global`, since iris-app/
|
|
236
|
+
* read it through bare `global`, since iris-app/browser bundles do not
|
|
237
237
|
* have the Node `global` symbol unless something polyfills `window.global = window`.
|
|
238
238
|
*/
|
|
239
239
|
const isInternalGqlContext = () => {
|
package/index.esm.js
CHANGED
|
@@ -183,7 +183,7 @@ const readGlobalString = (key) => {
|
|
|
183
183
|
* Reads request context fields off `globalThis`.
|
|
184
184
|
*
|
|
185
185
|
* The manager bootstrap sets these as globals when the iris app loads. We must
|
|
186
|
-
* not access bare `global`, since iris-app/
|
|
186
|
+
* not access bare `global`, since iris-app/browser bundles do not have
|
|
187
187
|
* the Node `global` symbol unless something polyfills `window.global = window`.
|
|
188
188
|
*/
|
|
189
189
|
const getGlobalRequestContext = () => {
|
|
@@ -231,7 +231,7 @@ const generateHeaders = (token, tracingHeaders) => {
|
|
|
231
231
|
* Checks whether the iris app should target the internal GraphQL endpoint.
|
|
232
232
|
*
|
|
233
233
|
* The flag is set on `globalThis` by `TrackunitInternalProviders`. We must not
|
|
234
|
-
* read it through bare `global`, since iris-app/
|
|
234
|
+
* read it through bare `global`, since iris-app/browser bundles do not
|
|
235
235
|
* have the Node `global` symbol unless something polyfills `window.global = window`.
|
|
236
236
|
*/
|
|
237
237
|
const isInternalGqlContext = () => {
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-contexts",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.31",
|
|
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.0.
|
|
11
|
-
"@trackunit/iris-app-runtime-core-api": "1.16.
|
|
12
|
-
"@trackunit/react-core-hooks": "1.17.
|
|
13
|
-
"@trackunit/i18n-library-translation": "2.0.
|
|
14
|
-
"@trackunit/react-components": "2.1.
|
|
15
|
-
"@trackunit/iris-app-runtime-core": "1.17.
|
|
10
|
+
"@trackunit/iris-app-api": "2.0.27",
|
|
11
|
+
"@trackunit/iris-app-runtime-core-api": "1.16.39",
|
|
12
|
+
"@trackunit/react-core-hooks": "1.17.44",
|
|
13
|
+
"@trackunit/i18n-library-translation": "2.0.32",
|
|
14
|
+
"@trackunit/react-components": "2.1.31",
|
|
15
|
+
"@trackunit/iris-app-runtime-core": "1.17.40",
|
|
16
16
|
"graphql-sse": "^2.5.4",
|
|
17
|
-
"@trackunit/react-core-contexts-api": "1.17.
|
|
17
|
+
"@trackunit/react-core-contexts-api": "1.17.39"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@apollo/client": "^3.13.8",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Checks whether the iris app should target the internal GraphQL endpoint.
|
|
3
3
|
*
|
|
4
4
|
* The flag is set on `globalThis` by `TrackunitInternalProviders`. We must not
|
|
5
|
-
* read it through bare `global`, since iris-app/
|
|
5
|
+
* read it through bare `global`, since iris-app/browser bundles do not
|
|
6
6
|
* have the Node `global` symbol unless something polyfills `window.global = window`.
|
|
7
7
|
*/
|
|
8
8
|
export declare const isInternalGqlContext: () => boolean;
|