@invonetwork/web-sdk 3.30.4 → 3.32.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 +21 -0
- package/README.md +2963 -2954
- package/dist/{chunk-MTOYPY5P.js → chunk-2XOKKKFR.js} +3 -3
- package/dist/chunk-LVVPRVPU.js +6 -0
- package/dist/{chunk-7AJJ2JVB.js → chunk-QEJB6HC7.js} +38 -7
- package/dist/{chunk-ULX3HXTO.js → chunk-RPGRRZFY.js} +14 -5
- package/dist/game-server.cjs +47 -7
- package/dist/game-server.d.cts +4 -4
- package/dist/game-server.d.ts +4 -4
- package/dist/game-server.js +5 -5
- package/dist/game.cjs +37 -6
- package/dist/game.d.cts +3 -3
- package/dist/game.d.ts +3 -3
- package/dist/game.js +3 -3
- package/dist/{hosted-approval-Ca8vyGry.d.ts → hosted-approval-ICho9KsV.d.ts} +1 -1
- package/dist/{hosted-approval-DfVC4oDL.d.cts → hosted-approval-li0XZFz-.d.cts} +1 -1
- package/dist/index.cjs +36 -5
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/{server-8WZat6Q5.d.ts → server-B-KKg5P0.d.ts} +15 -5
- package/dist/{server-GdJ1Jf05.d.cts → server-jAn9dNM3.d.cts} +15 -5
- package/dist/server.cjs +47 -7
- package/dist/server.d.cts +3 -3
- package/dist/server.d.ts +3 -3
- package/dist/server.js +3 -3
- package/dist/{types-CVRok5ZV.d.cts → types-CaPHNjOU.d.cts} +39 -1
- package/dist/{types-CVRok5ZV.d.ts → types-CaPHNjOU.d.ts} +39 -1
- package/dist/{version-CCHWiwqw.d.cts → version-CqwGhQXV.d.cts} +1 -1
- package/dist/{version-CCHWiwqw.d.ts → version-CqwGhQXV.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-MKFXIYMC.js +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.32.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add `InvoError.isPaymentsPaused` for `PAYMENTS_PAUSED` (403): INVO has paused new payments on the developer account. Every call that starts a payment returns it; refunds, reads, balances, transfers and existing subscription renewals keep working.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 34f0767: Doc comment: `guarantee_covered` on `purchase.disputed` no longer says a lost coin chargeback costs you nothing; a coin purchase dispute reports what it charged you in `spent_coins_charged_usd`. No code or API change.
|
|
12
|
+
|
|
13
|
+
## 3.31.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- Types the backend fields that shipped 2026-10-20. All additive; nothing renamed or removed.
|
|
18
|
+
|
|
19
|
+
- `platformCommerce.getStatus()` and every `getPurchaseHistory()` entry: `invoFeeUsd` (everything INVO kept on the sale) and `partnerShareUsd` (what you earned), USD decimal strings. `null` until the sale settles or when the split cannot be read; absent from an INVO release that does not send them. A later refund or lost dispute does not change them.
|
|
20
|
+
- `purchase.disputed` (coin purchase, on close): `spent_coins_charged_usd`. On a lost dispute INVO takes back the coins the player still holds and charges you for coins already spent, at the price paid per coin before tax; `"0.00"` when nothing was charged.
|
|
21
|
+
- Errors: `err.isRateLimited` (true on any 429; every rate-limit refusal now carries `error_code` `RATE_LIMITED`, `retry_after` and a `Retry-After` header). `err.retryAfter` falls back to the `Retry-After` header when the body has no `retry_after`; the raw header is on `err.retryAfterHeader`. `errorFromResponse` takes an optional fourth argument for it.
|
|
22
|
+
- README: dispute holds on both tiers (the disputed amount is held from your earnings while a dispute you are responsible for is open), the spent-coin charge on a lost coin purchase dispute, and the payout minimum is now $10 (scheduled and on demand; it was $100).
|
|
23
|
+
|
|
3
24
|
## 3.30.4
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|