Compare commits

...

2 Commits

Author SHA1 Message Date
speakeasy-github
fd886229c2 chore: update dependencies 2024-03-14 00:27:53 +00:00
speakeasybot
8a8615f241 ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.209.2 2024-03-14 00:26:50 +00:00
7 changed files with 25 additions and 15 deletions

View File

@@ -3,10 +3,10 @@ id: 16f22cbf-f23f-4419-8924-3a4b06381947
management:
docChecksum: e34dac84738ebf2d447ea2b9055a6eeb
docVersion: 0.0.3
speakeasyVersion: 1.207.1
generationVersion: 2.280.6
releaseVersion: 0.10.1
configChecksum: 726b0f7d4f020a007a232a1cfe026ef0
speakeasyVersion: 1.209.2
generationVersion: 2.281.2
releaseVersion: 0.10.2
configChecksum: 15703b0c823b93c6420c88f60683a77c
repoURL: https://github.com/LukeHagar/plexjs.git
repoSubDirectory: .
installationURL: https://github.com/LukeHagar/plexjs
@@ -16,11 +16,11 @@ 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
methodServerURLs: 2.82.1
nameOverrides: 2.81.1
responseFormat: 0.2.1
responseFormat: 0.2.2
generatedFiles:
- src/sdk/server.ts
- src/sdk/media.ts

View File

@@ -238,4 +238,14 @@ Based on:
### Generated
- [typescript v0.10.1] .
### Releases
- [NPM v0.10.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.10.1 - .
- [NPM v0.10.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.10.1 - .
## 2024-03-14 00:25:24
### Changes
Based on:
- OpenAPI Doc 0.0.3
- Speakeasy CLI 1.209.2 (2.281.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.10.2] .
### Releases
- [NPM v0.10.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.10.2 - .

View File

@@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
typescript:
version: 0.10.1
version: 0.10.2
additionalDependencies:
dependencies: {}
devDependencies: {}

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@lukehagar/plexjs",
"version": "0.10.1",
"version": "0.10.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@lukehagar/plexjs",
"version": "0.10.1",
"version": "0.10.2",
"devDependencies": {
"@types/jsonpath": "^0.2.4",
"@typescript-eslint/eslint-plugin": "^6.13.2",

View File

@@ -1,6 +1,6 @@
{
"name": "@lukehagar/plexjs",
"version": "0.10.1",
"version": "0.10.2",
"author": "LukeHagar",
"main": "./index.js",
"sideEffects": false,

View File

@@ -82,7 +82,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = Object.freeze({
language: "typescript",
openapiDocVersion: "0.0.3",
sdkVersion: "0.10.1",
genVersion: "2.280.6",
userAgent: "speakeasy-sdk/typescript 0.10.1 2.280.6 0.0.3 @lukehagar/plexjs",
sdkVersion: "0.10.2",
genVersion: "2.281.2",
userAgent: "speakeasy-sdk/typescript 0.10.2 2.281.2 0.0.3 @lukehagar/plexjs",
});

View File

@@ -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}`);
}