@wildberries/notifications
Advanced tools
Comparing version 0.0.10-beta.1 to 0.0.10-beta.2
@@ -1,1 +0,1 @@ | ||
export declare const REDUCER_NAME = "@notifications-reducer"; | ||
export declare const NOTIFICATIONS_REDUCER_NAME = "@notifications-reducer"; |
@@ -1,1 +0,1 @@ | ||
export var REDUCER_NAME = '@notifications-reducer'; | ||
export var NOTIFICATIONS_REDUCER_NAME = '@notifications-reducer'; |
import { createSelector } from 'reselect'; | ||
import { REDUCER_NAME } from './constants'; | ||
import { NOTIFICATIONS_REDUCER_NAME } from './constants'; | ||
import { initialState } from './reducer'; | ||
var modalStorageSelector = function (store) { | ||
return store[REDUCER_NAME] || initialState; | ||
return store[NOTIFICATIONS_REDUCER_NAME] || initialState; | ||
}; | ||
@@ -7,0 +7,0 @@ export var getModalStackSelector = createSelector([modalStorageSelector], function (_a) { |
import { MouseEvent } from 'react'; | ||
import { notificationIconStatus } from '../constants'; | ||
import { REDUCER_NAME } from '../redux-module/constants'; | ||
import { NOTIFICATIONS_REDUCER_NAME } from '../redux-module/constants'; | ||
export declare type IMakeExternalActionParams = { | ||
@@ -27,3 +27,3 @@ id: string; | ||
export interface INotificationsStoragePart { | ||
[REDUCER_NAME]: INotificationsStorage; | ||
[NOTIFICATIONS_REDUCER_NAME]: INotificationsStorage; | ||
} | ||
@@ -30,0 +30,0 @@ export declare type BaseAction = () => { |
@@ -1,1 +0,1 @@ | ||
import { REDUCER_NAME } from '../redux-module/constants'; | ||
import { NOTIFICATIONS_REDUCER_NAME } from '../redux-module/constants'; |
{ | ||
"name": "@wildberries/notifications", | ||
"version": "0.0.10-beta.1", | ||
"version": "0.0.10-beta.2", | ||
"description": "notifications module", | ||
@@ -105,2 +105,2 @@ "main": "dist/index.js", | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47362