@trackunit/react-core-contexts 0.0.19 → 0.0.21
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.d.ts +0 -1
- package/index.js +2 -16
- package/package.json +5 -5
- package/whitelabel/AppWhitelabelProvider.d.ts +0 -6
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -3,12 +3,11 @@ import { ApolloClient, InMemoryCache, from, split as split$1, ApolloProvider } f
|
|
|
3
3
|
import { setContext } from '@apollo/client/link/context';
|
|
4
4
|
import { onError } from '@apollo/client/link/error';
|
|
5
5
|
import * as Sentry from '@sentry/browser';
|
|
6
|
-
import { useEnvironment, useToken, EnvironmentContextProvider, TokenProvider, CurrentUserProvider, UserSubscriptionProvider as UserSubscriptionProvider$1
|
|
6
|
+
import { useEnvironment, useToken, EnvironmentContextProvider, TokenProvider, CurrentUserProvider, UserSubscriptionProvider as UserSubscriptionProvider$1 } from '@trackunit/react-core-hooks';
|
|
7
7
|
import { createUploadLink } from 'apollo-upload-client';
|
|
8
8
|
import { BrowserRouter } from 'react-router-dom';
|
|
9
9
|
import { EnvironmentRuntime, TokenRuntime, CurrentUserRuntime, UserSubscriptionRuntime } from '@trackunit/iris-app-runtime-core';
|
|
10
10
|
import * as React from 'react';
|
|
11
|
-
import { Brand } from '@trackunit/react-core-contexts-api';
|
|
12
11
|
|
|
13
12
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
14
13
|
|
|
@@ -2449,17 +2448,4 @@ const TrackunitProviders = ({
|
|
|
2449
2448
|
})
|
|
2450
2449
|
});
|
|
2451
2450
|
|
|
2452
|
-
|
|
2453
|
-
brand: Brand.Trackunit
|
|
2454
|
-
};
|
|
2455
|
-
const AppWhitelabelProvider = ({
|
|
2456
|
-
children
|
|
2457
|
-
}) => {
|
|
2458
|
-
return jsx(WhiteLabelProvider, Object.assign({
|
|
2459
|
-
value: value
|
|
2460
|
-
}, {
|
|
2461
|
-
children: children
|
|
2462
|
-
}));
|
|
2463
|
-
};
|
|
2464
|
-
|
|
2465
|
-
export { AppWhitelabelProvider, ManagerApolloProvider, TrackunitProviders };
|
|
2451
|
+
export { ManagerApolloProvider, TrackunitProviders };
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-contexts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"graphql": "^15.8.0",
|
|
8
|
-
"@trackunit/iris-app-runtime-core": "0.0.
|
|
9
|
-
"@trackunit/react-core-contexts-api": "0.0.
|
|
10
|
-
"@trackunit/react-core-hooks": "0.0.
|
|
8
|
+
"@trackunit/iris-app-runtime-core": "0.0.49",
|
|
9
|
+
"@trackunit/react-core-contexts-api": "0.0.45",
|
|
10
|
+
"@trackunit/react-core-hooks": "0.0.48",
|
|
11
11
|
"react": "17.0.1",
|
|
12
|
-
"@trackunit/react-core-contexts-test": "0.0.
|
|
12
|
+
"@trackunit/react-core-contexts-test": "0.0.18",
|
|
13
13
|
"@apollo/client": "3.6.9",
|
|
14
14
|
"@sentry/browser": "^6.19.4",
|
|
15
15
|
"apollo-upload-client": "^14.1.3",
|