mirror of
https://github.com/LukeHagar/dub-node.git
synced 2025-12-06 04:19:37 +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:
|
||||
docChecksum: e93bbcff56bcb0510ebfb526412ef8a9
|
||||
docVersion: 0.0.1
|
||||
speakeasyVersion: 1.295.1
|
||||
generationVersion: 2.335.5
|
||||
releaseVersion: 0.29.7
|
||||
configChecksum: 4ed5347cd2de9537850aed0492bdace8
|
||||
speakeasyVersion: 1.296.1
|
||||
generationVersion: 2.338.1
|
||||
releaseVersion: 0.29.8
|
||||
configChecksum: 7fa1e2abca84e8cf14af404198b0660e
|
||||
repoURL: https://github.com/dubinc/dub-node.git
|
||||
installationURL: https://github.com/dubinc/dub-node
|
||||
published: true
|
||||
@@ -14,7 +14,7 @@ features:
|
||||
typescript:
|
||||
additionalDependencies: 0.1.0
|
||||
constsAndDefaults: 0.1.5
|
||||
core: 3.9.6
|
||||
core: 3.9.9
|
||||
deprecations: 2.81.1
|
||||
examples: 2.81.4
|
||||
flattening: 2.81.1
|
||||
@@ -49,7 +49,7 @@ generatedFiles:
|
||||
- src/lib/config.ts
|
||||
- src/lib/encodings.ts
|
||||
- src/lib/http.ts
|
||||
- src/lib/primitives.ts
|
||||
- src/lib/is-plain-object.ts
|
||||
- src/lib/retries.ts
|
||||
- src/lib/schemas.ts
|
||||
- src/lib/sdks.ts
|
||||
|
||||
@@ -12,7 +12,7 @@ generation:
|
||||
auth:
|
||||
oAuth2ClientCredentialsEnabled: false
|
||||
typescript:
|
||||
version: 0.29.7
|
||||
version: 0.29.8
|
||||
additionalDependencies:
|
||||
dependencies: {}
|
||||
devDependencies:
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
speakeasyVersion: 1.295.2
|
||||
speakeasyVersion: 1.296.1
|
||||
sources:
|
||||
my-first-source:
|
||||
sourceNamespace: my-first-source
|
||||
sourceRevisionDigest: sha256:80803948ef66ecf6e1a45773c2a8cdf85eb4f06c483b8f3a52c658c9fb410c90
|
||||
sourceBlobDigest: sha256:f6c3c2652fab580c2760f48c3a4ee434f56eae3e7e4e0ac2b2b909dec4bc12d6
|
||||
sourceRevisionDigest: sha256:f51842df07fa7233d06f299b6ae228e2b36266bc4a8bec4b682341692be45ca6
|
||||
sourceBlobDigest: sha256:d06423b2da7a3583289bda62818c9eceabe4c1bb3af853bce65bfd1d33f806e1
|
||||
tags:
|
||||
- latest
|
||||
- main
|
||||
@@ -11,8 +11,8 @@ targets:
|
||||
my-first-target:
|
||||
source: my-first-source
|
||||
sourceNamespace: my-first-source
|
||||
sourceRevisionDigest: sha256:80803948ef66ecf6e1a45773c2a8cdf85eb4f06c483b8f3a52c658c9fb410c90
|
||||
sourceBlobDigest: sha256:f6c3c2652fab580c2760f48c3a4ee434f56eae3e7e4e0ac2b2b909dec4bc12d6
|
||||
sourceRevisionDigest: sha256:f51842df07fa7233d06f299b6ae228e2b36266bc4a8bec4b682341692be45ca6
|
||||
sourceBlobDigest: sha256:d06423b2da7a3583289bda62818c9eceabe4c1bb3af853bce65bfd1d33f806e1
|
||||
outLocation: /github/workspace/repo
|
||||
workflow:
|
||||
workflowVersion: 1.0.0
|
||||
|
||||
12
RELEASES.md
12
RELEASES.md
@@ -336,4 +336,14 @@ Based on:
|
||||
### Generated
|
||||
- [typescript v0.29.7] .
|
||||
### 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 - .
|
||||
1086
codeSamples.yaml
1086
codeSamples.yaml
File diff suppressed because it is too large
Load Diff
2
jsr.json
2
jsr.json
@@ -2,7 +2,7 @@
|
||||
|
||||
{
|
||||
"name": "dub",
|
||||
"version": "0.29.7",
|
||||
"version": "0.29.8",
|
||||
"exports": {
|
||||
".": "./src/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",
|
||||
"version": "0.29.7",
|
||||
"version": "0.29.8",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "dub",
|
||||
"version": "0.29.7",
|
||||
"version": "0.29.8",
|
||||
"devDependencies": {
|
||||
"@types/jsonpath": "^0.2.4",
|
||||
"@types/node": "^20.12.7",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dub",
|
||||
"version": "0.29.7",
|
||||
"version": "0.29.8",
|
||||
"author": "Dub",
|
||||
"main": "./index.js",
|
||||
"sideEffects": false,
|
||||
|
||||
@@ -64,7 +64,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
||||
export const SDK_METADATA = {
|
||||
language: "typescript",
|
||||
openapiDocVersion: "0.0.1",
|
||||
sdkVersion: "0.29.7",
|
||||
genVersion: "2.335.5",
|
||||
userAgent: "speakeasy-sdk/typescript 0.29.7 2.335.5 0.0.1 dub",
|
||||
sdkVersion: "0.29.8",
|
||||
genVersion: "2.338.1",
|
||||
userAgent: "speakeasy-sdk/typescript 0.29.8 2.338.1 0.0.1 dub",
|
||||
} as const;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
import { bytesToBase64 } from "./base64";
|
||||
import { isPlainObject } from "./primitives";
|
||||
import { isPlainObject } from "./is-plain-object";
|
||||
|
||||
export class EncodingError extends Error {
|
||||
constructor(message: string) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
import { never as znever } from "zod";
|
||||
import { parse } from "./schemas";
|
||||
import { isPlainObject } from "./primitives";
|
||||
import { isPlainObject } from "./is-plain-object";
|
||||
import * as errors from "../models/errors";
|
||||
|
||||
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