@larksuiteoapi/node-sdk 1.47.0 → 1.47.1

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/README.md CHANGED
@@ -61,7 +61,7 @@ The SDK provides a semantic calling method. You only need to construct a client
61
61
  ```typescript
62
62
  import * as lark from '@larksuiteoapi/node-sdk';
63
63
 
64
- const client = new lark. Client({
64
+ const client = new lark.Client({
65
65
  appId: 'app id',
66
66
  appSecret: 'app secret',
67
67
  appType: lark.AppType.SelfBuild,
package/es/index.js CHANGED
@@ -80326,7 +80326,7 @@ class EventDispatcher {
80326
80326
  invoke(data, params) {
80327
80327
  var _a, _b;
80328
80328
  return __awaiter(this, void 0, void 0, function* () {
80329
- const needCheck = (params === null || params === void 0 ? void 0 : params.needCheck) || true;
80329
+ const needCheck = (params === null || params === void 0 ? void 0 : params.needCheck) === false ? false : true;
80330
80330
  if (needCheck && !((_a = this.requestHandle) === null || _a === void 0 ? void 0 : _a.checkIsEventValidated(data))) {
80331
80331
  this.logger.warn('verification failed event');
80332
80332
  return undefined;
package/lib/index.js CHANGED
@@ -80341,7 +80341,7 @@ class EventDispatcher {
80341
80341
  invoke(data, params) {
80342
80342
  var _a, _b;
80343
80343
  return __awaiter(this, void 0, void 0, function* () {
80344
- const needCheck = (params === null || params === void 0 ? void 0 : params.needCheck) || true;
80344
+ const needCheck = (params === null || params === void 0 ? void 0 : params.needCheck) === false ? false : true;
80345
80345
  if (needCheck && !((_a = this.requestHandle) === null || _a === void 0 ? void 0 : _a.checkIsEventValidated(data))) {
80346
80346
  this.logger.warn('verification failed event');
80347
80347
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larksuiteoapi/node-sdk",
3
- "version": "1.47.0",
3
+ "version": "1.47.1",
4
4
  "description": "larksuite open sdk for nodejs",
5
5
  "keywords": [
6
6
  "feishu",