mirror of
https://github.com/LukeHagar/dub-node.git
synced 2025-12-11 04:19:48 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.260.6 (#81)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
This commit is contained in:
committed by
GitHub
parent
a829b4340d
commit
6a0be4086f
@@ -4,7 +4,7 @@
|
||||
|
||||
import { HTTPClient } from "./http";
|
||||
import { RetryConfig } from "./retries";
|
||||
import { pathToFunc } from "./url";
|
||||
import { Params, pathToFunc } from "./url";
|
||||
|
||||
/**
|
||||
* Contains the list of servers available to the SDK
|
||||
@@ -47,7 +47,7 @@ export type SDKOptions = {
|
||||
export function serverURLFromOptions(options: SDKOptions): URL | null {
|
||||
let serverURL = options.serverURL;
|
||||
|
||||
const params: Record<string, string> = {};
|
||||
const params: Params = {};
|
||||
|
||||
if (!serverURL) {
|
||||
const serverIdx = options.serverIdx ?? 0;
|
||||
@@ -61,10 +61,10 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
||||
return new URL(u);
|
||||
}
|
||||
|
||||
export const SDK_METADATA = Object.freeze({
|
||||
export const SDK_METADATA = {
|
||||
language: "typescript",
|
||||
openapiDocVersion: "0.0.1",
|
||||
sdkVersion: "0.23.1",
|
||||
genVersion: "2.308.2",
|
||||
userAgent: "speakeasy-sdk/typescript 0.23.1 2.308.2 0.0.1 dub",
|
||||
});
|
||||
sdkVersion: "0.24.0",
|
||||
genVersion: "2.311.1",
|
||||
userAgent: "speakeasy-sdk/typescript 0.24.0 2.311.1 0.0.1 dub",
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user