Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.

Commit 5ca4a57

Browse files
chore: update to latest
1 parent d04162c commit 5ca4a57

File tree

23 files changed

+91
-98
lines changed

23 files changed

+91
-98
lines changed

.devcontainer/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/instal
77
rmdir samples || true
88
mkdir samples
99

10-
npm install
11-
npm install -g ts-node
10+
npm install --ignore-scripts
11+
npm install -g ts-node --ignore-scripts
1212
npm link
1313
npm link @s2-dev/streamstore
1414
TS_CONFIG_CONTENT=$(cat <<EOL

.speakeasy/gen.lock

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 2d20490e-9921-47d5-9711-d3c4b91c8cfa
33
management:
4-
docChecksum: 1baa587ddf2ee1963a7f519d525b8b00
4+
docChecksum: d63100b8057ce0dab36ac6f9171462c7
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.609.0
7-
generationVersion: 2.692.0
8-
releaseVersion: 0.15.11
9-
configChecksum: fbbaec318308546a01748e878042c10b
6+
speakeasyVersion: 1.631.0
7+
generationVersion: 2.716.10
8+
releaseVersion: 0.15.12
9+
configChecksum: 6467a8e7336914031b234664828cf7e1
1010
repoURL: https://github.com/s2-streamstore/s2-sdk-typescript.git
1111
installationURL: https://github.com/s2-streamstore/s2-sdk-typescript
1212
published: true
@@ -15,13 +15,13 @@ features:
1515
acceptHeaders: 2.81.2
1616
additionalDependencies: 0.1.0
1717
constsAndDefaults: 0.1.12
18-
core: 3.21.22
18+
core: 3.21.25
1919
defaultEnabledRetries: 0.1.0
20-
devContainers: 2.90.0
20+
devContainers: 2.90.1
2121
enumUnions: 0.1.0
2222
envVarSecurityUsage: 0.1.2
2323
errorUnions: 0.1.1
24-
globalSecurity: 2.82.13
24+
globalSecurity: 2.82.14
2525
globalSecurityCallbacks: 0.1.0
2626
globalSecurityFlattening: 0.1.0
2727
globalServerURLs: 2.82.5
@@ -32,9 +32,9 @@ features:
3232
responseFormat: 0.2.3
3333
retries: 2.83.0
3434
sdkHooks: 0.3.0
35-
serverEvents: 0.1.8
35+
serverEvents: 0.1.10
3636
serverEventsSentinels: 0.1.0
37-
unions: 2.85.11
37+
unions: 2.85.12
3838
generatedFiles:
3939
- .devcontainer/README.md
4040
- .devcontainer/devcontainer.json
@@ -328,7 +328,6 @@ generatedFiles:
328328
- src/types/operations.ts
329329
- src/types/rfcdate.ts
330330
- src/types/streams.ts
331-
- temp/example.ts
332331
- tsconfig.json
333332
examples:
334333
list_access_tokens:

.speakeasy/gen.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ generation:
1919
auth:
2020
oAuth2ClientCredentialsEnabled: true
2121
oAuth2PasswordEnabled: true
22+
hoistGlobalSecurity: true
2223
tests:
2324
generateTests: true
2425
generateNewTests: false
2526
skipResponseBodyAssertions: false
2627
typescript:
27-
version: 0.15.11
28+
version: 0.15.12
2829
additionalDependencies:
2930
dependencies:
3031
uuid: ^9.0.1
@@ -58,10 +59,12 @@ typescript:
5859
jsonpath: rfc9535
5960
maxMethodParams: 0
6061
methodArguments: require-security-and-request
62+
modelPropertyCasing: camel
6163
moduleFormat: dual
6264
outputModelSuffix: output
6365
packageName: '@s2-dev/streamstore'
6466
responseFormat: flat
67+
sseFlatResponse: false
6568
templateVersion: v2
6669
usageSDKInitImports: []
6770
useIndexModules: true

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
speakeasyVersion: 1.609.0
1+
speakeasyVersion: 1.631.0
22
sources:
33
S2 API:
44
sourceNamespace: s-2-api
5-
sourceRevisionDigest: sha256:a142c5d3b16810cd4038aef46ab0c877d953def2fe9f1bcb680abc4012be97ae
6-
sourceBlobDigest: sha256:e38d7f91cdb33c8be7099eecbe5374f810a071cafb3c5593eaacca9e4f80a718
5+
sourceRevisionDigest: sha256:1672d706a5fa626a9fa535bddef2246aa4dfda6c0c4f531a5f47f63c4bc0cf64
6+
sourceBlobDigest: sha256:72151070b6ef57d1b9a0bd99d41be6e28bc2981cff49b5a12daf8557d0a720ea
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
streamstore:
1212
source: S2 API
1313
sourceNamespace: s-2-api
14-
sourceRevisionDigest: sha256:a142c5d3b16810cd4038aef46ab0c877d953def2fe9f1bcb680abc4012be97ae
15-
sourceBlobDigest: sha256:e38d7f91cdb33c8be7099eecbe5374f810a071cafb3c5593eaacca9e4f80a718
14+
sourceRevisionDigest: sha256:1672d706a5fa626a9fa535bddef2246aa4dfda6c0c4f531a5f47f63c4bc0cf64
15+
sourceBlobDigest: sha256:72151070b6ef57d1b9a0bd99d41be6e28bc2981cff49b5a12daf8557d0a720ea
1616
codeSamplesNamespace: s-2-api-typescript-code-samples
17-
codeSamplesRevisionDigest: sha256:89605055c7e1d247a8087435afbea9cf26f10078436ead00995d0707adcec148
17+
codeSamplesRevisionDigest: sha256:c8189bb29e137064a4ac811244d384880603fbb9bdb1a27a265de7e642a91410
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,7 @@ bun add @s2-dev/streamstore
6666
### Yarn
6767

6868
```bash
69-
yarn add @s2-dev/streamstore zod
70-
71-
# Note that Yarn does not install peer dependencies automatically. You will need
72-
# to install zod as shown above.
69+
yarn add @s2-dev/streamstore
7370
```
7471

7572
> [!NOTE]
@@ -327,10 +324,7 @@ async function run() {
327324
s2Basin: "<value>",
328325
});
329326

330-
for await (const event of result) {
331-
// Handle the event
332-
console.log(event);
333-
}
327+
console.log(result);
334328
}
335329

336330
run();
@@ -609,7 +603,7 @@ httpClient.addHook("requestError", (error, request) => {
609603
console.groupEnd();
610604
});
611605

612-
const sdk = new S2({ httpClient });
606+
const sdk = new S2({ httpClient: httpClient });
613607
```
614608
<!-- End Custom HTTP Client [http-client] -->
615609

0 commit comments

Comments
 (0)