mirror of
https://github.com/LukeHagar/dub-node.git
synced 2025-12-07 20:37:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.296.1 (#112)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
This commit is contained in:
committed by
GitHub
parent
9bd96c83d3
commit
ca7464e631
@@ -3,10 +3,10 @@ id: f28179cc-ef59-426d-9e85-60cec22fc642
|
|||||||
management:
|
management:
|
||||||
docChecksum: e93bbcff56bcb0510ebfb526412ef8a9
|
docChecksum: e93bbcff56bcb0510ebfb526412ef8a9
|
||||||
docVersion: 0.0.1
|
docVersion: 0.0.1
|
||||||
speakeasyVersion: 1.295.1
|
speakeasyVersion: 1.296.1
|
||||||
generationVersion: 2.335.5
|
generationVersion: 2.338.1
|
||||||
releaseVersion: 0.29.7
|
releaseVersion: 0.29.8
|
||||||
configChecksum: 4ed5347cd2de9537850aed0492bdace8
|
configChecksum: 7fa1e2abca84e8cf14af404198b0660e
|
||||||
repoURL: https://github.com/dubinc/dub-node.git
|
repoURL: https://github.com/dubinc/dub-node.git
|
||||||
installationURL: https://github.com/dubinc/dub-node
|
installationURL: https://github.com/dubinc/dub-node
|
||||||
published: true
|
published: true
|
||||||
@@ -14,7 +14,7 @@ features:
|
|||||||
typescript:
|
typescript:
|
||||||
additionalDependencies: 0.1.0
|
additionalDependencies: 0.1.0
|
||||||
constsAndDefaults: 0.1.5
|
constsAndDefaults: 0.1.5
|
||||||
core: 3.9.6
|
core: 3.9.9
|
||||||
deprecations: 2.81.1
|
deprecations: 2.81.1
|
||||||
examples: 2.81.4
|
examples: 2.81.4
|
||||||
flattening: 2.81.1
|
flattening: 2.81.1
|
||||||
@@ -49,7 +49,7 @@ generatedFiles:
|
|||||||
- src/lib/config.ts
|
- src/lib/config.ts
|
||||||
- src/lib/encodings.ts
|
- src/lib/encodings.ts
|
||||||
- src/lib/http.ts
|
- src/lib/http.ts
|
||||||
- src/lib/primitives.ts
|
- src/lib/is-plain-object.ts
|
||||||
- src/lib/retries.ts
|
- src/lib/retries.ts
|
||||||
- src/lib/schemas.ts
|
- src/lib/schemas.ts
|
||||||
- src/lib/sdks.ts
|
- src/lib/sdks.ts
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ generation:
|
|||||||
auth:
|
auth:
|
||||||
oAuth2ClientCredentialsEnabled: false
|
oAuth2ClientCredentialsEnabled: false
|
||||||
typescript:
|
typescript:
|
||||||
version: 0.29.7
|
version: 0.29.8
|
||||||
additionalDependencies:
|
additionalDependencies:
|
||||||
dependencies: {}
|
dependencies: {}
|
||||||
devDependencies:
|
devDependencies:
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
speakeasyVersion: 1.295.2
|
speakeasyVersion: 1.296.1
|
||||||
sources:
|
sources:
|
||||||
my-first-source:
|
my-first-source:
|
||||||
sourceNamespace: my-first-source
|
sourceNamespace: my-first-source
|
||||||
sourceRevisionDigest: sha256:80803948ef66ecf6e1a45773c2a8cdf85eb4f06c483b8f3a52c658c9fb410c90
|
sourceRevisionDigest: sha256:f51842df07fa7233d06f299b6ae228e2b36266bc4a8bec4b682341692be45ca6
|
||||||
sourceBlobDigest: sha256:f6c3c2652fab580c2760f48c3a4ee434f56eae3e7e4e0ac2b2b909dec4bc12d6
|
sourceBlobDigest: sha256:d06423b2da7a3583289bda62818c9eceabe4c1bb3af853bce65bfd1d33f806e1
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- main
|
- main
|
||||||
@@ -11,8 +11,8 @@ targets:
|
|||||||
my-first-target:
|
my-first-target:
|
||||||
source: my-first-source
|
source: my-first-source
|
||||||
sourceNamespace: my-first-source
|
sourceNamespace: my-first-source
|
||||||
sourceRevisionDigest: sha256:80803948ef66ecf6e1a45773c2a8cdf85eb4f06c483b8f3a52c658c9fb410c90
|
sourceRevisionDigest: sha256:f51842df07fa7233d06f299b6ae228e2b36266bc4a8bec4b682341692be45ca6
|
||||||
sourceBlobDigest: sha256:f6c3c2652fab580c2760f48c3a4ee434f56eae3e7e4e0ac2b2b909dec4bc12d6
|
sourceBlobDigest: sha256:d06423b2da7a3583289bda62818c9eceabe4c1bb3af853bce65bfd1d33f806e1
|
||||||
outLocation: /github/workspace/repo
|
outLocation: /github/workspace/repo
|
||||||
workflow:
|
workflow:
|
||||||
workflowVersion: 1.0.0
|
workflowVersion: 1.0.0
|
||||||
|
|||||||
10
RELEASES.md
10
RELEASES.md
@@ -337,3 +337,13 @@ Based on:
|
|||||||
- [typescript v0.29.7] .
|
- [typescript v0.29.7] .
|
||||||
### Releases
|
### Releases
|
||||||
- [NPM v0.29.7] https://www.npmjs.com/package/dub/v/0.29.7 - .
|
- [NPM v0.29.7] https://www.npmjs.com/package/dub/v/0.29.7 - .
|
||||||
|
|
||||||
|
## 2024-05-25 01:14:37
|
||||||
|
### Changes
|
||||||
|
Based on:
|
||||||
|
- OpenAPI Doc
|
||||||
|
- Speakeasy CLI 1.296.1 (2.338.1) https://github.com/speakeasy-api/speakeasy
|
||||||
|
### Generated
|
||||||
|
- [typescript v0.29.8] .
|
||||||
|
### Releases
|
||||||
|
- [NPM v0.29.8] https://www.npmjs.com/package/dub/v/0.29.8 - .
|
||||||
1050
codeSamples.yaml
1050
codeSamples.yaml
File diff suppressed because it is too large
Load Diff
2
jsr.json
2
jsr.json
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "dub",
|
"name": "dub",
|
||||||
"version": "0.29.7",
|
"version": "0.29.8",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./src/index.ts",
|
".": "./src/index.ts",
|
||||||
"./models/errors": "./src/models/errors/index.ts",
|
"./models/errors": "./src/models/errors/index.ts",
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "dub",
|
"name": "dub",
|
||||||
"version": "0.29.7",
|
"version": "0.29.8",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "dub",
|
"name": "dub",
|
||||||
"version": "0.29.7",
|
"version": "0.29.8",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jsonpath": "^0.2.4",
|
"@types/jsonpath": "^0.2.4",
|
||||||
"@types/node": "^20.12.7",
|
"@types/node": "^20.12.7",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dub",
|
"name": "dub",
|
||||||
"version": "0.29.7",
|
"version": "0.29.8",
|
||||||
"author": "Dub",
|
"author": "Dub",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|||||||
export const SDK_METADATA = {
|
export const SDK_METADATA = {
|
||||||
language: "typescript",
|
language: "typescript",
|
||||||
openapiDocVersion: "0.0.1",
|
openapiDocVersion: "0.0.1",
|
||||||
sdkVersion: "0.29.7",
|
sdkVersion: "0.29.8",
|
||||||
genVersion: "2.335.5",
|
genVersion: "2.338.1",
|
||||||
userAgent: "speakeasy-sdk/typescript 0.29.7 2.335.5 0.0.1 dub",
|
userAgent: "speakeasy-sdk/typescript 0.29.8 2.338.1 0.0.1 dub",
|
||||||
} as const;
|
} as const;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { bytesToBase64 } from "./base64";
|
import { bytesToBase64 } from "./base64";
|
||||||
import { isPlainObject } from "./primitives";
|
import { isPlainObject } from "./is-plain-object";
|
||||||
|
|
||||||
export class EncodingError extends Error {
|
export class EncodingError extends Error {
|
||||||
constructor(message: string) {
|
constructor(message: string) {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
import { never as znever } from "zod";
|
import { never as znever } from "zod";
|
||||||
import { parse } from "./schemas";
|
import { parse } from "./schemas";
|
||||||
import { isPlainObject } from "./primitives";
|
import { isPlainObject } from "./is-plain-object";
|
||||||
import * as errors from "../models/errors";
|
import * as errors from "../models/errors";
|
||||||
|
|
||||||
export type Fetcher = (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
|
export type Fetcher = (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
|
||||||
|
|||||||
43
src/lib/is-plain-object.ts
Normal file
43
src/lib/is-plain-object.ts
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
/*
|
||||||
|
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Taken from https://github.com/sindresorhus/is-plain-obj/blob/97f38e8836f86a642cce98fc6ab3058bc36df181/index.js
|
||||||
|
|
||||||
|
export function isPlainObject(value: unknown): value is object {
|
||||||
|
if (typeof value !== "object" || value === null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
const prototype = Object.getPrototypeOf(value);
|
||||||
|
return (
|
||||||
|
(prototype === null ||
|
||||||
|
prototype === Object.prototype ||
|
||||||
|
Object.getPrototypeOf(prototype) === null) &&
|
||||||
|
!(Symbol.toStringTag in value) &&
|
||||||
|
!(Symbol.iterator in value)
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
/*
|
|
||||||
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
||||||
*/
|
|
||||||
|
|
||||||
export function isPlainObject(value: unknown): value is object {
|
|
||||||
if (typeof value !== "object" || value == null) return false;
|
|
||||||
const proto = Object.getPrototypeOf(value);
|
|
||||||
return proto === null || proto === Object.prototype;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user