diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 48aa800d..408a9261 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 16f22cbf-f23f-4419-8924-3a4b06381947 management: - docChecksum: 550154cf1b4d0c237436fb18c418b5db + docChecksum: 34d22936f2456c2c461abdfc773e3fc4 docVersion: 0.0.3 speakeasyVersion: internal - generationVersion: 2.225.2 - releaseVersion: 0.3.0 - configChecksum: 03bc1554ced01bb60e8383b315b7625f + generationVersion: 2.228.1 + releaseVersion: 0.3.1 + configChecksum: 708deaec8a7918d4523ce16e1e18874a repoURL: https://github.com/LukeHagar/plexjs.git repoSubDirectory: . installationURL: https://github.com/LukeHagar/plexjs published: true features: typescript: - core: 3.4.1 + core: 3.4.2 flattening: 2.81.1 globalSecurity: 2.82.2 globalServerURLs: 2.82.1 diff --git a/README.md b/README.md index 049943c1..6545d5c4 100644 --- a/README.md +++ b/README.md @@ -202,8 +202,7 @@ You can override the default server globally by passing a server index to the `s | # | Server | Variables | | - | ------ | --------- | -| 0 | `http://10.10.10.47:32400` | None | -| 1 | `{protocol}://{ip}:{port}` | `protocol` (default is `http`), `ip` (default is `10.10.10.47`), `port` (default is `32400`) | +| 0 | `{protocol}://{ip}:{port}` | `protocol` (default is `http`), `ip` (default is `10.10.10.47`), `port` (default is `32400`) | diff --git a/RELEASES.md b/RELEASES.md index 876588f6..720bfed9 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -38,4 +38,14 @@ Based on: ### Generated - [typescript v0.3.0] . ### Releases -- [NPM v0.3.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.3.0 - . \ No newline at end of file +- [NPM v0.3.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.3.0 - . + +## 2024-01-05 19:51:02 +### Changes +Based on: +- OpenAPI Doc 0.0.3 +- Speakeasy CLI 1.133.1 (2.228.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.3.1] . +### Releases +- [NPM v0.3.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.3.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 8419f744..1807baad 100755 --- a/gen.yaml +++ b/gen.yaml @@ -8,7 +8,7 @@ generation: fixes: nameResolutionDec2023: false typescript: - version: 0.3.0 + version: 0.3.1 author: LukeHagar clientServerStatusCodesAsErrors: true flattenGlobalSecurity: true diff --git a/package-lock.json b/package-lock.json index c0b0bd15..5ddb26d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lukehagar/plexjs", - "version": "0.3.0", + "version": "0.3.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@lukehagar/plexjs", - "version": "0.3.0", + "version": "0.3.1", "dependencies": { "decimal.js": "^10.4.3", "jsonpath": "^1.1.1" diff --git a/package.json b/package.json index d7f18ddb..0b9ad270 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "type": "commonjs", "name": "@lukehagar/plexjs", - "version": "0.3.0", + "version": "0.3.1", "author": "LukeHagar", "main": "./index.js", "sideEffects": false, diff --git a/src/lib/config.ts b/src/lib/config.ts index 1e580d6d..56972782 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -10,10 +10,6 @@ import { RetryConfig } from "./retries"; * Contains the list of servers available to the SDK */ export const ServerList = [ - /** - * The full address of your Plex Server - */ - "http://10.10.10.47:32400", /** * The full address of your Plex Server */ @@ -62,7 +58,6 @@ export function serverURLFromOptions(options: SDKOptions): URL { let serverURL = options.serverURL; const serverParams = [ - {}, { protocol: options.protocol?.toString() ?? "http", ip: options.ip?.toString() ?? "10.10.10.47", @@ -84,7 +79,7 @@ export function serverURLFromOptions(options: SDKOptions): URL { export const SDK_METADATA = Object.freeze({ language: "typescript", openapiDocVersion: "0.0.3", - sdkVersion: "0.3.0", - genVersion: "2.225.2", - userAgent: "speakeasy-sdk/typescript 0.3.0 2.225.2 0.0.3 @lukehagar/plexjs", + sdkVersion: "0.3.1", + genVersion: "2.228.1", + userAgent: "speakeasy-sdk/typescript 0.3.1 2.228.1 0.0.3 @lukehagar/plexjs", });