biz9-logic 3.5.33 → 3.5.35

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 +2 -1
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='3.8.3'
1
+ VERSION='3.8.5'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -21,6 +21,7 @@ class DataType {
21
21
  }
22
22
  static DT_ADMIN='admin_biz';
23
23
  static DT_BLANK='blank_biz';
24
+ static DT_BUSINESS='business_biz';
24
25
  static DT_BLOG_POST='blog_post_biz';
25
26
  static DT_CART_ITEM="cart_item_biz";
26
27
  static DT_CATEGORY='category_biz';
@@ -400,7 +401,7 @@ class Storage {
400
401
  static KEY_USER="key_user";
401
402
  static KEY_GUEST="key_guest";
402
403
  static get = (window,key) => {
403
- return window.localStorage.getItem(JSON.parse(key));
404
+ return JSON.parse(window.localStorage.getItem(key));
404
405
  }
405
406
  static set = (window,key,obj) => {
406
407
  window.localStorage.setItem(key,JSON.stringify(obj));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "3.5.33",
3
+ "version": "3.5.35",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"