@dxos/client-services 0.5.1-main.ff7d242 → 0.5.1-next.5e6b3f6
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-7AHPYPLI.mjs → chunk-5AW3X677.mjs} +57 -57
- package/dist/lib/browser/{chunk-7AHPYPLI.mjs.map → chunk-5AW3X677.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 +2 -2
- package/dist/lib/browser/packlets/testing/index.mjs.map +3 -3
- package/dist/lib/node/{chunk-HBT5F5OI.cjs → chunk-6ABI276Y.cjs} +61 -61
- package/dist/lib/node/chunk-6ABI276Y.cjs.map +7 -0
- package/dist/lib/node/index.cjs +43 -43
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/packlets/testing/index.cjs +9 -9
- package/dist/lib/node/packlets/testing/index.cjs.map +2 -2
- package/dist/types/src/packlets/services/service-context.d.ts +3 -3
- package/dist/types/src/packlets/services/service-context.d.ts.map +1 -1
- package/dist/types/src/packlets/services/service-host.d.ts +1 -1
- package/dist/types/src/packlets/services/service-host.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/data-space.d.ts.map +1 -1
- package/dist/types/src/packlets/storage/level.d.ts +1 -2
- package/dist/types/src/packlets/storage/level.d.ts.map +1 -1
- package/dist/types/src/packlets/testing/test-builder.d.ts +2 -1
- package/dist/types/src/packlets/testing/test-builder.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +36 -35
- package/src/packlets/services/automerge-host.test.ts +3 -1
- package/src/packlets/services/service-context.ts +2 -3
- package/src/packlets/services/service-host.ts +3 -4
- package/src/packlets/spaces/data-space.ts +2 -1
- package/src/packlets/storage/level.ts +2 -2
- package/src/packlets/testing/test-builder.ts +3 -2
- package/src/version.ts +1 -1
- package/dist/lib/node/chunk-HBT5F5OI.cjs.map +0 -7
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_6ABI276Y.ClientRpcServer,
|
|
22
|
+
ClientServicesHost: () => import_chunk_6ABI276Y.ClientServicesHost,
|
|
23
|
+
ClientServicesProviderResource: () => import_chunk_6ABI276Y.ClientServicesProviderResource,
|
|
24
|
+
DataSpace: () => import_chunk_6ABI276Y.DataSpace,
|
|
25
|
+
DataSpaceManager: () => import_chunk_6ABI276Y.DataSpaceManager,
|
|
26
|
+
DeviceInvitationProtocol: () => import_chunk_6ABI276Y.DeviceInvitationProtocol,
|
|
27
|
+
DevtoolsHostEvents: () => import_chunk_6ABI276Y.DevtoolsHostEvents,
|
|
28
|
+
DevtoolsServiceImpl: () => import_chunk_6ABI276Y.DevtoolsServiceImpl,
|
|
29
|
+
DiagnosticsCollector: () => import_chunk_6ABI276Y.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_6ABI276Y.Identity,
|
|
32
|
+
IdentityManager: () => import_chunk_6ABI276Y.IdentityManager,
|
|
33
|
+
IdentityServiceImpl: () => import_chunk_6ABI276Y.IdentityServiceImpl,
|
|
34
|
+
InvitationsHandler: () => import_chunk_6ABI276Y.InvitationsHandler,
|
|
35
|
+
InvitationsManager: () => import_chunk_6ABI276Y.InvitationsManager,
|
|
36
|
+
InvitationsServiceImpl: () => import_chunk_6ABI276Y.InvitationsServiceImpl,
|
|
37
|
+
Lock: () => import_chunk_6ABI276Y.Lock,
|
|
38
|
+
ServiceContext: () => import_chunk_6ABI276Y.ServiceContext,
|
|
39
|
+
ServiceRegistry: () => import_chunk_6ABI276Y.ServiceRegistry,
|
|
40
40
|
SharedWorkerConnection: () => SharedWorkerConnection,
|
|
41
41
|
ShellRuntimeImpl: () => ShellRuntimeImpl,
|
|
42
|
-
SpaceInvitationProtocol: () =>
|
|
43
|
-
SpacesServiceImpl: () =>
|
|
44
|
-
TrustedKeySetAuthVerifier: () =>
|
|
42
|
+
SpaceInvitationProtocol: () => import_chunk_6ABI276Y.SpaceInvitationProtocol,
|
|
43
|
+
SpacesServiceImpl: () => import_chunk_6ABI276Y.SpacesServiceImpl,
|
|
44
|
+
TrustedKeySetAuthVerifier: () => import_chunk_6ABI276Y.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_6ABI276Y.createAdmissionKeypair,
|
|
48
|
+
createAuthProvider: () => import_chunk_6ABI276Y.createAuthProvider,
|
|
49
|
+
createCollectDiagnosticsBroadcastHandler: () => import_chunk_6ABI276Y.createCollectDiagnosticsBroadcastHandler,
|
|
50
|
+
createCollectDiagnosticsBroadcastSender: () => import_chunk_6ABI276Y.createCollectDiagnosticsBroadcastSender,
|
|
51
|
+
createDiagnostics: () => import_chunk_6ABI276Y.createDiagnostics,
|
|
52
|
+
createLevel: () => import_chunk_6ABI276Y.createLevel,
|
|
53
|
+
createStorageObjects: () => import_chunk_6ABI276Y.createStorageObjects,
|
|
54
|
+
getNetworkPeers: () => import_chunk_6ABI276Y.getNetworkPeers,
|
|
55
|
+
isLocked: () => import_chunk_6ABI276Y.isLocked,
|
|
56
|
+
subscribeToFeedBlocks: () => import_chunk_6ABI276Y.subscribeToFeedBlocks,
|
|
57
|
+
subscribeToFeeds: () => import_chunk_6ABI276Y.subscribeToFeeds,
|
|
58
|
+
subscribeToNetworkStatus: () => import_chunk_6ABI276Y.subscribeToNetworkStatus,
|
|
59
|
+
subscribeToNetworkTopics: () => import_chunk_6ABI276Y.subscribeToNetworkTopics,
|
|
60
|
+
subscribeToSignal: () => import_chunk_6ABI276Y.subscribeToSignal,
|
|
61
|
+
subscribeToSpaces: () => import_chunk_6ABI276Y.subscribeToSpaces,
|
|
62
|
+
subscribeToSwarmInfo: () => import_chunk_6ABI276Y.subscribeToSwarmInfo
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(node_exports);
|
|
65
|
-
var
|
|
65
|
+
var import_chunk_6ABI276Y = require("./chunk-6ABI276Y.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");
|
|
@@ -197,7 +197,7 @@ var IFrameHostRuntime = class {
|
|
|
197
197
|
iceServers: this._config.get("runtime.services.ice")
|
|
198
198
|
});
|
|
199
199
|
const signals = this._config.get("runtime.services.signaling");
|
|
200
|
-
this._clientServices = new
|
|
200
|
+
this._clientServices = new import_chunk_6ABI276Y.ClientServicesHost({
|
|
201
201
|
lockKey: LOCK_KEY,
|
|
202
202
|
config: this._config,
|
|
203
203
|
signalManager: signals ? new import_messaging.WebsocketSignalManager(signals) : new import_messaging.MemorySignalManager(new import_messaging.MemorySignalManagerContext()),
|
|
@@ -223,7 +223,7 @@ var IFrameHostRuntime = class {
|
|
|
223
223
|
return handler(method, params);
|
|
224
224
|
}
|
|
225
225
|
};
|
|
226
|
-
this._clientRpc = new
|
|
226
|
+
this._clientRpc = new import_chunk_6ABI276Y.ClientRpcServer({
|
|
227
227
|
serviceRegistry: this._clientServices.serviceRegistry,
|
|
228
228
|
port: this._appPort,
|
|
229
229
|
...middleware
|
|
@@ -388,12 +388,12 @@ var WorkerSession = class {
|
|
|
388
388
|
return handler(method, params);
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
|
-
this._clientRpc = new
|
|
391
|
+
this._clientRpc = new import_chunk_6ABI276Y.ClientRpcServer({
|
|
392
392
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
393
393
|
port: appPort,
|
|
394
394
|
...middleware
|
|
395
395
|
});
|
|
396
|
-
this._shellClientRpc = shellPort ? new
|
|
396
|
+
this._shellClientRpc = shellPort ? new import_chunk_6ABI276Y.ClientRpcServer({
|
|
397
397
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
398
398
|
port: shellPort,
|
|
399
399
|
...middleware
|
|
@@ -520,7 +520,7 @@ var WorkerRuntime = class {
|
|
|
520
520
|
this._signalTelemetryEnabled = false;
|
|
521
521
|
this._acquireLock = acquireLock;
|
|
522
522
|
this._releaseLock = releaseLock;
|
|
523
|
-
this._clientServices = new
|
|
523
|
+
this._clientServices = new import_chunk_6ABI276Y.ClientServicesHost({
|
|
524
524
|
callbacks: {
|
|
525
525
|
onReset: async () => onReset()
|
|
526
526
|
}
|