Skip to content

Commit 20d2e67

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.9.2
1 parent f62e8b7 commit 20d2e67

File tree

7 files changed

+22
-14
lines changed

7 files changed

+22
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ yarn add @speakeasy-api/speakeasy-client-sdk-typescript
2121
```typescript
2222
import {
2323
GetApisRequest,
24-
GetApisResponse
24+
GetApisResponse
2525
} from "@speakeasy-api/speakeasy-client-sdk-typescript/dist/sdk/models/operations";
2626

2727
import { AxiosError } from "axios";

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff 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 - .

USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
```typescript
33
import {
44
GetApisRequest,
5-
GetApisResponse
5+
GetApisResponse
66
} from "@speakeasy-api/speakeasy-client-sdk-typescript/dist/sdk/models/operations";
77

88
import { AxiosError } from "axios";

gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 2bba3b8f9d211b02569b3f9aff0d34b4
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.9.1
5+
speakeasyVersion: 1.9.2
66
generation:
77
telemetryEnabled: true
88
sdkClassName: speakeasy
99
sdkFlattening: true
1010
typescript:
11-
version: 1.9.0
11+
version: 1.9.1
1212
author: Speakeasy
1313
packageName: '@speakeasy-api/speakeasy-client-sdk-typescript'

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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"

src/sdk/sdk.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)