@dxos/client-services 0.6.12-main.78ddbdf → 0.6.12-main.89e9959
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-XSFLJVDP.mjs → chunk-XVI3VSJT.mjs} +637 -292
- package/dist/lib/browser/chunk-XVI3VSJT.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 +2 -2
- package/dist/lib/browser/testing/index.mjs.map +2 -2
- package/dist/lib/node/{chunk-F3WGFGEN.cjs → chunk-NZL66D6K.cjs} +727 -382
- package/dist/lib/node/chunk-NZL66D6K.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/testing/index.cjs.map +2 -2
- package/dist/lib/node-esm/{chunk-3HDLTAT2.mjs → chunk-6747X7GN.mjs} +637 -292
- package/dist/lib/node-esm/chunk-6747X7GN.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +1 -1
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/testing/index.mjs +2 -2
- package/dist/lib/node-esm/testing/index.mjs.map +2 -2
- package/dist/types/src/packlets/identity/authenticator.d.ts.map +1 -1
- package/dist/types/src/packlets/identity/contacts-service.d.ts +1 -1
- package/dist/types/src/packlets/identity/contacts-service.d.ts.map +1 -1
- package/dist/types/src/packlets/identity/identity.d.ts +1 -0
- package/dist/types/src/packlets/identity/identity.d.ts.map +1 -1
- package/dist/types/src/packlets/services/service-context.d.ts +4 -2
- package/dist/types/src/packlets/services/service-context.d.ts.map +1 -1
- package/dist/types/src/packlets/services/service-host.d.ts +1 -0
- package/dist/types/src/packlets/services/service-host.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/data-space-manager.d.ts +3 -1
- package/dist/types/src/packlets/spaces/data-space-manager.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/data-space.d.ts +2 -1
- package/dist/types/src/packlets/spaces/data-space.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/edge-feed-replicator.d.ts +2 -0
- package/dist/types/src/packlets/spaces/edge-feed-replicator.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/notarization-plugin.d.ts +31 -6
- package/dist/types/src/packlets/spaces/notarization-plugin.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +38 -38
- package/src/packlets/identity/authenticator.ts +5 -2
- package/src/packlets/identity/contacts-service.ts +1 -1
- package/src/packlets/identity/identity.ts +4 -0
- package/src/packlets/services/service-context.ts +41 -17
- package/src/packlets/services/service-host.ts +7 -5
- package/src/packlets/spaces/data-space-manager.ts +5 -1
- package/src/packlets/spaces/data-space.ts +23 -4
- package/src/packlets/spaces/edge-feed-replicator.test.ts +22 -15
- package/src/packlets/spaces/edge-feed-replicator.ts +45 -25
- package/src/packlets/spaces/notarization-plugin.test.ts +8 -4
- package/src/packlets/spaces/notarization-plugin.ts +169 -29
- package/src/packlets/testing/test-builder.ts +1 -1
- package/src/version.ts +1 -1
- package/dist/lib/browser/chunk-XSFLJVDP.mjs.map +0 -7
- package/dist/lib/node/chunk-F3WGFGEN.cjs.map +0 -7
- package/dist/lib/node-esm/chunk-3HDLTAT2.mjs.map +0 -7
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_NZL66D6K.ClientRpcServer,
|
|
22
|
+
ClientServicesHost: () => import_chunk_NZL66D6K.ClientServicesHost,
|
|
23
|
+
DataSpace: () => import_chunk_NZL66D6K.DataSpace,
|
|
24
|
+
DataSpaceManager: () => import_chunk_NZL66D6K.DataSpaceManager,
|
|
25
|
+
DeviceInvitationProtocol: () => import_chunk_NZL66D6K.DeviceInvitationProtocol,
|
|
26
|
+
DevtoolsHostEvents: () => import_chunk_NZL66D6K.DevtoolsHostEvents,
|
|
27
|
+
DevtoolsServiceImpl: () => import_chunk_NZL66D6K.DevtoolsServiceImpl,
|
|
28
|
+
DiagnosticsCollector: () => import_chunk_NZL66D6K.DiagnosticsCollector,
|
|
29
|
+
EdgeFeedReplicator: () => import_chunk_NZL66D6K.EdgeFeedReplicator,
|
|
30
|
+
Identity: () => import_chunk_NZL66D6K.Identity,
|
|
31
|
+
IdentityManager: () => import_chunk_NZL66D6K.IdentityManager,
|
|
32
|
+
IdentityServiceImpl: () => import_chunk_NZL66D6K.IdentityServiceImpl,
|
|
33
|
+
InvitationsHandler: () => import_chunk_NZL66D6K.InvitationsHandler,
|
|
34
|
+
InvitationsManager: () => import_chunk_NZL66D6K.InvitationsManager,
|
|
35
|
+
InvitationsServiceImpl: () => import_chunk_NZL66D6K.InvitationsServiceImpl,
|
|
36
|
+
Lock: () => import_chunk_NZL66D6K.Lock,
|
|
37
|
+
ServiceContext: () => import_chunk_NZL66D6K.ServiceContext,
|
|
38
|
+
ServiceRegistry: () => import_chunk_NZL66D6K.ServiceRegistry,
|
|
39
|
+
SpaceInvitationProtocol: () => import_chunk_NZL66D6K.SpaceInvitationProtocol,
|
|
40
|
+
SpacesServiceImpl: () => import_chunk_NZL66D6K.SpacesServiceImpl,
|
|
41
|
+
TrustedKeySetAuthVerifier: () => import_chunk_NZL66D6K.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_NZL66D6K.createAdmissionKeypair,
|
|
45
|
+
createAuthProvider: () => import_chunk_NZL66D6K.createAuthProvider,
|
|
46
|
+
createCollectDiagnosticsBroadcastHandler: () => import_chunk_NZL66D6K.createCollectDiagnosticsBroadcastHandler,
|
|
47
|
+
createCollectDiagnosticsBroadcastSender: () => import_chunk_NZL66D6K.createCollectDiagnosticsBroadcastSender,
|
|
48
|
+
createDiagnostics: () => import_chunk_NZL66D6K.createDiagnostics,
|
|
49
|
+
createLevel: () => import_chunk_NZL66D6K.createLevel,
|
|
50
|
+
createStorageObjects: () => import_chunk_NZL66D6K.createStorageObjects,
|
|
51
|
+
decodeProfileArchive: () => import_chunk_NZL66D6K.decodeProfileArchive,
|
|
52
|
+
encodeProfileArchive: () => import_chunk_NZL66D6K.encodeProfileArchive,
|
|
53
|
+
exportProfileData: () => import_chunk_NZL66D6K.exportProfileData,
|
|
54
|
+
getNetworkPeers: () => import_chunk_NZL66D6K.getNetworkPeers,
|
|
55
|
+
importProfileData: () => import_chunk_NZL66D6K.importProfileData,
|
|
56
|
+
isLocked: () => import_chunk_NZL66D6K.isLocked,
|
|
57
|
+
subscribeToFeedBlocks: () => import_chunk_NZL66D6K.subscribeToFeedBlocks,
|
|
58
|
+
subscribeToFeeds: () => import_chunk_NZL66D6K.subscribeToFeeds,
|
|
59
|
+
subscribeToNetworkStatus: () => import_chunk_NZL66D6K.subscribeToNetworkStatus,
|
|
60
|
+
subscribeToNetworkTopics: () => import_chunk_NZL66D6K.subscribeToNetworkTopics,
|
|
61
|
+
subscribeToSignal: () => import_chunk_NZL66D6K.subscribeToSignal,
|
|
62
|
+
subscribeToSpaces: () => import_chunk_NZL66D6K.subscribeToSpaces,
|
|
63
|
+
subscribeToSwarmInfo: () => import_chunk_NZL66D6K.subscribeToSwarmInfo
|
|
64
64
|
});
|
|
65
65
|
module.exports = __toCommonJS(node_exports);
|
|
66
|
-
var
|
|
66
|
+
var import_chunk_NZL66D6K = require("./chunk-NZL66D6K.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_NZL66D6K.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_NZL66D6K.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_NZL66D6K.ClientServicesHost({
|
|
256
256
|
callbacks: {
|
|
257
257
|
onReset: async () => this.stop()
|
|
258
258
|
}
|