@larksuiteoapi/node-sdk 1.2.1 → 1.2.2

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/es/index.js CHANGED
@@ -18767,6 +18767,7 @@ class Client extends Client$1 {
18767
18767
  this.logger = new LoggerProxy(params.loggerLevel || LoggerLevel.info, params.logger || defaultLogger);
18768
18768
  this.appId = params.appId;
18769
18769
  this.appSecret = params.appSecret;
18770
+ this.disableTokenCache = params.disableTokenCache;
18770
18771
  assert(!this.appId, () => this.logger.error('appId is needed'));
18771
18772
  assert(!this.appSecret, () => this.logger.error('appSecret is needed'));
18772
18773
  this.helpDeskId = params.helpDeskId;
package/lib/index.js CHANGED
@@ -18782,6 +18782,7 @@ class Client extends Client$1 {
18782
18782
  this.logger = new LoggerProxy(params.loggerLevel || exports.LoggerLevel.info, params.logger || defaultLogger);
18783
18783
  this.appId = params.appId;
18784
18784
  this.appSecret = params.appSecret;
18785
+ this.disableTokenCache = params.disableTokenCache;
18785
18786
  assert(!this.appId, () => this.logger.error('appId is needed'));
18786
18787
  assert(!this.appSecret, () => this.logger.error('appSecret is needed'));
18787
18788
  this.helpDeskId = params.helpDeskId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larksuiteoapi/node-sdk",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "larksuite open sdk for nodejs",
5
5
  "keywords": [
6
6
  "feishu",
@@ -54,7 +54,9 @@
54
54
  "rollup-plugin-dts": "^4.2.2",
55
55
  "rollup-plugin-license": "^2.8.1",
56
56
  "ts-jest": "^28.0.5",
57
+ "tsconfig-paths": "^4.0.0",
57
58
  "tslib": "^2.4.0",
59
+ "ts-node": "^10.8.1",
58
60
  "typescript": "^4.7.3"
59
61
  },
60
62
  "publishConfig": {