@tapd/tapd-node-sdk 1.32.0-beta.2 → 1.32.0-beta.4

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/README.md +3 -42
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,29 +4,16 @@
4
4
  > 推荐版本: NodeJs 12.13.0+
5
5
 
6
6
  ## Install
7
- 设置npm工具使用软件源的registry
8
- ```
9
- npm config set registry https://mirrors.tencent.com/npm/
10
- ```
11
7
  安装SDK包
12
8
  ```
13
- npm install @tencent/tapd-node-sdk
9
+ npm install @tapd/tapd-node-sdk
14
10
  ```
15
11
 
16
12
  ## Usage
17
13
 
18
- #### 申请应用
19
- 1. 申请和使用应用
20
- https://o.tapd.woa.com/document/api-doc/API%E6%96%87%E6%A1%A3/%E5%BC%80%E6%94%BE%E5%B9%B3%E5%8F%B0%E5%BA%94%E7%94%A8API%E4%BD%BF%E7%94%A8%E6%8C%87%E5%BC%95.html
21
-
22
- 2. 复制应用ID和密钥
23
- https://o.tapd.woa.com/admin/{你的应用标识}/dashboard
24
- ![Alt](https://o.tapd.woa.com/document/img/tapd_20417300_1638862843_15.png)
25
-
26
-
27
14
  #### DEMO
28
15
  ```javascript
29
- const SDK = require('@tencent/tapd-node-sdk');
16
+ const SDK = require('@tapd/tapd-node-sdk');
30
17
 
31
18
  const api = new SDK({
32
19
  client: 'gggg123', // 你的应用CODE
@@ -70,30 +57,4 @@ api.uploadImage({
70
57
  }).catch(e => console.log(e));
71
58
  ```
72
59
 
73
- #### [查看所有SDK方法和参数](https://o.tapd.woa.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/)
74
-
75
- #### IDC 网络的使用
76
- 1. 怎看自己是不是IDC网络, 查看这个[链接](https://iwiki.woa.com/tencent/static/iwiki-editor-pro/dist/preview.html?space=&page=1227785302&id=131410&name=6997554869969258912(1).MP4&size=1160018&language=zh)
77
-
78
- 2. 如果是IDC网络怎么设置
79
- ```javascript
80
- const SDK = require('@tencent/tapd-node-sdk');
81
-
82
- const api = new SDK({
83
- client: 'gggg123', // 你的应用CODE
84
- secret: '112A5B9F-D7B9-EC9C-B688-24E44F5043C4', // 密钥 注意保密
85
- env: 'idc'
86
- });
87
-
88
- ```
89
-
90
-
91
- ## Artifact
92
- https://mirrors.tencent.com/#/private/npm/detail?repo_id=537&project_name=%40tencent%2Ftapd-node-sdk&search_label=package_name&search_value=tapd-node-sdk&page_num=1
93
-
94
- ## 其他问题
95
-
96
- 提issue可能看不到,找tapd客服解决反馈。
97
-
98
- ## Contributions
99
- 欢迎参与SDK共建!开发&共建流程,请参照 [contributing.md](https://git.woa.com/tapd-plugin-core/tplugin-sdk/blob/dev/CONTRIBUTING.md)。
60
+ #### [查看所有SDK方法和参数](https://o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapd/tapd-node-sdk",
3
- "version": "1.32.0-beta.2",
3
+ "version": "1.32.0-beta.4",
4
4
  "description": "node sdk for open tapd ",
5
5
  "main": "src/index.js",
6
6
  "scripts": {