File tree Expand file tree Collapse file tree 7 files changed +22
-14
lines changed Expand file tree Collapse file tree 7 files changed +22
-14
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ yarn add @speakeasy-api/speakeasy-client-sdk-typescript
2121``` typescript
2222import {
2323 GetApisRequest ,
24- GetApisResponse
24+ GetApisResponse
2525} from " @speakeasy-api/speakeasy-client-sdk-typescript/dist/sdk/models/operations" ;
2626
2727import { AxiosError } from " axios" ;
Original file line number Diff line number Diff line change @@ -182,4 +182,12 @@ Based on:
182182- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
183183- Speakeasy CLI 1.9.1 https://github.com/speakeasy-api/speakeasy
184184### Releases
185- - [ NPM v1.9.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.9.0 - .
185+ - [ NPM v1.9.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.9.0 - .
186+
187+ ## 2023-03-11 00:10:22
188+ ### Changes
189+ Based on:
190+ - OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
191+ - Speakeasy CLI 1.9.2 https://github.com/speakeasy-api/speakeasy
192+ ### Releases
193+ - [ NPM v1.9.1] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.9.1 - .
Original file line number Diff line number Diff line change 22``` typescript
33import {
44 GetApisRequest ,
5- GetApisResponse
5+ GetApisResponse
66} from " @speakeasy-api/speakeasy-client-sdk-typescript/dist/sdk/models/operations" ;
77
88import { AxiosError } from " axios" ;
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ configVersion: 1.0.0
22management :
33 docChecksum : 2bba3b8f9d211b02569b3f9aff0d34b4
44 docVersion : 0.3.0
5- speakeasyVersion : 1.9.1
5+ speakeasyVersion : 1.9.2
66generation :
77 telemetryEnabled : true
88 sdkClassName : speakeasy
99 sdkFlattening : true
1010typescript :
11- version : 1.9.0
11+ version : 1.9.1
1212 author : Speakeasy
1313 packageName : ' @speakeasy-api/speakeasy-client-sdk-typescript'
Original file line number Diff line number Diff line change 11{
22 "name" : " @speakeasy-api/speakeasy-client-sdk-typescript" ,
3- "version" : " 1.9.0 " ,
3+ "version" : " 1.9.1 " ,
44 "author" : " Speakeasy" ,
55 "scripts" : {
66 "prepare" : " tsc --build"
Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ export class Speakeasy {
4242 public _securityClient : AxiosInstance ;
4343 public _serverURL : string ;
4444 private _language = "typescript" ;
45- private _sdkVersion = "1.9.0 " ;
46- private _genVersion = "1.9.1 " ;
45+ private _sdkVersion = "1.9.1 " ;
46+ private _genVersion = "1.9.2 " ;
4747
48- constructor ( props : SDKProps ) {
49- this . _serverURL = props . serverUrl ?? ServerList [ ServerProd ] ;
48+ constructor ( props ? : SDKProps ) {
49+ this . _serverURL = props ? .serverUrl ?? ServerList [ ServerProd ] ;
5050
51- this . _defaultClient = props . defaultClient ?? axios . create ( { baseURL : this . _serverURL } ) ;
52- if ( props . security ) {
51+ this . _defaultClient = props ? .defaultClient ?? axios . create ( { baseURL : this . _serverURL } ) ;
52+ if ( props ? .security ) {
5353 let security : shared . Security = props . security ;
5454 if ( ! ( props . security instanceof utils . SpeakeasyBase ) )
5555 security = new shared . Security ( props . security ) ;
You can’t perform that action at this time.
0 commit comments