@commercetools-frontend/notifications 21.23.6 → 21.23.8

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.
@@ -33,7 +33,7 @@ var _setTimeout__default = /*#__PURE__*/_interopDefault(_setTimeout);
33
33
  var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
34
34
 
35
35
  // NOTE: This string will be replaced on build time with the package version.
36
- var version = "21.23.6";
36
+ var version = "21.23.8";
37
37
 
38
38
  var ADD_NOTIFICATION = 'ADD_NOTIFICATION';
39
39
  var REMOVE_NOTIFICATION = 'REMOVE_NOTIFICATION';
@@ -33,7 +33,7 @@ var _setTimeout__default = /*#__PURE__*/_interopDefault(_setTimeout);
33
33
  var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
34
34
 
35
35
  // NOTE: This string will be replaced on build time with the package version.
36
- var version = "21.23.6";
36
+ var version = "21.23.8";
37
37
 
38
38
  var ADD_NOTIFICATION = 'ADD_NOTIFICATION';
39
39
  var REMOVE_NOTIFICATION = 'REMOVE_NOTIFICATION';
@@ -14,7 +14,7 @@ import _toConsumableArray from '@babel/runtime-corejs3/helpers/esm/toConsumableA
14
14
  import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
15
15
 
16
16
  // NOTE: This string will be replaced on build time with the package version.
17
- var version = "21.23.6";
17
+ var version = "21.23.8";
18
18
 
19
19
  var ADD_NOTIFICATION = 'ADD_NOTIFICATION';
20
20
  var REMOVE_NOTIFICATION = 'REMOVE_NOTIFICATION';
@@ -1,10 +1,10 @@
1
1
  import type { Action } from 'redux';
2
2
  import { ADD_NOTIFICATION, REMOVE_NOTIFICATION } from './action-types';
3
- export declare type TNotification = {
3
+ export type TNotification = {
4
4
  id?: number;
5
5
  };
6
- export declare type TNotificationOnDismiss = (id: TNotification['id']) => void;
7
- export declare type TNotificationMetaOptions = {
6
+ export type TNotificationOnDismiss = (id: TNotification['id']) => void;
7
+ export type TNotificationMetaOptions = {
8
8
  dismissAfter?: number;
9
9
  onDismiss?: TNotificationOnDismiss;
10
10
  };
@@ -16,5 +16,5 @@ export interface TAddNotificationAction<Payload extends TNotification> extends A
16
16
  export interface TRemoveNotificationAction extends Action<typeof REMOVE_NOTIFICATION> {
17
17
  payload: TNotification;
18
18
  }
19
- export declare type TNotificationAction<Payload extends TNotification> = TAddNotificationAction<Payload> | TRemoveNotificationAction;
20
- export declare type TNotificationState<Payload extends TNotification> = Payload[];
19
+ export type TNotificationAction<Payload extends TNotification> = TAddNotificationAction<Payload> | TRemoveNotificationAction;
20
+ export type TNotificationState<Payload extends TNotification> = Payload[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/notifications",
3
- "version": "21.23.6",
3
+ "version": "21.23.8",
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": {
@@ -18,11 +18,11 @@
18
18
  "module": "dist/commercetools-frontend-notifications.esm.js",
19
19
  "files": ["dist", "package.json", "LICENSE", "README.md"],
20
20
  "dependencies": {
21
- "@babel/runtime": "^7.19.0",
22
- "@babel/runtime-corejs3": "^7.19.0"
21
+ "@babel/runtime": "^7.20.13",
22
+ "@babel/runtime-corejs3": "^7.20.13"
23
23
  },
24
24
  "devDependencies": {
25
- "redux": "4.2.0"
25
+ "redux": "4.2.1"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "redux": "4.x"