hytopia 0.11.9 → 0.12.0-prerelease-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.
@@ -9,7 +9,7 @@ The payloads for all events in the game server.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- export interface EventPayloads extends AudioEventPayloads, BaseEntityControllerEventPayloads, BlockTypeEventPayloads, BlockTypeRegistryEventPayloads, ChatEventPayloads, ChunkLatticeEventPayloads, ConnectionEventPayloads, EntityEventPayloads, GameServerEventPayloads, ParticleEmitterEventPayloads, PlayerCameraEventPayloads, PlayerEventPayloads, PlayerManagerEventPayloads, PlayerUIEventPayloads, SceneUIEventPayloads, SimulationEventPayloads, SocketEventPayloads, LightEventPayloads, WebServerEventPayloads, WorldEventPayloads, WorldLoopEventPayloads, WorldManagerEventPayloads
12
+ export interface EventPayloads extends AudioEventPayloads, BaseEntityControllerEventPayloads, BlockTypeEventPayloads, BlockTypeRegistryEventPayloads, ChatEventPayloads, ChunkLatticeEventPayloads, ConnectionEventPayloads, EntityEventPayloads, GameServerEventPayloads, ParticleEmitterEventPayloads, PlayerCameraEventPayloads, PlayerEventPayloads, PlayerManagerEventPayloads, PlayerUIEventPayloads, SceneUIEventPayloads, SimulationEventPayloads, LightEventPayloads, WebServerEventPayloads, WorldEventPayloads, WorldLoopEventPayloads, WorldManagerEventPayloads
13
13
  ```
14
- **Extends:** [AudioEventPayloads](./server.audioeventpayloads.md)<!-- -->, [BaseEntityControllerEventPayloads](./server.baseentitycontrollereventpayloads.md)<!-- -->, [BlockTypeEventPayloads](./server.blocktypeeventpayloads.md)<!-- -->, [BlockTypeRegistryEventPayloads](./server.blocktyperegistryeventpayloads.md)<!-- -->, [ChatEventPayloads](./server.chateventpayloads.md)<!-- -->, [ChunkLatticeEventPayloads](./server.chunklatticeeventpayloads.md)<!-- -->, ConnectionEventPayloads, [EntityEventPayloads](./server.entityeventpayloads.md)<!-- -->, [GameServerEventPayloads](./server.gameservereventpayloads.md)<!-- -->, [ParticleEmitterEventPayloads](./server.particleemittereventpayloads.md)<!-- -->, [PlayerCameraEventPayloads](./server.playercameraeventpayloads.md)<!-- -->, [PlayerEventPayloads](./server.playereventpayloads.md)<!-- -->, [PlayerManagerEventPayloads](./server.playermanagereventpayloads.md)<!-- -->, [PlayerUIEventPayloads](./server.playeruieventpayloads.md)<!-- -->, [SceneUIEventPayloads](./server.sceneuieventpayloads.md)<!-- -->, [SimulationEventPayloads](./server.simulationeventpayloads.md)<!-- -->, SocketEventPayloads, [LightEventPayloads](./server.lighteventpayloads.md)<!-- -->, WebServerEventPayloads, [WorldEventPayloads](./server.worldeventpayloads.md)<!-- -->, [WorldLoopEventPayloads](./server.worldloopeventpayloads.md)<!-- -->, [WorldManagerEventPayloads](./server.worldmanagereventpayloads.md)
14
+ **Extends:** [AudioEventPayloads](./server.audioeventpayloads.md)<!-- -->, [BaseEntityControllerEventPayloads](./server.baseentitycontrollereventpayloads.md)<!-- -->, [BlockTypeEventPayloads](./server.blocktypeeventpayloads.md)<!-- -->, [BlockTypeRegistryEventPayloads](./server.blocktyperegistryeventpayloads.md)<!-- -->, [ChatEventPayloads](./server.chateventpayloads.md)<!-- -->, [ChunkLatticeEventPayloads](./server.chunklatticeeventpayloads.md)<!-- -->, ConnectionEventPayloads, [EntityEventPayloads](./server.entityeventpayloads.md)<!-- -->, [GameServerEventPayloads](./server.gameservereventpayloads.md)<!-- -->, [ParticleEmitterEventPayloads](./server.particleemittereventpayloads.md)<!-- -->, [PlayerCameraEventPayloads](./server.playercameraeventpayloads.md)<!-- -->, [PlayerEventPayloads](./server.playereventpayloads.md)<!-- -->, [PlayerManagerEventPayloads](./server.playermanagereventpayloads.md)<!-- -->, [PlayerUIEventPayloads](./server.playeruieventpayloads.md)<!-- -->, [SceneUIEventPayloads](./server.sceneuieventpayloads.md)<!-- -->, [SimulationEventPayloads](./server.simulationeventpayloads.md)<!-- -->, [LightEventPayloads](./server.lighteventpayloads.md)<!-- -->, WebServerEventPayloads, [WorldEventPayloads](./server.worldeventpayloads.md)<!-- -->, [WorldLoopEventPayloads](./server.worldloopeventpayloads.md)<!-- -->, [WorldManagerEventPayloads](./server.worldmanagereventpayloads.md)
15
15
 
package/docs/server.md CHANGED
@@ -1521,17 +1521,6 @@ Description
1521
1521
  The default rigid body options for a model entity when EntityOptions.rigidBodyOptions is not provided.
1522
1522
 
1523
1523
 
1524
- </td></tr>
1525
- <tr><td>
1526
-
1527
- [PORT](./server.port.md)
1528
-
1529
-
1530
- </td><td>
1531
-
1532
- The port the server will run on. You can override this in your .env by setting PORT. When deployed in production to HYTOPIA servers, any .env value will be ignored and 8080 will be used.
1533
-
1534
-
1535
1524
  </td></tr>
1536
1525
  <tr><td>
1537
1526
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hytopia",
3
- "version": "0.11.9",
3
+ "version": "0.12.0-prerelease-2",
4
4
  "description": "The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.",
5
5
  "type": "module",
6
6
  "main": "./server.mjs",
package/server.api.json CHANGED
@@ -18020,15 +18020,6 @@
18020
18020
  "kind": "Content",
18021
18021
  "text": ", "
18022
18022
  },
18023
- {
18024
- "kind": "Reference",
18025
- "text": "SocketEventPayloads",
18026
- "canonicalReference": "server!~SocketEventPayloads:interface"
18027
- },
18028
- {
18029
- "kind": "Content",
18030
- "text": ", "
18031
- },
18032
18023
  {
18033
18024
  "kind": "Reference",
18034
18025
  "text": "LightEventPayloads",
@@ -18164,10 +18155,6 @@
18164
18155
  {
18165
18156
  "startIndex": 41,
18166
18157
  "endIndex": 42
18167
- },
18168
- {
18169
- "startIndex": 43,
18170
- "endIndex": 44
18171
18158
  }
18172
18159
  ]
18173
18160
  },
@@ -40827,29 +40814,6 @@
40827
40814
  ],
40828
40815
  "extendsTokenRanges": []
40829
40816
  },
40830
- {
40831
- "kind": "Variable",
40832
- "canonicalReference": "server!PORT:var",
40833
- "docComment": "/**\n * The port the server will run on. You can override this in your .env by setting PORT. When deployed in production to HYTOPIA servers, any .env value will be ignored and 8080 will be used.\n *\n * @public\n */\n",
40834
- "excerptTokens": [
40835
- {
40836
- "kind": "Content",
40837
- "text": "PORT: "
40838
- },
40839
- {
40840
- "kind": "Content",
40841
- "text": "string | 8080"
40842
- }
40843
- ],
40844
- "fileUrlPath": "src/networking/WebServer.ts",
40845
- "isReadonly": true,
40846
- "releaseTag": "Public",
40847
- "name": "PORT",
40848
- "variableTypeTokenRange": {
40849
- "startIndex": 1,
40850
- "endIndex": 2
40851
- }
40852
- },
40853
40817
  {
40854
40818
  "kind": "Class",
40855
40819
  "canonicalReference": "server!Quaternion:class",
package/server.d.ts CHANGED
@@ -2,7 +2,6 @@ import type { AnyPacket } from '@hytopia.com/server-protocol';
2
2
  import type { ErrorEvent as ErrorEvent_2 } from 'ws';
3
3
  import EventEmitter from 'eventemitter3';
4
4
  import http from 'http';
5
- import type { IncomingMessage } from 'http';
6
5
  import type { InputSchema } from '@hytopia.com/server-protocol';
7
6
  import type { LobbyMembershipDto } from '@hytopia.com/creative-lib/dist/impl/getSession';
8
7
  import protocol from '@hytopia.com/server-protocol';
@@ -11,6 +10,7 @@ import { SdpMatrix3 } from '@dimforge/rapier3d-simd-compat';
11
10
  import * as Sentry from '@sentry/node';
12
11
  import type { Socket } from 'net';
13
12
  import { WebSocket as WebSocket_2 } from 'ws';
13
+ import type { WebTransportSessionImpl } from '@fails-components/webtransport/dist/lib/types';
14
14
 
15
15
  /**
16
16
  * Manages the assets library and synchronization of assets
@@ -2320,7 +2320,7 @@ export declare class ErrorHandler {
2320
2320
  *
2321
2321
  * @public
2322
2322
  */
2323
- export declare interface EventPayloads extends AudioEventPayloads, BaseEntityControllerEventPayloads, BlockTypeEventPayloads, BlockTypeRegistryEventPayloads, ChatEventPayloads, ChunkLatticeEventPayloads, ConnectionEventPayloads, EntityEventPayloads, GameServerEventPayloads, ParticleEmitterEventPayloads, PlayerCameraEventPayloads, PlayerEventPayloads, PlayerManagerEventPayloads, PlayerUIEventPayloads, SceneUIEventPayloads, SimulationEventPayloads, SocketEventPayloads, LightEventPayloads, WebServerEventPayloads, WorldEventPayloads, WorldLoopEventPayloads, WorldManagerEventPayloads {
2323
+ export declare interface EventPayloads extends AudioEventPayloads, BaseEntityControllerEventPayloads, BlockTypeEventPayloads, BlockTypeRegistryEventPayloads, ChatEventPayloads, ChunkLatticeEventPayloads, ConnectionEventPayloads, EntityEventPayloads, GameServerEventPayloads, ParticleEmitterEventPayloads, PlayerCameraEventPayloads, PlayerEventPayloads, PlayerManagerEventPayloads, PlayerUIEventPayloads, SceneUIEventPayloads, SimulationEventPayloads, LightEventPayloads, WebServerEventPayloads, WorldEventPayloads, WorldLoopEventPayloads, WorldManagerEventPayloads {
2324
2324
  }
2325
2325
 
2326
2326
  /**
@@ -5144,16 +5144,6 @@ export declare interface PlayerUIEventPayloads {
5144
5144
  };
5145
5145
  }
5146
5146
 
5147
- /**
5148
- * The port the server will run on. You can override
5149
- * this in your .env by setting PORT. When deployed in
5150
- * production to HYTOPIA servers, any .env value will
5151
- * be ignored and 8080 will be used.
5152
- *
5153
- * @public
5154
- */
5155
- export declare const PORT: string | 8080;
5156
-
5157
5147
  /**
5158
5148
  * Represents a quaternion.
5159
5149
  *