astrocoins 2.1.0 → 2.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 +2 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
# astrocoins
|
|
2
2
|
|
|
3
|
-
Node.js / TypeScript client for the AstroCoins API.
|
|
4
|
-
`astrocoins` library — it talks to the same REST endpoints
|
|
5
|
-
(`GET /balance/:id`, `POST /add`, `POST /remove`, `POST /transfer`,
|
|
6
|
-
`GET|POST /blacklist`, `GET|DELETE /blacklist/:id`) and maps HTTP errors to
|
|
7
|
-
typed exceptions. No other logic.
|
|
3
|
+
Node.js / TypeScript client for the AstroCoins API.
|
|
8
4
|
|
|
9
|
-
## Install
|
|
5
|
+
## Install
|
|
10
6
|
|
|
11
7
|
```bash
|
|
12
8
|
npm install astrocoins
|