@genex-ai/multiplayer 0.17.1 → 0.17.6
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/PROTOCOL.md +688 -7
- package/README.md +263 -0
- package/dist/authority/fast-udp.d.ts +13 -0
- package/dist/authority/fast-udp.js +52 -0
- package/dist/authority/fast-webtransport.d.ts +45 -0
- package/dist/authority/fast-webtransport.js +124 -0
- package/dist/authority/index.d.ts +2333 -0
- package/dist/authority/index.js +758 -0
- package/dist/authority/module.d.ts +1 -0
- package/dist/authority/module.js +12 -0
- package/dist/bridge-authority.d.ts +100 -0
- package/dist/bridge-authority.global.js +14 -0
- package/dist/bridge-authority.js +286 -0
- package/dist/bridge-core-Dhc73GC8.d.ts +27 -0
- package/dist/bridge.d.ts +26 -20
- package/dist/bridge.global.js +7 -7
- package/dist/bridge.js +17 -48
- package/dist/chunk-4R7C2TLH.js +68 -0
- package/dist/chunk-5JGRFT2N.js +3646 -0
- package/dist/{chunk-3ZUPU3GT.js → chunk-7QVOIHJF.js} +13 -122
- package/dist/chunk-K3SF5VDS.js +27 -0
- package/dist/chunk-UX3F6YTV.js +143 -0
- package/dist/chunk-Y6XHXDIK.js +6617 -0
- package/dist/{chunk-C52XFIB6.js → chunk-ZSWF4VCN.js} +141 -4
- package/dist/fast-client-CZ41v-oB.d.ts +465 -0
- package/dist/index.d.ts +3 -5
- package/dist/index.js +3 -2
- package/dist/join-CGoInvUM.d.ts +6 -0
- package/dist/module-DqtFb5wA.d.ts +1436 -0
- package/dist/physics-predict-49udN3a1.d.ts +1208 -0
- package/dist/protocol.d.ts +137 -2
- package/dist/protocol.js +33 -1
- package/package.json +33 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ObjectControlOperation as ObjectControlOperation$1, ObjectControlReason as ObjectControlReason$1 } from './protocol.js';
|
|
2
|
+
import { A as AuthSource } from './join-CGoInvUM.js';
|
|
3
|
+
export { C as ColyseusAuth } from './join-CGoInvUM.js';
|
|
2
4
|
export { ObjectState, PlayerState, RoomState } from './schema.js';
|
|
3
5
|
import '@colyseus/schema';
|
|
4
6
|
|
|
@@ -39,10 +41,6 @@ type VoiceJoinOptions = {
|
|
|
39
41
|
speakingThreshold?: number;
|
|
40
42
|
};
|
|
41
43
|
|
|
42
|
-
type ColyseusAuth = {
|
|
43
|
-
embedToken: string;
|
|
44
|
-
};
|
|
45
|
-
type AuthSource = ColyseusAuth | (() => ColyseusAuth | undefined);
|
|
46
44
|
type ConnectOptions = {
|
|
47
45
|
/** Regional relay urls (pass `getColyseusUrls()`) — the SDK probes each and connects to the
|
|
48
46
|
* lowest-latency one (a probe that times out falls back, it never fails the join); a single entry
|
|
@@ -562,4 +560,4 @@ declare function createPrivate<TState extends Record<string, unknown> = never>(o
|
|
|
562
560
|
*/
|
|
563
561
|
declare function joinPrivate<TState extends Record<string, unknown> = never>(code: string, opts: MatchmakeOptions): Promise<Matchmaking<TState>>;
|
|
564
562
|
|
|
565
|
-
export {
|
|
563
|
+
export { AuthSource, type ChatApi, type ChatMessage, type ConnectOptions, type MatchStatus, type MatchmakeOptions, type Matchmaking, type MatchmakingView, type ObjectControlOperation, type ObjectControlOptions, type ObjectControlReason, type ObjectControlResult, type ObjectView, type PlayerView, type PredictSmoothing, type PrivateMatch, type Session, type SessionOptions, type VoiceApi, type VoiceJoinOptions, type VoiceParticipant, connect, createPrivate, joinPrivate, matchmake };
|
package/dist/index.js
CHANGED