@s2-dev/streamstore 0.15.3 → 0.15.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
31
31
  export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "1.0.0";
34
- readonly sdkVersion: "0.15.3";
34
+ readonly sdkVersion: "0.15.4";
35
35
  readonly genVersion: "2.651.2";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.15.3 2.651.2 1.0.0 @s2-dev/streamstore";
36
+ readonly userAgent: "speakeasy-sdk/typescript 0.15.4 2.651.2 1.0.0 @s2-dev/streamstore";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
28
28
  exports.SDK_METADATA = {
29
29
  language: "typescript",
30
30
  openapiDocVersion: "1.0.0",
31
- sdkVersion: "0.15.3",
31
+ sdkVersion: "0.15.4",
32
32
  genVersion: "2.651.2",
33
- userAgent: "speakeasy-sdk/typescript 0.15.3 2.651.2 1.0.0 @s2-dev/streamstore",
33
+ userAgent: "speakeasy-sdk/typescript 0.15.4 2.651.2 1.0.0 @s2-dev/streamstore",
34
34
  };
35
35
  //# sourceMappingURL=config.js.map
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
22
22
  exports.app = (0, core_1.buildApplication)(routes, {
23
23
  name: "mcp",
24
24
  versionInfo: {
25
- currentVersion: "0.15.3",
25
+ currentVersion: "0.15.4",
26
26
  },
27
27
  });
28
28
  (0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
@@ -33,7 +33,7 @@ const streamsReconfigureStream_js_1 = require("./tools/streamsReconfigureStream.
33
33
  function createMCPServer(deps) {
34
34
  const server = new mcp_js_1.McpServer({
35
35
  name: "S2",
36
- version: "0.15.3",
36
+ version: "0.15.4",
37
37
  });
38
38
  const client = new core_js_1.S2Core({
39
39
  accessToken: deps.accessToken,
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
31
31
  export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "1.0.0";
34
- readonly sdkVersion: "0.15.3";
34
+ readonly sdkVersion: "0.15.4";
35
35
  readonly genVersion: "2.651.2";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.15.3 2.651.2 1.0.0 @s2-dev/streamstore";
36
+ readonly userAgent: "speakeasy-sdk/typescript 0.15.4 2.651.2 1.0.0 @s2-dev/streamstore";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
@@ -24,8 +24,8 @@ export function serverURLFromOptions(options) {
24
24
  export const SDK_METADATA = {
25
25
  language: "typescript",
26
26
  openapiDocVersion: "1.0.0",
27
- sdkVersion: "0.15.3",
27
+ sdkVersion: "0.15.4",
28
28
  genVersion: "2.651.2",
29
- userAgent: "speakeasy-sdk/typescript 0.15.3 2.651.2 1.0.0 @s2-dev/streamstore",
29
+ userAgent: "speakeasy-sdk/typescript 0.15.4 2.651.2 1.0.0 @s2-dev/streamstore",
30
30
  };
31
31
  //# sourceMappingURL=config.js.map
@@ -16,7 +16,7 @@ const routes = buildRouteMap({
16
16
  export const app = buildApplication(routes, {
17
17
  name: "mcp",
18
18
  versionInfo: {
19
- currentVersion: "0.15.3",
19
+ currentVersion: "0.15.4",
20
20
  },
21
21
  });
22
22
  run(app, process.argv.slice(2), buildContext(process));
@@ -30,7 +30,7 @@ import { tool$streamsReconfigureStream } from "./tools/streamsReconfigureStream.
30
30
  export function createMCPServer(deps) {
31
31
  const server = new McpServer({
32
32
  name: "S2",
33
- version: "0.15.3",
33
+ version: "0.15.4",
34
34
  });
35
35
  const client = new S2Core({
36
36
  accessToken: deps.accessToken,
@@ -0,0 +1,26 @@
1
+ # @s2-dev/streamstore Examples
2
+
3
+ This directory contains example scripts demonstrating how to use the @s2-dev/streamstore SDK.
4
+
5
+ ## Prerequisites
6
+
7
+ - Node.js (v18 or higher)
8
+ - npm
9
+
10
+ ## Setup
11
+
12
+ 1. Copy `.env.template` to `.env`:
13
+ ```bash
14
+ cp .env.template .env
15
+ ```
16
+
17
+ 2. Edit `.env` and add your actual credentials (API keys, tokens, etc.)
18
+
19
+ ## Running the Examples
20
+
21
+ To run an example file from the examples directory:
22
+
23
+ ```bash
24
+ npm run build && npx tsx example.ts
25
+ ```
26
+
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ /**
6
+ * Example usage of the @s2-dev/streamstore SDK
7
+ *
8
+ * To run this example from the examples directory:
9
+ * npm run build && npx tsx accessTokensListAccessTokens.ts
10
+ */
11
+
12
+ import { S2 } from "@s2-dev/streamstore";
13
+
14
+ const s2 = new S2({
15
+ accessToken: process.env["S2_ACCESS_TOKEN"] ?? "",
16
+ });
17
+
18
+ async function main() {
19
+ const result = await s2.listAccessTokens({});
20
+
21
+ console.log(result);
22
+ }
23
+
24
+ main().catch(console.error);