@fluid-topics/ft-wc-utils
Advanced tools
Comparing version 0.1.3 to 0.1.5
@@ -15,3 +15,3 @@ import { FtLitElement } from "./FtLitElement"; | ||
interface Window { | ||
reduxStores?: Record<string, Store>; | ||
ftReduxStores?: Record<string, Store>; | ||
} | ||
@@ -18,0 +18,0 @@ } |
@@ -39,13 +39,13 @@ import { FtLitElement } from "./FtLitElement"; | ||
export function getStore(slice) { | ||
if (!window.reduxStores) { | ||
window.reduxStores = {}; | ||
if (!window.ftReduxStores) { | ||
window.ftReduxStores = {}; | ||
} | ||
const name = slice.name; | ||
if (!window.reduxStores[name]) { | ||
window.reduxStores[name] = configureStore({ | ||
if (!window.ftReduxStores[name]) { | ||
window.ftReduxStores[name] = configureStore({ | ||
reducer: slice.reducer | ||
}); | ||
} | ||
return window.reduxStores[name]; | ||
return window.ftReduxStores[name]; | ||
} | ||
//# sourceMappingURL=redux.js.map |
{ | ||
"name": "@fluid-topics/ft-wc-utils", | ||
"version": "0.1.3", | ||
"version": "0.1.5", | ||
"description": "Internal web components tools", | ||
@@ -21,3 +21,3 @@ "author": "Fluid Topics <devtopics@antidot.net>", | ||
}, | ||
"gitHead": "2fa53411ddb04226db4922bd0ad671fb2aed389c" | ||
"gitHead": "f16aecf32336c8e05fe0898ccc3f4a25fd5be6a2" | ||
} |
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
33394