little-state-machine
Advanced tools
Comparing version 2.5.2 to 2.5.3
@@ -45,5 +45,3 @@ import * as React from 'react'; | ||
window['STATE_MACHINE_LOAD'] = ({ storeName, data, }) => { | ||
if (!storeName && !data) | ||
return; | ||
storageType.setItem(getName(), data || window.localStorage.getItem(storeName)); | ||
storageType.setItem(getName() || STATE_MACHINE_DEBUG_NAME, data || window.localStorage.getItem(storeName)); | ||
}; | ||
@@ -50,0 +48,0 @@ } |
@@ -48,5 +48,3 @@ 'use strict'; | ||
window['STATE_MACHINE_LOAD'] = ({ storeName, data, }) => { | ||
if (!storeName && !data) | ||
return; | ||
storageType.setItem(getName(), data || window.localStorage.getItem(storeName)); | ||
storageType.setItem(getName() || STATE_MACHINE_DEBUG_NAME, data || window.localStorage.getItem(storeName)); | ||
}; | ||
@@ -53,0 +51,0 @@ } |
{ | ||
"name": "little-state-machine", | ||
"version": "2.5.2", | ||
"version": "2.5.3", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.es.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
20300
359