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 CHANGED
@@ -1,2 +1,4 @@
1
1
  REVERB_API_KEY=1234567890
2
- REVERB_POST_KEY=1234567890
2
+ REVERB_POST_KEY=1234567890
3
+
4
+ SOUNDTANK_LOG_LEVEL=DEBUG
@@ -0,0 +1,3 @@
1
+ {
2
+ "prettier.configPath": "prettier.config.mjs"
3
+ }
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