@trackunit/react-core-contexts 2.7.2 → 2.7.4
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 +1 -1
- package/index.esm.js +1 -1
- package/package.json +8 -8
package/index.cjs.js
CHANGED
|
@@ -437,7 +437,7 @@ const useApolloClient = () => {
|
|
|
437
437
|
// Read from storage rather than through useIrisAppsSDK().developerMode: that context is
|
|
438
438
|
// created below this provider (it queries GraphQL, so it needs this Apollo client) and
|
|
439
439
|
// lives in a visibility:host library this one cannot import.
|
|
440
|
-
const isDeveloper = permissions?.some(permission => permission === "
|
|
440
|
+
const isDeveloper = permissions?.some(permission => permission === "FAKE_PERMISSION");
|
|
441
441
|
if (!isDeveloper) {
|
|
442
442
|
return;
|
|
443
443
|
}
|
package/index.esm.js
CHANGED
|
@@ -435,7 +435,7 @@ const useApolloClient = () => {
|
|
|
435
435
|
// Read from storage rather than through useIrisAppsSDK().developerMode: that context is
|
|
436
436
|
// created below this provider (it queries GraphQL, so it needs this Apollo client) and
|
|
437
437
|
// lives in a visibility:host library this one cannot import.
|
|
438
|
-
const isDeveloper = permissions?.some(permission => permission === "
|
|
438
|
+
const isDeveloper = permissions?.some(permission => permission === "FAKE_PERMISSION");
|
|
439
439
|
if (!isDeveloper) {
|
|
440
440
|
return;
|
|
441
441
|
}
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-contexts",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.4",
|
|
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.4.
|
|
11
|
-
"@trackunit/iris-app-runtime-core-api": "1.17.
|
|
12
|
-
"@trackunit/react-core-hooks": "1.21.
|
|
13
|
-
"@trackunit/i18n-library-translation": "2.4.
|
|
14
|
-
"@trackunit/react-components": "2.10.
|
|
15
|
-
"@trackunit/iris-app-runtime-core": "1.18.
|
|
10
|
+
"@trackunit/iris-app-api": "2.4.13",
|
|
11
|
+
"@trackunit/iris-app-runtime-core-api": "1.17.27",
|
|
12
|
+
"@trackunit/react-core-hooks": "1.21.21",
|
|
13
|
+
"@trackunit/i18n-library-translation": "2.4.21",
|
|
14
|
+
"@trackunit/react-components": "2.10.15",
|
|
15
|
+
"@trackunit/iris-app-runtime-core": "1.18.27",
|
|
16
16
|
"graphql-sse": "^2.5.4",
|
|
17
|
-
"@trackunit/react-core-contexts-api": "1.18.
|
|
17
|
+
"@trackunit/react-core-contexts-api": "1.18.27"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@apollo/client": "^3.13.8",
|