@dxos/client-services 0.5.8 → 0.5.9-main.8359215

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.
Files changed (40) hide show
  1. package/dist/lib/browser/{chunk-JECXTGZA.mjs → chunk-QNCZI356.mjs} +34 -27
  2. package/dist/lib/browser/chunk-QNCZI356.mjs.map +7 -0
  3. package/dist/lib/browser/index.mjs +1 -1
  4. package/dist/lib/browser/meta.json +1 -1
  5. package/dist/lib/browser/packlets/testing/index.mjs +4 -4
  6. package/dist/lib/browser/packlets/testing/index.mjs.map +3 -3
  7. package/dist/lib/node/{chunk-OR7LRWDY.cjs → chunk-ELQ5XXZX.cjs} +34 -27
  8. package/dist/lib/node/chunk-ELQ5XXZX.cjs.map +7 -0
  9. package/dist/lib/node/index.cjs +44 -44
  10. package/dist/lib/node/meta.json +1 -1
  11. package/dist/lib/node/packlets/testing/index.cjs +10 -10
  12. package/dist/lib/node/packlets/testing/index.cjs.map +3 -3
  13. package/dist/types/src/packlets/devtools/network.d.ts +4 -4
  14. package/dist/types/src/packlets/devtools/network.d.ts.map +1 -1
  15. package/dist/types/src/packlets/network/network-service.d.ts +2 -2
  16. package/dist/types/src/packlets/network/network-service.d.ts.map +1 -1
  17. package/dist/types/src/packlets/services/service-context.d.ts +4 -5
  18. package/dist/types/src/packlets/services/service-context.d.ts.map +1 -1
  19. package/dist/types/src/packlets/services/service-host.d.ts.map +1 -1
  20. package/dist/types/src/packlets/spaces/data-space.d.ts +1 -0
  21. package/dist/types/src/packlets/spaces/data-space.d.ts.map +1 -1
  22. package/dist/types/src/packlets/spaces/spaces-service.d.ts.map +1 -1
  23. package/dist/types/src/packlets/testing/test-builder.d.ts +3 -3
  24. package/dist/types/src/packlets/testing/test-builder.d.ts.map +1 -1
  25. package/dist/types/src/version.d.ts +1 -1
  26. package/dist/types/src/version.d.ts.map +1 -1
  27. package/package.json +36 -36
  28. package/src/packlets/devtools/network.ts +4 -4
  29. package/src/packlets/identity/identity-manager.test.ts +2 -2
  30. package/src/packlets/identity/identity.test.ts +8 -4
  31. package/src/packlets/invitations/invitations-handler.ts +2 -2
  32. package/src/packlets/network/network-service.ts +2 -2
  33. package/src/packlets/services/service-context.ts +3 -3
  34. package/src/packlets/services/service-host.ts +6 -7
  35. package/src/packlets/spaces/data-space.ts +11 -1
  36. package/src/packlets/spaces/spaces-service.ts +1 -0
  37. package/src/packlets/testing/test-builder.ts +4 -4
  38. package/src/version.ts +1 -5
  39. package/dist/lib/browser/chunk-JECXTGZA.mjs.map +0 -7
  40. package/dist/lib/node/chunk-OR7LRWDY.cjs.map +0 -7
@@ -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: () => import_chunk_OR7LRWDY.ClientRpcServer,
22
- ClientServicesHost: () => import_chunk_OR7LRWDY.ClientServicesHost,
23
- ClientServicesProviderResource: () => import_chunk_OR7LRWDY.ClientServicesProviderResource,
24
- DataSpace: () => import_chunk_OR7LRWDY.DataSpace,
25
- DataSpaceManager: () => import_chunk_OR7LRWDY.DataSpaceManager,
26
- DeviceInvitationProtocol: () => import_chunk_OR7LRWDY.DeviceInvitationProtocol,
27
- DevtoolsHostEvents: () => import_chunk_OR7LRWDY.DevtoolsHostEvents,
28
- DevtoolsServiceImpl: () => import_chunk_OR7LRWDY.DevtoolsServiceImpl,
29
- DiagnosticsCollector: () => import_chunk_OR7LRWDY.DiagnosticsCollector,
21
+ ClientRpcServer: () => import_chunk_ELQ5XXZX.ClientRpcServer,
22
+ ClientServicesHost: () => import_chunk_ELQ5XXZX.ClientServicesHost,
23
+ ClientServicesProviderResource: () => import_chunk_ELQ5XXZX.ClientServicesProviderResource,
24
+ DataSpace: () => import_chunk_ELQ5XXZX.DataSpace,
25
+ DataSpaceManager: () => import_chunk_ELQ5XXZX.DataSpaceManager,
26
+ DeviceInvitationProtocol: () => import_chunk_ELQ5XXZX.DeviceInvitationProtocol,
27
+ DevtoolsHostEvents: () => import_chunk_ELQ5XXZX.DevtoolsHostEvents,
28
+ DevtoolsServiceImpl: () => import_chunk_ELQ5XXZX.DevtoolsServiceImpl,
29
+ DiagnosticsCollector: () => import_chunk_ELQ5XXZX.DiagnosticsCollector,
30
30
  IFrameHostRuntime: () => IFrameHostRuntime,
