@commercetools-frontend/notifications 22.7.0 → 22.8.0
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.
|
@@ -30,7 +30,7 @@ var _Map__default = /*#__PURE__*/_interopDefault(_Map);
|
|
|
30
30
|
var _setTimeout__default = /*#__PURE__*/_interopDefault(_setTimeout);
|
|
31
31
|
|
|
32
32
|
// NOTE: This string will be replaced on build time with the package version.
|
|
33
|
-
var version = "22.
|
|
33
|
+
var version = "22.8.0";
|
|
34
34
|
|
|
35
35
|
const ADD_NOTIFICATION = 'ADD_NOTIFICATION';
|
|
36
36
|
const REMOVE_NOTIFICATION = 'REMOVE_NOTIFICATION';
|
|
@@ -52,8 +52,8 @@ function removeNotification(id) {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
function ownKeys(
|
|
56
|
-
function _objectSpread(
|
|
55
|
+
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
56
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
57
57
|
// Force TS cast of generic action to TNotificationAction
|
|
58
58
|
const isNotificationAction = action => {
|
|
59
59
|
var _context;
|
|
@@ -30,7 +30,7 @@ var _Map__default = /*#__PURE__*/_interopDefault(_Map);
|
|
|
30
30
|
var _setTimeout__default = /*#__PURE__*/_interopDefault(_setTimeout);
|
|
31
31
|
|
|
32
32
|
// NOTE: This string will be replaced on build time with the package version.
|
|
33
|
-
var version = "22.
|
|
33
|
+
var version = "22.8.0";
|
|
34
34
|
|
|
35
35
|
const ADD_NOTIFICATION = 'ADD_NOTIFICATION';
|
|
36
36
|
const REMOVE_NOTIFICATION = 'REMOVE_NOTIFICATION';
|
|
@@ -52,8 +52,8 @@ function removeNotification(id) {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
function ownKeys(
|
|
56
|
-
function _objectSpread(
|
|
55
|
+
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
56
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
57
57
|
// Force TS cast of generic action to TNotificationAction
|
|
58
58
|
const isNotificationAction = action => {
|
|
59
59
|
var _context;
|
|
@@ -12,7 +12,7 @@ import _Map from '@babel/runtime-corejs3/core-js-stable/map';
|
|
|
12
12
|
import _setTimeout from '@babel/runtime-corejs3/core-js-stable/set-timeout';
|
|
13
13
|
|
|
14
14
|
// NOTE: This string will be replaced on build time with the package version.
|
|
15
|
-
var version = "22.
|
|
15
|
+
var version = "22.8.0";
|
|
16
16
|
|
|
17
17
|
const ADD_NOTIFICATION = 'ADD_NOTIFICATION';
|
|
18
18
|
const REMOVE_NOTIFICATION = 'REMOVE_NOTIFICATION';
|
|
@@ -34,8 +34,8 @@ function removeNotification(id) {
|
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
function ownKeys(
|
|
38
|
-
function _objectSpread(
|
|
37
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
38
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39
39
|
// Force TS cast of generic action to TNotificationAction
|
|
40
40
|
const isNotificationAction = action => {
|
|
41
41
|
var _context;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/notifications",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.8.0",
|
|
4
4
|
"description": "A general-purpose notification system built on top of redux",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"README.md"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@babel/runtime": "^7.
|
|
32
|
-
"@babel/runtime-corejs3": "^7.
|
|
31
|
+
"@babel/runtime": "^7.22.15",
|
|
32
|
+
"@babel/runtime-corejs3": "^7.22.15"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"redux": "4.2.1"
|