Skip to content

Commit c31ba1c

Browse files
committed
generate new dist
1 parent 7b031fb commit c31ba1c

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

dist/index.js

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3556,7 +3556,7 @@ class Client {
35563556
* @param config config contains the necessary information to create a client
35573557
*/
35583558
constructor(config) {
3559-
if (tea_util_1.default.isUnset($tea.toMap(config))) {
3559+
if (tea_util_1.default.isUnset(config)) {
35603560
throw $tea.newError({
35613561
code: "ParameterMissing",
35623562
message: "'config' can not be unset",
@@ -3651,7 +3651,7 @@ class Client {
36513651
request_.pathname = "/";
36523652
let globalQueries = {};
36533653
let globalHeaders = {};
3654-
if (!tea_util_1.default.isUnset($tea.toMap(this._globalParameters))) {
3654+
if (!tea_util_1.default.isUnset(this._globalParameters)) {
36553655
let globalParams = this._globalParameters;
36563656
if (!tea_util_1.default.isUnset(globalParams.queries)) {
36573657
globalQueries = globalParams.queries;
@@ -3816,7 +3816,7 @@ class Client {
38163816
request_.pathname = pathname;
38173817
let globalQueries = {};
38183818
let globalHeaders = {};
3819-
if (!tea_util_1.default.isUnset($tea.toMap(this._globalParameters))) {
3819+
if (!tea_util_1.default.isUnset(this._globalParameters)) {
38203820
let globalParams = this._globalParameters;
38213821
if (!tea_util_1.default.isUnset(globalParams.queries)) {
38223822
globalQueries = globalParams.queries;
@@ -3975,7 +3975,7 @@ class Client {
39753975
request_.pathname = pathname;
39763976
let globalQueries = {};
39773977
let globalHeaders = {};
3978-
if (!tea_util_1.default.isUnset($tea.toMap(this._globalParameters))) {
3978+
if (!tea_util_1.default.isUnset(this._globalParameters)) {
39793979
let globalParams = this._globalParameters;
39803980
if (!tea_util_1.default.isUnset(globalParams.queries)) {
39813981
globalQueries = globalParams.queries;
@@ -4132,7 +4132,7 @@ class Client {
41324132
request_.pathname = params.pathname;
41334133
let globalQueries = {};
41344134
let globalHeaders = {};
4135-
if (!tea_util_1.default.isUnset($tea.toMap(this._globalParameters))) {
4135+
if (!tea_util_1.default.isUnset(this._globalParameters)) {
41364136
let globalParams = this._globalParameters;
41374137
if (!tea_util_1.default.isUnset(globalParams.queries)) {
41384138
globalQueries = globalParams.queries;
@@ -4322,7 +4322,7 @@ class Client {
43224322
let headers = this.getRpcHeaders();
43234323
let globalQueries = {};
43244324
let globalHeaders = {};
4325-
if (!tea_util_1.default.isUnset($tea.toMap(this._globalParameters))) {
4325+
if (!tea_util_1.default.isUnset(this._globalParameters)) {
43264326
let globalParams = this._globalParameters;
43274327
if (!tea_util_1.default.isUnset(globalParams.queries)) {
43284328
globalQueries = globalParams.queries;
@@ -4402,7 +4402,7 @@ class Client {
44024402
throw $tea.newUnretryableError(_lastRequest);
44034403
}
44044404
async callApi(params, request, runtime) {
4405-
if (tea_util_1.default.isUnset($tea.toMap(params))) {
4405+
if (tea_util_1.default.isUnset(params)) {
44064406
throw $tea.newError({
44074407
code: "ParameterMissing",
44084408
message: "'params' can not be unset",
@@ -4508,6 +4508,13 @@ class Client {
45084508
});
45094509
}
45104510
}
4511+
/**
4512+
* set gateway client
4513+
* @param spi.
4514+
*/
4515+
setGatewayClient(spi) {
4516+
this._spi = spi;
4517+
}
45114518
/**
45124519
* set RPC header for debug
45134520
* @param headers headers for debug, this header can be used only once.
@@ -6204,6 +6211,9 @@ class RuntimeOptions extends $tea.Model {
62046211
return {
62056212
autoretry: 'autoretry',
62066213
ignoreSSL: 'ignoreSSL',
6214+
key: 'key',
6215+
cert: 'cert',
6216+
ca: 'ca',
62076217
maxAttempts: 'max_attempts',
62086218
backoffPolicy: 'backoff_policy',
62096219
backoffPeriod: 'backoff_period',
@@ -6220,6 +6230,9 @@ class RuntimeOptions extends $tea.Model {
62206230
return {
62216231
autoretry: 'boolean',
62226232
ignoreSSL: 'boolean',
6233+
key: 'string',
6234+
cert: 'string',
6235+
ca: 'string',
62236236
maxAttempts: 'number',
62246237
backoffPolicy: 'string',
62256238
backoffPeriod: 'number',

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)