@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/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 { type AuthSource, type ChatApi, type ChatMessage, type ColyseusAuth, 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 };
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
@@ -3,8 +3,9 @@ import {
3
3
  createPrivate,
4
4
  joinPrivate,
5
5
  matchmake
6
- } from "./chunk-3ZUPU3GT.js";
7
- import "./chunk-C52XFIB6.js";
6
+ } from "./chunk-7QVOIHJF.js";
7
+ import "./chunk-UX3F6YTV.js";
8
+ import "./chunk-ZSWF4VCN.js";
8
9
  export {
9
10
  connect,
10
11
  createPrivate,
@@ -0,0 +1,6 @@
1
+ type ColyseusAuth = {
2
+ embedToken: string;
3
+ };
4
+ type AuthSource = ColyseusAuth | (() => ColyseusAuth | undefined);
5
+
6
+ export type { AuthSource as A, ColyseusAuth as C };