biz9-logic 4.8.197 → 4.8.200

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 +4 -4
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='6.7.7'
1
+ VERSION='6.8.0'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -1835,21 +1835,21 @@ class Storage {
1835
1835
  return null;
1836
1836
  }
1837
1837
  }
1838
- static set = (window,key,obj) => {
1838
+ static post = (window,key,obj) => {
1839
1839
  if(!Obj.check_is_empty(window)){
1840
1840
  if(window.localStorage){
1841
1841
  window.localStorage.setItem(key,JSON.stringify(obj));
1842
1842
  }
1843
1843
  }
1844
1844
  }
1845
- static remove = (window,key) =>{
1845
+ static delete = (window,key) =>{
1846
1846
  if(!Obj.check_is_empty(window)){
1847
1847
  if(window.localStorage){
1848
1848
  window.localStorage.removeItem(key);
1849
1849
  }
1850
1850
  }
1851
1851
  }
1852
- static clear = (window) =>{
1852
+ static delete_all = (window) =>{
1853
1853
  if(!Obj.check_is_empty(window)){
1854
1854
  if(window.localStorage){
1855
1855
  window.localStorage.clear();
@@ -1900,7 +1900,7 @@ class User_Logic {
1900
1900
  }
1901
1901
  return req.session.user;
1902
1902
  }
1903
- static set_request_user(req){
1903
+ static post_request_user(req){
1904
1904
  req.session.user=user;
1905
1905
  }
1906
1906
  static del_request_user(req){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.197",
3
+ "version": "4.8.200",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"