@commercetools-frontend/react-notifications 24.1.0 → 24.2.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.
|
@@ -61,7 +61,7 @@ var _sliceInstanceProperty__default = /*#__PURE__*/_interopDefault(_sliceInstanc
|
|
|
61
61
|
var isNumber__default = /*#__PURE__*/_interopDefault(isNumber);
|
|
62
62
|
|
|
63
63
|
// NOTE: This string will be replaced on build time with the package version.
|
|
64
|
-
var version = "24.1
|
|
64
|
+
var version = "24.2.1";
|
|
65
65
|
|
|
66
66
|
const Context = /*#__PURE__*/react.createContext(() => null);
|
|
67
67
|
function NotificationProviderForCustomComponent(props) {
|
|
@@ -285,12 +285,12 @@ var apiErrorMessages = reactIntl.defineMessages({
|
|
|
285
285
|
DuplicatePriceScope: {
|
|
286
286
|
id: 'ApiError.DuplicatePriceScope',
|
|
287
287
|
description: 'User tries to create a price with the exact same values as for an already existing price',
|
|
288
|
-
defaultMessage: 'A price with the same scope already exists for this product variant. Make sure that the combination of currency, country, customer group, channel
|
|
288
|
+
defaultMessage: 'A price with the same scope already exists for this product variant. Make sure that the combination of currency, country, customer group, channel, valid dates and recurrence policy is unique per price.'
|
|
289
289
|
},
|
|
290
290
|
DuplicateStandalonePriceScope: {
|
|
291
291
|
id: 'ApiError.DuplicateStandalonePriceScope',
|
|
292
292
|
description: 'User tries to create a standalone price with the exact same values as for an already existing standalone price',
|
|
293
|
-
defaultMessage: 'A price with the same scope already exists for this product variant. The combination of currency, country, customer group, channel
|
|
293
|
+
defaultMessage: 'A price with the same scope already exists for this product variant. The combination of currency, country, customer group, channel, validity date and recurrence policy must be unique for each price per SKU.'
|
|
294
294
|
},
|
|
295
295
|
DuplicateVariantValues: {
|
|
296
296
|
id: 'ApiError.DuplicateVariantValues',
|
|
@@ -61,7 +61,7 @@ var _sliceInstanceProperty__default = /*#__PURE__*/_interopDefault(_sliceInstanc
|
|
|
61
61
|
var isNumber__default = /*#__PURE__*/_interopDefault(isNumber);
|
|
62
62
|
|
|
63
63
|
// NOTE: This string will be replaced on build time with the package version.
|
|
64
|
-
var version = "24.1
|
|
64
|
+
var version = "24.2.1";
|
|
65
65
|
|
|
66
66
|
const Context = /*#__PURE__*/react.createContext(() => null);
|
|
67
67
|
function NotificationProviderForCustomComponent(props) {
|
|
@@ -273,12 +273,12 @@ var apiErrorMessages = reactIntl.defineMessages({
|
|
|
273
273
|
DuplicatePriceScope: {
|
|
274
274
|
id: 'ApiError.DuplicatePriceScope',
|
|
275
275
|
description: 'User tries to create a price with the exact same values as for an already existing price',
|
|
276
|
-
defaultMessage: 'A price with the same scope already exists for this product variant. Make sure that the combination of currency, country, customer group, channel
|
|
276
|
+
defaultMessage: 'A price with the same scope already exists for this product variant. Make sure that the combination of currency, country, customer group, channel, valid dates and recurrence policy is unique per price.'
|
|
277
277
|
},
|
|
278
278
|
DuplicateStandalonePriceScope: {
|
|
279
279
|
id: 'ApiError.DuplicateStandalonePriceScope',
|
|
280
280
|
description: 'User tries to create a standalone price with the exact same values as for an already existing standalone price',
|
|
281
|
-
defaultMessage: 'A price with the same scope already exists for this product variant. The combination of currency, country, customer group, channel
|
|
281
|
+
defaultMessage: 'A price with the same scope already exists for this product variant. The combination of currency, country, customer group, channel, validity date and recurrence policy must be unique for each price per SKU.'
|
|
282
282
|
},
|
|
283
283
|
DuplicateVariantValues: {
|
|
284
284
|
id: 'ApiError.DuplicateVariantValues',
|
|
@@ -35,7 +35,7 @@ import isNumber from 'lodash/isNumber';
|
|
|
35
35
|
import { useShowNotification } from '@commercetools-frontend/actions-global';
|
|
36
36
|
|
|
37
37
|
// NOTE: This string will be replaced on build time with the package version.
|
|
38
|
-
var version = "24.1
|
|
38
|
+
var version = "24.2.1";
|
|
39
39
|
|
|
40
40
|
const Context = /*#__PURE__*/createContext(() => null);
|
|
41
41
|
function NotificationProviderForCustomComponent(props) {
|
|
@@ -259,12 +259,12 @@ var apiErrorMessages = defineMessages({
|
|
|
259
259
|
DuplicatePriceScope: {
|
|
260
260
|
id: 'ApiError.DuplicatePriceScope',
|
|
261
261
|
description: 'User tries to create a price with the exact same values as for an already existing price',
|
|
262
|
-
defaultMessage: 'A price with the same scope already exists for this product variant. Make sure that the combination of currency, country, customer group, channel
|
|
262
|
+
defaultMessage: 'A price with the same scope already exists for this product variant. Make sure that the combination of currency, country, customer group, channel, valid dates and recurrence policy is unique per price.'
|
|
263
263
|
},
|
|
264
264
|
DuplicateStandalonePriceScope: {
|
|
265
265
|
id: 'ApiError.DuplicateStandalonePriceScope',
|
|
266
266
|
description: 'User tries to create a standalone price with the exact same values as for an already existing standalone price',
|
|
267
|
-
defaultMessage: 'A price with the same scope already exists for this product variant. The combination of currency, country, customer group, channel
|
|
267
|
+
defaultMessage: 'A price with the same scope already exists for this product variant. The combination of currency, country, customer group, channel, validity date and recurrence policy must be unique for each price per SKU.'
|
|
268
268
|
},
|
|
269
269
|
DuplicateVariantValues: {
|
|
270
270
|
id: 'ApiError.DuplicateVariantValues',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/react-notifications",
|
|
3
|
-
"version": "24.1
|
|
3
|
+
"version": "24.2.1",
|
|
4
4
|
"description": "React bindings for @commercetools-frontend/notifications",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime": "^7.22.15",
|
|
32
32
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
33
|
-
"@commercetools-frontend/actions-global": "24.1
|
|
34
|
-
"@commercetools-frontend/application-components": "24.1
|
|
35
|
-
"@commercetools-frontend/constants": "24.1
|
|
36
|
-
"@commercetools-frontend/notifications": "24.1
|
|
37
|
-
"@commercetools-frontend/sentry": "24.1
|
|
33
|
+
"@commercetools-frontend/actions-global": "24.2.1",
|
|
34
|
+
"@commercetools-frontend/application-components": "24.2.1",
|
|
35
|
+
"@commercetools-frontend/constants": "24.2.1",
|
|
36
|
+
"@commercetools-frontend/notifications": "24.2.1",
|
|
37
|
+
"@commercetools-frontend/sentry": "24.2.1",
|
|
38
38
|
"@commercetools-uikit/design-system": "20.0.0",
|
|
39
39
|
"@commercetools-uikit/hooks": "20.0.0",
|
|
40
40
|
"@commercetools-uikit/icon-button": "20.0.0",
|