@faremeter/types 0.13.0 → 0.14.0
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 +36 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# @faremeter/types
|
|
2
|
+
|
|
3
|
+
TypeScript type definitions and runtime validation for the x402 protocol and Faremeter ecosystem.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm install @faremeter/types
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Features
|
|
12
|
+
|
|
13
|
+
- Complete x402 protocol types
|
|
14
|
+
- Runtime validation with arktype
|
|
15
|
+
- Client and facilitator interfaces
|
|
16
|
+
- Chain-specific types (Solana, EVM)
|
|
17
|
+
- Type-safe across the entire ecosystem
|
|
18
|
+
|
|
19
|
+
## Subpath Exports
|
|
20
|
+
|
|
21
|
+
- `@faremeter/types` - Main exports
|
|
22
|
+
- `@faremeter/types/x402` - x402 protocol types
|
|
23
|
+
- `@faremeter/types/client` - Client-side types
|
|
24
|
+
- `@faremeter/types/facilitator` - Facilitator types
|
|
25
|
+
- `@faremeter/types/solana` - Solana-specific types
|
|
26
|
+
- `@faremeter/types/evm` - EVM-specific types
|
|
27
|
+
|
|
28
|
+
## API Reference
|
|
29
|
+
|
|
30
|
+
<!-- TSDOC_START -->
|
|
31
|
+
|
|
32
|
+
<!-- TSDOC_END -->
|
|
33
|
+
|
|
34
|
+
## License
|
|
35
|
+
|
|
36
|
+
LGPL-3.0-only
|