lokiplay 0.3.8 → 0.4.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.
@@ -11,7 +11,15 @@
11
11
  - Never trust or override the `projectId`, player identity, room membership, or
12
12
  sequence returned by Loki.
13
13
  - Create rooms with `createRoom()` and join with `joinRoom({ inviteCode })`.
14
- Do not invent Loki room keys.
14
+ Do not invent Loki room keys. `create()` stays invite-only unless the
15
+ game explicitly passes `{ visibility: "public" }`. Do not make every room
16
+ public. Confirm for each mode whether entry is private invites, public
17
+ room browsing (`listPublicRooms` + `joinPublic`), automatic matchmaking,
18
+ or a combination. Loki’s SDK does not add a public lobby screen. If
19
+ public-room discovery is enabled, the game agent must build the room
20
+ browser and all loading, empty, joining, full-room, waiting, readiness,
21
+ and error states. The Loki overlay does not list, create, or join public
22
+ rooms.
15
23
  - Installing the SDK does not add a create/join screen. If the game has no
16
24
  usable room-entry flow, add one before shipping: a minimal lobby (create
17
25
  room, join with invite, copy invite, start when ready) or an automatic
@@ -36,7 +44,8 @@
36
44
  matchmaking flow.
37
45
  - Determine and confirm for each mode: minimum, recommended, and maximum
38
46
  players; number of teams, team size, and whether players share control;
39
- private invite, lobby, matchmaking, or asynchronous entry; whether late
47
+ private invite, public room browsing, automatic matchmaking, a
48
+ combination, or asynchronous entry; whether late
40
49
  joining and spectators are allowed; turn-based, event-driven, continuous
41
50
  realtime, or hybrid simulation; sequential or simultaneous input; required
42
51
  authoritative update frequency and latency sensitivity; session duration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lokiplay",
3
- "version": "0.3.8",
3
+ "version": "0.4.0",
4
4
  "description": "Command-line tools for Loki game projects and deployments.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -39,7 +39,7 @@
39
39
  "access": "public"
40
40
  },
41
41
  "dependencies": {
42
- "@lokiplay/protocol": "0.3.8",
42
+ "@lokiplay/protocol": "0.4.0",
43
43
  "fflate": "^0.8.3"
44
44
  }
45
45
  }