Skip to content

Commit 5419db6

Browse files
authored
Merge pull request #20 from speakeasy-api/speakeasy-sdk-regen-1740258401
chore: 🐝 Update SDK - Generate 2.3.0
2 parents 336edde + e76ba5e commit 5419db6

File tree

11 files changed

+35
-21
lines changed

11 files changed

+35
-21
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/bin
12
/.eslintcache
23
/models
34
/models/errors

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
!/REACT_QUERY.md
55
!/**/*.ts
66
!/**/*.js
7+
!/**/*.mjs
78
!/**/*.json
89
!/**/*.map
910

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ id: 521af75f-d011-41f9-a5ff-9f8033773118
33
management:
44
docChecksum: a16089f06495dd5f7de1f5121d72ec45
55
docVersion: 0.4.0
6-
speakeasyVersion: 1.495.1
7-
generationVersion: 2.515.4
8-
releaseVersion: 2.2.6
9-
configChecksum: a4ff9835698013bb8c7bb828a7e2be76
6+
speakeasyVersion: 1.501.0
7+
generationVersion: 2.522.1
8+
releaseVersion: 2.3.0
9+
configChecksum: af4c84e6b75f7ba42bd4d7fad05a022c
1010
repoURL: https://github.com/speakeasy-api/speakeasy-code-samples-ts.git
1111
installationURL: https://github.com/speakeasy-api/speakeasy-code-samples-ts
1212
published: true
1313
features:
1414
typescript:
1515
additionalDependencies: 0.1.0
16-
core: 3.20.0
16+
core: 3.21.1
1717
deepObjectParams: 0.1.0
1818
defaultEnabledRetries: 0.1.0
1919
devContainers: 2.90.0

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ generation:
1717
oAuth2ClientCredentialsEnabled: false
1818
oAuth2PasswordEnabled: false
1919
typescript:
20-
version: 2.2.6
20+
version: 2.3.0
2121
additionalDependencies:
2222
dependencies:
2323
'@emotion/css': ^11.13.5
@@ -31,6 +31,7 @@ typescript:
3131
clientServerStatusCodesAsErrors: true
3232
defaultErrorName: APIError
3333
enableCustomCodeRegions: false
34+
enableMCPServer: true
3435
enableReactQuery: true
3536
enumFormat: union
3637
flattenGlobalSecurity: true

.speakeasy/workflow.lock

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
speakeasyVersion: 1.495.1
1+
speakeasyVersion: 1.501.0
22
sources:
33
speakeasy-OAS:
44
sourceNamespace: speakeasy-oas
5-
sourceRevisionDigest: sha256:e536544d55620a79d50578204eb81fba11c6c419701bba423d897f2418d40a2d
5+
sourceRevisionDigest: sha256:46b1f9bf16dba3f2cf0af9587274ee24f54b60f323633d63a1b85b230a51e6e8
66
sourceBlobDigest: sha256:74092062b98c511fb2035986fe307d2d5de39443dac827b7bdddb853268f768c
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1740258401
910
- 0.4.0
1011
targets:
1112
code_samples_typescript_sdk:
1213
source: speakeasy-OAS
1314
sourceNamespace: speakeasy-oas
14-
sourceRevisionDigest: sha256:e536544d55620a79d50578204eb81fba11c6c419701bba423d897f2418d40a2d
15+
sourceRevisionDigest: sha256:46b1f9bf16dba3f2cf0af9587274ee24f54b60f323633d63a1b85b230a51e6e8
1516
sourceBlobDigest: sha256:74092062b98c511fb2035986fe307d2d5de39443dac827b7bdddb853268f768c
1617
codeSamplesNamespace: speakeasy-oas-typescript-code-samples
17-
codeSamplesRevisionDigest: sha256:3a52773bea327c93e288622e24477f9c093cebab089f6e48ca84594db21a43e6
18+
codeSamplesRevisionDigest: sha256:48c48d6951802a2daef7fdf5f1f7bff87744162d88461e13dfac540c61b2b71a
1819
workflow:
1920
workflowVersion: 1.0.0
2021
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,14 @@ Based on:
102102
### Generated
103103
- [typescript v2.1.2] .
104104
### Releases
105-
- [NPM v2.1.2] https://www.npmjs.com/package/@speakeasyapi/code-samples/v/2.1.2 - .
105+
- [NPM v2.1.2] https://www.npmjs.com/package/@speakeasyapi/code-samples/v/2.1.2 - .
106+
107+
## 2025-02-22 21:06:25
108+
### Changes
109+
Based on:
110+
- OpenAPI Doc
111+
- Speakeasy CLI 1.501.0 (2.522.1) https://github.com/speakeasy-api/speakeasy
112+
### Generated
113+
- [typescript v2.3.0] .
114+
### Releases
115+
- [NPM v2.3.0] https://www.npmjs.com/package/@speakeasyapi/code-samples/v/2.3.0 - .

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "@speakeasyapi/code-samples",
5-
"version": "2.2.6",
5+
"version": "2.3.0",
66
"exports": {
77
".": "./src/index.ts",
88
"./models/errors": "./src/models/errors/index.ts",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@speakeasyapi/code-samples",
3-
"version": "2.2.6",
3+
"version": "2.3.0",
44
"author": "Speakeasy",
55
"type": "module",
66
"main": "./esm/index.js",

src/lib/config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ export type SDKOptions = {
2727
/**
2828
* Allows overriding the default server used by the SDK
2929
*/
30-
server?: keyof typeof ServerList;
30+
server?: keyof typeof ServerList | undefined;
3131
/**
3232
* Allows overriding the default server URL used by the SDK
3333
*/
34-
serverURL?: string;
34+
serverURL?: string | undefined;
3535
/**
3636
* Allows overriding the default retry config used by the SDK
3737
*/
@@ -57,8 +57,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
5757
export const SDK_METADATA = {
5858
language: "typescript",
5959
openapiDocVersion: "0.4.0",
60-
sdkVersion: "2.2.6",
61-
genVersion: "2.515.4",
60+
sdkVersion: "2.3.0",
61+
genVersion: "2.522.1",
6262
userAgent:
63-
"speakeasy-sdk/typescript 2.2.6 2.515.4 0.4.0 @speakeasyapi/code-samples",
63+
"speakeasy-sdk/typescript 2.3.0 2.522.1 0.4.0 @speakeasyapi/code-samples",
6464
} as const;

0 commit comments

Comments
 (0)