tencentcloud-sdk-nodejs 4.0.364 → 4.0.365
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/CHANGELOG.md +21 -0
- package/SERVICE_CHANGELOG.md +33 -225
- package/package.json +1 -1
- package/products.md +1 -1
- package/src/common/sdk_version.ts +1 -1
- package/src/services/tbaas/v20180416/tbaas_client.ts +111 -63
- package/src/services/tbaas/v20180416/tbaas_models.ts +1199 -1014
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +17 -1
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +24 -0
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +1160 -1003
- package/test/tbaas.v20180416.test.js +40 -0
|
@@ -228,6 +228,16 @@ it("tbaas.v20180416.BlockByNumberHandler", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
+
it("tbaas.v20180416.QueryChainMakerDemoTransaction", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.QueryChainMakerDemoTransaction({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
231
241
|
it("tbaas.v20180416.GetInvokeTx", async function () {
|
|
232
242
|
try {
|
|
233
243
|
const data = await client.GetInvokeTx({})
|
|
@@ -278,6 +288,16 @@ it("tbaas.v20180416.InitializeChaincodeForUser", async function () {
|
|
|
278
288
|
}
|
|
279
289
|
})
|
|
280
290
|
|
|
291
|
+
it("tbaas.v20180416.QueryChainMakerDemoContract", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.QueryChainMakerDemoContract({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
281
301
|
it("tbaas.v20180416.DeployDynamicContractHandler", async function () {
|
|
282
302
|
try {
|
|
283
303
|
const data = await client.DeployDynamicContractHandler({})
|
|
@@ -328,6 +348,16 @@ it("tbaas.v20180416.SendTransactionHandler", async function () {
|
|
|
328
348
|
}
|
|
329
349
|
})
|
|
330
350
|
|
|
351
|
+
it("tbaas.v20180416.InvokeChainMakerDemoContract", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.InvokeChainMakerDemoContract({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
331
361
|
it("tbaas.v20180416.GetChaincodeCompileLogForUser", async function () {
|
|
332
362
|
try {
|
|
333
363
|
const data = await client.GetChaincodeCompileLogForUser({})
|
|
@@ -368,6 +398,16 @@ it("tbaas.v20180416.Query", async function () {
|
|
|
368
398
|
}
|
|
369
399
|
})
|
|
370
400
|
|
|
401
|
+
it("tbaas.v20180416.QueryChainMakerDemoBlockTransaction", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.QueryChainMakerDemoBlockTransaction({})
|
|
404
|
+
expect(data).to.be.ok
|
|
405
|
+
} catch(error) {
|
|
406
|
+
expect(error.requestId).to.be.ok
|
|
407
|
+
expect(error.code).to.be.ok
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
|
|
371
411
|
it("tbaas.v20180416.GetBlockListHandler", async function () {
|
|
372
412
|
try {
|
|
373
413
|
const data = await client.GetBlockListHandler({})
|