@tapd/tapd-node-sdk 1.46.0 → 1.46.1-alpha.0

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.
@@ -16,16 +16,12 @@ class SDK {
16
16
  accessToken = '',
17
17
  authType = '',
18
18
  rioToken = '',
19
- corpid = '',
20
- corpsecret = '',
21
19
  } = {}) {
22
20
  this.client = client;
23
21
  this.secret = secret;
24
22
  this.address = address;
25
23
  this.axios = Axios(this.address);
26
24
  this.rioToken = rioToken;
27
- this.corpid = corpid;
28
- this.corpsecret = corpsecret;
29
25
 
30
26
  if (authType !== '') {
31
27
  this.authType = authType;
@@ -148,12 +144,6 @@ class SDK {
148
144
  headers.signature = signature;
149
145
  }
150
146
 
151
- // 添加企微数据
152
- if (this.corpid && this.corpsecret) {
153
- params.corpid = this.corpid;
154
- params.corpsecret = this.corpsecret;
155
- }
156
-
157
147
  const config = {
158
148
  ...args,
159
149
  method,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapd/tapd-node-sdk",
3
- "version": "1.46.0",
3
+ "version": "1.46.1-alpha.0",
4
4
  "description": "node sdk for open tapd ",
5
5
  "main": "node-sdk/src/index.js",
6
6
  "scripts": {
@@ -44,5 +44,5 @@
44
44
  "directories": {
45
45
  "test": "test"
46
46
  },
47
- "gitHead": "c34a40669f484a6531a5c7152ca16216e565973c"
47
+ "gitHead": "df561982055a1e7529d2e344646eefcff8393600"
48
48
  }