@hazae41/jsonrpc 1.1.9 → 1.1.11

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/README.md CHANGED
@@ -3,10 +3,14 @@
3
3
  Rust-like JSON-RPC for TypeScript
4
4
 
5
5
  ```bash
6
- npm i @hazae41/jsonrpc
6
+ npm install @hazae41/jsonrpc
7
7
  ```
8
8
 
9
- [**Node Package 📦**](https://www.npmjs.com/package/@hazae41/jsonrpc)
9
+ ```bash
10
+ deno install jsr:@hazae41/jsonrpc
11
+ ```
12
+
13
+ [**📦 NPM**](https://www.npmjs.com/package/@hazae41/jsonrpc) • [**📦 JSR**](https://jsr.io/@hazae41/jsonrpc)
10
14
 
11
15
  ## Features
12
16
 
@@ -0,0 +1,4 @@
1
+ import type { RpcRequest, RpcRequestInit } from "../request/mod.ts";
2
+ import type { RpcResponse, RpcResponseInit } from "../response/mod.ts";
3
+ export type RpcMessageInit = RpcRequestInit | RpcResponseInit;
4
+ export type RpcMessage = RpcRequest | RpcResponse;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,4 @@
1
1
  export * from "./counter/mod.ts";
2
+ export * from "./message/mod.ts";
2
3
  export * from "./request/mod.ts";
3
4
  export * from "./response/mod.ts";
@@ -1,3 +1,4 @@
1
1
  export * from "./counter/mod.js";
2
+ export * from "./message/mod.js";
2
3
  export * from "./request/mod.js";
3
4
  export * from "./response/mod.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@hazae41/jsonrpc",
4
- "version": "1.1.9",
4
+ "version": "1.1.11",
5
5
  "description": "Rust-like JSON-RPC for TypeScript",
6
6
  "repository": "github:hazae41/jsonrpc",
7
7
  "author": "hazae41",
@@ -25,7 +25,7 @@
25
25
  "@hazae41/result-and-option": "^2.0.10"
26
26
  },
27
27
  "devDependencies": {
28
- "@hazae41/phobos": "^2.0.13",
28
+ "@hazae41/phobos": "^2.0.16",
29
29
  "@hazae41/tscousin": "^1.0.28",
30
30
  "typescript": "^5.9.3"
31
31
  },