@dxos/client-services 0.4.10-main.c5e8686 → 0.4.10-main.cb83c78
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-FUEOAPLA.mjs → chunk-MR3A4F5A.mjs} +3 -3
- package/dist/lib/browser/{chunk-FUEOAPLA.mjs.map → chunk-MR3A4F5A.mjs.map} +2 -2
- 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-VRSCM2WE.cjs → chunk-SICZTC25.cjs} +6 -6
- package/dist/lib/node/{chunk-VRSCM2WE.cjs.map → chunk-SICZTC25.cjs.map} +2 -2
- package/dist/lib/node/index.cjs +42 -42
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/packlets/testing/index.cjs +6 -6
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +34 -34
- package/src/packlets/services/service-context.ts +1 -1
- package/src/version.ts +1 -1
package/dist/lib/node/index.cjs
CHANGED
|
@@ -18,50 +18,50 @@ 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_SICZTC25.ClientRpcServer,
|
|
22
|
+
ClientServicesHost: () => import_chunk_SICZTC25.ClientServicesHost,
|
|
23
|
+
ClientServicesProviderResource: () => import_chunk_SICZTC25.ClientServicesProviderResource,
|
|
24
|
+
DataSpace: () => import_chunk_SICZTC25.DataSpace,
|
|
25
|
+
DataSpaceManager: () => import_chunk_SICZTC25.DataSpaceManager,
|
|
26
|
+
DeviceInvitationProtocol: () => import_chunk_SICZTC25.DeviceInvitationProtocol,
|
|
27
|
+
DevtoolsHostEvents: () => import_chunk_SICZTC25.DevtoolsHostEvents,
|
|
28
|
+
DevtoolsServiceImpl: () => import_chunk_SICZTC25.DevtoolsServiceImpl,
|
|
29
|
+
DiagnosticsCollector: () => import_chunk_SICZTC25.DiagnosticsCollector,
|
|
30
30
|
IFrameHostRuntime: () => IFrameHostRuntime,
|
|
31
|
-
Identity: () =>
|
|
32
|
-
IdentityManager: () =>
|
|
33
|
-
IdentityServiceImpl: () =>
|
|
34
|
-
InvitationsHandler: () =>
|
|
35
|
-
InvitationsServiceImpl: () =>
|
|
36
|
-
Lock: () =>
|
|
37
|
-
ServiceContext: () =>
|
|
38
|
-
ServiceRegistry: () =>
|
|
31
|
+
Identity: () => import_chunk_SICZTC25.Identity,
|
|
32
|
+
IdentityManager: () => import_chunk_SICZTC25.IdentityManager,
|
|
33
|
+
IdentityServiceImpl: () => import_chunk_SICZTC25.IdentityServiceImpl,
|
|
34
|
+
InvitationsHandler: () => import_chunk_SICZTC25.InvitationsHandler,
|
|
35
|
+
InvitationsServiceImpl: () => import_chunk_SICZTC25.InvitationsServiceImpl,
|
|
36
|
+
Lock: () => import_chunk_SICZTC25.Lock,
|
|
37
|
+
ServiceContext: () => import_chunk_SICZTC25.ServiceContext,
|
|
38
|
+
ServiceRegistry: () => import_chunk_SICZTC25.ServiceRegistry,
|
|
39
39
|
SharedWorkerConnection: () => SharedWorkerConnection,
|
|
40
40
|
ShellRuntimeImpl: () => ShellRuntimeImpl,
|
|
41
|
-
SpaceInvitationProtocol: () =>
|
|
42
|
-
SpacesServiceImpl: () =>
|
|
43
|
-
TrustedKeySetAuthVerifier: () =>
|
|
41
|
+
SpaceInvitationProtocol: () => import_chunk_SICZTC25.SpaceInvitationProtocol,
|
|
42
|
+
SpacesServiceImpl: () => import_chunk_SICZTC25.SpacesServiceImpl,
|
|
43
|
+
TrustedKeySetAuthVerifier: () => import_chunk_SICZTC25.TrustedKeySetAuthVerifier,
|
|
44
44
|
WorkerRuntime: () => WorkerRuntime,
|
|
45
45
|
WorkerSession: () => WorkerSession,
|
|
46
|
-
createAdmissionKeypair: () =>
|
|
47
|
-
createAuthProvider: () =>
|
|
48
|
-
createCollectDiagnosticsBroadcastHandler: () =>
|
|
49
|
-
createCollectDiagnosticsBroadcastSender: () =>
|
|
50
|
-
createDiagnostics: () =>
|
|
51
|
-
createLevel: () =>
|
|
52
|
-
createStorageObjects: () =>
|
|
53
|
-
getNetworkPeers: () =>
|
|
54
|
-
isLocked: () =>
|
|
55
|
-
subscribeToFeedBlocks: () =>
|
|
56
|
-
subscribeToFeeds: () =>
|
|
57
|
-
subscribeToNetworkStatus: () =>
|
|
58
|
-
subscribeToNetworkTopics: () =>
|
|
59
|
-
subscribeToSignal: () =>
|
|
60
|
-
subscribeToSpaces: () =>
|
|
61
|
-
subscribeToSwarmInfo: () =>
|
|
46
|
+
createAdmissionKeypair: () => import_chunk_SICZTC25.createAdmissionKeypair,
|
|
47
|
+
createAuthProvider: () => import_chunk_SICZTC25.createAuthProvider,
|
|
48
|
+
createCollectDiagnosticsBroadcastHandler: () => import_chunk_SICZTC25.createCollectDiagnosticsBroadcastHandler,
|
|
49
|
+
createCollectDiagnosticsBroadcastSender: () => import_chunk_SICZTC25.createCollectDiagnosticsBroadcastSender,
|
|
50
|
+
createDiagnostics: () => import_chunk_SICZTC25.createDiagnostics,
|
|
51
|
+
createLevel: () => import_chunk_SICZTC25.createLevel,
|
|
52
|
+
createStorageObjects: () => import_chunk_SICZTC25.createStorageObjects,
|
|
53
|
+
getNetworkPeers: () => import_chunk_SICZTC25.getNetworkPeers,
|
|
54
|
+
isLocked: () => import_chunk_SICZTC25.isLocked,
|
|
55
|
+
subscribeToFeedBlocks: () => import_chunk_SICZTC25.subscribeToFeedBlocks,
|
|
56
|
+
subscribeToFeeds: () => import_chunk_SICZTC25.subscribeToFeeds,
|
|
57
|
+
subscribeToNetworkStatus: () => import_chunk_SICZTC25.subscribeToNetworkStatus,
|
|
58
|
+
subscribeToNetworkTopics: () => import_chunk_SICZTC25.subscribeToNetworkTopics,
|
|
59
|
+
subscribeToSignal: () => import_chunk_SICZTC25.subscribeToSignal,
|
|
60
|
+
subscribeToSpaces: () => import_chunk_SICZTC25.subscribeToSpaces,
|
|
61
|
+
subscribeToSwarmInfo: () => import_chunk_SICZTC25.subscribeToSwarmInfo
|
|
62
62
|
});
|
|
63
63
|
module.exports = __toCommonJS(node_exports);
|
|
64
|
-
var
|
|
64
|
+
var import_chunk_SICZTC25 = require("./chunk-SICZTC25.cjs");
|
|
65
65
|
var import_async = require("@dxos/async");
|
|
66
66
|
var import_client_protocol = require("@dxos/client-protocol");
|
|
67
67
|
var import_context = require("@dxos/context");
|
|
@@ -196,7 +196,7 @@ var IFrameHostRuntime = class {
|
|
|
196
196
|
iceServers: this._config.get("runtime.services.ice")
|
|
197
197
|
});
|
|
198
198
|
const signals = this._config.get("runtime.services.signaling");
|
|
199
|
-
this._clientServices = new
|
|
199
|
+
this._clientServices = new import_chunk_SICZTC25.ClientServicesHost({
|
|
200
200
|
lockKey: LOCK_KEY,
|
|
201
201
|
config: this._config,
|
|
202
202
|
signalManager: signals ? new import_messaging.WebsocketSignalManager(signals) : new import_messaging.MemorySignalManager(new import_messaging.MemorySignalManagerContext()),
|
|
@@ -222,7 +222,7 @@ var IFrameHostRuntime = class {
|
|
|
222
222
|
return handler(method, params);
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
|
-
this._clientRpc = new
|
|
225
|
+
this._clientRpc = new import_chunk_SICZTC25.ClientRpcServer({
|
|
226
226
|
serviceRegistry: this._clientServices.serviceRegistry,
|
|
227
227
|
port: this._appPort,
|
|
228
228
|
...middleware
|
|
@@ -387,12 +387,12 @@ var WorkerSession = class {
|
|
|
387
387
|
return handler(method, params);
|
|
388
388
|
}
|
|
389
389
|
};
|
|
390
|
-
this._clientRpc = new
|
|
390
|
+
this._clientRpc = new import_chunk_SICZTC25.ClientRpcServer({
|
|
391
391
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
392
392
|
port: appPort,
|
|
393
393
|
...middleware
|
|
394
394
|
});
|
|
395
|
-
this._shellClientRpc = shellPort ? new
|
|
395
|
+
this._shellClientRpc = shellPort ? new import_chunk_SICZTC25.ClientRpcServer({
|
|
396
396
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
397
397
|
port: shellPort,
|
|
398
398
|
...middleware
|
|
@@ -519,7 +519,7 @@ var WorkerRuntime = class {
|
|
|
519
519
|
this._signalTelemetryEnabled = false;
|
|
520
520
|
this._acquireLock = acquireLock;
|
|
521
521
|
this._releaseLock = releaseLock;
|
|
522
|
-
this._clientServices = new
|
|
522
|
+
this._clientServices = new import_chunk_SICZTC25.ClientServicesHost({
|
|
523
523
|
callbacks: {
|
|
524
524
|
onReset: async () => onReset()
|
|
525
525
|
}
|