sound-tank 1.3.0 → 2.0.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/.env.example +3 -1
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +26 -0
- package/README.md +674 -21
- package/dist/index.d.mts +247 -94
- package/dist/index.d.ts +247 -94
- package/dist/index.js +424 -141
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +424 -141
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -10
- package/.prtrc.json +0 -13
- package/prt.json +0 -10
package/.env.example
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# sound-tank
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- ce70040: Resource class architecture (v2.0 breaking change)
|
|
8
|
+
- Add `ListingsResource`, `OrdersResource` classes (`reverb.listings.getMy`, etc.)
|
|
9
|
+
- Remove flat methods from `Reverb` class; rename `getArbitraryEndpoint` -> `_getArbitraryEndpoint`
|
|
10
|
+
- Migrate all methods from axios -> `HttpClient` abstraction
|
|
11
|
+
- Remove dual `(reverb, options)` pattern; all methods now `(client, config, options)`
|
|
12
|
+
- Move `PaginatedReverbResponse` to `types.ts`
|
|
13
|
+
- Remove `getMyRoot`
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- ce70040: Add `NegotiationsResource` (`reverb.negotiations.*`)
|
|
18
|
+
- `getNegotiations(options)` — fetch active offers grouped by listing (`/my/listings/negotiations`)
|
|
19
|
+
- `getNegotiation(offerId)` — fetch a single offer by id (`/my/negotiations/:id`)
|
|
20
|
+
- Add `Negotiation`, `NegotiationOffer`, `NegotiationPriceDisplay`, `NegotiationLinks` types to `types.ts`
|
|
21
|
+
- Add `ListingWithNegotiations` type (`Listing & { negotiations: Negotiation[] }`)
|
|
22
|
+
|
|
23
|
+
## 1.3.1
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- ec5975d: update readme
|
|
28
|
+
|
|
3
29
|
## 1.3.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|