@dxos/client-services 0.6.9 → 0.6.10-main.bbdfaa4
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/lib/browser/{chunk-67XXCVHL.mjs → chunk-DJUFNLVB.mjs} +592 -555
- package/dist/lib/browser/chunk-DJUFNLVB.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +7 -8
- package/dist/lib/browser/testing/index.mjs.map +3 -3
- package/dist/lib/node/{chunk-WTK4Q3EG.cjs → chunk-JZHOBYSS.cjs} +582 -545
- package/dist/lib/node/chunk-JZHOBYSS.cjs.map +7 -0
- package/dist/lib/node/index.cjs +45 -45
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +13 -14
- package/dist/lib/node/testing/index.cjs.map +3 -3
- package/dist/types/src/packlets/devtools/feeds.d.ts +3 -1
- package/dist/types/src/packlets/devtools/feeds.d.ts.map +1 -1
- package/dist/types/src/packlets/services/service-host.d.ts.map +1 -1
- package/dist/types/src/packlets/testing/test-builder.d.ts +2 -4
- package/dist/types/src/packlets/testing/test-builder.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/dist/types/src/version.d.ts.map +1 -1
- package/package.json +37 -37
- package/src/packlets/devtools/devtools.ts +1 -1
- package/src/packlets/devtools/feeds.ts +37 -4
- package/src/packlets/services/service-context.ts +3 -3
- package/src/packlets/services/service-host.ts +4 -5
- package/src/packlets/spaces/edge-feed-replicator.ts +2 -2
- package/src/packlets/testing/test-builder.ts +3 -10
- package/src/version.ts +1 -5
- package/dist/lib/browser/chunk-67XXCVHL.mjs.map +0 -7
- package/dist/lib/node/chunk-WTK4Q3EG.cjs.map +0 -7
package/dist/lib/node/index.cjs
CHANGED
|
@@ -18,52 +18,52 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var node_exports = {};
|
|
20
20
|
__export(node_exports, {
|
|
21
|
-
ClientRpcServer: () =>
|
|
22
|
-
ClientServicesHost: () =>
|
|
23
|
-
DataSpace: () =>
|
|
24
|
-
DataSpaceManager: () =>
|
|
25
|
-
DeviceInvitationProtocol: () =>
|
|
26
|
-
DevtoolsHostEvents: () =>
|
|
27
|
-
DevtoolsServiceImpl: () =>
|
|
28
|
-
DiagnosticsCollector: () =>
|
|
29
|
-
EdgeFeedReplicator: () =>
|
|
30
|
-
Identity: () =>
|
|
31
|
-
IdentityManager: () =>
|
|
32
|
-
IdentityServiceImpl: () =>
|
|
33
|
-
InvitationsHandler: () =>
|
|
34
|
-
InvitationsManager: () =>
|
|
35
|
-
InvitationsServiceImpl: () =>
|
|
36
|
-
Lock: () =>
|
|
37
|
-
ServiceContext: () =>
|
|
38
|
-
ServiceRegistry: () =>
|
|
39
|
-
SpaceInvitationProtocol: () =>
|
|
40
|
-
SpacesServiceImpl: () =>
|
|
41
|
-
TrustedKeySetAuthVerifier: () =>
|
|
21
|
+
ClientRpcServer: () => import_chunk_JZHOBYSS.ClientRpcServer,
|
|
22
|
+
ClientServicesHost: () => import_chunk_JZHOBYSS.ClientServicesHost,
|
|
23
|
+
DataSpace: () => import_chunk_JZHOBYSS.DataSpace,
|
|
24
|
+
DataSpaceManager: () => import_chunk_JZHOBYSS.DataSpaceManager,
|
|
25
|
+
DeviceInvitationProtocol: () => import_chunk_JZHOBYSS.DeviceInvitationProtocol,
|
|
26
|
+
DevtoolsHostEvents: () => import_chunk_JZHOBYSS.DevtoolsHostEvents,
|
|
27
|
+
DevtoolsServiceImpl: () => import_chunk_JZHOBYSS.DevtoolsServiceImpl,
|
|
28
|
+
DiagnosticsCollector: () => import_chunk_JZHOBYSS.DiagnosticsCollector,
|
|
29
|
+
EdgeFeedReplicator: () => import_chunk_JZHOBYSS.EdgeFeedReplicator,
|
|
30
|
+
Identity: () => import_chunk_JZHOBYSS.Identity,
|
|
31
|
+
IdentityManager: () => import_chunk_JZHOBYSS.IdentityManager,
|
|
32
|
+
IdentityServiceImpl: () => import_chunk_JZHOBYSS.IdentityServiceImpl,
|
|
33
|
+
InvitationsHandler: () => import_chunk_JZHOBYSS.InvitationsHandler,
|
|
34
|
+
InvitationsManager: () => import_chunk_JZHOBYSS.InvitationsManager,
|
|
35
|
+
InvitationsServiceImpl: () => import_chunk_JZHOBYSS.InvitationsServiceImpl,
|
|
36
|
+
Lock: () => import_chunk_JZHOBYSS.Lock,
|
|
37
|
+
ServiceContext: () => import_chunk_JZHOBYSS.ServiceContext,
|
|
38
|
+
ServiceRegistry: () => import_chunk_JZHOBYSS.ServiceRegistry,
|
|
39
|
+
SpaceInvitationProtocol: () => import_chunk_JZHOBYSS.SpaceInvitationProtocol,
|
|
40
|
+
SpacesServiceImpl: () => import_chunk_JZHOBYSS.SpacesServiceImpl,
|
|
41
|
+
TrustedKeySetAuthVerifier: () => import_chunk_JZHOBYSS.TrustedKeySetAuthVerifier,
|
|
42
42
|
WorkerRuntime: () => WorkerRuntime,
|
|
43
43
|
WorkerSession: () => WorkerSession,
|
|
44
|
-
createAdmissionKeypair: () =>
|
|
45
|
-
createAuthProvider: () =>
|
|
46
|
-
createCollectDiagnosticsBroadcastHandler: () =>
|
|
47
|
-
createCollectDiagnosticsBroadcastSender: () =>
|
|
48
|
-
createDiagnostics: () =>
|
|
49
|
-
createLevel: () =>
|
|
50
|
-
createStorageObjects: () =>
|
|
51
|
-
decodeProfileArchive: () =>
|
|
52
|
-
encodeProfileArchive: () =>
|
|
53
|
-
exportProfileData: () =>
|
|
54
|
-
getNetworkPeers: () =>
|
|
55
|
-
importProfileData: () =>
|
|
56
|
-
isLocked: () =>
|
|
57
|
-
subscribeToFeedBlocks: () =>
|
|
58
|
-
subscribeToFeeds: () =>
|
|
59
|
-
subscribeToNetworkStatus: () =>
|
|
60
|
-
subscribeToNetworkTopics: () =>
|
|
61
|
-
subscribeToSignal: () =>
|
|
62
|
-
subscribeToSpaces: () =>
|
|
63
|
-
subscribeToSwarmInfo: () =>
|
|
44
|
+
createAdmissionKeypair: () => import_chunk_JZHOBYSS.createAdmissionKeypair,
|
|
45
|
+
createAuthProvider: () => import_chunk_JZHOBYSS.createAuthProvider,
|
|
46
|
+
createCollectDiagnosticsBroadcastHandler: () => import_chunk_JZHOBYSS.createCollectDiagnosticsBroadcastHandler,
|
|
47
|
+
createCollectDiagnosticsBroadcastSender: () => import_chunk_JZHOBYSS.createCollectDiagnosticsBroadcastSender,
|
|
48
|
+
createDiagnostics: () => import_chunk_JZHOBYSS.createDiagnostics,
|
|
49
|
+
createLevel: () => import_chunk_JZHOBYSS.createLevel,
|
|
50
|
+
createStorageObjects: () => import_chunk_JZHOBYSS.createStorageObjects,
|
|
51
|
+
decodeProfileArchive: () => import_chunk_JZHOBYSS.decodeProfileArchive,
|
|
52
|
+
encodeProfileArchive: () => import_chunk_JZHOBYSS.encodeProfileArchive,
|
|
53
|
+
exportProfileData: () => import_chunk_JZHOBYSS.exportProfileData,
|
|
54
|
+
getNetworkPeers: () => import_chunk_JZHOBYSS.getNetworkPeers,
|
|
55
|
+
importProfileData: () => import_chunk_JZHOBYSS.importProfileData,
|
|
56
|
+
isLocked: () => import_chunk_JZHOBYSS.isLocked,
|
|
57
|
+
subscribeToFeedBlocks: () => import_chunk_JZHOBYSS.subscribeToFeedBlocks,
|
|
58
|
+
subscribeToFeeds: () => import_chunk_JZHOBYSS.subscribeToFeeds,
|
|
59
|
+
subscribeToNetworkStatus: () => import_chunk_JZHOBYSS.subscribeToNetworkStatus,
|
|
60
|
+
subscribeToNetworkTopics: () => import_chunk_JZHOBYSS.subscribeToNetworkTopics,
|
|
61
|
+
subscribeToSignal: () => import_chunk_JZHOBYSS.subscribeToSignal,
|
|
62
|
+
subscribeToSpaces: () => import_chunk_JZHOBYSS.subscribeToSpaces,
|
|
63
|
+
subscribeToSwarmInfo: () => import_chunk_JZHOBYSS.subscribeToSwarmInfo
|
|
64
64
|
});
|
|
65
65
|
module.exports = __toCommonJS(node_exports);
|
|
66
|
-
var
|
|
66
|
+
var import_chunk_JZHOBYSS = require("./chunk-JZHOBYSS.cjs");
|
|
67
67
|
var import_async = require("@dxos/async");
|
|
68
68
|
var import_client_protocol = require("@dxos/client-protocol");
|
|
69
69
|
var import_context = require("@dxos/context");
|
|
@@ -122,12 +122,12 @@ var WorkerSession = class {
|
|
|
122
122
|
return handler(method, params);
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
|
-
this._clientRpc = new
|
|
125
|
+
this._clientRpc = new import_chunk_JZHOBYSS.ClientRpcServer({
|
|
126
126
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
127
127
|
port: appPort,
|
|
128
128
|
...middleware
|
|
129
129
|
});
|
|
130
|
-
this._shellClientRpc = shellPort ? new
|
|
130
|
+
this._shellClientRpc = shellPort ? new import_chunk_JZHOBYSS.ClientRpcServer({
|
|
131
131
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
132
132
|
port: shellPort,
|
|
133
133
|
...middleware
|
|
@@ -256,7 +256,7 @@ var WorkerRuntime = class {
|
|
|
256
256
|
this._releaseLock = releaseLock;
|
|
257
257
|
this._onStop = onStop;
|
|
258
258
|
this._channel = channel;
|
|
259
|
-
this._clientServices = new
|
|
259
|
+
this._clientServices = new import_chunk_JZHOBYSS.ClientServicesHost({
|
|
260
260
|
callbacks: {
|
|
261
261
|
onReset: async () => this.stop()
|
|
262
262
|
}
|