31
- Identity: () => import_chunk_OR7LRWDY.Identity,
32
- IdentityManager: () => import_chunk_OR7LRWDY.IdentityManager,
33
- IdentityServiceImpl: () => import_chunk_OR7LRWDY.IdentityServiceImpl,
34
- InvitationsHandler: () => import_chunk_OR7LRWDY.InvitationsHandler,
35
- InvitationsManager: () => import_chunk_OR7LRWDY.InvitationsManager,
36
- InvitationsServiceImpl: () => import_chunk_OR7LRWDY.InvitationsServiceImpl,
37
- Lock: () => import_chunk_OR7LRWDY.Lock,
38
- ServiceContext: () => import_chunk_OR7LRWDY.ServiceContext,
39
- ServiceRegistry: () => import_chunk_OR7LRWDY.ServiceRegistry,
31
+ Identity: () => import_chunk_ELQ5XXZX.Identity,
32
+ IdentityManager: () => import_chunk_ELQ5XXZX.IdentityManager,
33
+ IdentityServiceImpl: () => import_chunk_ELQ5XXZX.IdentityServiceImpl,
34
+ InvitationsHandler: () => import_chunk_ELQ5XXZX.InvitationsHandler,
35
+ InvitationsManager: () => import_chunk_ELQ5XXZX.InvitationsManager,
36
+ InvitationsServiceImpl: () => import_chunk_ELQ5XXZX.InvitationsServiceImpl,
37
+ Lock: () => import_chunk_ELQ5XXZX.Lock,
38
+ ServiceContext: () => import_chunk_ELQ5XXZX.ServiceContext,
39
+ ServiceRegistry: () => import_chunk_ELQ5XXZX.ServiceRegistry,
40
40
  SharedWorkerConnection: () => SharedWorkerConnection,
41
41
  ShellRuntimeImpl: () => ShellRuntimeImpl,
42
- SpaceInvitationProtocol: () => import_chunk_OR7LRWDY.SpaceInvitationProtocol,
43
- SpacesServiceImpl: () => import_chunk_OR7LRWDY.SpacesServiceImpl,
44
- TrustedKeySetAuthVerifier: () => import_chunk_OR7LRWDY.TrustedKeySetAuthVerifier,
42
+ SpaceInvitationProtocol: () => import_chunk_ELQ5XXZX.SpaceInvitationProtocol,
43
+ SpacesServiceImpl: () => import_chunk_ELQ5XXZX.SpacesServiceImpl,
44
+ TrustedKeySetAuthVerifier: () => import_chunk_ELQ5XXZX.TrustedKeySetAuthVerifier,
45
45
  WorkerRuntime: () => WorkerRuntime,
46
46
  WorkerSession: () => WorkerSession,
