@dxos/client-services 0.6.11 → 0.6.12-main.5cc132e
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-QYVLLBAA.mjs → chunk-7FTR2DGP.mjs} +2 -2
- package/dist/lib/browser/chunk-7FTR2DGP.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +1 -1
- package/dist/lib/node/{chunk-F7G2TXVG.cjs → chunk-KUHUPLSZ.cjs} +5 -5
- package/dist/lib/node/chunk-KUHUPLSZ.cjs.map +7 -0
- package/dist/lib/node/index.cjs +45 -45
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +8 -8
- package/dist/lib/node-esm/chunk-QGQGMTAW.mjs +7714 -0
- package/dist/lib/node-esm/chunk-QGQGMTAW.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +415 -0
- package/dist/lib/node-esm/index.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -0
- package/dist/lib/node-esm/testing/index.mjs +418 -0
- package/dist/lib/node-esm/testing/index.mjs.map +7 -0
- package/dist/types/src/packlets/diagnostics/diagnostics-broadcast.d.ts.map +1 -1
- package/dist/types/src/packlets/identity/authenticator.node.test.d.ts +2 -0
- package/dist/types/src/packlets/identity/authenticator.node.test.d.ts.map +1 -0
- package/dist/types/src/packlets/storage/storage.d.ts.map +1 -1
- package/dist/types/src/testing/setup.d.ts +3 -0
- package/dist/types/src/testing/setup.d.ts.map +1 -0
- package/dist/types/src/version.d.ts +1 -1
- package/dist/types/src/version.d.ts.map +1 -1
- package/package.json +42 -39
- package/src/packlets/devices/devices-service.test.ts +4 -5
- package/src/packlets/diagnostics/diagnostics-broadcast.ts +1 -0
- package/src/packlets/identity/{authenticator.test.ts → authenticator.node.test.ts} +2 -3
- package/src/packlets/identity/identity-manager.test.ts +4 -5
- package/src/packlets/identity/identity-service.test.ts +4 -8
- package/src/packlets/identity/identity.test.ts +4 -5
- package/src/packlets/invitations/device-invitation-protocol.test.ts +7 -4
- package/src/packlets/invitations/invitations-handler.test.ts +14 -7
- package/src/packlets/invitations/space-invitation-protocol.test.ts +4 -3
- package/src/packlets/logging/logging.test.ts +1 -2
- package/src/packlets/network/network-service.test.ts +2 -3
- package/src/packlets/services/automerge-host.test.ts +6 -4
- package/src/packlets/services/service-context.test.ts +3 -1
- package/src/packlets/services/service-host.test.ts +8 -12
- package/src/packlets/services/service-registry.test.ts +1 -2
- package/src/packlets/spaces/data-space-manager.test.ts +2 -2
- package/src/packlets/spaces/notarization-plugin.test.ts +2 -3
- package/src/packlets/spaces/spaces-service.test.ts +5 -9
- package/src/packlets/storage/storage.ts +0 -1
- package/src/packlets/system/system-service.test.ts +1 -2
- package/src/testing/setup.ts +11 -0
- package/src/version.ts +1 -5
- package/dist/lib/browser/chunk-QYVLLBAA.mjs.map +0 -7
- package/dist/lib/node/chunk-F7G2TXVG.cjs.map +0 -7
- package/dist/types/src/packlets/identity/authenticator.test.d.ts +0 -2
- package/dist/types/src/packlets/identity/authenticator.test.d.ts.map +0 -1
package/dist/lib/node/index.cjs
CHANGED
|
@@ -18,52 +18,52 @@ 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: () =>
|
|
28
|
-
DiagnosticsCollector: () =>
|
|
29
|
-
EdgeFeedReplicator: () =>
|
|
30
|
-
Identity: () =>
|
|
31
|
-
IdentityManager: () =>
|
|
32
|
-
IdentityServiceImpl: () =>
|
|
33
|
-
InvitationsHandler: () =>
|
|
34
|
-
InvitationsManager: () =>
|
|
35
|
-
InvitationsServiceImpl: () =>
|
|
36
|
-
Lock: () =>
|
|
37
|
-
ServiceContext: () =>
|
|
38
|
-
ServiceRegistry: () =>
|
|
39
|
-
SpaceInvitationProtocol: () =>
|
|
40
|
-
SpacesServiceImpl: () =>
|
|
41
|
-
TrustedKeySetAuthVerifier: () =>
|
|
21
|
+
ClientRpcServer: () => import_chunk_KUHUPLSZ.ClientRpcServer,
|
|
22
|
+
ClientServicesHost: () => import_chunk_KUHUPLSZ.ClientServicesHost,
|
|
23
|
+
DataSpace: () => import_chunk_KUHUPLSZ.DataSpace,
|
|
24
|
+
DataSpaceManager: () => import_chunk_KUHUPLSZ.DataSpaceManager,
|
|
25
|
+
DeviceInvitationProtocol: () => import_chunk_KUHUPLSZ.DeviceInvitationProtocol,
|
|
26
|
+
DevtoolsHostEvents: () => import_chunk_KUHUPLSZ.DevtoolsHostEvents,
|
|
27
|
+
DevtoolsServiceImpl: () => import_chunk_KUHUPLSZ.DevtoolsServiceImpl,
|
|
28
|
+
DiagnosticsCollector: () => import_chunk_KUHUPLSZ.DiagnosticsCollector,
|
|
29
|
+
EdgeFeedReplicator: () => import_chunk_KUHUPLSZ.EdgeFeedReplicator,
|
|
30
|
+
Identity: () => import_chunk_KUHUPLSZ.Identity,
|
|
31
|
+
IdentityManager: () => import_chunk_KUHUPLSZ.IdentityManager,
|
|
32
|
+
IdentityServiceImpl: () => import_chunk_KUHUPLSZ.IdentityServiceImpl,
|
|
33
|
+
InvitationsHandler: () => import_chunk_KUHUPLSZ.InvitationsHandler,
|
|
34
|
+
InvitationsManager: () => import_chunk_KUHUPLSZ.InvitationsManager,
|
|
35
|
+
InvitationsServiceImpl: () => import_chunk_KUHUPLSZ.InvitationsServiceImpl,
|
|
36
|
+
Lock: () => import_chunk_KUHUPLSZ.Lock,
|
|
37
|
+
ServiceContext: () => import_chunk_KUHUPLSZ.ServiceContext,
|
|
38
|
+
ServiceRegistry: () => import_chunk_KUHUPLSZ.ServiceRegistry,
|
|
39
|
+
SpaceInvitationProtocol: () => import_chunk_KUHUPLSZ.SpaceInvitationProtocol,
|
|
40
|
+
SpacesServiceImpl: () => import_chunk_KUHUPLSZ.SpacesServiceImpl,
|
|
41
|
+
TrustedKeySetAuthVerifier: () => import_chunk_KUHUPLSZ.TrustedKeySetAuthVerifier,
|
|
42
42
|
WorkerRuntime: () => WorkerRuntime,
|
|
43
43
|
WorkerSession: () => WorkerSession,
|
|
44
|
-
createAdmissionKeypair: () =>
|
|
45
|
-
createAuthProvider: () =>
|
|
46
|
-
createCollectDiagnosticsBroadcastHandler: () =>
|
|
47
|
-
createCollectDiagnosticsBroadcastSender: () =>
|
|
48
|
-
createDiagnostics: () =>
|
|
49
|
-
createLevel: () =>
|
|
50
|
-
createStorageObjects: () =>
|
|
51
|
-
decodeProfileArchive: () =>
|
|
52
|
-
encodeProfileArchive: () =>
|
|
53
|
-
exportProfileData: () =>
|
|
54
|
-
getNetworkPeers: () =>
|
|
55
|
-
importProfileData: () =>
|
|
56
|
-
isLocked: () =>
|
|
57
|
-
subscribeToFeedBlocks: () =>
|
|
58
|
-
subscribeToFeeds: () =>
|
|
59
|
-
subscribeToNetworkStatus: () =>
|
|
60
|
-
subscribeToNetworkTopics: () =>
|
|
61
|
-
subscribeToSignal: () =>
|
|
62
|
-
subscribeToSpaces: () =>
|
|
63
|
-
subscribeToSwarmInfo: () =>
|
|
44
|
+
createAdmissionKeypair: () => import_chunk_KUHUPLSZ.createAdmissionKeypair,
|
|
45
|
+
createAuthProvider: () => import_chunk_KUHUPLSZ.createAuthProvider,
|
|
46
|
+
createCollectDiagnosticsBroadcastHandler: () => import_chunk_KUHUPLSZ.createCollectDiagnosticsBroadcastHandler,
|
|
47
|
+
createCollectDiagnosticsBroadcastSender: () => import_chunk_KUHUPLSZ.createCollectDiagnosticsBroadcastSender,
|
|
48
|
+
createDiagnostics: () => import_chunk_KUHUPLSZ.createDiagnostics,
|
|
49
|
+
createLevel: () => import_chunk_KUHUPLSZ.createLevel,
|
|
50
|
+
createStorageObjects: () => import_chunk_KUHUPLSZ.createStorageObjects,
|
|
51
|
+
decodeProfileArchive: () => import_chunk_KUHUPLSZ.decodeProfileArchive,
|
|
52
|
+
encodeProfileArchive: () => import_chunk_KUHUPLSZ.encodeProfileArchive,
|
|
53
|
+
exportProfileData: () => import_chunk_KUHUPLSZ.exportProfileData,
|
|
54
|
+
getNetworkPeers: () => import_chunk_KUHUPLSZ.getNetworkPeers,
|
|
55
|
+
importProfileData: () => import_chunk_KUHUPLSZ.importProfileData,
|
|
56
|
+
isLocked: () => import_chunk_KUHUPLSZ.isLocked,
|
|
57
|
+
subscribeToFeedBlocks: () => import_chunk_KUHUPLSZ.subscribeToFeedBlocks,
|
|
58
|
+
subscribeToFeeds: () => import_chunk_KUHUPLSZ.subscribeToFeeds,
|
|
59
|
+
subscribeToNetworkStatus: () => import_chunk_KUHUPLSZ.subscribeToNetworkStatus,
|
|
60
|
+
subscribeToNetworkTopics: () => import_chunk_KUHUPLSZ.subscribeToNetworkTopics,
|
|
61
|
+
subscribeToSignal: () => import_chunk_KUHUPLSZ.subscribeToSignal,
|
|
62
|
+
subscribeToSpaces: () => import_chunk_KUHUPLSZ.subscribeToSpaces,
|
|
63
|
+
subscribeToSwarmInfo: () => import_chunk_KUHUPLSZ.subscribeToSwarmInfo
|
|
64
64
|
});
|
|
65
65
|
module.exports = __toCommonJS(node_exports);
|
|
66
|
-
var
|
|
66
|
+
var import_chunk_KUHUPLSZ = require("./chunk-KUHUPLSZ.cjs");
|
|
67
67
|
var import_async = require("@dxos/async");
|
|
68
68
|
var import_client_protocol = require("@dxos/client-protocol");
|
|
69
69
|
var import_context = require("@dxos/context");
|
|
@@ -118,12 +118,12 @@ var WorkerSession = class {
|
|
|
118
118
|
return handler(method, params);
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
|
-
this._clientRpc = new
|
|
121
|
+
this._clientRpc = new import_chunk_KUHUPLSZ.ClientRpcServer({
|
|
122
122
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
123
123
|
port: appPort,
|
|
124
124
|
...middleware
|
|
125
125
|
});
|
|
126
|
-
this._shellClientRpc = shellPort ? new
|
|
126
|
+
this._shellClientRpc = shellPort ? new import_chunk_KUHUPLSZ.ClientRpcServer({
|
|
127
127
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
128
128
|
port: shellPort,
|
|
129
129
|
...middleware
|
|
@@ -252,7 +252,7 @@ var WorkerRuntime = class {
|
|
|
252
252
|
this._releaseLock = releaseLock;
|
|
253
253
|
this._onStop = onStop;
|
|
254
254
|
this._channel = channel;
|
|
255
|
-
this._clientServices = new
|
|
255
|
+
this._clientServices = new import_chunk_KUHUPLSZ.ClientServicesHost({
|
|
256
256
|
callbacks: {
|
|
257
257
|
onReset: async () => this.stop()
|
|
258
258
|
}
|