@commercetools-frontend/application-shell-connectors 21.21.2 → 21.22.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.21.2";
50
+ var version = "21.22.1";
51
51
 
52
52
  var mcHostnameRegex = /^mc(-(\d){4,})?\.(.*)$/;
53
53
  var mcPreviewHostnameRegex = /^.*\.mc-preview\.(.*)$/;
@@ -255,6 +255,7 @@ var mapUserToApplicationContextUser = function mapUserToApplicationContextUser(u
255
255
  var applicationContextUser = {
256
256
  id: user.id,
257
257
  email: user.email,
258
+ createdAt: user.createdAt,
258
259
  firstName: user.firstName,
259
260
  lastName: user.lastName,
260
261
  businessRole: user.businessRole,
@@ -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.21.2";
48
+ var version = "21.22.1";
49
49
 
50
50
  var mcHostnameRegex = /^mc(-(\d){4,})?\.(.*)$/;
51
51
  var mcPreviewHostnameRegex = /^.*\.mc-preview\.(.*)$/;
@@ -253,6 +253,7 @@ var mapUserToApplicationContextUser = function mapUserToApplicationContextUser(u
253
253
  var applicationContextUser = {
254
254
  id: user.id,
255
255
  email: user.email,
256
+ createdAt: user.createdAt,
256
257
  firstName: user.firstName,
257
258
  lastName: user.lastName,
258
259
  businessRole: user.businessRole,
@@ -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.21.2";
27
+ var version = "21.22.1";
28
28
 
29
29
  var mcHostnameRegex = /^mc(-(\d){4,})?\.(.*)$/;
30
30
  var mcPreviewHostnameRegex = /^.*\.mc-preview\.(.*)$/;
@@ -232,6 +232,7 @@ var mapUserToApplicationContextUser = function mapUserToApplicationContextUser(u
232
232
  var applicationContextUser = {
233
233
  id: user.id,
234
234
  email: user.email,
235
+ createdAt: user.createdAt,
235
236
  firstName: user.firstName,
236
237
  lastName: user.lastName,
237
238
  businessRole: user.businessRole,
@@ -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'> & {
26
+ declare type TApplicationContextUser = Pick<NonNullable<TFetchedUser>, 'id' | 'email' | 'createdAt' | 'firstName' | 'lastName' | 'businessRole' | 'projects'> & {
27
27
  locale: string;
28
28
  timeZone: string;
29
29
  idTokenUserInfo?: Omit<TIdTokenUserInfo, 'additionalClaims'> & {
@@ -257,6 +257,7 @@ export declare enum TPermissionScope {
257
257
  GetPermissionForAnyProject = "get_permission_for_any_project",
258
258
  IntrospectOauthTokens = "introspect_oauth_tokens",
259
259
  ManageApiClients = "manage_api_clients",
260
+ ManageAssociateRoles = "manage_associate_roles",
260
261
  ManageAttributeGroups = "manage_attribute_groups",
261
262
  ManageAuditLog = "manage_audit_log",
262
263
  ManageBusinessUnits = "manage_business_units",
@@ -297,6 +298,7 @@ export declare enum TPermissionScope {
297
298
  ManageTaxCategories = "manage_tax_categories",
298
299
  ManageTypes = "manage_types",
299
300
  ViewApiClients = "view_api_clients",
301
+ ViewAssociateRoles = "view_associate_roles",
300
302
  ViewAttributeGroups = "view_attribute_groups",
301
303
  ViewAuditLog = "view_audit_log",
302
304
  ViewBusinessUnits = "view_business_units",
@@ -686,6 +688,7 @@ export declare type TFetchLoggedInUserQuery = {
686
688
  __typename?: 'User';
687
689
  id: string;
688
690
  email: string;
691
+ createdAt: string;
689
692
  gravatarHash: string;
690
693
  firstName: string;
691
694
  lastName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/application-shell-connectors",
3
- "version": "21.21.2",
3
+ "version": "21.22.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.21.2",
27
- "@commercetools-frontend/sentry": "21.21.2",
26
+ "@commercetools-frontend/constants": "21.22.1",
27
+ "@commercetools-frontend/sentry": "21.22.1",
28
28
  "@emotion/react": "11.10.4",
29
29
  "@types/lodash": "^4.14.185",
30
30
  "@types/prop-types": "^15.7.5",