@dxos/client-services 0.4.10-main.ec8b427 → 0.4.10-main.fa5a270
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-4NKBBUMB.mjs → chunk-7PYX6UUA.mjs} +2 -2
- package/dist/lib/browser/{chunk-4NKBBUMB.mjs.map → chunk-7PYX6UUA.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-5YRLBMIC.cjs → chunk-4TX623I7.cjs} +5 -5
- package/dist/lib/node/{chunk-5YRLBMIC.cjs.map → chunk-4TX623I7.cjs.map} +1 -1
- 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/version.d.ts +1 -1
- package/package.json +34 -34
- 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_4TX623I7.ClientRpcServer,
|
|
22
|
+
ClientServicesHost: () => import_chunk_4TX623I7.ClientServicesHost,
|
|
23
|
+
DataSpace: () => import_chunk_4TX623I7.DataSpace,
|
|
24
|
+
DataSpaceManager: () => import_chunk_4TX623I7.DataSpaceManager,
|
|
25
|
+
DeviceInvitationProtocol: () => import_chunk_4TX623I7.DeviceInvitationProtocol,
|
|
26
|
+
DevtoolsHostEvents: () => import_chunk_4TX623I7.DevtoolsHostEvents,
|
|
27
|
+
DevtoolsServiceImpl: () => import_chunk_4TX623I7.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_4TX623I7.Identity,
|
|
30
|
+
IdentityManager: () => import_chunk_4TX623I7.IdentityManager,
|
|
31
|
+
IdentityServiceImpl: () => import_chunk_4TX623I7.IdentityServiceImpl,
|
|
32
|
+
InvitationsHandler: () => import_chunk_4TX623I7.InvitationsHandler,
|
|
33
|
+
InvitationsServiceImpl: () => import_chunk_4TX623I7.InvitationsServiceImpl,
|
|
34
|
+
Lock: () => import_chunk_4TX623I7.Lock,
|
|
35
|
+
ServiceContext: () => import_chunk_4TX623I7.ServiceContext,
|
|
36
|
+
ServiceRegistry: () => import_chunk_4TX623I7.ServiceRegistry,
|
|
37
37
|
SharedWorkerConnection: () => SharedWorkerConnection,
|
|
38
38
|
ShellRuntimeImpl: () => ShellRuntimeImpl,
|
|
39
|
-
SpaceInvitationProtocol: () =>
|
|
40
|
-
SpacesServiceImpl: () =>
|
|
41
|
-
TrustedKeySetAuthVerifier: () =>
|
|
39
|
+
SpaceInvitationProtocol: () => import_chunk_4TX623I7.SpaceInvitationProtocol,
|
|
40
|
+
SpacesServiceImpl: () => import_chunk_4TX623I7.SpacesServiceImpl,
|
|
41
|
+
TrustedKeySetAuthVerifier: () => import_chunk_4TX623I7.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_4TX623I7.createAuthProvider,
|
|
45
|
+
createDiagnostics: () => import_chunk_4TX623I7.createDiagnostics,
|
|
46
|
+
createStorageObjects: () => import_chunk_4TX623I7.createStorageObjects,
|
|
47
|
+
getNetworkPeers: () => import_chunk_4TX623I7.getNetworkPeers,
|
|
48
|
+
invitationExpired: () => import_chunk_4TX623I7.invitationExpired,
|
|
49
|
+
isLocked: () => import_chunk_4TX623I7.isLocked,
|
|
50
|
+
subscribeToFeedBlocks: () => import_chunk_4TX623I7.subscribeToFeedBlocks,
|
|
51
|
+
subscribeToFeeds: () => import_chunk_4TX623I7.subscribeToFeeds,
|
|
52
|
+
subscribeToNetworkStatus: () => import_chunk_4TX623I7.subscribeToNetworkStatus,
|
|
53
|
+
subscribeToNetworkTopics: () => import_chunk_4TX623I7.subscribeToNetworkTopics,
|
|
54
|
+
subscribeToSignal: () => import_chunk_4TX623I7.subscribeToSignal,
|
|
55
|
+
subscribeToSpaces: () => import_chunk_4TX623I7.subscribeToSpaces,
|
|
56
|
+
subscribeToSwarmInfo: () => import_chunk_4TX623I7.subscribeToSwarmInfo
|
|
57
57
|
});
|
|
58
58
|
module.exports = __toCommonJS(node_exports);
|
|
59
|
-
var
|
|
59
|
+
var import_chunk_4TX623I7 = require("./chunk-4TX623I7.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");
|
|
@@ -190,7 +190,7 @@ var IFrameHostRuntime = class {
|
|
|
190
190
|
iceServers: this._config.get("runtime.services.ice")
|
|
191
191
|
});
|
|
192
192
|
const signals = this._config.get("runtime.services.signaling");
|
|
193
|
-
this._clientServices = new
|
|
193
|
+
this._clientServices = new import_chunk_4TX623I7.ClientServicesHost({
|
|
194
194
|
lockKey: LOCK_KEY,
|
|
195
195
|
config: this._config,
|
|
196
196
|
signalManager: signals ? new import_messaging.WebsocketSignalManager(signals) : new import_messaging.MemorySignalManager(new import_messaging.MemorySignalManagerContext()),
|
|
@@ -216,7 +216,7 @@ var IFrameHostRuntime = class {
|
|
|
216
216
|
return handler(method, params);
|
|
217
217
|
}
|
|
218
218
|
};
|
|
219
|
-
this._clientRpc = new
|
|
219
|
+
this._clientRpc = new import_chunk_4TX623I7.ClientRpcServer({
|
|
220
220
|
serviceRegistry: this._clientServices.serviceRegistry,
|
|
221
221
|
port: this._appPort,
|
|
222
222
|
...middleware
|
|
@@ -381,12 +381,12 @@ var WorkerSession = class {
|
|
|
381
381
|
return handler(method, params);
|
|
382
382
|
}
|
|
383
383
|
};
|
|
384
|
-
this._clientRpc = new
|
|
384
|
+
this._clientRpc = new import_chunk_4TX623I7.ClientRpcServer({
|
|
385
385
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
386
386
|
port: appPort,
|
|
387
387
|
...middleware
|
|
388
388
|
});
|
|
389
|
-
this._shellClientRpc = shellPort ? new
|
|
389
|
+
this._shellClientRpc = shellPort ? new import_chunk_4TX623I7.ClientRpcServer({
|
|
390
390
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
391
391
|
port: shellPort,
|
|
392
392
|
...middleware
|
|
@@ -507,7 +507,7 @@ var WorkerRuntime = class {
|
|
|
507
507
|
this._sessions = /* @__PURE__ */ new Set();
|
|
508
508
|
this._acquireLock = acquireLock;
|
|
509
509
|
this._releaseLock = releaseLock;
|
|
510
|
-
this._clientServices = new
|
|
510
|
+
this._clientServices = new import_chunk_4TX623I7.ClientServicesHost({
|
|
511
511
|
callbacks: {
|
|
512
512
|
onReset: async () => onReset()
|
|
513
513
|
}
|