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