@dxos/client-services 0.5.8-main.e343621 → 0.5.8-main.f69e6e4
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-NS2LCDCC.mjs → chunk-BHK4D7JV.mjs} +22 -22
- package/dist/lib/browser/{chunk-NS2LCDCC.mjs.map → chunk-BHK4D7JV.mjs.map} +3 -3
- 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-PE33O7RL.cjs → chunk-PIZD2NZ4.cjs} +24 -24
- package/dist/lib/node/{chunk-PE33O7RL.cjs.map → chunk-PIZD2NZ4.cjs.map} +3 -3
- package/dist/lib/node/index.cjs +44 -44
- 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.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +36 -36
- package/src/packlets/spaces/data-space.ts +6 -1
- package/src/version.ts +1 -1
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: () =>
|
|
21
|
+
ClientRpcServer: () => import_chunk_PIZD2NZ4.ClientRpcServer,
|
|
22
|
+
ClientServicesHost: () => import_chunk_PIZD2NZ4.ClientServicesHost,
|
|
23
|
+
ClientServicesProviderResource: () => import_chunk_PIZD2NZ4.ClientServicesProviderResource,
|
|
24
|
+
DataSpace: () => import_chunk_PIZD2NZ4.DataSpace,
|
|
25
|
+
DataSpaceManager: () => import_chunk_PIZD2NZ4.DataSpaceManager,
|
|
26
|
+
DeviceInvitationProtocol: () => import_chunk_PIZD2NZ4.DeviceInvitationProtocol,
|
|
27
|
+
DevtoolsHostEvents: () => import_chunk_PIZD2NZ4.DevtoolsHostEvents,
|
|
28
|
+
DevtoolsServiceImpl: () => import_chunk_PIZD2NZ4.DevtoolsServiceImpl,
|
|
29
|
+
DiagnosticsCollector: () => import_chunk_PIZD2NZ4.DiagnosticsCollector,
|
|
30
30
|
IFrameHostRuntime: () => IFrameHostRuntime,
|
|
31
|
-
Identity: () =>
|
|
32
|
-
IdentityManager: () =>
|
|
33
|
-
IdentityServiceImpl: () =>
|
|
34
|
-
InvitationsHandler: () =>
|
|
35
|
-
InvitationsManager: () =>
|
|
36
|
-
InvitationsServiceImpl: () =>
|
|
37
|
-
Lock: () =>
|
|
38
|
-
ServiceContext: () =>
|
|
39
|
-
ServiceRegistry: () =>
|
|
31
|
+
Identity: () => import_chunk_PIZD2NZ4.Identity,
|
|
32
|
+
IdentityManager: () => import_chunk_PIZD2NZ4.IdentityManager,
|
|
33
|
+
IdentityServiceImpl: () => import_chunk_PIZD2NZ4.IdentityServiceImpl,
|
|
34
|
+
InvitationsHandler: () => import_chunk_PIZD2NZ4.InvitationsHandler,
|
|
35
|
+
InvitationsManager: () => import_chunk_PIZD2NZ4.InvitationsManager,
|
|
36
|
+
InvitationsServiceImpl: () => import_chunk_PIZD2NZ4.InvitationsServiceImpl,
|
|
37
|
+
Lock: () => import_chunk_PIZD2NZ4.Lock,
|
|
38
|
+
ServiceContext: () => import_chunk_PIZD2NZ4.ServiceContext,
|
|
39
|
+
ServiceRegistry: () => import_chunk_PIZD2NZ4.ServiceRegistry,
|
|
40
40
|
SharedWorkerConnection: () => SharedWorkerConnection,
|
|
41
41
|
ShellRuntimeImpl: () => ShellRuntimeImpl,
|
|
42
|
-
SpaceInvitationProtocol: () =>
|
|
43
|
-
SpacesServiceImpl: () =>
|
|
44
|
-
TrustedKeySetAuthVerifier: () =>
|
|
42
|
+
SpaceInvitationProtocol: () => import_chunk_PIZD2NZ4.SpaceInvitationProtocol,
|
|
43
|
+
SpacesServiceImpl: () => import_chunk_PIZD2NZ4.SpacesServiceImpl,
|
|
44
|
+
TrustedKeySetAuthVerifier: () => import_chunk_PIZD2NZ4.TrustedKeySetAuthVerifier,
|
|
45
45
|
WorkerRuntime: () => WorkerRuntime,
|
|
46
46
|
WorkerSession: () => WorkerSession,
|
|
47
|
-
createAdmissionKeypair: () =>
|
|
48
|
-
createAuthProvider: () =>
|
|
49
|
-
createCollectDiagnosticsBroadcastHandler: () =>
|
|
50
|
-
createCollectDiagnosticsBroadcastSender: () =>
|
|
51
|
-
createDiagnostics: () =>
|
|
52
|
-
createLevel: () =>
|
|
53
|
-
createStorageObjects: () =>
|
|
54
|
-
findPropertiesObject: () =>
|
|
55
|
-
getNetworkPeers: () =>
|
|
56
|
-
isLocked: () =>
|
|
57
|
-
subscribeToFeedBlocks: () =>
|
|
58
|
-
subscribeToFeeds: () =>
|
|
59
|
-
subscribeToNetworkStatus: () =>
|
|
60
|
-
subscribeToNetworkTopics: () =>
|
|
61
|
-
subscribeToSignal: () =>
|
|
62
|
-
subscribeToSpaces: () =>
|
|
63
|
-
subscribeToSwarmInfo: () =>
|
|
47
|
+
createAdmissionKeypair: () => import_chunk_PIZD2NZ4.createAdmissionKeypair,
|
|
48
|
+
createAuthProvider: () => import_chunk_PIZD2NZ4.createAuthProvider,
|
|
49
|
+
createCollectDiagnosticsBroadcastHandler: () => import_chunk_PIZD2NZ4.createCollectDiagnosticsBroadcastHandler,
|
|
50
|
+
createCollectDiagnosticsBroadcastSender: () => import_chunk_PIZD2NZ4.createCollectDiagnosticsBroadcastSender,
|
|
51
|
+
createDiagnostics: () => import_chunk_PIZD2NZ4.createDiagnostics,
|
|
52
|
+
createLevel: () => import_chunk_PIZD2NZ4.createLevel,
|
|
53
|
+
createStorageObjects: () => import_chunk_PIZD2NZ4.createStorageObjects,
|
|
54
|
+
findPropertiesObject: () => import_chunk_PIZD2NZ4.findPropertiesObject,
|
|
55
|
+
getNetworkPeers: () => import_chunk_PIZD2NZ4.getNetworkPeers,
|
|
56
|
+
isLocked: () => import_chunk_PIZD2NZ4.isLocked,
|
|
57
|
+
subscribeToFeedBlocks: () => import_chunk_PIZD2NZ4.subscribeToFeedBlocks,
|
|
58
|
+
subscribeToFeeds: () => import_chunk_PIZD2NZ4.subscribeToFeeds,
|
|
59
|
+
subscribeToNetworkStatus: () => import_chunk_PIZD2NZ4.subscribeToNetworkStatus,
|
|
60
|
+
subscribeToNetworkTopics: () => import_chunk_PIZD2NZ4.subscribeToNetworkTopics,
|
|
61
|
+
subscribeToSignal: () => import_chunk_PIZD2NZ4.subscribeToSignal,
|
|
62
|
+
subscribeToSpaces: () => import_chunk_PIZD2NZ4.subscribeToSpaces,
|
|
63
|
+
subscribeToSwarmInfo: () => import_chunk_PIZD2NZ4.subscribeToSwarmInfo
|
|
64
64
|
});
|
|
65
65
|
module.exports = __toCommonJS(node_exports);
|
|
66
|
-
var
|
|
66
|
+
var import_chunk_PIZD2NZ4 = require("./chunk-PIZD2NZ4.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");
|
|
@@ -227,7 +227,7 @@ var IFrameHostRuntime = class {
|
|
|
227
227
|
iceServers: this._config.get("runtime.services.ice")
|
|
228
228
|
});
|
|
229
229
|
const signals = this._config.get("runtime.services.signaling");
|
|
230
|
-
this._clientServices = new
|
|
230
|
+
this._clientServices = new import_chunk_PIZD2NZ4.ClientServicesHost({
|
|
231
231
|
lockKey: LOCK_KEY,
|
|
232
232
|
config: this._config,
|
|
233
233
|
signalManager: signals ? new import_messaging.WebsocketSignalManager(signals) : new import_messaging.MemorySignalManager(new import_messaging.MemorySignalManagerContext()),
|
|
@@ -253,7 +253,7 @@ var IFrameHostRuntime = class {
|
|
|
253
253
|
return handler(method, params);
|
|
254
254
|
}
|
|
255
255
|
};
|
|
256
|
-
this._clientRpc = new
|
|
256
|
+
this._clientRpc = new import_chunk_PIZD2NZ4.ClientRpcServer({
|
|
257
257
|
serviceRegistry: this._clientServices.serviceRegistry,
|
|
258
258
|
port: this._appPort,
|
|
259
259
|
...middleware
|
|
@@ -418,12 +418,12 @@ var WorkerSession = class {
|
|
|
418
418
|
return handler(method, params);
|
|
419
419
|
}
|
|
420
420
|
};
|
|
421
|
-
this._clientRpc = new
|
|
421
|
+
this._clientRpc = new import_chunk_PIZD2NZ4.ClientRpcServer({
|
|
422
422
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
423
423
|
port: appPort,
|
|
424
424
|
...middleware
|
|
425
425
|
});
|
|
426
|
-
this._shellClientRpc = shellPort ? new
|
|
426
|
+
this._shellClientRpc = shellPort ? new import_chunk_PIZD2NZ4.ClientRpcServer({
|
|
427
427
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
428
428
|
port: shellPort,
|
|
429
429
|
...middleware
|
|
@@ -550,7 +550,7 @@ var WorkerRuntime = class {
|
|
|
550
550
|
this._signalTelemetryEnabled = false;
|
|
551
551
|
this._acquireLock = acquireLock;
|
|
552
552
|
this._releaseLock = releaseLock;
|
|
553
|
-
this._clientServices = new
|
|
553
|
+
this._clientServices = new import_chunk_PIZD2NZ4.ClientServicesHost({
|
|
554
554
|
callbacks: {
|
|
555
555
|
onReset: async () => onReset()
|
|
556
556
|
}
|