@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 +12 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{models-2V3Llpqk.d.cts → models-CqqQyGmO.d.ts} +6 -3
- package/dist/models-CqqQyGmO.d.ts.map +1 -0
- package/dist/{models-Bemi0dKg.d.ts → models-D20OBuAe.d.cts} +6 -3
- package/dist/models-D20OBuAe.d.cts.map +1 -0
- package/dist/models.d.cts +2 -2
- package/dist/models.d.ts +2 -2
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.ts +1 -1
- package/dist/{schema-BZvnw81E.d.ts → schema-Dj3NSLe5.d.cts} +45 -24
- package/dist/{schema-BZvnw81E.d.cts.map → schema-Dj3NSLe5.d.cts.map} +1 -1
- package/dist/{schema-BZvnw81E.d.cts → schema-Dj3NSLe5.d.ts} +45 -24
- package/dist/{schema-BZvnw81E.d.ts.map → schema-Dj3NSLe5.d.ts.map} +1 -1
- package/docs/reference/sdk-reference.json +16730 -0
- package/package.json +4 -3
- package/dist/models-2V3Llpqk.d.cts.map +0 -1
- package/dist/models-Bemi0dKg.d.ts.map +0 -1
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/
|
|
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 = "
|
|
2826
|
+
const SDK_VERSION = "4.0.0";
|
|
2827
2827
|
var ProxyRequestClient = class ProxyRequestClient {
|
|
2828
2828
|
apiKeys;
|
|
2829
2829
|
affiliates;
|