@xyo-network/xl1-rpc 3.0.1 → 3.0.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/README.md CHANGED
@@ -41,7 +41,17 @@ bun add @xyo-network/xl1-rpc
41
41
 
42
42
  ## Build Targets
43
43
 
44
- This package ships both neutral/browser and Node-specific bundles. The Node bundle adds `rpcEngineFromConnection` for server-side setup.
44
+ | Export | Contents |
45
+ |--------|----------|
46
+ | `.` | Client + server (full package) |
47
+ | `./client` | JsonRpc providers, transports, types, outbound engine handlers |
48
+ | `./server` | Inbound RPC engines (`rpcEngineFromConnection`, middleware) |
49
+
50
+ ```ts
51
+ import { JsonRpcBlockViewer } from '@xyo-network/xl1-rpc/client'
52
+ import { composedRpcEngineFromConnection } from '@xyo-network/xl1-rpc/server'
53
+ import { JsonRpcBlockViewer, rpcEngineFromConnection } from '@xyo-network/xl1-rpc'
54
+ ```
45
55
 
46
56
  ## What's Inside
47
57
 
@@ -0,0 +1,5 @@
1
+ export * from '../engine/index.ts';
2
+ export * from '../provider/index.ts';
3
+ export * from '../transport/index.ts';
4
+ export * from '../types/index.ts';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA"}