@idosgames/core 0.14.0 → 0.14.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 CHANGED
@@ -14,6 +14,39 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [0.14.1] - 2026-09-16
18
+
19
+ Custom analytics events, A/B variants on the client, and data collections. A patch on purpose:
20
+ everything is additive, and a minor on `0.x` would force a range + version bump of wallet,
21
+ module-sdk, react and app-shell.
22
+
23
+ ### Added
24
+
25
+ - **`client.analytics`** (`AnalyticsService`) — Firebase-style custom events: `logEvent(name,
26
+ params, value)`, `logScreenView`, `flush`, player consent via `setEnabled`. Batched (25 events /
27
+ 30 s / tab hidden) and stored in `platform.storage`, retried with the same `BatchID` (the server
28
+ dedupes). Automatic events (`idos_first_open`, `idos_session_start`, `idos_app_update`,
29
+ `idos_os_update`) are sent only once the title config has `Analytics.Enabled === true`. The queue
30
+ belongs to the player: a different player signing in drops the previous player's tail. Exports
31
+ `AnalyticsEventNaming`, `AutomaticEvent`, `AnalyticsLimits`, `AnalyticsDropReason`,
32
+ `AnalyticsAction`, `EVENT_NAME_PATTERN`, `describeUserAgent`; events `analytics:flushed`,
33
+ `analytics:eventsDropped`. `TitlePublicConfigurationModel.Analytics` (optional). Skill
34
+ `analytics-events`.
35
+ - **`client.experiments`** (`ExperimentsService`) — the A/B variants in effect for this player:
36
+ `load()` once per session (`GetExperiments`), then `getVariant`, `getStatus`, `getParams`,
37
+ `getParam(id, key, default)` (typed by the default), `isInVariant`. Before the answer, getters
38
+ return this player's values from the previous session or the default. Events
39
+ `experiments:loaded`, `experiments:changed`. `ExperimentDefinition` gains optional `Goals`,
40
+ `ActivationEvent`, `RolloutVariantID`; new `ExperimentGoalKind`, `PlayerExperimentStatus`,
41
+ `ExperimentAction`. Skill `experiments-system`.
42
+ - **`client.dataCollections`** (`DataCollectionsService`) — the title's own data structures
43
+ (guilds, auctions, orders, catalogs, articles…) with declared fields, sort keys and access rules:
44
+ `getDefinitions`, `get`, `getMany`, `query`, `queryAll`, `count`, `create`, `update`, `set`,
45
+ `increment`, `delete`, `batch`, `getCounter`, `getMyRoles`, files (`beginFileUpload`,
46
+ `uploadFile`), and login-free reads of public collections (`getPublicViews`, `readPublicView`,
47
+ `getPublic`, `searchPublic`). `where(field, op, value)` builds a filter. Not to be confused with
48
+ `client.collection` (collectible card sets). Skill `data-collections`.
49
+
17
50
  ## [0.14.0] - 2026-09-14
18
51
 
19
52
  Workshop — a catalog of player and publisher content handed out as licenses.
package/README.md CHANGED
@@ -59,11 +59,13 @@ const off = client.on("currency:converted", (payload) => {
59
59
 
60
60
  ## What's on the client
61
61
 
62
- `client.auth`, `user`, `currency`, `item`, `store`, `lootbox`, `reward`, `quest`,
63
- `timedEvent`, `leaderboard`, `season`, `premium`, `character`, `match`, `craft`,
64
- `collection`, `coopEvent`, `dealOffer`, `referral`, `social`, `timedBoost`,
65
- `userCustomData`, `title`, `gameLoop` — plus `client.data` (local cache) and
66
- `client.on/once/off` (events).
62
+ `client.auth`, `user`, `currency`, `item`, `store`, `purchase`, `checkout`, `lootbox`,
63
+ `reward`, `quest`, `tutorial`, `analytics`, `experiments`, `communityMarketing`, `chat`,
64
+ `push`, `localization`, `timedEvent`, `leaderboard`, `season`, `premium`, `character`,
65
+ `match`, `craft`, `ai`, `collection`, `coopEvent`, `dealOffer`, `referral`, `social`,
66
+ `timedBoost`, `userCustomData`, `titleCustomData`, `title`, `gameLoop`, `cloudCode`,
67
+ `blockchain`, `marketplace`, `multiplayer`, `workshop`, `dataCollections` — plus
68
+ `client.data` (local cache) and `client.on/once/off` (events).
67
69
 
68
70
  ## Entry points
69
71