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
21
21
``` typescript
22
22
import {
23
23
GetApisRequest ,
24
- GetApisResponse
24
+ GetApisResponse
25
25
} from " @speakeasy-api/speakeasy-client-sdk-typescript/dist/sdk/models/operations" ;
26
26
27
27
import { AxiosError } from " axios" ;
Original file line number Diff line number Diff line change @@ -182,4 +182,12 @@ Based on:
182
182
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
183
183
- Speakeasy CLI 1.9.1 https://github.com/speakeasy-api/speakeasy
184
184
### 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 2
2
``` typescript
3
3
import {
4
4
GetApisRequest ,
5
- GetApisResponse
5
+ GetApisResponse
6
6
} from " @speakeasy-api/speakeasy-client-sdk-typescript/dist/sdk/models/operations" ;
7
7
8
8
import { AxiosError } from " axios" ;
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ configVersion: 1.0.0
2
2
management :
3
3
docChecksum : 2bba3b8f9d211b02569b3f9aff0d34b4
4
4
docVersion : 0.3.0
5
- speakeasyVersion : 1.9.1
5
+ speakeasyVersion : 1.9.2
6
6
generation :
7
7
telemetryEnabled : true
8
8
sdkClassName : speakeasy
9
9
sdkFlattening : true
10
10
typescript :
11
- version : 1.9.0
11
+ version : 1.9.1
12
12
author : Speakeasy
13
13
packageName : ' @speakeasy-api/speakeasy-client-sdk-typescript'
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @speakeasy-api/speakeasy-client-sdk-typescript" ,
3
- "version" : " 1.9.0 " ,
3
+ "version" : " 1.9.1 " ,
4
4
"author" : " Speakeasy" ,
5
5
"scripts" : {
6
6
"prepare" : " tsc --build"
Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ export class Speakeasy {
42
42
public _securityClient : AxiosInstance ;
43
43
public _serverURL : string ;
44
44
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 " ;
47
47
48
- constructor ( props : SDKProps ) {
49
- this . _serverURL = props . serverUrl ?? ServerList [ ServerProd ] ;
48
+ constructor ( props ? : SDKProps ) {
49
+ this . _serverURL = props ? .serverUrl ?? ServerList [ ServerProd ] ;
50
50
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 ) {
53
53
let security : shared . Security = props . security ;
54
54
if ( ! ( props . security instanceof utils . SpeakeasyBase ) )
55
55
security = new shared . Security ( props . security ) ;
You can’t perform that action at this time.
0 commit comments