@dxos/client-services 0.7.2 → 0.7.3-main.2dd075e
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-K5O5LV2R.mjs → chunk-5GKWY67F.mjs} +340 -422
- package/dist/lib/browser/chunk-5GKWY67F.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-SPLKKUM4.cjs → chunk-RVO5327U.cjs} +329 -411
- package/dist/lib/node/chunk-RVO5327U.cjs.map +7 -0
- package/dist/lib/node/index.cjs +47 -47
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +8 -8
- package/dist/lib/node-esm/{chunk-NSCBFSXO.mjs → chunk-LMUKPYXE.mjs} +334 -416
- package/dist/lib/node-esm/chunk-LMUKPYXE.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 +1 -1
- package/dist/types/src/packlets/agents/edge-agent-service.d.ts +5 -2
- package/dist/types/src/packlets/agents/edge-agent-service.d.ts.map +1 -1
- package/dist/types/src/packlets/identity/identity-service.d.ts +1 -0
- package/dist/types/src/packlets/identity/identity-service.d.ts.map +1 -1
- package/dist/types/src/packlets/services/service-context.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/data-space-manager.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/epoch-migrations.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/dist/types/src/version.d.ts.map +1 -1
- package/package.json +38 -38
- package/src/packlets/agents/edge-agent-service.ts +28 -3
- package/src/packlets/identity/identity-service.ts +16 -1
- package/src/packlets/services/service-context.ts +4 -1
- package/src/packlets/services/service-host.ts +1 -1
- package/src/packlets/spaces/data-space-manager.ts +4 -13
- package/src/packlets/spaces/epoch-migrations.ts +3 -84
- package/src/version.ts +1 -5
- package/dist/lib/browser/chunk-K5O5LV2R.mjs.map +0 -7
- package/dist/lib/node/chunk-SPLKKUM4.cjs.map +0 -7
- package/dist/lib/node-esm/chunk-NSCBFSXO.mjs.map +0 -7
package/dist/lib/node/index.cjs
CHANGED
|
@@ -18,54 +18,54 @@ 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
|
-
EdgeAgentManager: () =>
|
|
30
|
-
EdgeAgentServiceImpl: () =>
|
|
31
|
-
EdgeFeedReplicator: () =>
|
|
32
|
-
Identity: () =>
|
|
33
|
-
IdentityManager: () =>
|
|
34
|
-
IdentityServiceImpl: () =>
|
|
35
|
-
InvitationsHandler: () =>
|
|
36
|
-
InvitationsManager: () =>
|
|
37
|
-
InvitationsServiceImpl: () =>
|
|
38
|
-
Lock: () =>
|
|
39
|
-
ServiceContext: () =>
|
|
40
|
-
ServiceRegistry: () =>
|
|
41
|
-
SpaceInvitationProtocol: () =>
|
|
42
|
-
SpacesServiceImpl: () =>
|
|
43
|
-
TrustedKeySetAuthVerifier: () =>
|
|
21
|
+
ClientRpcServer: () => import_chunk_RVO5327U.ClientRpcServer,
|
|
22
|
+
ClientServicesHost: () => import_chunk_RVO5327U.ClientServicesHost,
|
|
23
|
+
DataSpace: () => import_chunk_RVO5327U.DataSpace,
|
|
24
|
+
DataSpaceManager: () => import_chunk_RVO5327U.DataSpaceManager,
|
|
25
|
+
DeviceInvitationProtocol: () => import_chunk_RVO5327U.DeviceInvitationProtocol,
|
|
26
|
+
DevtoolsHostEvents: () => import_chunk_RVO5327U.DevtoolsHostEvents,
|
|
27
|
+
DevtoolsServiceImpl: () => import_chunk_RVO5327U.DevtoolsServiceImpl,
|
|
28
|
+
DiagnosticsCollector: () => import_chunk_RVO5327U.DiagnosticsCollector,
|
|
29
|
+
EdgeAgentManager: () => import_chunk_RVO5327U.EdgeAgentManager,
|
|
30
|
+
EdgeAgentServiceImpl: () => import_chunk_RVO5327U.EdgeAgentServiceImpl,
|
|
31
|
+
EdgeFeedReplicator: () => import_chunk_RVO5327U.EdgeFeedReplicator,
|
|
32
|
+
Identity: () => import_chunk_RVO5327U.Identity,
|
|
33
|
+
IdentityManager: () => import_chunk_RVO5327U.IdentityManager,
|
|
34
|
+
IdentityServiceImpl: () => import_chunk_RVO5327U.IdentityServiceImpl,
|
|
35
|
+
InvitationsHandler: () => import_chunk_RVO5327U.InvitationsHandler,
|
|
36
|
+
InvitationsManager: () => import_chunk_RVO5327U.InvitationsManager,
|
|
37
|
+
InvitationsServiceImpl: () => import_chunk_RVO5327U.InvitationsServiceImpl,
|
|
38
|
+
Lock: () => import_chunk_RVO5327U.Lock,
|
|
39
|
+
ServiceContext: () => import_chunk_RVO5327U.ServiceContext,
|
|
40
|
+
ServiceRegistry: () => import_chunk_RVO5327U.ServiceRegistry,
|
|
41
|
+
SpaceInvitationProtocol: () => import_chunk_RVO5327U.SpaceInvitationProtocol,
|
|
42
|
+
SpacesServiceImpl: () => import_chunk_RVO5327U.SpacesServiceImpl,
|
|
43
|
+
TrustedKeySetAuthVerifier: () => import_chunk_RVO5327U.TrustedKeySetAuthVerifier,
|
|
44
44
|
WorkerRuntime: () => WorkerRuntime,
|
|
45
45
|
WorkerSession: () => WorkerSession,
|
|
46
|
-
createAdmissionKeypair: () =>
|
|
47
|
-
createAuthProvider: () =>
|
|
48
|
-
createCollectDiagnosticsBroadcastHandler: () =>
|
|
49
|
-
createCollectDiagnosticsBroadcastSender: () =>
|
|
50
|
-
createDiagnostics: () =>
|
|
51
|
-
createLevel: () =>
|
|
52
|
-
createStorageObjects: () =>
|
|
53
|
-
decodeProfileArchive: () =>
|
|
54
|
-
encodeProfileArchive: () =>
|
|
55
|
-
exportProfileData: () =>
|
|
56
|
-
getNetworkPeers: () =>
|
|
57
|
-
importProfileData: () =>
|
|
58
|
-
isLocked: () =>
|
|
59
|
-
subscribeToFeedBlocks: () =>
|
|
60
|
-
subscribeToFeeds: () =>
|
|
61
|
-
subscribeToNetworkStatus: () =>
|
|
62
|
-
subscribeToNetworkTopics: () =>
|
|
63
|
-
subscribeToSignal: () =>
|
|
64
|
-
subscribeToSpaces: () =>
|
|
65
|
-
subscribeToSwarmInfo: () =>
|
|
46
|
+
createAdmissionKeypair: () => import_chunk_RVO5327U.createAdmissionKeypair,
|
|
47
|
+
createAuthProvider: () => import_chunk_RVO5327U.createAuthProvider,
|
|
48
|
+
createCollectDiagnosticsBroadcastHandler: () => import_chunk_RVO5327U.createCollectDiagnosticsBroadcastHandler,
|
|
49
|
+
createCollectDiagnosticsBroadcastSender: () => import_chunk_RVO5327U.createCollectDiagnosticsBroadcastSender,
|
|
50
|
+
createDiagnostics: () => import_chunk_RVO5327U.createDiagnostics,
|
|
51
|
+
createLevel: () => import_chunk_RVO5327U.createLevel,
|
|
52
|
+
createStorageObjects: () => import_chunk_RVO5327U.createStorageObjects,
|
|
53
|
+
decodeProfileArchive: () => import_chunk_RVO5327U.decodeProfileArchive,
|
|
54
|
+
encodeProfileArchive: () => import_chunk_RVO5327U.encodeProfileArchive,
|
|
55
|
+
exportProfileData: () => import_chunk_RVO5327U.exportProfileData,
|
|
56
|
+
getNetworkPeers: () => import_chunk_RVO5327U.getNetworkPeers,
|
|
57
|
+
importProfileData: () => import_chunk_RVO5327U.importProfileData,
|
|
58
|
+
isLocked: () => import_chunk_RVO5327U.isLocked,
|
|
59
|
+
subscribeToFeedBlocks: () => import_chunk_RVO5327U.subscribeToFeedBlocks,
|
|
60
|
+
subscribeToFeeds: () => import_chunk_RVO5327U.subscribeToFeeds,
|
|
61
|
+
subscribeToNetworkStatus: () => import_chunk_RVO5327U.subscribeToNetworkStatus,
|
|
62
|
+
subscribeToNetworkTopics: () => import_chunk_RVO5327U.subscribeToNetworkTopics,
|
|
63
|
+
subscribeToSignal: () => import_chunk_RVO5327U.subscribeToSignal,
|
|
64
|
+
subscribeToSpaces: () => import_chunk_RVO5327U.subscribeToSpaces,
|
|
65
|
+
subscribeToSwarmInfo: () => import_chunk_RVO5327U.subscribeToSwarmInfo
|
|
66
66
|
});
|
|
67
67
|
module.exports = __toCommonJS(node_exports);
|
|
68
|
-
var
|
|
68
|
+
var import_chunk_RVO5327U = require("./chunk-RVO5327U.cjs");
|
|
69
69
|
var import_async = require("@dxos/async");
|
|
70
70
|
var import_client_protocol = require("@dxos/client-protocol");
|
|
71
71
|
var import_context = require("@dxos/context");
|
|
@@ -120,12 +120,12 @@ var WorkerSession = class {
|
|
|
120
120
|
return handler(method, params);
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
|
-
this._clientRpc = new
|
|
123
|
+
this._clientRpc = new import_chunk_RVO5327U.ClientRpcServer({
|
|
124
124
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
125
125
|
port: appPort,
|
|
126
126
|
...middleware
|
|
127
127
|
});
|
|
128
|
-
this._shellClientRpc = shellPort ? new
|
|
128
|
+
this._shellClientRpc = shellPort ? new import_chunk_RVO5327U.ClientRpcServer({
|
|
129
129
|
serviceRegistry: this._serviceHost.serviceRegistry,
|
|
130
130
|
port: shellPort,
|
|
131
131
|
...middleware
|
|
@@ -254,7 +254,7 @@ var WorkerRuntime = class {
|
|
|
254
254
|
this._releaseLock = releaseLock;
|
|
255
255
|
this._onStop = onStop;
|
|
256
256
|
this._channel = channel;
|
|
257
|
-
this._clientServices = new
|
|
257
|
+
this._clientServices = new import_chunk_RVO5327U.ClientServicesHost({
|
|
258
258
|
callbacks: {
|
|
259
259
|
onReset: async () => this.stop()
|
|
260
260
|
}
|