@dxos/client-services 0.4.10-main.b112538 → 0.4.10-main.c32f430
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-VUUAQRJM.mjs → chunk-FPOYSPWD.mjs} +7 -7
- package/dist/lib/browser/{chunk-VUUAQRJM.mjs.map → chunk-FPOYSPWD.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-W5TIHCGN.cjs → chunk-ZILMQKKB.cjs} +10 -10
- package/dist/lib/node/{chunk-W5TIHCGN.cjs.map → chunk-ZILMQKKB.cjs.map} +3 -3
- package/dist/lib/node/index.cjs +37 -37
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/packlets/testing/index.cjs +6 -6
- package/dist/types/src/packlets/indexing/util.d.ts +2 -2
- package/dist/types/src/packlets/indexing/util.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +34 -34
- package/src/packlets/indexing/util.ts +3 -3
- package/src/packlets/services/service-context.ts +3 -3
- package/src/version.ts +1 -1
package/dist/lib/node/index.cjs
CHANGED
|
@@ -18,45 +18,45 @@ 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: () =>
|
|
21
|
+
ClientRpcServer: () => import_chunk_ZILMQKKB.ClientRpcServer,
|
|
22
|
+
ClientServicesHost: () => import_chunk_ZILMQKKB.ClientServicesHost,
|
|
23
|
+
DataSpace: () => import_chunk_ZILMQKKB.DataSpace,
|
|
24
|
+
DataSpaceManager: () => import_chunk_ZILMQKKB.DataSpaceManager,
|
|
25
|
+
DeviceInvitationProtocol: () => import_chunk_ZILMQKKB.DeviceInvitationProtocol,
|
|
26
|
+
DevtoolsHostEvents: () => import_chunk_ZILMQKKB.DevtoolsHostEvents,
|
|
27
|
+
DevtoolsServiceImpl: () => import_chunk_ZILMQKKB.DevtoolsServiceImpl,
|
|
28
28
|
IFrameHostRuntime: () => IFrameHostRuntime,
|
|
29
|
-
Identity: () =>
|
|
30
|
-
IdentityManager: () =>
|
|
31
|
-
IdentityServiceImpl: () =>
|
|
32
|
-
InvitationsHandler: () =>
|
|
33
|
-
InvitationsServiceImpl: () =>
|
|
34
|
-
Lock: () =>
|
|
35
|
-
ServiceContext: () =>
|
|
36
|
-
ServiceRegistry: () =>
|
|
29
|
+
Identity: () => import_chunk_ZILMQKKB.Identity,
|
|
30
|
+
IdentityManager: () => import_chunk_ZILMQKKB.IdentityManager,
|
|
31
|
+
IdentityServiceImpl: () => import_chunk_ZILMQKKB.IdentityServiceImpl,
|
|
32
|
+
InvitationsHandler: () => import_chunk_ZILMQKKB.InvitationsHandler,
|
|
33
|
+
InvitationsServiceImpl: () => import_chunk_ZILMQKKB.InvitationsServiceImpl,
|
|
34
|
+
Lock: () => import_chunk_ZILMQKKB.Lock,
|
|
35
|
+
ServiceContext: () => import_chunk_ZILMQKKB.ServiceContext,
|
|
36
|
+
ServiceRegistry: () => import_chunk_ZILMQKKB.ServiceRegistry,
|
|
37
37
|
SharedWorkerConnection: () => SharedWorkerConnection,
|
|
38
38
|
ShellRuntimeImpl: () => ShellRuntimeImpl,
|
|
39
|
-
SpaceInvitationProtocol: () =>
|
|
40
|
-
SpacesServiceImpl: () =>
|
|
41
|
-
TrustedKeySetAuthVerifier: () =>
|
|
39
|
+
SpaceInvitationProtocol: () => import_chunk_ZILMQKKB.SpaceInvitationProtocol,
|
|
40
|
+
SpacesServiceImpl: () => import_chunk_ZILMQKKB.SpacesServiceImpl,
|
|
41
|
+
TrustedKeySetAuthVerifier: () => import_chunk_ZILMQKKB.TrustedKeySetAuthVerifier,
|
|
42
42
|
WorkerRuntime: () => WorkerRuntime,
|
|
43
43
|
WorkerSession: () => WorkerSession,
|
|
44
|
-
createAuthProvider: () =>
|
|
45
|
-
createDiagnostics: () =>
|
|
46
|
-
createStorageObjects: () =>
|
|
47
|
-
getNetworkPeers: () =>
|
|
48
|
-
invitationExpired: () =>
|
|
49
|
-
isLocked: () =>
|
|
50
|
-
subscribeToFeedBlocks: () =>
|
|
51
|
-
subscribeToFeeds: () =>
|
|
52
|
-
subscribeToNetworkStatus: () =>
|
|
53
|
-
subscribeToNetworkTopics: () =>
|
|
54
|
-
subscribeToSignal: () =>
|
|
55
|
-
subscribeToSpaces: () =>
|
|
56
|
-
subscribeToSwarmInfo: () =>
|
|
44
|
+
createAuthProvider: () => import_chunk_ZILMQKKB.createAuthProvider,
|
|
45
|
+
createDiagnostics: () => import_chunk_ZILMQKKB.createDiagnostics,
|
|
46
|
+
createStorageObjects: () => import_chunk_ZILMQKKB.createStorageObjects,
|
|
47
|
+
getNetworkPeers: () => import_chunk_ZILMQKKB.getNetworkPeers,
|
|
48
|
+
invitationExpired: () => import_chunk_ZILMQKKB.invitationExpired,
|
|
49
|
+
isLocked: () => import_chunk_ZILMQKKB.isLocked,
|
|
50
|
+
subscribeToFeedBlocks: () => import_chunk_ZILMQKKB.subscribeToFeedBlocks,
|
|
51
|
+
subscribeToFeeds: () => import_chunk_ZILMQKKB.subscribeToFeeds,
|
|
52
|
+
subscribeToNetworkStatus: () => import_chunk_ZILMQKKB.subscribeToNetworkStatus,
|
|
53
|
+
subscribeToNetworkTopics: () => import_chunk_ZILMQKKB.subscribeToNetworkTopics,
|
|
54
|
+
subscribeToSignal: () => import_chunk_ZILMQKKB.subscribeToSignal,
|
|
55
|
+
subscribeToSpaces: () => import_chunk_ZILMQKKB.subscribeToSpaces,
|
|
56
|
+
subscribeToSwarmInfo: () => import_chunk_ZILMQKKB.subscribeToSwarmInfo
|
|
57
57
|
});
|
|
58
58
|
module.exports = __toCommonJS(node_exports);
|
|
59
|
-
var
|
|
59
|
+
var import_chunk_ZILMQKKB = require("./chunk-ZILMQKKB.cjs");
|
|
60
60
|
var import_async = require("@dxos/async");
|
|
61
61
|
var import_client_protocol = require("@dxos/client-protocol");
|
|
62
62
|
var import_context = require("@dxos/context");
|
|
@@ -191,7 +191,7 @@ var IFrameHostRuntime = class {
|
|
|
191
191
|
iceServers: this._config.get("runtime.services.ice")
|
|
192
192
|
});
|
|
193
193
|
const signals = this._config.get("runtime.services.signaling");
|
|
194
|
-
this._clientServices = new
|
|
194
|
+
this._clientServices = new import_chunk_ZILMQKKB.ClientServicesHost({
|
|
195
195
|
lockKey: LOCK_KEY,
|
|
196
196
|
config: this._config,
|
|
197
197
|
signalManager: signals ? new import_messaging.WebsocketSignalManager(signals) : new import_messaging.MemorySignalManager(new import_messaging.MemorySignalManagerContext()),
|
|
@@ -217,7 +217,7 @@ var IFrameHostRuntime = class {
|
|
|
217
217
|
return handler(method, params);
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
|
-
this._clientRpc = new
|
|
220
|
+
this._clientRpc = new import_chunk_ZILMQKKB.ClientRpcServer({
|
|
221
221
|
serviceRegistry: this._clientServices.serviceRegistry,
|
|
222
222
|
port: this._appPort,
|
|
223
223
|
...middleware
|
|
@@ -382,12 +382,12 @@ var WorkerSession = class {
|
|
|
382
382
|
return handler(method, params);
|
|
383
383
|
}
|
|
384
384
|
};
|
|
385
|
-
this._clientRpc = new
|
|
385
|
+
this._clientRpc = new import_chunk_ZILMQKKB.ClientRpcServer({
|
|
386
386
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
387
387
|
port: appPort,
|
|
388
388
|
...middleware
|
|
389
389
|
});
|
|
390
|
-
this._shellClientRpc = shellPort ? new
|
|
390
|
+
this._shellClientRpc = shellPort ? new import_chunk_ZILMQKKB.ClientRpcServer({
|
|
391
391
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
392
392
|
port: shellPort,
|
|
393
393
|
...middleware
|
|
@@ -514,7 +514,7 @@ var WorkerRuntime = class {
|
|
|
514
514
|
this._signalTelemetryEnabled = false;
|
|
515
515
|
this._acquireLock = acquireLock;
|
|
516
516
|
this._releaseLock = releaseLock;
|
|
517
|
-
this._clientServices = new
|
|
517
|
+
this._clientServices = new import_chunk_ZILMQKKB.ClientServicesHost({
|
|
518
518
|
callbacks: {
|
|
519
519
|
onReset: async () => onReset()
|
|
520
520
|
}
|