@proxyrequest/sdk 3.0.1 → 4.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/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ All notable changes to this project are documented here. The format follows [Kee
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [4.0.0] - 2026-09-22
8
+
9
+ - **Breaking:** replace generic nested response objects with the concrete public models used by the API contract.
10
+ - Type order packages as `PackageShort`, order ledgers as `DataLedger[]`, coupon packages and stats as `PackageShort[]` and `CouponStats`, and user coupons and currency as `CouponShort[]` and `UserCurrency`.
11
+ - Regenerate the SDK Reference from backend contract commit `a2d7245`, including expandable nested model fields.
12
+ - Start the synchronized JavaScript, Python, and PHP SDK release train at version 4.0.0.
13
+
7
14
  ## [3.0.1] - 2026-09-21
8
15
 
9
16
  - Bundle openapi-fetch to fix client construction in CommonJS builds.
@@ -56,6 +63,10 @@ All notable changes to this project are documented here. The format follows [Kee
56
63
  - Normalized errors, lazy pagination, invoice downloads, raw requests, and webhook verification.
57
64
  - Reproducible OpenAPI generation, package validation, Node/browser tests, CI, and npm provenance workflow.
58
65
 
59
- [Unreleased]: https://github.com/proxyrequest/javascript-sdk/compare/v2.0.0...HEAD
66
+ [Unreleased]: https://github.com/proxyrequest/javascript-sdk/compare/v4.0.0...HEAD
67
+ [4.0.0]: https://github.com/proxyrequest/javascript-sdk/compare/v3.0.1...v4.0.0
68
+ [3.0.1]: https://github.com/proxyrequest/javascript-sdk/compare/v3.0.0...v3.0.1
69
+ [3.0.0]: https://github.com/proxyrequest/javascript-sdk/compare/v2.1.0...v3.0.0
70
+ [2.1.0]: https://github.com/proxyrequest/javascript-sdk/compare/v2.0.0...v2.1.0
60
71
  [2.0.0]: https://github.com/proxyrequest/javascript-sdk/compare/v1.0.0...v2.0.0
61
72
  [1.0.0]: https://github.com/proxyrequest/javascript-sdk/releases/tag/v1.0.0
package/dist/index.cjs CHANGED
@@ -2823,7 +2823,7 @@ function offsetFromUrl(url) {
2823
2823
  //#endregion
2824
2824
  //#region src/client.ts
2825
2825
  const DEFAULT_BASE_URL = "https://api.proxyrequest.com/api/v1";
2826
- const SDK_VERSION = "3.0.1";
2826
+ const SDK_VERSION = "4.0.0";
2827
2827
  var ProxyRequestClient = class ProxyRequestClient {
2828
2828
  apiKeys;
2829
2829
  affiliates;