File tree Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 11management :
22 openapi-checksum : 8e8183d84cace76310a3208e63cd7855
33 openapi-version : 0.1.0
4- speakeasy-version : 0.16.0
4+ speakeasy-version : 0.16.1
55telemetryenabled : null
66typescript :
77 author : Speakeasy
88 packagename : ' @speakeasy-api/speakeasy-client-sdk-typescript'
9- version : 0.6.0
9+ version : 0.6.1
Original file line number Diff line number Diff line change 11{
22 "name" : " @speakeasy-api/speakeasy-client-sdk-typescript" ,
3- "version" : " 0.6.0 " ,
3+ "version" : " 0.6.1 " ,
44 "author" : " Speakeasy" ,
55 "scripts" : {
66 "prepare" : " tsc --build"
Original file line number Diff line number Diff line change @@ -39,17 +39,20 @@ export class SDK {
3939 public _securityClient : AxiosInstance ;
4040 public _serverURL : string ;
4141 private _language = "typescript" ;
42- private _sdkVersion = "0.6.0 " ;
43- private _genVersion = "0.16.0 " ;
42+ private _sdkVersion = "0.6.1 " ;
43+ private _genVersion = "0.16.1 " ;
4444
4545 constructor ( props : SDKProps ) {
4646 this . _serverURL = props . serverUrl ?? ServerList [ ServerProd ] ;
4747
4848 this . _defaultClient = props . defaultClient ?? axios . create ( { baseURL : this . _serverURL } ) ;
4949 if ( props . security ) {
50+ let security : Security = props . security ;
51+ if ( ! ( security instanceof utils . SpeakeasyBase ) )
52+ security = new Security ( security ) ;
5053 this . _securityClient = utils . createSecurityClient (
5154 this . _defaultClient ,
52- props . security
55+ security
5356 ) ;
5457 } else {
5558 this . _securityClient = this . _defaultClient ;
You can’t perform that action at this time.
0 commit comments