@commercetools-frontend/application-shell-connectors 21.20.5 → 21.21.1

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.
@@ -47,7 +47,7 @@ var _valuesInstanceProperty__default = /*#__PURE__*/_interopDefault(_valuesInsta
47
47
  var warning__default = /*#__PURE__*/_interopDefault(warning);
48
48
 
49
49
  // NOTE: This string will be replaced on build time with the package version.
50
- var version = "21.20.5";
50
+ var version = "21.21.1";
51
51
 
52
52
  var mcHostnameRegex = /^mc(-(\d){4,})?\.(.*)$/;
53
53
  var mcPreviewHostnameRegex = /^.*\.mc-preview\.(.*)$/;
@@ -262,8 +262,7 @@ var mapUserToApplicationContextUser = function mapUserToApplicationContextUser(u
262
262
  // a locale (language + country).
263
263
  locale: user.language,
264
264
  timeZone: user.timeZone || defaultTimeZone,
265
- projects: user.projects,
266
- verificationStatus: user.verificationStatus
265
+ projects: user.projects
267
266
  }; // This property will only be populated when user has logged in using SSO
268
267
 
269
268
  if (user.idTokenUserInfo) {
@@ -45,7 +45,7 @@ var _Object$entries__default = /*#__PURE__*/_interopDefault(_Object$entries);
45
45
  var _valuesInstanceProperty__default = /*#__PURE__*/_interopDefault(_valuesInstanceProperty);
46
46
 
47
47
  // NOTE: This string will be replaced on build time with the package version.
48
- var version = "21.20.5";
48
+ var version = "21.21.1";
49
49
 
50
50
  var mcHostnameRegex = /^mc(-(\d){4,})?\.(.*)$/;
51
51
  var mcPreviewHostnameRegex = /^.*\.mc-preview\.(.*)$/;
@@ -260,8 +260,7 @@ var mapUserToApplicationContextUser = function mapUserToApplicationContextUser(u
260
260
  // a locale (language + country).
261
261
  locale: user.language,
262
262
  timeZone: user.timeZone || defaultTimeZone,
263
- projects: user.projects,
264
- verificationStatus: user.verificationStatus
263
+ projects: user.projects
265
264
  }; // This property will only be populated when user has logged in using SSO
266
265
 
267
266
  if (user.idTokenUserInfo) {
@@ -24,7 +24,7 @@ import { useQuery } from '@apollo/client/react';
24
24
  import { GRAPHQL_TARGETS } from '@commercetools-frontend/constants';
25
25
 
26
26
  // NOTE: This string will be replaced on build time with the package version.
27
- var version = "21.20.5";
27
+ var version = "21.21.1";
28
28
 
29
29
  var mcHostnameRegex = /^mc(-(\d){4,})?\.(.*)$/;
30
30
  var mcPreviewHostnameRegex = /^.*\.mc-preview\.(.*)$/;
@@ -239,8 +239,7 @@ var mapUserToApplicationContextUser = function mapUserToApplicationContextUser(u
239
239
  // a locale (language + country).
240
240
  locale: user.language,
241
241
  timeZone: user.timeZone || defaultTimeZone,
242
- projects: user.projects,
243
- verificationStatus: user.verificationStatus
242
+ projects: user.projects
244
243
  }; // This property will only be populated when user has logged in using SSO
245
244
 
246
245
  if (user.idTokenUserInfo) {
@@ -23,7 +23,7 @@ declare type TApplicationContextGroupedByResourceType = {
23
23
  declare type TApplicationContextDataFenceType = 'store';
24
24
  declare type TApplicationContextDataFences = Partial<Record<TApplicationContextDataFenceType, TApplicationContextGroupedByResourceType>>;
25
25
  declare type TApplicationContextEnvironment = ApplicationWindow['app'];
26
- declare type TApplicationContextUser = Pick<NonNullable<TFetchedUser>, 'id' | 'email' | 'firstName' | 'lastName' | 'businessRole' | 'projects' | 'verificationStatus'> & {
26
+ declare type TApplicationContextUser = Pick<NonNullable<TFetchedUser>, 'id' | 'email' | 'firstName' | 'lastName' | 'businessRole' | 'projects'> & {
27
27
  locale: string;
28
28
  timeZone: string;
29
29
  idTokenUserInfo?: Omit<TIdTokenUserInfo, 'additionalClaims'> & {
@@ -699,7 +699,6 @@ export declare type TFetchLoggedInUserQuery = {
699
699
  launchdarklyTrackingTenant: string;
700
700
  defaultProjectKey?: string | null;
701
701
  businessRole?: string | null;
702
- verificationStatus: TVerificationStatus;
703
702
  projects: {
704
703
  __typename?: 'ProjectQueryResult';
705
704
  total: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/application-shell-connectors",
3
- "version": "21.20.5",
3
+ "version": "21.21.1",
4
4
  "description": "Contains complementary tools for @commercetools-frontend/application-shell",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -23,8 +23,8 @@
23
23
  "dependencies": {
24
24
  "@babel/runtime": "^7.19.0",
25
25
  "@babel/runtime-corejs3": "^7.19.0",
26
- "@commercetools-frontend/constants": "21.20.5",
27
- "@commercetools-frontend/sentry": "21.20.5",
26
+ "@commercetools-frontend/constants": "workspace:*",
27
+ "@commercetools-frontend/sentry": "workspace:*",
28
28
  "@emotion/react": "11.10.4",
29
29
  "@types/lodash": "^4.14.185",
30
30
  "@types/prop-types": "^15.7.5",