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

Commit 46392ba

Browse files
chore: update jsonpath dep
1 parent b85c166 commit 46392ba

File tree

11 files changed

+42
-177
lines changed

11 files changed

+42
-177
lines changed

.speakeasy/gen.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ id: 2d20490e-9921-47d5-9711-d3c4b91c8cfa
33
management:
44
docChecksum: 07391cade7c3cb454a12cd9adee46b89
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.504.1
7-
generationVersion: 2.529.2
8-
releaseVersion: 0.4.2
9-
configChecksum: 77fb451531f293d8a12e89918c15c41b
6+
speakeasyVersion: 1.505.0
7+
generationVersion: 2.531.0
8+
releaseVersion: 0.5.0
9+
configChecksum: f9db7a9028f1c499a64e3fe81a7dad00
1010
repoURL: https://github.com/s2-streamstore/s2-sdk-typescript.git
1111
installationURL: https://github.com/s2-streamstore/s2-sdk-typescript
1212
published: true
1313
features:
1414
typescript:
1515
acceptHeaders: 2.81.2
1616
additionalDependencies: 0.1.0
17-
core: 3.21.2
17+
core: 3.21.3
1818
defaultEnabledRetries: 0.1.0
1919
devContainers: 2.90.0
2020
enumUnions: 0.1.0
@@ -26,7 +26,7 @@ features:
2626
mcpServer: 0.3.0
2727
methodServerURLs: 2.82.1
2828
nullables: 0.1.1
29-
pagination: 2.82.8
29+
pagination: 2.83.0
3030
responseFormat: 0.2.3
3131
retries: 2.83.0
3232
sdkHooks: 0.2.0

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ generation:
1818
oAuth2ClientCredentialsEnabled: true
1919
oAuth2PasswordEnabled: true
2020
typescript:
21-
version: 0.4.2
21+
version: 0.5.0
2222
additionalDependencies:
2323
dependencies:
2424
uuid: ^9.0.1
@@ -46,6 +46,7 @@ typescript:
4646
shared: models/components
4747
webhooks: models/webhooks
4848
inputModelSuffix: input
49+
jsonpath: rfc9535
4950
maxMethodParams: 0
5051
methodArguments: require-security-and-request
5152
moduleFormat: commonjs

.speakeasy/workflow.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
speakeasyVersion: 1.504.1
1+
speakeasyVersion: 1.505.0
22
sources:
33
S2 API:
44
sourceNamespace: s-2-api
5-
sourceRevisionDigest: sha256:784553ba9d3eeb73a4cec2f089e42677f1aaee4126aa306adfb41b80b84fe383
5+
sourceRevisionDigest: sha256:180fb12fbe2e66d3427de50bdd3a0edadd4157f5f7a3c11b92656307e20f1f96
66
sourceBlobDigest: sha256:85a629f07b9d45e43ce9ee38cf75894c2e007828b338ccbcda990d2f9dfaa7ec
77
tags:
88
- latest
@@ -11,10 +11,10 @@ targets:
1111
streamstore:
1212
source: S2 API
1313
sourceNamespace: s-2-api
14-
sourceRevisionDigest: sha256:784553ba9d3eeb73a4cec2f089e42677f1aaee4126aa306adfb41b80b84fe383
14+
sourceRevisionDigest: sha256:180fb12fbe2e66d3427de50bdd3a0edadd4157f5f7a3c11b92656307e20f1f96
1515
sourceBlobDigest: sha256:85a629f07b9d45e43ce9ee38cf75894c2e007828b338ccbcda990d2f9dfaa7ec
1616
codeSamplesNamespace: s-2-api-typescript-code-samples
17-
codeSamplesRevisionDigest: sha256:e8e60d23f8c5191d8266c235c894bdd8a7c7822d2362e961fc8537d412585740
17+
codeSamplesRevisionDigest: sha256:8dfca3b3ba4931fb02a6c34ac185f7e6fede3904b82f5bc6586c436539e58161
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

jsr.json

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

33
{
44
"name": "@s2-dev/streamstore",
5-
"version": "0.4.2",
5+
"version": "0.5.0",
66
"exports": {
77
".": "./src/index.ts",
88
"./models/errors": "./src/models/errors/index.ts",

package-lock.json

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

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@s2-dev/streamstore",
3-
"version": "0.4.2",
3+
"version": "0.5.0",
44
"author": "Speakeasy",
55
"bin": {
66
"mcp": "bin/mcp-server.js"
@@ -29,7 +29,6 @@
2929
"@modelcontextprotocol/sdk": "^1.5.0",
3030
"@stricli/core": "^1.1.1",
3131
"@types/express": "^4.17.21",
32-
"@types/jsonpath": "^0.2.4",
3332
"@types/node": "^22.13.1",
3433
"@types/uuid": "^9.0.8",
3534
"bun": "^1.2.2",
@@ -42,7 +41,7 @@
4241
"zod": "^3.23.4"
4342
},
4443
"dependencies": {
45-
"jsonpath": "^1.1.1",
44+
"jsonpath-rfc9535": "1.1.0",
4645
"uuid": "^9.0.1"
4746
}
4847
}

src/funcs/accountListBasins.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
33
*/
44

5-
import jp from "jsonpath";
5+
import { JsonValue, query as jpQuery } from "jsonpath-rfc9535";
66
import { S2Core } from "../core.js";
77
import { encodeFormQuery } from "../lib/encodings.js";
88
import * as M from "../lib/matchers.js";
@@ -207,8 +207,9 @@ async function $do(
207207
>;
208208
"~next"?: { cursor: string };
209209
} => {
210-
const nextCursor = jp.value(responseData, "$.basins[(@.length-1)].name");
211-
if (nextCursor == null) {
210+
const nextCursor =
211+
jpQuery(responseData as JsonValue, "$.basins[-1].name")[0];
212+
if (typeof nextCursor !== "string") {
212213
return { next: () => null };
213214
}
214215

0 commit comments

Comments
 (0)