@dxos/client-services 0.6.2 → 0.6.3-main.226a8ae
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-CFKVGKP3.mjs → chunk-ZCJ2EH5C.mjs} +64 -43
- package/dist/lib/browser/chunk-ZCJ2EH5C.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/packlets/testing/index.mjs +1 -1
- package/dist/lib/node/{chunk-7XBIZ7NK.cjs → chunk-LHYZLG23.cjs} +67 -46
- package/dist/lib/node/chunk-LHYZLG23.cjs.map +7 -0
- package/dist/lib/node/index.cjs +45 -45
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/packlets/testing/index.cjs +8 -8
- package/dist/types/src/packlets/spaces/data-space-manager.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/data-space.d.ts +7 -1
- package/dist/types/src/packlets/spaces/data-space.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 +36 -36
- package/src/packlets/invitations/invitations-handler.ts +7 -7
- package/src/packlets/spaces/data-space-manager.ts +22 -10
- package/src/packlets/spaces/data-space.ts +15 -11
- package/src/packlets/spaces/spaces-service.ts +4 -4
- package/src/version.ts +1 -5
- package/dist/lib/browser/chunk-CFKVGKP3.mjs.map +0 -7
- package/dist/lib/node/chunk-7XBIZ7NK.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
|
-
ClientServicesProviderResource: () =>
|
|
24
|
-
DataSpace: () =>
|
|
25
|
-
DataSpaceManager: () =>
|
|
26
|
-
DeviceInvitationProtocol: () =>
|
|
27
|
-
DevtoolsHostEvents: () =>
|
|
28
|
-
DevtoolsServiceImpl: () =>
|
|
29
|
-
DiagnosticsCollector: () =>
|
|
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_LHYZLG23.ClientRpcServer,
|
|
22
|
+
ClientServicesHost: () => import_chunk_LHYZLG23.ClientServicesHost,
|
|
23
|
+
ClientServicesProviderResource: () => import_chunk_LHYZLG23.ClientServicesProviderResource,
|
|
24
|
+
DataSpace: () => import_chunk_LHYZLG23.DataSpace,
|
|
25
|
+
DataSpaceManager: () => import_chunk_LHYZLG23.DataSpaceManager,
|
|
26
|
+
DeviceInvitationProtocol: () => import_chunk_LHYZLG23.DeviceInvitationProtocol,
|
|
27
|
+
DevtoolsHostEvents: () => import_chunk_LHYZLG23.DevtoolsHostEvents,
|
|
28
|
+
DevtoolsServiceImpl: () => import_chunk_LHYZLG23.DevtoolsServiceImpl,
|
|
29
|
+
DiagnosticsCollector: () => import_chunk_LHYZLG23.DiagnosticsCollector,
|
|
30
|
+
Identity: () => import_chunk_LHYZLG23.Identity,
|
|
31
|
+
IdentityManager: () => import_chunk_LHYZLG23.IdentityManager,
|
|
32
|
+
IdentityServiceImpl: () => import_chunk_LHYZLG23.IdentityServiceImpl,
|
|
33
|
+
InvitationsHandler: () => import_chunk_LHYZLG23.InvitationsHandler,
|
|
34
|
+
InvitationsManager: () => import_chunk_LHYZLG23.InvitationsManager,
|
|
35
|
+
InvitationsServiceImpl: () => import_chunk_LHYZLG23.InvitationsServiceImpl,
|
|
36
|
+
Lock: () => import_chunk_LHYZLG23.Lock,
|
|
37
|
+
ServiceContext: () => import_chunk_LHYZLG23.ServiceContext,
|
|
38
|
+
ServiceRegistry: () => import_chunk_LHYZLG23.ServiceRegistry,
|
|
39
|
+
SpaceInvitationProtocol: () => import_chunk_LHYZLG23.SpaceInvitationProtocol,
|
|
40
|
+
SpacesServiceImpl: () => import_chunk_LHYZLG23.SpacesServiceImpl,
|
|
41
|
+
TrustedKeySetAuthVerifier: () => import_chunk_LHYZLG23.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_LHYZLG23.createAdmissionKeypair,
|
|
45
|
+
createAuthProvider: () => import_chunk_LHYZLG23.createAuthProvider,
|
|
46
|
+
createCollectDiagnosticsBroadcastHandler: () => import_chunk_LHYZLG23.createCollectDiagnosticsBroadcastHandler,
|
|
47
|
+
createCollectDiagnosticsBroadcastSender: () => import_chunk_LHYZLG23.createCollectDiagnosticsBroadcastSender,
|
|
48
|
+
createDiagnostics: () => import_chunk_LHYZLG23.createDiagnostics,
|
|
49
|
+
createLevel: () => import_chunk_LHYZLG23.createLevel,
|
|
50
|
+
createStorageObjects: () => import_chunk_LHYZLG23.createStorageObjects,
|
|
51
|
+
decodeProfileArchive: () => import_chunk_LHYZLG23.decodeProfileArchive,
|
|
52
|
+
encodeProfileArchive: () => import_chunk_LHYZLG23.encodeProfileArchive,
|
|
53
|
+
exportProfileData: () => import_chunk_LHYZLG23.exportProfileData,
|
|
54
|
+
getNetworkPeers: () => import_chunk_LHYZLG23.getNetworkPeers,
|
|
55
|
+
importProfileData: () => import_chunk_LHYZLG23.importProfileData,
|
|
56
|
+
isLocked: () => import_chunk_LHYZLG23.isLocked,
|
|
57
|
+
subscribeToFeedBlocks: () => import_chunk_LHYZLG23.subscribeToFeedBlocks,
|
|
58
|
+
subscribeToFeeds: () => import_chunk_LHYZLG23.subscribeToFeeds,
|
|
59
|
+
subscribeToNetworkStatus: () => import_chunk_LHYZLG23.subscribeToNetworkStatus,
|
|
60
|
+
subscribeToNetworkTopics: () => import_chunk_LHYZLG23.subscribeToNetworkTopics,
|
|
61
|
+
subscribeToSignal: () => import_chunk_LHYZLG23.subscribeToSignal,
|
|
62
|
+
subscribeToSpaces: () => import_chunk_LHYZLG23.subscribeToSpaces,
|
|
63
|
+
subscribeToSwarmInfo: () => import_chunk_LHYZLG23.subscribeToSwarmInfo
|
|
64
64
|
});
|
|
65
65
|
module.exports = __toCommonJS(node_exports);
|
|
66
|
-
var
|
|
66
|
+
var import_chunk_LHYZLG23 = require("./chunk-LHYZLG23.cjs");
|
|
67
67
|
var import_async = require("@dxos/async");
|
|
68
68
|
var import_context = require("@dxos/context");
|
|
69
69
|
var import_invariant = require("@dxos/invariant");
|
|
@@ -121,12 +121,12 @@ var WorkerSession = class {
|
|
|
121
121
|
return handler(method, params);
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
|
-
this._clientRpc = new
|
|
124
|
+
this._clientRpc = new import_chunk_LHYZLG23.ClientRpcServer({
|
|
125
125
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
126
126
|
port: appPort,
|
|
127
127
|
...middleware
|
|
128
128
|
});
|
|
129
|
-
this._shellClientRpc = shellPort ? new
|
|
129
|
+
this._shellClientRpc = shellPort ? new import_chunk_LHYZLG23.ClientRpcServer({
|
|
130
130
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
131
131
|
port: shellPort,
|
|
132
132
|
...middleware
|
|
@@ -253,7 +253,7 @@ var WorkerRuntime = class {
|
|
|
253
253
|
this._signalTelemetryEnabled = false;
|
|
254
254
|
this._acquireLock = acquireLock;
|
|
255
255
|
this._releaseLock = releaseLock;
|
|
256
|
-
this._clientServices = new
|
|
256
|
+
this._clientServices = new import_chunk_LHYZLG23.ClientServicesHost({
|
|
257
257
|
callbacks: {
|
|
258
258
|
onReset: async () => onReset()
|
|
259
259
|
}
|