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