ts-procedures 3.3.1 → 3.3.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-procedures",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "description": "A TypeScript RPC framework that creates type-safe, schema-validated procedure calls with a single function definition. Define your procedures once and get full type inference, runtime validation, and framework integration hooks.",
5
5
  "main": "build/exports.js",
6
6
  "types": "build/exports.d.ts",
@@ -17,7 +17,7 @@
17
17
  "types": "./build/exports.d.ts",
18
18
  "import": "./build/exports.js"
19
19
  },
20
- "./http-rpc": {
20
+ "./http": {
21
21
  "types": "./build/implementations/http/types.d.ts"
22
22
  },
23
23
  "./express-rpc": {
@@ -28,7 +28,7 @@
28
28
  "types": "./build/implementations/http/hono-rpc/index.d.ts",
29
29
  "import": "./build/implementations/http/hono-rpc/index.js"
30
30
  },
31
- "./http-stream": {
31
+ "./hono-stream": {
32
32
  "types": "./build/implementations/http/http-stream/index.d.ts",
33
33
  "import": "./build/implementations/http/http-stream/index.js"
34
34
  }
@@ -18,7 +18,7 @@ npm install hono
18
18
 
19
19
  ```typescript
20
20
  import { Procedures } from 'ts-procedures'
21
- import { HonoStreamAppBuilder } from 'ts-procedures/implementations/http/hono-stream'
21
+ import { HonoStreamAppBuilder } from 'ts-procedures/hono-stream'
22
22
 
23
23
  // Define your context and config types
24
24
  type StreamContext = { userId: string }
@@ -257,5 +257,5 @@ import {
257
257
  HonoStreamAppBuilderConfig,
258
258
  StreamHttpRouteDoc,
259
259
  StreamMode,
260
- } from 'ts-procedures/implementations/http/hono-stream'
260
+ } from 'ts-procedures/hono-stream'
261
261
  ```