bsv-x402 0.1.0 → 0.2.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 CHANGED
@@ -1,11 +1,11 @@
1
- # @x402/client
1
+ # bsv-x402
2
2
 
3
3
  A JavaScript client library for the [x402 payment protocol](https://x402.merkleworks.io/). Wraps `fetch()` to handle HTTP 402 payment flows transparently.
4
4
 
5
5
  ## How It Works
6
6
 
7
7
  ```js
8
- import { x402Fetch } from '@x402/client'
8
+ import { x402Fetch } from 'bsv-x402'
9
9
 
10
10
  const response = await x402Fetch('https://api.example.com/paid-endpoint')
11
11
  ```
@@ -22,7 +22,7 @@ The app developer just uses `x402Fetch` in place of `fetch`. The browser wallet
22
22
  ## Installation
23
23
 
24
24
  ```bash
25
- npm install @x402/client
25
+ npm install bsv-x402
26
26
  ```
27
27
 
28
28
  ## Development