@commercetools-frontend/application-shell 21.0.0-rc.3 → 21.0.0-rc.8
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/dist/{application-entry-point-4ef2cd89.esm.js → application-entry-point-47b00f22.esm.js} +1 -1
- package/dist/{application-entry-point-684d30f1.cjs.dev.js → application-entry-point-a2e01a05.cjs.dev.js} +1 -1
- package/dist/{application-entry-point-aeb8ef57.cjs.prod.js → application-entry-point-fbc7a4e4.cjs.prod.js} +1 -1
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +3 -4
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +3 -4
- package/dist/commercetools-frontend-application-shell.esm.js +3 -4
- package/dist/declarations/src/components/application-shell/application-shell.d.ts +1 -1
- package/dist/declarations/src/test-utils/test-utils.d.ts +1 -2
- package/dist/{index-20accc34.cjs.dev.js → index-06ec26b8.cjs.dev.js} +21 -20
- package/dist/{index-2ed9e466.esm.js → index-198163f2.esm.js} +21 -20
- package/dist/{index-7a56bcf7.cjs.prod.js → index-85f10fc3.cjs.prod.js} +13 -12
- package/dist/oidc-cb5c92bd.esm.js +39 -0
- package/dist/oidc-d5829556.cjs.prod.js +46 -0
- package/dist/oidc-f43cd8da.cjs.dev.js +46 -0
- package/dist/{project-expired-636492de.esm.js → project-expired-4473fb6a.esm.js} +4 -5
- package/dist/{project-expired-bf97d316.cjs.dev.js → project-expired-da836824.cjs.dev.js} +4 -5
- package/dist/{project-expired-23986e27.cjs.prod.js → project-expired-fcc9bfa3.cjs.prod.js} +4 -5
- package/dist/{project-not-found-aed705a5.cjs.prod.js → project-not-found-261f3957.cjs.prod.js} +4 -5
- package/dist/{project-not-found-f683495d.esm.js → project-not-found-9fe5d272.esm.js} +4 -5
- package/dist/{project-not-found-9cd66e2e.cjs.dev.js → project-not-found-f949a3c6.cjs.dev.js} +4 -5
- package/dist/{project-not-initialized-74b1d4f0.cjs.dev.js → project-not-initialized-0187115e.cjs.dev.js} +4 -5
- package/dist/{project-not-initialized-64d7c6c4.cjs.prod.js → project-not-initialized-24d0c91e.cjs.prod.js} +4 -5
- package/dist/{project-not-initialized-0dd0af36.esm.js → project-not-initialized-e000bf8b.esm.js} +4 -5
- package/dist/{project-suspended-e25053f6.cjs.dev.js → project-suspended-40c05d67.cjs.dev.js} +4 -5
- package/dist/{project-suspended-cbd838b6.cjs.prod.js → project-suspended-4df6cff9.cjs.prod.js} +4 -5
- package/dist/{project-suspended-8613f5b0.esm.js → project-suspended-abd09356.esm.js} +4 -5
- package/dist/{quick-access-099595d5.cjs.dev.js → quick-access-097fba6f.cjs.dev.js} +3 -4
- package/dist/{quick-access-4ddb0aad.esm.js → quick-access-dbc25183.esm.js} +3 -4
- package/dist/{quick-access-160ee728.cjs.prod.js → quick-access-eaac0228.cjs.prod.js} +3 -4
- package/dist/{service-page-project-switcher-91dc2d6b.cjs.prod.js → service-page-project-switcher-086585ff.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-95af2b70.esm.js → service-page-project-switcher-8fe54357.esm.js} +1 -1
- package/dist/{service-page-project-switcher-f4d306ff.cjs.dev.js → service-page-project-switcher-efd46dbd.cjs.dev.js} +1 -1
- package/package.json +3 -3
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +1 -1
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +1 -1
- package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +1 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +17 -12
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +16 -10
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +17 -12
- package/dist/oidc-0f5f3c40.esm.js +0 -39
- package/dist/oidc-96d1b0dd.cjs.dev.js +0 -46
- package/dist/oidc-f15b3576.cjs.prod.js +0 -46
package/dist/{application-entry-point-4ef2cd89.esm.js → application-entry-point-47b00f22.esm.js}
RENAMED
|
@@ -60,7 +60,7 @@ import { PageNotFound, PageUnauthorized } from '@commercetools-frontend/applicat
|
|
|
60
60
|
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
61
61
|
|
|
62
62
|
// NOTE: This string will be replaced on build time with the package version.
|
|
63
|
-
var version = "21.0.0-rc.
|
|
63
|
+
var version = "21.0.0-rc.8";
|
|
64
64
|
|
|
65
65
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
66
66
|
var errorAction = action;
|
|
@@ -101,7 +101,7 @@ var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
|
101
101
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
102
102
|
|
|
103
103
|
// NOTE: This string will be replaced on build time with the package version.
|
|
104
|
-
var version = "21.0.0-rc.
|
|
104
|
+
var version = "21.0.0-rc.8";
|
|
105
105
|
|
|
106
106
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
107
107
|
var errorAction = action;
|
|
@@ -100,7 +100,7 @@ var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
|
|
|
100
100
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
101
101
|
|
|
102
102
|
// NOTE: This string will be replaced on build time with the package version.
|
|
103
|
-
var version = "21.0.0-rc.
|
|
103
|
+
var version = "21.0.0-rc.8";
|
|
104
104
|
|
|
105
105
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
106
106
|
var errorAction = action;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
6
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
5
|
+
var applicationEntryPoint = require('./application-entry-point-a2e01a05.cjs.dev.js');
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-06ec26b8.cjs.dev.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
8
8
|
require('uuid');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
@@ -70,11 +70,10 @@ require('@emotion/styled/base');
|
|
|
70
70
|
require('@emotion/react');
|
|
71
71
|
require('@commercetools-frontend/i18n');
|
|
72
72
|
require('perfume.js');
|
|
73
|
-
require('@babel/runtime-corejs3/helpers/typeof');
|
|
74
73
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
75
74
|
require('lodash/camelCase');
|
|
76
75
|
require('@apollo/client/react');
|
|
77
|
-
require('./oidc-
|
|
76
|
+
require('./oidc-f43cd8da.cjs.dev.js');
|
|
78
77
|
require('qss');
|
|
79
78
|
require('jwt-decode');
|
|
80
79
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
6
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
5
|
+
var applicationEntryPoint = require('./application-entry-point-fbc7a4e4.cjs.prod.js');
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-85f10fc3.cjs.prod.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
8
8
|
require('uuid');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
@@ -70,11 +70,10 @@ require('@emotion/styled/base');
|
|
|
70
70
|
require('@emotion/react');
|
|
71
71
|
require('@commercetools-frontend/i18n');
|
|
72
72
|
require('perfume.js');
|
|
73
|
-
require('@babel/runtime-corejs3/helpers/typeof');
|
|
74
73
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
75
74
|
require('lodash/camelCase');
|
|
76
75
|
require('@apollo/client/react');
|
|
77
|
-
require('./oidc-
|
|
76
|
+
require('./oidc-d5829556.cjs.prod.js');
|
|
78
77
|
require('qss');
|
|
79
78
|
require('jwt-decode');
|
|
80
79
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { p as RouteCatchAll, q as applyDefaultMiddlewares, f as createApolloClient, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-
|
|
2
|
-
export { A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, b as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, d as useMcLazyQuery, e as useMcMutation, u as useMcQuery } from './index-
|
|
1
|
+
export { p as RouteCatchAll, q as applyDefaultMiddlewares, f as createApolloClient, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-47b00f22.esm.js';
|
|
2
|
+
export { A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, b as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, d as useMcLazyQuery, e as useMcMutation, u as useMcQuery } from './index-198163f2.esm.js';
|
|
3
3
|
import '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
|
4
4
|
import 'uuid';
|
|
5
5
|
import '@babel/runtime-corejs3/core-js-stable/url';
|
|
@@ -66,11 +66,10 @@ import '@emotion/styled/base';
|
|
|
66
66
|
import '@emotion/react';
|
|
67
67
|
import '@commercetools-frontend/i18n';
|
|
68
68
|
import 'perfume.js';
|
|
69
|
-
import '@babel/runtime-corejs3/helpers/typeof';
|
|
70
69
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
71
70
|
import 'lodash/camelCase';
|
|
72
71
|
import '@apollo/client/react';
|
|
73
|
-
import './oidc-
|
|
72
|
+
import './oidc-cb5c92bd.esm.js';
|
|
74
73
|
import 'qss';
|
|
75
74
|
import 'jwt-decode';
|
|
76
75
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
@@ -13,7 +13,7 @@ declare type Props<AdditionalEnvironmentProperties extends {}> = {
|
|
|
13
13
|
defaultFeatureFlags?: TFlags;
|
|
14
14
|
trackingEventList?: TrackingList;
|
|
15
15
|
applicationMessages: TAsyncLocaleDataProps['applicationMessages'];
|
|
16
|
-
onRegisterErrorListeners
|
|
16
|
+
onRegisterErrorListeners?: (args: {
|
|
17
17
|
dispatch: Dispatch;
|
|
18
18
|
}) => void;
|
|
19
19
|
onMenuItemClick?: <TrackFn>(event: SyntheticEvent<HTMLAnchorElement>, track: TrackFn) => void;
|
|
@@ -46,9 +46,8 @@ declare const denormalizeDataFences: (dataFences?: TNormalizedDataFences | undef
|
|
|
46
46
|
declare const mapResourceAccessToAppliedPermissions: (resourceAccesses: string[]) => TAllAppliedPermission[];
|
|
47
47
|
export declare type TRenderAppOptions<AdditionalEnvironmentProperties = {}> = {
|
|
48
48
|
locale: string;
|
|
49
|
-
mocks
|
|
49
|
+
mocks?: ReadonlyArray<MockedResponse>;
|
|
50
50
|
apolloClient?: ApolloClient<NormalizedCacheObject>;
|
|
51
|
-
enableApolloMocks: boolean;
|
|
52
51
|
route: string;
|
|
53
52
|
disableRoutePermissionCheck: boolean;
|
|
54
53
|
disableAutomaticEntryPointRoutes: boolean;
|