@irtio/server 0.2.0 → 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.
- package/dist/index.d.ts +2 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -138,7 +138,8 @@ interface Room<S extends AnySchema = AnySchema> {
|
|
|
138
138
|
* The handler is the entry for `name` in the room definition's `alarms` map — arming a name
|
|
139
139
|
* with no handler is a warning and does nothing. Alarms survive hibernation *and* a tenant
|
|
140
140
|
* stop; the guaranteed resolution is seconds, and an alarm fires at-or-after `atMs`, never
|
|
141
|
-
* before. See
|
|
141
|
+
* before. See the room reference at irt.io/docs/reference/room for the worst-case lateness a
|
|
142
|
+
* game should design for.
|
|
142
143
|
*/
|
|
143
144
|
alarm(name: string, atMs: number): void;
|
|
144
145
|
/** D26: cancel the alarm named `name`. Cancelling an unarmed name is a no-op. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@irtio/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "irtio room-file API: defineRoom, handler and ctx types",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dist"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@irtio/schema": "0.
|
|
23
|
+
"@irtio/schema": "0.4.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@dimforge/rapier3d-compat": ">=0.20.0"
|