biz9-logic 2.0.1 → 2.0.4

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='2.0.1'
1
+ VERSION='2.0.4'
2
2
  TITLE='BiZ9-Logic'
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git'
4
4
  BRANCH='main'
package/index.js CHANGED
@@ -31,6 +31,10 @@ class Cloud {
31
31
  static get_url = (action_url)=>{
32
32
  return get_cloud_url_main(global.APP_TITLE_ID,global.CLOUD_URL,global.CLOUD_PORT_ID,action_url);
33
33
  }
34
+ static get_url_action_connect = () => {
35
+ let action_url= "main/test/connect/"
36
+ return get_cloud_url_main(global.APP_TITLE_ID,global.CLOUD_URL,global.CLOUD_PORT_ID,action_url);
37
+ };
34
38
  static get_url_action_update_item = (data_type,id) => {
35
39
  let action_url= "main/crud/update/"+data_type + "/" + id;
36
40
  return get_cloud_url_main(global.APP_TITLE_ID,global.CLOUD_URL,global.CLOUD_PORT_ID,action_url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "2.0.1",
3
+ "version": "2.0.4",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/test.js CHANGED
@@ -1,6 +1,6 @@
1
1
  const series = require('async-series');
2
2
  const {Log,Test} = require('biz9-utility');
3
- const { get_data_config, Item, get_cloud_url,get_cloud_url_action_update_item,get_cloud_url_action_get_item, get_cloud_url_action_get_list,get_cloud_url_action_update_list,get_cloud_url_action_delete_item, get_cloud_url_action_delete_list, Cloud }= require('./');
3
+ const { Item, Cloud }= require('./');
4
4
 
5
5
  /* --- TEST CONFIG START --- */
6
6
  //const ID='0';
@@ -30,7 +30,7 @@ describe("connect", () => {
30
30
  series([
31
31
  function(call) {
32
32
  console.log('CONNECT-START');
33
- let cloud_url = Cloud.get_url('aa');
33
+ let cloud_url = Cloud.get_url_action_connect();
34
34
  Log.w('connect_url',cloud_url);
35
35
  call()
36
36
  },