react-dynamic-help
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -158,2 +158,3 @@ "use strict"; | ||
this.resetHelp = () => { | ||
console.log("Info: resetting help system state"); | ||
this.systemState = _resetState; | ||
@@ -160,0 +161,0 @@ this.propagateSystemState(); |
@@ -33,6 +33,4 @@ "use strict"; | ||
function set(key, value) { | ||
console.log("storing:", value); | ||
//console.log("storing:", value); | ||
store[key] = value; | ||
const savedValue = JSON.stringify(value); | ||
console.log("JSON:", savedValue); | ||
safeLocalStorageSet(`dynamic-help.${key}`, JSON.stringify(value, (_key, value) => value instanceof Set ? [...value] : value)); | ||
@@ -39,0 +37,0 @@ return value; |
@@ -132,2 +132,3 @@ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime"; | ||
this.resetHelp = () => { | ||
console.log("Info: resetting help system state"); | ||
this.systemState = _resetState; | ||
@@ -134,0 +135,0 @@ this.propagateSystemState(); |
@@ -30,6 +30,4 @@ /* | ||
export function set(key, value) { | ||
console.log("storing:", value); | ||
//console.log("storing:", value); | ||
store[key] = value; | ||
const savedValue = JSON.stringify(value); | ||
console.log("JSON:", savedValue); | ||
safeLocalStorageSet(`dynamic-help.${key}`, JSON.stringify(value, (_key, value) => value instanceof Set ? [...value] : value)); | ||
@@ -36,0 +34,0 @@ return value; |
{ | ||
"name": "react-dynamic-help", | ||
"description": "React Dynamic Help - Create flows of helpful popups in your React App", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
94443
1974