Skip to content

Commit

Permalink
Merge pull request #7 from Codehagen/speakeasy-sdk-regen-1716597326
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate
  • Loading branch information
Codehagen committed May 25, 2024
2 parents 9bb1c13 + 5779dc0 commit eb8cd2a
Show file tree
Hide file tree
Showing 12 changed files with 73 additions and 29 deletions.
12 changes: 6 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ id: 6250b250-1f28-403b-a1c6-452ade2211c7
management:
docChecksum: f773c956b74326e3015b5e1eeaaa65be
docVersion: 1.0.0
speakeasyVersion: 1.295.1
generationVersion: 2.335.5
releaseVersion: 0.1.7
configChecksum: 82c2df32b6f2c59d747c14981c7b789a
speakeasyVersion: 1.296.1
generationVersion: 2.338.1
releaseVersion: 0.1.8
configChecksum: c477ed889b5e865f3e17c7e224e25a2f
repoURL: https://github.com/Codehagen/dingify-sdk.git
installationURL: https://github.com/Codehagen/dingify-sdk
published: true
features:
typescript:
additionalDependencies: 0.1.0
core: 3.9.6
core: 3.9.9
globalSecurity: 2.82.9
globalSecurityCallbacks: 0.1.0
globalSecurityFlattening: 0.1.0
Expand All @@ -33,7 +33,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
2 changes: 1 addition & 1 deletion .speakeasy/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.1.7
version: 0.1.8
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
6 changes: 3 additions & 3 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
speakeasyVersion: 1.295.1
speakeasyVersion: 1.296.1
sources:
sample-source:
sourceNamespace: sample-source
sourceRevisionDigest: sha256:42b57a8081125a75fef005fa849dc3249e6d67bba44eb2342887ebd0db9bc0a5
sourceRevisionDigest: sha256:51a95b6c69ffc5c04013a8eee4efa2cefbf30bf5b70d5c39223ce6375ade8db9
sourceBlobDigest: sha256:a244ff635a59a6e58b707647c704f5987f4c60fd221e00d7ddc153b56cb5b97c
tags:
- latest
Expand All @@ -11,7 +11,7 @@ targets:
my-first-target:
source: sample-source
sourceNamespace: sample-source
sourceRevisionDigest: sha256:42b57a8081125a75fef005fa849dc3249e6d67bba44eb2342887ebd0db9bc0a5
sourceRevisionDigest: sha256:51a95b6c69ffc5c04013a8eee4efa2cefbf30bf5b70d5c39223ce6375ade8db9
sourceBlobDigest: sha256:a244ff635a59a6e58b707647c704f5987f4c60fd221e00d7ddc153b56cb5b97c
outLocation: /github/workspace/repo
workflow:
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,14 @@ Based on:
### Generated
- [typescript v0.1.7] .
### Releases
- [NPM v0.1.7] https://www.npmjs.com/package/dingify/v/0.1.7 - .
- [NPM v0.1.7] https://www.npmjs.com/package/dingify/v/0.1.7 - .

## 2024-05-25 00:35:23
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.296.1 (2.338.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.1.8] .
### Releases
- [NPM v0.1.8] https://www.npmjs.com/package/dingify/v/0.1.8 - .
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": "dingify",
"version": "0.1.7",
"version": "0.1.8",
"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": "dingify",
"version": "0.1.7",
"version": "0.1.8",
"author": "Speakeasy",
"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 @@ -54,7 +54,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "1.0.0",
sdkVersion: "0.1.7",
genVersion: "2.335.5",
userAgent: "speakeasy-sdk/typescript 0.1.7 2.335.5 1.0.0 dingify",
sdkVersion: "0.1.8",
genVersion: "2.338.1",
userAgent: "speakeasy-sdk/typescript 0.1.8 2.338.1 1.0.0 dingify",
} 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 <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)
);
}
9 changes: 0 additions & 9 deletions src/lib/primitives.ts

This file was deleted.

0 comments on commit eb8cd2a

Please sign in to comment.