@urun-sh/core 0.1.8 → 0.1.9
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/{chunk-ADK75OQ6.mjs → chunk-W2K27XCL.mjs} +5 -5
- package/dist/index.d.mts +8 -4
- package/dist/index.d.ts +8 -4
- package/dist/index.js +5 -5
- package/dist/index.mjs +1 -1
- package/dist/{internal-BVUaf1Cq.d.mts → internal-BzuKp0r0.d.mts} +7 -2
- package/dist/{internal-BVUaf1Cq.d.ts → internal-BzuKp0r0.d.ts} +7 -2
- package/dist/internal.d.mts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +5 -5
- package/dist/internal.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as AppOptions, A as App$1,
|
|
2
|
-
export { L as Layer,
|
|
1
|
+
import { a as AppOptions, A as App$1, i as SessionDocument, C as ChannelEndpoint, h as Session$1, T as TransportSession, k as SessionStream$1, m as StoreOptions, l as Store, c as ChannelMultiplexer } from './internal-BzuKp0r0.mjs';
|
|
2
|
+
export { L as Layer, e as LayoutConfig, f as LayoutContext, S as SceneContext, g as SceneGraph, o as TransportState } from './internal-BzuKp0r0.mjs';
|
|
3
3
|
|
|
4
4
|
declare function App(appId: string, options: AppOptions): App$1;
|
|
5
5
|
|
|
@@ -9,7 +9,10 @@ declare class SessionDocumentImpl implements SessionDocument {
|
|
|
9
9
|
private _key;
|
|
10
10
|
private _sessionId;
|
|
11
11
|
private _multiplexer;
|
|
12
|
-
|
|
12
|
+
private _unsubscribe;
|
|
13
|
+
constructor(key: string, sessionId: string, multiplexer: ChannelEndpoint);
|
|
14
|
+
setSessionId(sessionId: string): void;
|
|
15
|
+
private subscribe;
|
|
13
16
|
private get _channel();
|
|
14
17
|
set(patch: Record<string, unknown>): void;
|
|
15
18
|
get(path?: string, defaultValue?: unknown): unknown;
|
|
@@ -38,8 +41,9 @@ declare class Session implements Session$1 {
|
|
|
38
41
|
private _transport;
|
|
39
42
|
private _docs;
|
|
40
43
|
private _streams;
|
|
41
|
-
constructor(sessionId: string, multiplexer:
|
|
44
|
+
constructor(sessionId: string, multiplexer: ChannelEndpoint, transport: TransportSession);
|
|
42
45
|
get id(): string;
|
|
46
|
+
setSessionId(sessionId: string): void;
|
|
43
47
|
stream(name: string): SessionStream;
|
|
44
48
|
|
|
45
49
|
doc(key: string): SessionDocumentImpl;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as AppOptions, A as App$1,
|
|
2
|
-
export { L as Layer,
|
|
1
|
+
import { a as AppOptions, A as App$1, i as SessionDocument, C as ChannelEndpoint, h as Session$1, T as TransportSession, k as SessionStream$1, m as StoreOptions, l as Store, c as ChannelMultiplexer } from './internal-BzuKp0r0.js';
|
|
2
|
+
export { L as Layer, e as LayoutConfig, f as LayoutContext, S as SceneContext, g as SceneGraph, o as TransportState } from './internal-BzuKp0r0.js';
|
|
3
3
|
|
|
4
4
|
declare function App(appId: string, options: AppOptions): App$1;
|
|
5
5
|
|
|
@@ -9,7 +9,10 @@ declare class SessionDocumentImpl implements SessionDocument {
|
|
|
9
9
|
private _key;
|
|
10
10
|
private _sessionId;
|
|
11
11
|
private _multiplexer;
|
|
12
|
-
|
|
12
|
+
private _unsubscribe;
|
|
13
|
+
constructor(key: string, sessionId: string, multiplexer: ChannelEndpoint);
|
|
14
|
+
setSessionId(sessionId: string): void;
|
|
15
|
+
private subscribe;
|
|
13
16
|
private get _channel();
|
|
14
17
|
set(patch: Record<string, unknown>): void;
|
|
15
18
|
get(path?: string, defaultValue?: unknown): unknown;
|
|
@@ -38,8 +41,9 @@ declare class Session implements Session$1 {
|
|
|
38
41
|
private _transport;
|
|
39
42
|
private _docs;
|
|
40
43
|
private _streams;
|
|
41
|
-
constructor(sessionId: string, multiplexer:
|
|
44
|
+
constructor(sessionId: string, multiplexer: ChannelEndpoint, transport: TransportSession);
|
|
42
45
|
get id(): string;
|
|
46
|
+
setSessionId(sessionId: string): void;
|
|
43
47
|
stream(name: string): SessionStream;
|
|
44
48
|
|
|
45
49
|
doc(key: string): SessionDocumentImpl;
|