@s2-dev/streamstore 0.7.5 → 0.7.6

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.
@@ -1 +1 @@
1
- {"version":3,"file":"registration.d.ts","sourceRoot":"","sources":["../../../src/hooks/registration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAQnC,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,QAKrC"}
1
+ {"version":3,"file":"registration.d.ts","sourceRoot":"","sources":["../../../src/hooks/registration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AASnC,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,QAKrC"}
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.initHooks = initHooks;
4
- const compression_js_1 = require("./compression.js");
5
4
  /*
6
5
  * This file is only ever generated once on the first generation and then is free to be modified.
7
6
  * Any hooks you wish to add should be registered in the initHooks function. Feel free to define them
8
7
  * in this file or in separate files in the hooks folder.
9
8
  */
9
+ // @ts-expect-error remove this line when you add your first hook and hooks is used
10
10
  function initHooks(hooks) {
11
11
  // Add hooks by calling hooks.register{ClientInit/BeforeCreateRequest/BeforeRequest/AfterSuccess/AfterError}Hook
12
12
  // with an instance of a hook that implements that specific Hook interface
13
13
  // Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance
14
- hooks.registerBeforeCreateRequestHook(new compression_js_1.CompressionHook());
14
+ // hooks.registerBeforeCreateRequestHook(new CompressionHook());
15
15
  }
16
16
  //# sourceMappingURL=registration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"registration.js","sourceRoot":"","sources":["../../../src/hooks/registration.ts"],"names":[],"mappings":";;AASA,8BAKC;AAdD,qDAAmD;AAGnD;;;;GAIG;AAEH,SAAgB,SAAS,CAAC,KAAY;IACpC,gHAAgH;IAChH,0EAA0E;IAC1E,4FAA4F;IAC5F,KAAK,CAAC,+BAA+B,CAAC,IAAI,gCAAe,EAAE,CAAC,CAAC;AAC/D,CAAC"}
1
+ {"version":3,"file":"registration.js","sourceRoot":"","sources":["../../../src/hooks/registration.ts"],"names":[],"mappings":";;AAUA,8BAKC;AAZD;;;;GAIG;AAEH,mFAAmF;AACnF,SAAgB,SAAS,CAAC,KAAY;IACpC,gHAAgH;IAChH,0EAA0E;IAC1E,4FAA4F;IAC5F,gEAAgE;AAClE,CAAC"}
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
27
27
  export declare const SDK_METADATA: {
28
28
  readonly language: "typescript";
29
29
  readonly openapiDocVersion: "1.0.0";
30
- readonly sdkVersion: "0.7.5";
30
+ readonly sdkVersion: "0.7.6";
31
31
  readonly genVersion: "2.546.0";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.7.5 2.546.0 1.0.0 @s2-dev/streamstore";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.7.6 2.546.0 1.0.0 @s2-dev/streamstore";
33
33
  };
34
34
  //# 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.7.5",
31
+ sdkVersion: "0.7.6",
32
32
  genVersion: "2.546.0",
33
- userAgent: "speakeasy-sdk/typescript 0.7.5 2.546.0 1.0.0 @s2-dev/streamstore",
33
+ userAgent: "speakeasy-sdk/typescript 0.7.6 2.546.0 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.7.5",
25
+ currentVersion: "0.7.6",
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));
@@ -25,7 +25,7 @@ const streamRead_js_1 = require("./tools/streamRead.js");
25
25
  function createMCPServer(deps) {
26
26
  const server = new mcp_js_1.McpServer({
27
27
  name: "S2",
28
- version: "0.7.5",
28
+ version: "0.7.6",
29
29
  });
30
30
  const client = new core_js_1.S2Core({
31
31
  bearerAuth: deps.bearerAuth,
@@ -1 +1 @@
1
- {"version":3,"file":"registration.d.ts","sourceRoot":"","sources":["../../../src/hooks/registration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAQnC,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,QAKrC"}
1
+ {"version":3,"file":"registration.d.ts","sourceRoot":"","sources":["../../../src/hooks/registration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AASnC,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,QAKrC"}
@@ -1,13 +1,13 @@
1
- import { CompressionHook } from "./compression.js";
2
1
  /*
3
2
  * This file is only ever generated once on the first generation and then is free to be modified.
4
3
  * Any hooks you wish to add should be registered in the initHooks function. Feel free to define them
5
4
  * in this file or in separate files in the hooks folder.
6
5
  */
6
+ // @ts-expect-error remove this line when you add your first hook and hooks is used
7
7
  export function initHooks(hooks) {
8
8
  // Add hooks by calling hooks.register{ClientInit/BeforeCreateRequest/BeforeRequest/AfterSuccess/AfterError}Hook
9
9
  // with an instance of a hook that implements that specific Hook interface
10
10
  // Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance
11
- hooks.registerBeforeCreateRequestHook(new CompressionHook());
11
+ // hooks.registerBeforeCreateRequestHook(new CompressionHook());
12
12
  }
13
13
  //# sourceMappingURL=registration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"registration.js","sourceRoot":"","sources":["../../../src/hooks/registration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGnD;;;;GAIG;AAEH,MAAM,UAAU,SAAS,CAAC,KAAY;IACpC,gHAAgH;IAChH,0EAA0E;IAC1E,4FAA4F;IAC5F,KAAK,CAAC,+BAA+B,CAAC,IAAI,eAAe,EAAE,CAAC,CAAC;AAC/D,CAAC"}
1
+ {"version":3,"file":"registration.js","sourceRoot":"","sources":["../../../src/hooks/registration.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH,mFAAmF;AACnF,MAAM,UAAU,SAAS,CAAC,KAAY;IACpC,gHAAgH;IAChH,0EAA0E;IAC1E,4FAA4F;IAC5F,gEAAgE;AAClE,CAAC"}
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
27
27
  export declare const SDK_METADATA: {
28
28
  readonly language: "typescript";
29
29
  readonly openapiDocVersion: "1.0.0";
30
- readonly sdkVersion: "0.7.5";
30
+ readonly sdkVersion: "0.7.6";
31
31
  readonly genVersion: "2.546.0";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.7.5 2.546.0 1.0.0 @s2-dev/streamstore";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.7.6 2.546.0 1.0.0 @s2-dev/streamstore";
33
33
  };
34
34
  //# 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.7.5",
27
+ sdkVersion: "0.7.6",
28
28
  genVersion: "2.546.0",
29
- userAgent: "speakeasy-sdk/typescript 0.7.5 2.546.0 1.0.0 @s2-dev/streamstore",
29
+ userAgent: "speakeasy-sdk/typescript 0.7.6 2.546.0 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.7.5",
19
+ currentVersion: "0.7.6",
20
20
  },
21
21
  });
22
22
  run(app, process.argv.slice(2), buildContext(process));
@@ -22,7 +22,7 @@ import { tool$streamRead } from "./tools/streamRead.js";
22
22
  export function createMCPServer(deps) {
23
23
  const server = new McpServer({
24
24
  name: "S2",
25
- version: "0.7.5",
25
+ version: "0.7.6",
26
26
  });
27
27
  const client = new S2Core({
28
28
  bearerAuth: deps.bearerAuth,
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@s2-dev/streamstore",
5
- "version": "0.7.5",
5
+ "version": "0.7.6",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s2-dev/streamstore",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "author": "Speakeasy",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,4 +1,4 @@
1
- import { CompressionHook } from "./compression.js";
1
+ // import { CompressionHook } from "./compression.js";
2
2
  import { Hooks } from "./types.js";
3
3
 
4
4
  /*
@@ -7,9 +7,10 @@ import { Hooks } from "./types.js";
7
7
  * in this file or in separate files in the hooks folder.
8
8
  */
9
9
 
10
+ // @ts-expect-error remove this line when you add your first hook and hooks is used
10
11
  export function initHooks(hooks: Hooks) {
11
12
  // Add hooks by calling hooks.register{ClientInit/BeforeCreateRequest/BeforeRequest/AfterSuccess/AfterError}Hook
12
13
  // with an instance of a hook that implements that specific Hook interface
13
14
  // Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance
14
- hooks.registerBeforeCreateRequestHook(new CompressionHook());
15
+ // hooks.registerBeforeCreateRequestHook(new CompressionHook());
15
16
  }
package/src/lib/config.ts CHANGED
@@ -54,7 +54,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
54
54
  export const SDK_METADATA = {
55
55
  language: "typescript",
56
56
  openapiDocVersion: "1.0.0",
57
- sdkVersion: "0.7.5",
57
+ sdkVersion: "0.7.6",
58
58
  genVersion: "2.546.0",
59
- userAgent: "speakeasy-sdk/typescript 0.7.5 2.546.0 1.0.0 @s2-dev/streamstore",
59
+ userAgent: "speakeasy-sdk/typescript 0.7.6 2.546.0 1.0.0 @s2-dev/streamstore",
60
60
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.7.5",
22
+ currentVersion: "0.7.6",
23
23
  },
24
24
  });
25
25
 
@@ -36,7 +36,7 @@ export function createMCPServer(deps: {
36
36
  }) {
37
37
  const server = new McpServer({
38
38
  name: "S2",
39
- version: "0.7.5",
39
+ version: "0.7.6",
40
40
  });
41
41
 
42
42
  const client = new S2Core({