@tesana/sdk 1.1.0 → 1.2.0-canary.39285723019.2

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/README.md CHANGED
@@ -52,11 +52,14 @@ succeeding.
52
52
  | `tesana.shop` | In-game shop — `catalog` / `items` / `buy` / `entitlements` / `inventory` |
53
53
  | `tesana.economy` | Coins — `balance` / `packs` / `topUp` / `signIn` |
54
54
  | `tesana.multiplayer` | Open lobbies — `list` / `create` / `join` / `quickJoin` / `send` / `on` |
55
- | `tesana.player` | Identity — `login({ tesanaUserId })` |
55
+ | `tesana.player` | Identity — `me` / `isGuest` / `login()` (asks the host to sign in, like `economy.signIn`) |
56
56
  | `tesana.vanity` | The game's own address on tesana.ai |
57
57
  | `tesana.ads` | Ads, when the host allows them |
58
58
  | `tesana.gameplay` | Progression events — `levelStart` / `levelComplete` / `death` / `checkpoint` / `score` |
59
59
  | `tesana.track` | Any other gameplay event, by name |
60
+ | `tesana.feedback` | Player reports to the creator — `open` (host form) / `submit`; crashes are filed automatically |
61
+ | `tesana.config` | Values the creator tunes without a rebuild — `get(key, default)` / `getAll` / `ready` |
62
+ | `tesana.share` | Invite links — `share({ roomCode, levelId, text })` / `share.params()` |
60
63
 
61
64
  Leaderboards and achievements are client-reported, so they are a ranking to show
62
65
  off rather than a prize table; nothing here mints coins or grants entitlements.
@@ -119,6 +122,10 @@ gameplay.score(props?: GameplayProps | number): boolean; // ba
119
122
 
120
123
  Every call resolves rather than throwing when there is no host, no endpoint or
121
124
  no network. Saves read as empty, the shop reports `no_host`, and the game plays.
125
+ `config.get` answers the last session's value or the game's default, and
126
+ `feedback.open()` and `share()` resolve `{ ok: false, reason }`. Writes that
127
+ report something (`scores.submit`, `feedback.submit`) reject, so the game can say
128
+ it did not send.
122
129
  Real money is never the game's business — `topUp()` asks the host to run
123
130
  checkout, and the price shown is read from the service.
124
131