biz9-logic 3.5.31 → 3.5.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/biz9_config +1 -1
  2. package/index.js +8 -8
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='3.8.1'
1
+ VERSION='3.8.2'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -396,17 +396,17 @@ class Schedule {
396
396
  }
397
397
  };
398
398
  class Storage {
399
- static get = (key) =>{
400
- return localStorage.getItem(key);
399
+ static get = (window,key) => {
400
+ return window.localStorage.getItem(key);
401
401
  }
402
- static set = (key,value) =>{
403
- localStorage.setItem(key,value);
402
+ static set = (window,key,value) => {
403
+ window.localStorage.setItem(key,value);
404
404
  }
405
- static remove = (key) =>{
406
- localStorage.removeItem(key);
405
+ static remove = (window,key) =>{
406
+ window.localStorage.removeItem(key);
407
407
  }
408
- static clear = () =>{
409
- localStorage.clear();
408
+ static clear = (window) =>{
409
+ window.localStorage.clear();
410
410
  }
411
411
  }
412
412
  module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "3.5.31",
3
+ "version": "3.5.32",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"