@larksuiteoapi/node-sdk 1.50.0 → 1.50.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/es/index.js CHANGED
@@ -82916,7 +82916,8 @@ class WSClient {
82916
82916
  // consumed by gateway
82917
82917
  headers: {
82918
82918
  "locale": "zh",
82919
- }
82919
+ },
82920
+ timeout: 15000,
82920
82921
  });
82921
82922
  if (code !== ErrorCode.ok) {
82922
82923
  this.logger.error('[ws]', `code: ${code}, ${code === ErrorCode.system_busy ? msg : 'system busy'}`);
package/lib/index.js CHANGED
@@ -82931,7 +82931,8 @@ class WSClient {
82931
82931
  // consumed by gateway
82932
82932
  headers: {
82933
82933
  "locale": "zh",
82934
- }
82934
+ },
82935
+ timeout: 15000,
82935
82936
  });
82936
82937
  if (code !== ErrorCode.ok) {
82937
82938
  this.logger.error('[ws]', `code: ${code}, ${code === ErrorCode.system_busy ? msg : 'system busy'}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larksuiteoapi/node-sdk",
3
- "version": "1.50.0",
3
+ "version": "1.50.1",
4
4
  "description": "larksuite open sdk for nodejs",
5
5
  "keywords": [
6
6
  "feishu",
package/types/index.d.ts CHANGED
@@ -83,6 +83,7 @@ interface HttpRequestOptions<D> {
83
83
  data?: D;
84
84
  responseType?: ResponseType;
85
85
  paramsSerializer?: (params: Record<string, any>) => string;
86
+ timeout?: number;
86
87
  }
87
88
 
88
89
  interface IRequestOptions {