Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.209.2
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Mar 14, 2024
1 parent 8d01a7f commit dfe9fb3
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ id: 7af97eab-55c6-4515-9255-5a395d0e363d
management:
docChecksum: 354db46ad7c46031799521bd155482f1
docVersion: 1.0.0
speakeasyVersion: 1.207.1
generationVersion: 2.280.6
releaseVersion: 0.5.0
configChecksum: c6ab6d712c441d754a96d3f998b8a899
speakeasyVersion: 1.209.2
generationVersion: 2.281.2
releaseVersion: 0.5.1
configChecksum: 3f6f4053738b2c1ae7903eb2fb03f241
repoURL: https://github.com/unkeyed/speakeasy.git
repoSubDirectory: .
installationURL: https://github.com/unkeyed/speakeasy
Expand All @@ -15,9 +15,9 @@ features:
constsAndDefaults: 0.1.5
core: 3.6.1
flattening: 2.81.1
globalSecurity: 2.82.4
globalSecurity: 2.82.6
globalServerURLs: 2.82.4
responseFormat: 0.2.1
responseFormat: 0.2.2
generatedFiles:
- src/sdk/sdk.ts
- .eslintrc.js
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
typescript:
version: 0.5.0
version: 0.5.1
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,12 @@ Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.207.1 (2.280.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.5.0] .
- [typescript v0.5.0] .

## 2024-03-14 00:02:09
### Changes
Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.209.2 (2.281.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.5.1] .
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openapi",
"version": "0.5.0",
"version": "0.5.1",
"author": "Speakeasy",
"main": "./index.js",
"sideEffects": false,
Expand Down
6 changes: 3 additions & 3 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = Object.freeze({
language: "typescript",
openapiDocVersion: "1.0.0",
sdkVersion: "0.5.0",
genVersion: "2.280.6",
userAgent: "speakeasy-sdk/typescript 0.5.0 2.280.6 1.0.0 openapi",
sdkVersion: "0.5.1",
genVersion: "2.281.2",
userAgent: "speakeasy-sdk/typescript 0.5.1 2.281.2 1.0.0 openapi",
});
2 changes: 1 addition & 1 deletion src/lib/sdks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class ClientSDK {

const username = security?.basic.username || "";
const password = security?.basic.password || "";
if (username) {
if (username || password) {
const encoded = stringToBase64([username, password].join(":"));
headers.set("Authorization", `Basic ${encoded}`);
}
Expand Down

0 comments on commit dfe9fb3

Please sign in to comment.