@playcademy/sandbox 0.1.0-beta.13 → 0.1.0-beta.15
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/cli.js +18811 -15730
- package/dist/lib/realtime.d.ts +2 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +16993 -13912
- package/package.json +1 -1
package/dist/lib/realtime.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createRealtimeServer } from '@playcademy/realtime/server';
|
|
2
|
+
import type { SandboxRealtimeServer } from '@playcademy/realtime/sandbox';
|
|
2
3
|
import type { ServerOptions } from '../types';
|
|
3
4
|
/**
|
|
4
5
|
* Starts the realtime server with sandbox-specific configuration.
|
|
@@ -13,4 +14,4 @@ import type { ServerOptions } from '../types';
|
|
|
13
14
|
* @param betterAuthSecret - Authentication secret for realtime server
|
|
14
15
|
* @returns Promise resolving to realtime server instance or null
|
|
15
16
|
*/
|
|
16
|
-
export declare function startRealtimeServer(realtimeOptions: NonNullable<ServerOptions['realtime']>, betterAuthSecret: string): Promise<Awaited<ReturnType<typeof createRealtimeServer>> | null>;
|
|
17
|
+
export declare function startRealtimeServer(realtimeOptions: NonNullable<ServerOptions['realtime']>, betterAuthSecret: string): Promise<SandboxRealtimeServer | Awaited<ReturnType<typeof createRealtimeServer>> | null>;
|
package/dist/server.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ServerOptions } from './types';
|
|
2
2
|
export declare function startServer(options: ServerOptions): Promise<{
|
|
3
3
|
main: import("@hono/node-server").ServerType;
|
|
4
|
-
realtime: Bun.Server | null;
|
|
4
|
+
realtime: Bun.Server | import("@playcademy/realtime/sandbox").SandboxRealtimeServer | null;
|
|
5
5
|
stop: () => void;
|
|
6
6
|
}>;
|
|
7
7
|
export declare const version: string;
|