Skip to content

Commit 503c6ca

Browse files
committed
ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.31.1
1 parent c8d562f commit 503c6ca

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,4 +438,12 @@ Based on:
438438
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
439439
- Speakeasy CLI 1.30.1 (2.26.4) https://github.com/speakeasy-api/speakeasy
440440
### Releases
441-
- [NPM v1.23.4] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.23.4 - .
441+
- [NPM v1.23.4] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.23.4 - .
442+
443+
## 2023-05-13 00:10:23
444+
### Changes
445+
Based on:
446+
- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
447+
- Speakeasy CLI 1.31.1 (2.27.0) https://github.com/speakeasy-api/speakeasy
448+
### Releases
449+
- [NPM v1.24.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.24.0 - .

gen.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 2bba3b8f9d211b02569b3f9aff0d34b4
44
docVersion: 0.3.0
5-
speakeasyVersion: 1.30.1
6-
generationVersion: 2.26.4
5+
speakeasyVersion: 1.31.1
6+
generationVersion: 2.27.0
77
generation:
88
telemetryEnabled: true
99
sdkClassName: speakeasy
1010
singleTagPerOp: false
1111
typescript:
12-
version: 1.23.4
12+
version: 1.24.0
1313
author: Speakeasy
1414
maxMethodParams: 0
1515
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.23.4",
3+
"version": "1.24.0",
44
"author": "Speakeasy",
55
"scripts": {
66
"prepare": "tsc --build"

src/internal/utils/security.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function parseSecuritySchemeValue(
185185
case "basic":
186186
break;
187187
case "bearer":
188-
client.defaults.headers.common[securityDecorator.Name] = value;
188+
client.defaults.headers.common[securityDecorator.Name] = value.toLowerCase().startsWith("bearer ") ? value : `Bearer ${value}`;
189189
break;
190190
default:
191191
throw new Error("not supported");

src/sdk/sdk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ export class Speakeasy {
8181
public _securityClient: AxiosInstance;
8282
public _serverURL: string;
8383
private _language = "typescript";
84-
private _sdkVersion = "1.23.4";
85-
private _genVersion = "2.26.4";
84+
private _sdkVersion = "1.24.0";
85+
private _genVersion = "2.27.0";
8686
private _globals: any;
8787

8888
constructor(props?: SDKProps) {

0 commit comments

Comments
 (0)