@commercetools-frontend-extensions/change-history 8.43.1 → 8.43.2

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.
@@ -137,7 +137,7 @@ var debounce__default = /*#__PURE__*/_interopDefault(debounce);
137
137
  var RadioInput__default = /*#__PURE__*/_interopDefault(RadioInput);
138
138
 
139
139
  // NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
140
- var version = "8.43.1";
140
+ var version = "8.43.2";
141
141
 
142
142
  var fetchFeatureStatusQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchFeatureStatusQuery" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 84, source: { body: "query FetchFeatureStatusQuery {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
143
143
  /**
@@ -4452,7 +4452,7 @@ const getChangeNameMessage = (resource, change) => {
4452
4452
  let message = null;
4453
4453
  const changeLabel = `${change}Label`;
4454
4454
  if (resource) {
4455
- message = MESSAGE_MAPPER$1[resource][changeLabel];
4455
+ message = MESSAGE_MAPPER$1[resource]?.[changeLabel] ?? null;
4456
4456
  if (!message) {
4457
4457
  message = assetMessages[changeLabel];
4458
4458
  }
@@ -137,7 +137,7 @@ var debounce__default = /*#__PURE__*/_interopDefault(debounce);
137
137
  var RadioInput__default = /*#__PURE__*/_interopDefault(RadioInput);
138
138
 
139
139
  // NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
140
- var version = "8.43.1";
140
+ var version = "8.43.2";
141
141
 
142
142
  var fetchFeatureStatusQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchFeatureStatusQuery" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 84, source: { body: "query FetchFeatureStatusQuery {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
143
143
  /**
@@ -4425,7 +4425,7 @@ const getChangeNameMessage = (resource, change) => {
4425
4425
  let message = null;
4426
4426
  const changeLabel = `${change}Label`;
4427
4427
  if (resource) {
4428
- message = MESSAGE_MAPPER$1[resource][changeLabel];
4428
+ message = MESSAGE_MAPPER$1[resource]?.[changeLabel] ?? null;
4429
4429
  if (!message) {
4430
4430
  message = assetMessages[changeLabel];
4431
4431
  }
@@ -81,7 +81,7 @@ import { oneLineTrim } from 'common-tags';
81
81
  import { parseChunkImport, mapLocaleToIntlLocale } from '@commercetools-frontend/i18n';
82
82
 
83
83
  // NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
84
- var version = "8.43.1";
84
+ var version = "8.43.2";
85
85
 
86
86
  var fetchFeatureStatusQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchFeatureStatusQuery" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 84, source: { body: "query FetchFeatureStatusQuery {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
87
87
  /**
@@ -4396,7 +4396,7 @@ const getChangeNameMessage = (resource, change) => {
4396
4396
  let message = null;
4397
4397
  const changeLabel = `${change}Label`;
4398
4398
  if (resource) {
4399
- message = MESSAGE_MAPPER$1[resource][changeLabel];
4399
+ message = MESSAGE_MAPPER$1[resource]?.[changeLabel] ?? null;
4400
4400
  if (!message) {
4401
4401
  message = assetMessages[changeLabel];
4402
4402
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-frontend-extensions/change-history",
3
3
  "description": "Change history shared components and utilities",
4
- "version": "8.43.1",
4
+ "version": "8.43.2",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"