apass-opensdk-hugong 1.0.4 → 1.0.5

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 (2) hide show
  1. package/index.js +4 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -10,10 +10,6 @@ class HG{
10
10
  #app_secret
11
11
  constructor(logger){
12
12
  this.setLogger(logger)
13
- this._time = null
14
- }
15
- setLogger(logger){
16
- this.#logger = logger
17
13
  this.users = new Users(this)
18
14
  this.document = new Document(this)
19
15
  this.employee = new Employee(this)
@@ -21,6 +17,10 @@ class HG{
21
17
  this.object = new Object_(this)
22
18
 
23
19
  this.utils = new Utils(this)
20
+ this._time = null
21
+ }
22
+ setLogger(logger){
23
+ this.#logger = logger
24
24
  }
25
25
  /**
26
26
  * 运行函数
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apass-opensdk-hugong",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "飞书Apass低代码平台-飞书开放平台-相关的接口整合和常用的方法整合",
5
5
  "main": "index.js",
6
6
  "scripts": {