Skip to content

Commit

Permalink
FABN-1125
Browse files Browse the repository at this point in the history
Change request-timeout type from string to number

Signed-off-by: Vieira Neto <vieiranetoc@gmail.com>
Change-Id: Ib27366771e34adfc0670fe146ea928ebe245d1ff
  • Loading branch information
vieirin committed Feb 6, 2019
1 parent e24ea5c commit ff63a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fabric-client/lib/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ const Client = class extends BaseClient {
* @typedef {Object} ConnectionOpts
* @property {string} name - Optional. To gives this remote endpoint a name.
* The endpoint will be known by its URL if no name is provided.
* @property {string} request-timeout - An integer value in milliseconds to
* @property {number} request-timeout - An integer value in milliseconds to
* be used as maximum amount of time to wait on the request to respond.
* @property {string} pem - The certificate file, in PEM format,
* to use with the gRPC protocol (that is, with TransportCredentials).
Expand Down
2 changes: 1 addition & 1 deletion fabric-client/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ declare namespace Client { // tslint:disable-line:no-namespace
pem?: string;
clientKey?: string;
clientCert?: string;
'request-timeout'?: string;
'request-timeout'?: number;
'ssl-target-name-override'?: string;
[propName: string]: any;
}
Expand Down

0 comments on commit ff63a50

Please sign in to comment.