47
- createAdmissionKeypair: () => import_chunk_OR7LRWDY.createAdmissionKeypair,
48
- createAuthProvider: () => import_chunk_OR7LRWDY.createAuthProvider,
49
- createCollectDiagnosticsBroadcastHandler: () => import_chunk_OR7LRWDY.createCollectDiagnosticsBroadcastHandler,
50
- createCollectDiagnosticsBroadcastSender: () => import_chunk_OR7LRWDY.createCollectDiagnosticsBroadcastSender,
51
- createDiagnostics: () => import_chunk_OR7LRWDY.createDiagnostics,
52
- createLevel: () => import_chunk_OR7LRWDY.createLevel,
53
- createStorageObjects: () => import_chunk_OR7LRWDY.createStorageObjects,
54
- findPropertiesObject: () => import_chunk_OR7LRWDY.findPropertiesObject,
55
- getNetworkPeers: () => import_chunk_OR7LRWDY.getNetworkPeers,
56
- isLocked: () => import_chunk_OR7LRWDY.isLocked,
57
- subscribeToFeedBlocks: () => import_chunk_OR7LRWDY.subscribeToFeedBlocks,
58
- subscribeToFeeds: () => import_chunk_OR7LRWDY.subscribeToFeeds,
59
- subscribeToNetworkStatus: () => import_chunk_OR7LRWDY.subscribeToNetworkStatus,
60
- subscribeToNetworkTopics: () => import_chunk_OR7LRWDY.subscribeToNetworkTopics,
61
- subscribeToSignal: () => import_chunk_OR7LRWDY.subscribeToSignal,
62
- subscribeToSpaces: () => import_chunk_OR7LRWDY.subscribeToSpaces,
63
- subscribeToSwarmInfo: () => import_chunk_OR7LRWDY.subscribeToSwarmInfo
47
+ createAdmissionKeypair: () => import_chunk_ELQ5XXZX.createAdmissionKeypair,
48
+ createAuthProvider: () => import_chunk_ELQ5XXZX.createAuthProvider,
49
+ createCollectDiagnosticsBroadcastHandler: () => import_chunk_ELQ5XXZX.createCollectDiagnosticsBroadcastHandler,
50
+ createCollectDiagnosticsBroadcastSender: () => import_chunk_ELQ5XXZX.createCollectDiagnosticsBroadcastSender,
51
+ createDiagnostics: () => import_chunk_ELQ5XXZX.createDiagnostics,
52
+ createLevel: () => import_chunk_ELQ5XXZX.createLevel,
53
+ createStorageObjects: () => import_chunk_ELQ5XXZX.createStorageObjects,
54
+ findPropertiesObject: () => import_chunk_ELQ5XXZX.findPropertiesObject,
55
+ getNetworkPeers: () => import_chunk_ELQ5XXZX.getNetworkPeers,
56
+ isLocked: () => import_chunk_ELQ5XXZX.isLocked,
57
+ subscribeToFeedBlocks: () => import_chunk_ELQ5XXZX.subscribeToFeedBlocks,
58
+ subscribeToFeeds: () => import_chunk_ELQ5XXZX.subscribeToFeeds,
59
+ subscribeToNetworkStatus: () => import_chunk_ELQ5XXZX.subscribeToNetworkStatus,
60
+ subscribeToNetworkTopics: () => import_chunk_ELQ5XXZX.subscribeToNetworkTopics,
61
+ subscribeToSignal: () => import_chunk_ELQ5XXZX.subscribeToSignal,
62
+ subscribeToSpaces: () => import_chunk_ELQ5XXZX.subscribeToSpaces,
63
+ subscribeToSwarmInfo: () => import_chunk_ELQ5XXZX.subscribeToSwarmInfo
64
64
  });
65
65
  module.exports = __toCommonJS(node_exports);
66
- var import_chunk_OR7LRWDY = require("./chunk-OR7LRWDY.cjs");
66
+ var import_chunk_ELQ5XXZX = require("./chunk-ELQ5XXZX.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");
@@ -227,7 +227,7 @@ var IFrameHostRuntime = class {
227
227
  iceServers: this._config.get("runtime.services.ice")
228
228
  });
229
229
  const signals = this._config.get("runtime.services.signaling");
230
- this._clientServices = new import_chunk_OR7LRWDY.ClientServicesHost({
230
+ this._clientServices = new import_chunk_ELQ5XXZX.ClientServicesHost({
231
231
  lockKey: LOCK_KEY,
232
232
  config: this._config,
233
233
  signalManager: signals ? new import_messaging.WebsocketSignalManager(signals) : new import_messaging.MemorySignalManager(new import_messaging.MemorySignalManagerContext()),
@@ -253,7 +253,7 @@ var IFrameHostRuntime = class {
253
253
  return handler(method, params);
254
254
  }
255
255
  };
256
- this._clientRpc = new import_chunk_OR7LRWDY.ClientRpcServer({
256
+ this._clientRpc = new import_chunk_ELQ5XXZX.ClientRpcServer({
257
257
  serviceRegistry: this._clientServices.serviceRegistry,
258
258
  port: this._appPort,
259
259
  ...middleware
@@ -418,12 +418,12 @@ var WorkerSession = class {
418
418
  return handler(method, params);
419
419
  }
420
420
  };
421
- this._clientRpc = new import_chunk_OR7LRWDY.ClientRpcServer({
421
+ this._clientRpc = new import_chunk_ELQ5XXZX.ClientRpcServer({
422
422
  serviceRegistry: this._serviceHost.serviceRegistry,
423
423
  port: appPort,
424
424
  ...middleware
425
425
  });
426
- this._shellClientRpc = shellPort ? new import_chunk_OR7LRWDY.ClientRpcServer({
426
+ this._shellClientRpc = shellPort ? new import_chunk_ELQ5XXZX.ClientRpcServer({
427
427
  serviceRegistry: this._serviceHost.serviceRegistry,
428
428
  port: shellPort,
429
429
  ...middleware
@@ -550,7 +550,7 @@ var WorkerRuntime = class {
550
550
  this._signalTelemetryEnabled = false;
551
551
  this._acquireLock = acquireLock;
552
552
  this._releaseLock = releaseLock;
553
- this._clientServices = new import_chunk_OR7LRWDY.ClientServicesHost({
553
+ this._clientServices = new import_chunk_ELQ5XXZX.ClientServicesHost({
554
554
  callbacks: {
555
555
  onReset: async () => onReset()
556
556
  }