Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.296.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed May 25, 2024
1 parent d81db70 commit 79e8831
Show file tree
Hide file tree
Showing 12 changed files with 75 additions and 31 deletions.
12 changes: 6 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ id: 79fa0df9-852a-493c-b998-1d82654b5f18
management:
docChecksum: 52a4491de6268327ef41bf826024fc20
docVersion: 3.0.3
speakeasyVersion: 1.295.1
generationVersion: 2.335.5
releaseVersion: 0.14.3
configChecksum: ee3d38796388eb6e3a90cc4d854544b9
speakeasyVersion: 1.296.1
generationVersion: 2.338.1
releaseVersion: 0.14.4
configChecksum: 436b34abb6f08cdaea5c1c646d180901
repoURL: https://github.com/BoltApp/Bolt-Typescript-SDK.git
repoSubDirectory: .
installationURL: https://github.com/BoltApp/Bolt-Typescript-SDK
published: true
features:
typescript:
additionalDependencies: 0.1.0
core: 3.9.6
core: 3.9.9
errorUnions: 0.1.0
flattening: 2.81.1
globalSecurity: 2.82.9
Expand Down Expand Up @@ -47,7 +47,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
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.295.1
speakeasyVersion: 1.296.1
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:ba5093569d008bc4e9bbf07846c88daed215475310c03a25221edf2d8d9ddeee
sourceBlobDigest: sha256:7b4fa8860f30a1a295d9a2c2877d35b0ca680d81937ca5fe5c8ab5c32b4a8895
sourceRevisionDigest: sha256:fcd8dcaa0170338b83cc13b19449b89c213481fa75f70c354033af4ff2fede45
sourceBlobDigest: sha256:7f317cff5d360467d5d527210ec23c5703e5ab88e7d66c4f7c64a4352c6e6a67
tags:
- latest
- main
targets:
bolt-typescript:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:ba5093569d008bc4e9bbf07846c88daed215475310c03a25221edf2d8d9ddeee
sourceBlobDigest: sha256:7b4fa8860f30a1a295d9a2c2877d35b0ca680d81937ca5fe5c8ab5c32b4a8895
sourceRevisionDigest: sha256:fcd8dcaa0170338b83cc13b19449b89c213481fa75f70c354033af4ff2fede45
sourceBlobDigest: sha256:7f317cff5d360467d5d527210ec23c5703e5ab88e7d66c4f7c64a4352c6e6a67
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,4 +378,14 @@ Based on:
### Generated
- [typescript v0.14.3] .
### Releases
- [NPM v0.14.3] https://www.npmjs.com/package/@boltpay/bolt-typescript-sdk/v/0.14.3 - .
- [NPM v0.14.3] https://www.npmjs.com/package/@boltpay/bolt-typescript-sdk/v/0.14.3 - .

## 2024-05-25 00:16:41
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.296.1 (2.338.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.14.4] .
### Releases
- [NPM v0.14.4] https://www.npmjs.com/package/@boltpay/bolt-typescript-sdk/v/0.14.4 - .
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
typescript:
version: 0.14.3
version: 0.14.4
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "@boltpay/bolt-typescript-sdk",
"version": "0.14.3",
"version": "0.14.4",
"exports": {
".": "./src/index.ts",
"./models/errors": "./src/models/errors/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@boltpay/bolt-typescript-sdk",
"version": "0.14.3",
"version": "0.14.4",
"author": "BoltPublicAPI",
"main": "./index.js",
"sideEffects": false,
Expand Down
6 changes: 3 additions & 3 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "3.0.3",
sdkVersion: "0.14.3",
genVersion: "2.335.5",
userAgent: "speakeasy-sdk/typescript 0.14.3 2.335.5 3.0.3 @boltpay/bolt-typescript-sdk",
sdkVersion: "0.14.4",
genVersion: "2.338.1",
userAgent: "speakeasy-sdk/typescript 0.14.4 2.338.1 3.0.3 @boltpay/bolt-typescript-sdk",
} as const;
2 changes: 1 addition & 1 deletion src/lib/encodings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down
43 changes: 43 additions & 0 deletions src/lib/is-plain-object.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
*/

/*
MIT License
Copyright (c) Sindre Sorhus <[email protected]> (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)
);
}
9 changes: 0 additions & 9 deletions src/lib/primitives.ts

This file was deleted.

0 comments on commit 79e8831

Please sign in to comment.