@faremeter/rides 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 ADDED
@@ -0,0 +1,37 @@
1
+ # @faremeter/rides
2
+
3
+ Low-boilerplate, no-friction API for getting on x402 quick.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pnpm install @faremeter/rides
9
+ ```
10
+
11
+ ## Features
12
+
13
+ - Simplest Faremeter integration (3 lines of code)
14
+ - Automatic wallet detection (Solana keypair vs EVM private key)
15
+ - Multi-chain payment support (Solana, EVM)
16
+ - Multiple payment schemes (SPL tokens, EIP-3009 USDC)
17
+ - Automatic 402 handling and retry logic
18
+ - Batteries included - all payment handlers bundled
19
+
20
+ ## API Reference
21
+
22
+ <!-- TSDOC_START -->
23
+
24
+ <!-- TSDOC_END -->
25
+
26
+ ## Examples
27
+
28
+ See the [basic example](https://github.com/faremeter/faremeter/blob/main/scripts/rides-example/basic.ts) in the faremeter repository.
29
+
30
+ ## Related Packages
31
+
32
+ - [@faremeter/fetch](https://www.npmjs.com/package/@faremeter/fetch) - Lower-level fetch wrapper
33
+ - [@faremeter/middleware](https://www.npmjs.com/package/@faremeter/middleware) - Server-side middleware
34
+
35
+ ## License
36
+
37
+ LGPL-3.0-only