@niscorp/moss 0.9.0 → 0.9.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.
- package/CHANGELOG.md +22 -0
- package/DESIGN.md +1 -1
- package/DOCS.md +95 -25
- package/dist/{chunk-WTWRLOPK.js → chunk-5ZB7FZ2J.js} +3 -3
- package/dist/{chunk-WTWRLOPK.js.map → chunk-5ZB7FZ2J.js.map} +1 -1
- package/dist/{chunk-E6YAYR7G.cjs → chunk-6ZWMC2OV.cjs} +6 -6
- package/dist/{chunk-E6YAYR7G.cjs.map → chunk-6ZWMC2OV.cjs.map} +1 -1
- package/dist/{chunk-UUOATPZ7.js → chunk-FUJRIO4N.js} +20 -4
- package/dist/chunk-FUJRIO4N.js.map +1 -0
- package/dist/{chunk-TGKDS2T7.cjs → chunk-IY5BOFLK.cjs} +222 -37
- package/dist/chunk-IY5BOFLK.cjs.map +1 -0
- package/dist/{chunk-LKTS4PCD.cjs → chunk-KMZT6NVL.cjs} +23 -7
- package/dist/chunk-KMZT6NVL.cjs.map +1 -0
- package/dist/{chunk-L2GHVTJW.cjs → chunk-KVXP6OTW.cjs} +88 -81
- package/dist/chunk-KVXP6OTW.cjs.map +1 -0
- package/dist/{chunk-3RIWTXGI.cjs → chunk-NCQBGK3E.cjs} +6 -2
- package/dist/chunk-NCQBGK3E.cjs.map +1 -0
- package/dist/{chunk-4ZGAFZGS.js → chunk-TKXYPO2Y.js} +6 -2
- package/dist/chunk-TKXYPO2Y.js.map +1 -0
- package/dist/{chunk-TLNRFAQ6.js → chunk-UTFOMFCH.js} +207 -22
- package/dist/chunk-UTFOMFCH.js.map +1 -0
- package/dist/{chunk-Y7PRASR3.js → chunk-WMIJU6ZZ.js} +12 -5
- package/dist/chunk-WMIJU6ZZ.js.map +1 -0
- package/dist/client/node.d.cts +2 -2
- package/dist/client/node.d.ts +2 -2
- package/dist/client.cjs +5 -5
- package/dist/client.d.cts +7 -4
- package/dist/client.d.ts +7 -4
- package/dist/client.js +2 -2
- package/dist/{env-CY8EGWnD.d.cts → env-3qvvochI.d.cts} +3 -1
- package/dist/{env-DEPqqHEb.d.ts → env-DBPDpfU8.d.ts} +3 -1
- package/dist/index.cjs +15 -15
- package/dist/index.js +3 -3
- package/dist/{messages-CSwCJgH3.d.cts → messages-OSnNJL80.d.cts} +2 -0
- package/dist/{messages-CSwCJgH3.d.ts → messages-OSnNJL80.d.ts} +2 -0
- package/dist/node.cjs +8 -8
- package/dist/node.js +4 -4
- package/dist/protocol.cjs +5 -5
- package/dist/protocol.d.cts +1 -1
- package/dist/protocol.d.ts +1 -1
- package/dist/protocol.js +1 -1
- package/dist/terminal/dom/index.d.cts +2 -2
- package/dist/terminal/dom/index.d.ts +2 -2
- package/dist/terminal/index.cjs +3 -3
- package/dist/terminal/index.d.cts +2 -2
- package/dist/terminal/index.d.ts +2 -2
- package/dist/terminal/index.js +2 -2
- package/dist/terminal/react/index.d.cts +2 -2
- package/dist/terminal/react/index.d.ts +2 -2
- package/dist/terminal/react/server.d.cts +2 -2
- package/dist/terminal/react/server.d.ts +2 -2
- package/dist/terminal/tty/index.d.cts +2 -2
- package/dist/terminal/tty/index.d.ts +2 -2
- package/dist/terminal/vue/index.d.cts +2 -2
- package/dist/terminal/vue/index.d.ts +2 -2
- package/dist/terminal/vue/server.d.cts +2 -2
- package/dist/terminal/vue/server.d.ts +2 -2
- package/dist/unverified.cjs +3 -3
- package/dist/unverified.js +2 -2
- package/dist/vite.cjs +9 -9
- package/dist/vite.js +4 -4
- package/package.json +13 -13
- package/dist/chunk-3RIWTXGI.cjs.map +0 -1
- package/dist/chunk-4ZGAFZGS.js.map +0 -1
- package/dist/chunk-L2GHVTJW.cjs.map +0 -1
- package/dist/chunk-LKTS4PCD.cjs.map +0 -1
- package/dist/chunk-TGKDS2T7.cjs.map +0 -1
- package/dist/chunk-TLNRFAQ6.js.map +0 -1
- package/dist/chunk-UUOATPZ7.js.map +0 -1
- package/dist/chunk-Y7PRASR3.js.map +0 -1
package/dist/client/node.d.cts
CHANGED
package/dist/client/node.d.ts
CHANGED
package/dist/client.cjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkIY5BOFLK_cjs = require('./chunk-IY5BOFLK.cjs');
|
|
4
|
+
require('./chunk-NCQBGK3E.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "browserEnv", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkIY5BOFLK_cjs.browserEnv; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "createWire", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkIY5BOFLK_cjs.createWire; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "readDocumentSnapshot", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkIY5BOFLK_cjs.readDocumentSnapshot; }
|
|
19
19
|
});
|
|
20
20
|
//# sourceMappingURL=client.cjs.map
|
|
21
21
|
//# sourceMappingURL=client.cjs.map
|
package/dist/client.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RenderNode, NovaEvent } from '@niscorp/nova';
|
|
2
|
-
import { D as DocumentSnapshot } from './messages-
|
|
3
|
-
import { W as WireEnv } from './env-
|
|
4
|
-
export { b as browserEnv, r as readDocumentSnapshot } from './env-
|
|
2
|
+
import { D as DocumentSnapshot } from './messages-OSnNJL80.cjs';
|
|
3
|
+
import { W as WireEnv } from './env-3qvvochI.cjs';
|
|
4
|
+
export { b as browserEnv, r as readDocumentSnapshot } from './env-3qvvochI.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
7
7
|
type WireSnapshot = {
|
|
@@ -21,6 +21,7 @@ type Wire = {
|
|
|
21
21
|
subscribe: (listener: () => void) => () => void;
|
|
22
22
|
snapshot: () => WireSnapshot;
|
|
23
23
|
status: () => WireStatus;
|
|
24
|
+
droppedEvents?: () => number;
|
|
24
25
|
dispatch: (canvasId: string, event: NovaEvent) => void;
|
|
25
26
|
publish: (channel: string, payload?: unknown) => void;
|
|
26
27
|
reset: () => void;
|
|
@@ -28,6 +29,8 @@ type Wire = {
|
|
|
28
29
|
popTo: (canvas: string, instance: string) => void;
|
|
29
30
|
dispose: () => void;
|
|
30
31
|
};
|
|
31
|
-
declare const createWire: (config?: WireConfig) => Wire
|
|
32
|
+
declare const createWire: (config?: WireConfig) => Wire & {
|
|
33
|
+
droppedEvents: () => number;
|
|
34
|
+
};
|
|
32
35
|
|
|
33
36
|
export { DocumentSnapshot, type Wire, type WireConfig, WireEnv, type WireSnapshot, type WireStatus, createWire };
|
package/dist/client.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RenderNode, NovaEvent } from '@niscorp/nova';
|
|
2
|
-
import { D as DocumentSnapshot } from './messages-
|
|
3
|
-
import { W as WireEnv } from './env-
|
|
4
|
-
export { b as browserEnv, r as readDocumentSnapshot } from './env-
|
|
2
|
+
import { D as DocumentSnapshot } from './messages-OSnNJL80.js';
|
|
3
|
+
import { W as WireEnv } from './env-DBPDpfU8.js';
|
|
4
|
+
export { b as browserEnv, r as readDocumentSnapshot } from './env-DBPDpfU8.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
7
7
|
type WireSnapshot = {
|
|
@@ -21,6 +21,7 @@ type Wire = {
|
|
|
21
21
|
subscribe: (listener: () => void) => () => void;
|
|
22
22
|
snapshot: () => WireSnapshot;
|
|
23
23
|
status: () => WireStatus;
|
|
24
|
+
droppedEvents?: () => number;
|
|
24
25
|
dispatch: (canvasId: string, event: NovaEvent) => void;
|
|
25
26
|
publish: (channel: string, payload?: unknown) => void;
|
|
26
27
|
reset: () => void;
|
|
@@ -28,6 +29,8 @@ type Wire = {
|
|
|
28
29
|
popTo: (canvas: string, instance: string) => void;
|
|
29
30
|
dispose: () => void;
|
|
30
31
|
};
|
|
31
|
-
declare const createWire: (config?: WireConfig) => Wire
|
|
32
|
+
declare const createWire: (config?: WireConfig) => Wire & {
|
|
33
|
+
droppedEvents: () => number;
|
|
34
|
+
};
|
|
32
35
|
|
|
33
36
|
export { DocumentSnapshot, type Wire, type WireConfig, WireEnv, type WireSnapshot, type WireStatus, createWire };
|
package/dist/client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { browserEnv, createWire, readDocumentSnapshot } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { browserEnv, createWire, readDocumentSnapshot } from './chunk-UTFOMFCH.js';
|
|
2
|
+
import './chunk-TKXYPO2Y.js';
|
|
3
3
|
//# sourceMappingURL=client.js.map
|
|
4
4
|
//# sourceMappingURL=client.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DocumentSnapshot } from './messages-
|
|
1
|
+
import { D as DocumentSnapshot } from './messages-OSnNJL80.cjs';
|
|
2
2
|
|
|
3
3
|
type WireTokenStore = {
|
|
4
4
|
load: () => string | null;
|
|
@@ -14,6 +14,8 @@ type WireEnv = {
|
|
|
14
14
|
offered: string[];
|
|
15
15
|
}) => WebSocket;
|
|
16
16
|
defaultUrl: () => string;
|
|
17
|
+
onResume?: (resumed: () => void) => () => void;
|
|
18
|
+
visible?: () => boolean;
|
|
17
19
|
};
|
|
18
20
|
declare const browserEnv: (config?: {
|
|
19
21
|
tokenKey?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DocumentSnapshot } from './messages-
|
|
1
|
+
import { D as DocumentSnapshot } from './messages-OSnNJL80.js';
|
|
2
2
|
|
|
3
3
|
type WireTokenStore = {
|
|
4
4
|
load: () => string | null;
|
|
@@ -14,6 +14,8 @@ type WireEnv = {
|
|
|
14
14
|
offered: string[];
|
|
15
15
|
}) => WebSocket;
|
|
16
16
|
defaultUrl: () => string;
|
|
17
|
+
onResume?: (resumed: () => void) => () => void;
|
|
18
|
+
visible?: () => boolean;
|
|
17
19
|
};
|
|
18
20
|
declare const browserEnv: (config?: {
|
|
19
21
|
tokenKey?: string;
|
package/dist/index.cjs
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkKVXP6OTW_cjs = require('./chunk-KVXP6OTW.cjs');
|
|
4
|
+
var chunk6ZWMC2OV_cjs = require('./chunk-6ZWMC2OV.cjs');
|
|
5
5
|
require('./chunk-PVZMCEBX.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-NCQBGK3E.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "MOSS_SEQUENCE", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkKVXP6OTW_cjs.MOSS_SEQUENCE; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "createServer", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkKVXP6OTW_cjs.createServer; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "exportDocuments", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkKVXP6OTW_cjs.exportDocuments; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "migrateTables", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkKVXP6OTW_cjs.migrateTables; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "mintDevToken", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkKVXP6OTW_cjs.mintDevToken; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "mintSession", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkKVXP6OTW_cjs.mintSession; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "renderDocument", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkKVXP6OTW_cjs.renderDocument; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "revokeAllFor", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkKVXP6OTW_cjs.revokeAllFor; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "sessionCookies", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkKVXP6OTW_cjs.sessionCookies; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "tableStatus", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkKVXP6OTW_cjs.tableStatus; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "defineApp", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunk6ZWMC2OV_cjs.defineApp; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "verifyApp", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunk6ZWMC2OV_cjs.verifyApp; }
|
|
57
57
|
});
|
|
58
58
|
//# sourceMappingURL=index.cjs.map
|
|
59
59
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { MOSS_SEQUENCE, createServer, exportDocuments, migrateTables, mintDevToken, mintSession, renderDocument, revokeAllFor, sessionCookies, tableStatus } from './chunk-
|
|
2
|
-
export { defineApp, verifyApp } from './chunk-
|
|
1
|
+
export { MOSS_SEQUENCE, createServer, exportDocuments, migrateTables, mintDevToken, mintSession, renderDocument, revokeAllFor, sessionCookies, tableStatus } from './chunk-WMIJU6ZZ.js';
|
|
2
|
+
export { defineApp, verifyApp } from './chunk-5ZB7FZ2J.js';
|
|
3
3
|
import './chunk-QAHDSRPK.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-TKXYPO2Y.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -25,6 +25,8 @@ declare const ServerMessageSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<
|
|
|
25
25
|
}, z.core.$strict>, z.ZodObject<{
|
|
26
26
|
type: z.ZodLiteral<"frame">;
|
|
27
27
|
tree: z.ZodArray<z.ZodType<RenderNode, unknown, z.core.$ZodTypeInternals<RenderNode, unknown>>>;
|
|
28
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
29
|
+
type: z.ZodLiteral<"pong">;
|
|
28
30
|
}, z.core.$strict>, z.ZodObject<{
|
|
29
31
|
type: z.ZodLiteral<"render">;
|
|
30
32
|
canvas: z.ZodString;
|
|
@@ -25,6 +25,8 @@ declare const ServerMessageSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<
|
|
|
25
25
|
}, z.core.$strict>, z.ZodObject<{
|
|
26
26
|
type: z.ZodLiteral<"frame">;
|
|
27
27
|
tree: z.ZodArray<z.ZodType<RenderNode, unknown, z.core.$ZodTypeInternals<RenderNode, unknown>>>;
|
|
28
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
29
|
+
type: z.ZodLiteral<"pong">;
|
|
28
30
|
}, z.core.$strict>, z.ZodObject<{
|
|
29
31
|
type: z.ZodLiteral<"render">;
|
|
30
32
|
canvas: z.ZodString;
|
package/dist/node.cjs
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkKMZT6NVL_cjs = require('./chunk-KMZT6NVL.cjs');
|
|
4
|
+
require('./chunk-KVXP6OTW.cjs');
|
|
5
|
+
require('./chunk-6ZWMC2OV.cjs');
|
|
6
6
|
require('./chunk-PVZMCEBX.cjs');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-NCQBGK3E.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "MOSS_PATHS", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkKMZT6NVL_cjs.MOSS_PATHS; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "attachSocket", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkKMZT6NVL_cjs.attachSocket; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "mountSite", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkKMZT6NVL_cjs.mountSite; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "serve", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkKMZT6NVL_cjs.serve; }
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=node.cjs.map
|
|
28
28
|
//# sourceMappingURL=node.cjs.map
|
package/dist/node.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { MOSS_PATHS, attachSocket, mountSite, serve } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { MOSS_PATHS, attachSocket, mountSite, serve } from './chunk-FUJRIO4N.js';
|
|
2
|
+
import './chunk-WMIJU6ZZ.js';
|
|
3
|
+
import './chunk-5ZB7FZ2J.js';
|
|
4
4
|
import './chunk-QAHDSRPK.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-TKXYPO2Y.js';
|
|
6
6
|
//# sourceMappingURL=node.js.map
|
|
7
7
|
//# sourceMappingURL=node.js.map
|
package/dist/protocol.cjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNCQBGK3E_cjs = require('./chunk-NCQBGK3E.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CLOSE_INVALID_TOKEN", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkNCQBGK3E_cjs.CLOSE_INVALID_TOKEN; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "CLOSE_SIGNED_OUT", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkNCQBGK3E_cjs.CLOSE_SIGNED_OUT; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PROTOCOL", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkNCQBGK3E_cjs.PROTOCOL; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "offerToken", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkNCQBGK3E_cjs.offerToken; }
|
|
22
22
|
});
|
|
23
23
|
//# sourceMappingURL=protocol.cjs.map
|
|
24
24
|
//# sourceMappingURL=protocol.cjs.map
|
package/dist/protocol.d.cts
CHANGED
package/dist/protocol.d.ts
CHANGED
package/dist/protocol.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { CLOSE_INVALID_TOKEN, CLOSE_SIGNED_OUT, PROTOCOL, offerToken } from './chunk-
|
|
1
|
+
export { CLOSE_INVALID_TOKEN, CLOSE_SIGNED_OUT, PROTOCOL, offerToken } from './chunk-TKXYPO2Y.js';
|
|
2
2
|
//# sourceMappingURL=protocol.js.map
|
|
3
3
|
//# sourceMappingURL=protocol.js.map
|
|
@@ -2,9 +2,9 @@ import { DomComponent } from '@niscorp/nova/adapters/dom';
|
|
|
2
2
|
import { ComponentRegistry } from '@niscorp/nova';
|
|
3
3
|
import { Target } from '../index.cjs';
|
|
4
4
|
import '../../client.cjs';
|
|
5
|
-
import '../../messages-
|
|
5
|
+
import '../../messages-OSnNJL80.cjs';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../../env-
|
|
7
|
+
import '../../env-3qvvochI.cjs';
|
|
8
8
|
|
|
9
9
|
declare const domTarget: (config: {
|
|
10
10
|
root: HTMLElement;
|
|
@@ -2,9 +2,9 @@ import { DomComponent } from '@niscorp/nova/adapters/dom';
|
|
|
2
2
|
import { ComponentRegistry } from '@niscorp/nova';
|
|
3
3
|
import { Target } from '../index.js';
|
|
4
4
|
import '../../client.js';
|
|
5
|
-
import '../../messages-
|
|
5
|
+
import '../../messages-OSnNJL80.js';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../../env-
|
|
7
|
+
import '../../env-DBPDpfU8.js';
|
|
8
8
|
|
|
9
9
|
declare const domTarget: (config: {
|
|
10
10
|
root: HTMLElement;
|
package/dist/terminal/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkIY5BOFLK_cjs = require('../chunk-IY5BOFLK.cjs');
|
|
4
|
+
require('../chunk-NCQBGK3E.cjs');
|
|
5
5
|
var document$1 = require('@niscorp/nova/document');
|
|
6
6
|
|
|
7
7
|
// src/terminal/history.ts
|
|
@@ -72,7 +72,7 @@ var mountTerminal = (config) => {
|
|
|
72
72
|
const keys = Object.keys(config.targets);
|
|
73
73
|
if (keys.length === 0) throw new Error("mountTerminal: at least one target is required");
|
|
74
74
|
const ownsWire = config.wire === void 0;
|
|
75
|
-
const wire = config.wire ??
|
|
75
|
+
const wire = config.wire ?? chunkIY5BOFLK_cjs.createWire(config.url !== void 0 ? { url: config.url } : {});
|
|
76
76
|
const targetAt = (i) => {
|
|
77
77
|
const key = keys[i];
|
|
78
78
|
const target = key === void 0 ? void 0 : config.targets[key];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RenderApi } from '@niscorp/nova';
|
|
2
2
|
import { WireStatus, Wire } from '../client.cjs';
|
|
3
|
-
import '../messages-
|
|
3
|
+
import '../messages-OSnNJL80.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../env-
|
|
5
|
+
import '../env-3qvvochI.cjs';
|
|
6
6
|
|
|
7
7
|
type TerminalApi = RenderApi & {
|
|
8
8
|
status: () => WireStatus;
|
package/dist/terminal/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RenderApi } from '@niscorp/nova';
|
|
2
2
|
import { WireStatus, Wire } from '../client.js';
|
|
3
|
-
import '../messages-
|
|
3
|
+
import '../messages-OSnNJL80.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../env-
|
|
5
|
+
import '../env-DBPDpfU8.js';
|
|
6
6
|
|
|
7
7
|
type TerminalApi = RenderApi & {
|
|
8
8
|
status: () => WireStatus;
|
package/dist/terminal/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createWire } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
import { createWire } from '../chunk-UTFOMFCH.js';
|
|
2
|
+
import '../chunk-TKXYPO2Y.js';
|
|
3
3
|
import { createHeadKeeper, headOf } from '@niscorp/nova/document';
|
|
4
4
|
|
|
5
5
|
// src/terminal/history.ts
|
|
@@ -4,9 +4,9 @@ import { Target } from '../index.cjs';
|
|
|
4
4
|
import { T as TerminalSlotWrapper } from '../../slots-CU-AbnJg.cjs';
|
|
5
5
|
export { a as TerminalApiContext, b as TerminalSlotWrapperProps } from '../../slots-CU-AbnJg.cjs';
|
|
6
6
|
import '../../client.cjs';
|
|
7
|
-
import '../../messages-
|
|
7
|
+
import '../../messages-OSnNJL80.cjs';
|
|
8
8
|
import 'zod';
|
|
9
|
-
import '../../env-
|
|
9
|
+
import '../../env-3qvvochI.cjs';
|
|
10
10
|
import 'react';
|
|
11
11
|
|
|
12
12
|
declare const reactTarget: (config: {
|
|
@@ -4,9 +4,9 @@ import { Target } from '../index.js';
|
|
|
4
4
|
import { T as TerminalSlotWrapper } from '../../slots-BX5N0Juv.js';
|
|
5
5
|
export { a as TerminalApiContext, b as TerminalSlotWrapperProps } from '../../slots-BX5N0Juv.js';
|
|
6
6
|
import '../../client.js';
|
|
7
|
-
import '../../messages-
|
|
7
|
+
import '../../messages-OSnNJL80.js';
|
|
8
8
|
import 'zod';
|
|
9
|
-
import '../../env-
|
|
9
|
+
import '../../env-DBPDpfU8.js';
|
|
10
10
|
import 'react';
|
|
11
11
|
|
|
12
12
|
declare const reactTarget: (config: {
|
|
@@ -5,9 +5,9 @@ import { T as TerminalSlotWrapper } from '../../slots-CU-AbnJg.cjs';
|
|
|
5
5
|
import 'react';
|
|
6
6
|
import '../index.cjs';
|
|
7
7
|
import '../../client.cjs';
|
|
8
|
-
import '../../messages-
|
|
8
|
+
import '../../messages-OSnNJL80.cjs';
|
|
9
9
|
import 'zod';
|
|
10
|
-
import '../../env-
|
|
10
|
+
import '../../env-3qvvochI.cjs';
|
|
11
11
|
|
|
12
12
|
type RenderSnapshotConfig = {
|
|
13
13
|
snapshot: DrawnSnapshot;
|
|
@@ -5,9 +5,9 @@ import { T as TerminalSlotWrapper } from '../../slots-BX5N0Juv.js';
|
|
|
5
5
|
import 'react';
|
|
6
6
|
import '../index.js';
|
|
7
7
|
import '../../client.js';
|
|
8
|
-
import '../../messages-
|
|
8
|
+
import '../../messages-OSnNJL80.js';
|
|
9
9
|
import 'zod';
|
|
10
|
-
import '../../env-
|
|
10
|
+
import '../../env-DBPDpfU8.js';
|
|
11
11
|
|
|
12
12
|
type RenderSnapshotConfig = {
|
|
13
13
|
snapshot: DrawnSnapshot;
|
|
@@ -2,9 +2,9 @@ import { TtyComponent } from '@niscorp/nova/adapters/tty';
|
|
|
2
2
|
import { ComponentRegistry } from '@niscorp/nova';
|
|
3
3
|
import { Target } from '../index.cjs';
|
|
4
4
|
import '../../client.cjs';
|
|
5
|
-
import '../../messages-
|
|
5
|
+
import '../../messages-OSnNJL80.cjs';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../../env-
|
|
7
|
+
import '../../env-3qvvochI.cjs';
|
|
8
8
|
|
|
9
9
|
type TtyTargetConfig = {
|
|
10
10
|
input: NodeJS.ReadableStream;
|
|
@@ -2,9 +2,9 @@ import { TtyComponent } from '@niscorp/nova/adapters/tty';
|
|
|
2
2
|
import { ComponentRegistry } from '@niscorp/nova';
|
|
3
3
|
import { Target } from '../index.js';
|
|
4
4
|
import '../../client.js';
|
|
5
|
-
import '../../messages-
|
|
5
|
+
import '../../messages-OSnNJL80.js';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../../env-
|
|
7
|
+
import '../../env-DBPDpfU8.js';
|
|
8
8
|
|
|
9
9
|
type TtyTargetConfig = {
|
|
10
10
|
input: NodeJS.ReadableStream;
|
|
@@ -4,9 +4,9 @@ import { Target } from '../index.cjs';
|
|
|
4
4
|
import { T as TerminalSlotWrapper } from '../../slots-96gNc9uH.cjs';
|
|
5
5
|
export { a as TerminalApiKey, b as TerminalSlotWrapperProps } from '../../slots-96gNc9uH.cjs';
|
|
6
6
|
import '../../client.cjs';
|
|
7
|
-
import '../../messages-
|
|
7
|
+
import '../../messages-OSnNJL80.cjs';
|
|
8
8
|
import 'zod';
|
|
9
|
-
import '../../env-
|
|
9
|
+
import '../../env-3qvvochI.cjs';
|
|
10
10
|
import 'vue';
|
|
11
11
|
|
|
12
12
|
type VueTargetConfig = {
|
|
@@ -4,9 +4,9 @@ import { Target } from '../index.js';
|
|
|
4
4
|
import { T as TerminalSlotWrapper } from '../../slots-sLXDrlbG.js';
|
|
5
5
|
export { a as TerminalApiKey, b as TerminalSlotWrapperProps } from '../../slots-sLXDrlbG.js';
|
|
6
6
|
import '../../client.js';
|
|
7
|
-
import '../../messages-
|
|
7
|
+
import '../../messages-OSnNJL80.js';
|
|
8
8
|
import 'zod';
|
|
9
|
-
import '../../env-
|
|
9
|
+
import '../../env-DBPDpfU8.js';
|
|
10
10
|
import 'vue';
|
|
11
11
|
|
|
12
12
|
type VueTargetConfig = {
|
|
@@ -5,9 +5,9 @@ import { T as TerminalSlotWrapper } from '../../slots-96gNc9uH.cjs';
|
|
|
5
5
|
import 'vue';
|
|
6
6
|
import '../index.cjs';
|
|
7
7
|
import '../../client.cjs';
|
|
8
|
-
import '../../messages-
|
|
8
|
+
import '../../messages-OSnNJL80.cjs';
|
|
9
9
|
import 'zod';
|
|
10
|
-
import '../../env-
|
|
10
|
+
import '../../env-3qvvochI.cjs';
|
|
11
11
|
|
|
12
12
|
type RenderSnapshotConfig = {
|
|
13
13
|
snapshot: DrawnSnapshot;
|
|
@@ -5,9 +5,9 @@ import { T as TerminalSlotWrapper } from '../../slots-sLXDrlbG.js';
|
|
|
5
5
|
import 'vue';
|
|
6
6
|
import '../index.js';
|
|
7
7
|
import '../../client.js';
|
|
8
|
-
import '../../messages-
|
|
8
|
+
import '../../messages-OSnNJL80.js';
|
|
9
9
|
import 'zod';
|
|
10
|
-
import '../../env-
|
|
10
|
+
import '../../env-DBPDpfU8.js';
|
|
11
11
|
|
|
12
12
|
type RenderSnapshotConfig = {
|
|
13
13
|
snapshot: DrawnSnapshot;
|
package/dist/unverified.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6ZWMC2OV_cjs = require('./chunk-6ZWMC2OV.cjs');
|
|
4
4
|
require('./chunk-PVZMCEBX.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-NCQBGK3E.cjs');
|
|
6
6
|
|
|
7
7
|
// src/shells/unverified.ts
|
|
8
|
-
var unverifiedShell = (session) =>
|
|
8
|
+
var unverifiedShell = (session) => chunk6ZWMC2OV_cjs.wholeShellOf(session.shell);
|
|
9
9
|
|
|
10
10
|
exports.unverifiedShell = unverifiedShell;
|
|
11
11
|
//# sourceMappingURL=unverified.cjs.map
|
package/dist/unverified.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { wholeShellOf } from './chunk-
|
|
1
|
+
import { wholeShellOf } from './chunk-5ZB7FZ2J.js';
|
|
2
2
|
import './chunk-QAHDSRPK.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-TKXYPO2Y.js';
|
|
4
4
|
|
|
5
5
|
// src/shells/unverified.ts
|
|
6
6
|
var unverifiedShell = (session) => wholeShellOf(session.shell);
|