File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " tencent-cloud-sdk" ,
3
3
"description" : " Tencent Cloud SDK For Serverless Framework" ,
4
- "version" : " 0.0.5 " ,
4
+ "version" : " 0.0.7 " ,
5
5
"main" : " ./index.js" ,
6
6
"publishConfig" : {
7
7
"access" : " public"
Original file line number Diff line number Diff line change @@ -126,6 +126,18 @@ class TagClient {
126
126
}
127
127
}
128
128
129
+ class TcbClient {
130
+ constructor ( credentials = { } ) {
131
+ this . credentials = credentials
132
+ }
133
+ async request ( data ) {
134
+ return await new TencentCloudClient ( this . credentials , {
135
+ host : 'tcb.tencentcloudapi.com' ,
136
+ path : '/'
137
+ } ) . doCloudApiRequest ( data )
138
+ }
139
+ }
140
+
129
141
class ApigwClient {
130
142
constructor ( credentials = { } ) {
131
143
this . credentials = credentials
@@ -196,5 +208,6 @@ module.exports = {
196
208
CnsClient,
197
209
ApigwClient,
198
210
DomainClient,
199
- CosClient
211
+ CosClient,
212
+ TcbClient
200
213
}
Original file line number Diff line number Diff line change @@ -6,5 +6,6 @@ module.exports = {
6
6
tag : require ( './client' ) . TagClient ,
7
7
apigw : require ( './client' ) . ApigwClient ,
8
8
domain : require ( './client' ) . DomainClient ,
9
- cos : require ( './client' ) . CosClient
9
+ cos : require ( './client' ) . CosClient ,
10
+ tcb : require ( './client' ) . TcbClient
10
11
}
You can’t perform that action at this time.
0 commit comments