@invonetwork/web-sdk 2.4.0 → 2.4.1
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 +7 -0
- package/README.md +2 -2
- package/dist/server.cjs +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to `@invonetwork/web-sdk` are documented here. This project
|
|
|
4
4
|
[Semantic Versioning](https://semver.org/). Releases are managed with
|
|
5
5
|
[changesets](https://github.com/changesets/changesets).
|
|
6
6
|
|
|
7
|
+
## [2.4.1] — 2026-07-10
|
|
8
|
+
|
|
9
|
+
Docs only, no code change — corrects stale README prose that the 2.4.0 publish still carried:
|
|
10
|
+
the status line led with an old version, and the Stability section still cited the `2.0.0`
|
|
11
|
+
`playerPhone` requirement as the standing breaking change (2.2.0 relaxed it back to optional).
|
|
12
|
+
Republished so the package-bundled README is accurate.
|
|
13
|
+
|
|
7
14
|
## [2.4.0] — 2026-07-10
|
|
8
15
|
|
|
9
16
|
**Steam transfer policy.** Steam-purchased currency is locked to Steam titles; the backend now
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
First-party TypeScript SDK for integrating **INVO** into partner **web** platforms (storefronts, web games, dashboards). It wraps INVO's web money flows behind a typed, versioned API — the web analog of the Unity/Unreal plugins.
|
|
4
4
|
|
|
5
|
-
> **Status:** `v2.
|
|
5
|
+
> **Status:** `v2.4.1` — stable, published on npm. The backend it wraps is **live** on sandbox + production. The API is covered by a [stability commitment](#stability): no breaking changes without a major bump. Recent highlights: **2.2.0** reconciled with the backend (`mintPlayerToken` is a session mint — `playerPhone` optional; send-by-phone-alone; email-only `getPlayerBalance`); **2.3.0** surfaces the claim-time phone-share `409` on `confirmReceipt*`/`claim*` (+ `err.phoneShareLast4`); **2.4.0** adds Steam transfer-policy handling (`isSteamValueNonTransferable`/`isNonSteamValueIntoSteamBlocked` + `DestinationGame.acceptsSteamOriginValue`). Full history in the [CHANGELOG](CHANGELOG.md).
|
|
6
6
|
> Canonical partner reference: **https://docs.invo.network/docs/currency-purchase** and **https://docs.invo.network/docs/game-developer-integration**.
|
|
7
7
|
|
|
8
8
|
## What it does
|
|
@@ -653,7 +653,7 @@ npm test # vitest
|
|
|
653
653
|
|
|
654
654
|
### Stability
|
|
655
655
|
|
|
656
|
-
Since **`1.0.0`** the public API is **stable**: it follows [semver](https://semver.org/), and **no breaking change ships without a major version bump + a migration note
|
|
656
|
+
Since **`1.0.0`** the public API is **stable**: it follows [semver](https://semver.org/), and **no breaking change ships without a major version bump + a migration note**. Patch = fixes, minor = additive surface (new methods/fields, backward-compatible — e.g. `2.1.0`'s passkey recovery, `2.4.0`'s Steam-policy classifiers), major = breaking changes (rare — `2.0.0` is the only major to date, which required `playerPhone` at the token mint; `2.2.0` later relaxed that back to optional). The wire contract is the same live INVO API you'd call directly, and it's backward-compatible within a major — so a pinned SDK keeps working. Safe to depend on in production; pin a version and watch [releases](https://github.com/Invo-Technologies/invo-web-sdk/releases) for security updates.
|
|
657
657
|
|
|
658
658
|
Full history: [CHANGELOG](https://github.com/Invo-Technologies/invo-web-sdk/blob/main/CHANGELOG.md) · [release notes](https://github.com/Invo-Technologies/invo-web-sdk/blob/main/docs/RELEASES.md) (absolute links to `main`).
|
|
659
659
|
|
package/dist/server.cjs
CHANGED
|
@@ -578,7 +578,7 @@ async function hmacHexSubtle(secret, message) {
|
|
|
578
578
|
}
|
|
579
579
|
|
|
580
580
|
// src/server.ts
|
|
581
|
-
var DEFAULT_UA = "invonetwork-web-sdk/2.4.
|
|
581
|
+
var DEFAULT_UA = "invonetwork-web-sdk/2.4.1 (+https://invo.network)";
|
|
582
582
|
var MAX_USD_AMOUNT = 999.99;
|
|
583
583
|
var MAX_ITEM_PRICE = 999999.99;
|
|
584
584
|
function invalidInput(label, value, why) {
|
package/dist/server.js
CHANGED
|
@@ -167,7 +167,7 @@ async function hmacHexSubtle(secret, message) {
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
// src/server.ts
|
|
170
|
-
var DEFAULT_UA = "invonetwork-web-sdk/2.4.
|
|
170
|
+
var DEFAULT_UA = "invonetwork-web-sdk/2.4.1 (+https://invo.network)";
|
|
171
171
|
var MAX_USD_AMOUNT = 999.99;
|
|
172
172
|
var MAX_ITEM_PRICE = 999999.99;
|
|
173
173
|
function invalidInput(label, value, why) {
|
package/package.json
CHANGED