biz9-logic 4.8.194 → 4.8.196

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.
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='6.7.4'
1
+ VERSION='6.7.6'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -1880,7 +1880,7 @@ class User_Logic {
1880
1880
  return country_state_city;
1881
1881
  }
1882
1882
  static get_guest(){
1883
- return DataItem.get_new(DataType.USER,Num.get_id(999),{is_guest:true,title:"Guest",country:"United States"});
1883
+ return DataItem.get_new(DataType.USER,0,{is_guest:true,title_url:'guest',first_name:'Guest',last_name:'User',email:'guest@email.com',title:"Guest",country:"United States"});
1884
1884
  }
1885
1885
  static get_request_user(req){
1886
1886
  if(!req || !req.session.user){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.194",
3
+ "version": "4.8.196",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/test.js CHANGED
@@ -31,9 +31,13 @@ describe("connect", () => {
31
31
  series([
32
32
 
33
33
  function(call) {
34
- console.log('PRODUCT-URL-START');
35
- console.log(Product_Url.search('cool','google.com'));
36
- console.log('PRODUCT-URL-END');
34
+ console.log('USER-START');
35
+ console.log(User_Logic.get_guest());
36
+ console.log('USER-END');
37
+
38
+ //console.log('PRODUCT-URL-START');
39
+ //console.log(Product_Url.search('cool','google.com'));
40
+ //console.log('PRODUCT-URL-END');
37
41
  //let biz9_config = Scriptz.get_biz9_config({biz9_config_file:path.resolve('../../biz9_config')});
38
42
  //let action_url = 'test_get_url';
39
43
  //let params = '&myparam1=p1&myparam2=p2'