Skip to content

Commit

Permalink
Merge pull request #6 from speakeasy-sdks/speakeasy-sdk-regen-1724947608
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 1.2.1
  • Loading branch information
ndimares authored Aug 29, 2024
2 parents 5feb9fe + bee48d7 commit ebe4a41
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ management:
docVersion: "10"
speakeasyVersion: 1.382.0
generationVersion: 2.404.11
releaseVersion: 1.2.0
configChecksum: ad1e15de86cf3fbf3eeea308598af96e
releaseVersion: 1.2.1
configChecksum: 2c4c5b3d713a65031ecd3a0ef9251832
repoURL: https://github.com/speakeasy-sdks/api-summit-2024.git
installationURL: https://github.com/speakeasy-sdks/api-summit-2024
published: true
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
typescript:
version: 1.2.0
version: 1.2.1
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,14 @@ Based on:
### Generated
- [typescript v1.2.0] .
### Releases
- [NPM v1.2.0] https://www.npmjs.com/package/@speakeasy-sdks/discord/v/1.2.0 - .
- [NPM v1.2.0] https://www.npmjs.com/package/@speakeasy-sdks/discord/v/1.2.0 - .

## 2024-08-29 16:06:45
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.382.0 (2.404.11) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.2.1] .
### Releases
- [NPM v1.2.1] https://www.npmjs.com/package/@speakeasy-sdks/discord/v/1.2.1 - .
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": "@speakeasy-sdks/discord",
"version": "1.2.0",
"version": "1.2.1",
"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": "@speakeasy-sdks/discord",
"version": "1.2.0",
"version": "1.2.1",
"author": "Speakeasy",
"main": "./index.js",
"sideEffects": false,
Expand Down
6 changes: 1 addition & 5 deletions src/hooks/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,14 @@ import {
SDKInitOptions,
} from "./types.js";

import { initHooks } from "./registration.js";

export class SDKHooks implements Hooks {
sdkInitHooks: SDKInitHook[] = [];
beforeCreateRequestHooks: BeforeCreateRequestHook[] = [];
beforeRequestHooks: BeforeRequestHook[] = [];
afterSuccessHooks: AfterSuccessHook[] = [];
afterErrorHooks: AfterErrorHook[] = [];

constructor() {
initHooks(this);
}
constructor() {}

registerSDKInitHook(hook: SDKInitHook) {
this.sdkInitHooks.push(hook);
Expand Down
4 changes: 2 additions & 2 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "10",
sdkVersion: "1.2.0",
sdkVersion: "1.2.1",
genVersion: "2.404.11",
userAgent: "speakeasy-sdk/typescript 1.2.0 2.404.11 10 @speakeasy-sdks/discord",
userAgent: "speakeasy-sdk/typescript 1.2.1 2.404.11 10 @speakeasy-sdks/discord",
} as const;

0 comments on commit ebe4a41

Please sign in to comment.