@idosgames/core 0.17.0 → 0.18.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
@@ -14,6 +14,26 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [0.18.0] - 2026-09-23
18
+
19
+ ### Added
20
+
21
+ - **Title login mode and play access by token balance** (`cfg.Blockchain.PlayAccess`):
22
+ `PlatformLoginResponse.PlayAccess`, `client.auth.playAccess` + `playAccess:changed`,
23
+ `playAccess:required` (a gameplay call refused with HTTP 403 `PLAY_ACCESS_REQUIRED` — not raised as
24
+ `error:global`), `client.auth.getAuthOptions()` (the mode before login),
25
+ `client.auth.linkWallet()`, `client.blockchain.getPlayAccess()` / `confirmPlayAccess()`,
26
+ `WalletGateBalanceSource.InGame`.
27
+ - **Session refresh by refresh token** (`Authentication/RefreshSession`). Logins now return
28
+ `RefreshToken`; the client keeps it (storage only when remembering), rotates it on every refresh,
29
+ and uses it FIRST on a 401 and on `autoLogin()`. Replaying the login method is the fallback. Any
30
+ remembered session comes back, wallet and Google included. The token is forgotten only on refusals
31
+ that mean it is dead (invalid/expired/revoked/reused/missing, banned) — a transient refusal keeps it.
32
+
33
+ ### Removed
34
+
35
+ - `BlockchainWalletLoginPolicy.TokenGates` — token requirements live in `PlayAccess` only.
36
+
17
37
  ## [0.17.0] - 2026-09-23
18
38
 
19
39
  A game on the SDK can now hand idosgames.com a frame of itself for the site's **Shot** button