little-state-machine
Advanced tools
Comparing version 2.5.0-beta.2 to 2.5.0-beta.3
@@ -42,3 +42,3 @@ import * as React from 'react'; | ||
window['STATE_MACHINE_SAVE_TO'] = (name) => { | ||
storageType.setItem(name, getStore()); | ||
storageType.setItem(name, JSON.stringify(getStore())); | ||
}; | ||
@@ -45,0 +45,0 @@ window['STATE_MACHINE_LOAD'] = ({ storeName, data, }) => { |
@@ -45,3 +45,3 @@ 'use strict'; | ||
window['STATE_MACHINE_SAVE_TO'] = (name) => { | ||
storageType.setItem(name, getStore()); | ||
storageType.setItem(name, JSON.stringify(getStore())); | ||
}; | ||
@@ -48,0 +48,0 @@ window['STATE_MACHINE_LOAD'] = ({ storeName, data, }) => { |
{ | ||
"name": "little-state-machine", | ||
"version": "2.5.0-beta.2", | ||
"version": "2.5.0-beta.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
20176