@dxos/client-services 0.6.12-main.c4a728f → 0.6.12-main.ed7cda7

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.
@@ -32,7 +32,7 @@ __export(testing_exports, {
32
32
  sanitizeInvitation: () => sanitizeInvitation
33
33
  });
34
34
  module.exports = __toCommonJS(testing_exports);
35
- var import_chunk_KSDDPS63 = require("../chunk-KSDDPS63.cjs");
35
+ var import_chunk_US3NPCS5 = require("../chunk-US3NPCS5.cjs");
36
36
  var import_credentials = require("@dxos/credentials");
37
37
  var import_keys = require("@dxos/keys");
38
38
  var import_async = require("@dxos/async");
@@ -228,7 +228,7 @@ var createInvitation = async (host, options) => {
228
228
  authMethod: import_services.Invitation.AuthMethod.NONE,
229
229
  ...options ?? {}
230
230
  };
231
- if (host instanceof import_chunk_KSDDPS63.ServiceContext) {
231
+ if (host instanceof import_chunk_US3NPCS5.ServiceContext) {
232
232
  return host.invitationsManager.createInvitation({
233
233
  kind: import_services.Invitation.Kind.SPACE,
234
234
  ...options
@@ -238,7 +238,7 @@ var createInvitation = async (host, options) => {
238
238
  };
239
239
  var acceptInvitation = (guest, invitation, guestDeviceProfile) => {
240
240
  invitation = sanitizeInvitation(invitation);
241
- if (guest instanceof import_chunk_KSDDPS63.ServiceContext) {
241
+ if (guest instanceof import_chunk_US3NPCS5.ServiceContext) {
242
242
  return guest.invitationsManager.acceptInvitation({
243
243
  invitation,
244
244
  deviceProfile: guestDeviceProfile
@@ -248,7 +248,7 @@ var acceptInvitation = (guest, invitation, guestDeviceProfile) => {
248
248
  };
249
249
  var __dxlog_file2 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/testing/test-builder.ts";
250
250
  var createServiceHost = (config, signalManagerContext) => {
251
- return new import_chunk_KSDDPS63.ClientServicesHost({
251
+ return new import_chunk_US3NPCS5.ClientServicesHost({
252
252
  config,
253
253
  signalManager: new import_messaging.MemorySignalManager(signalManagerContext),
254
254
  transportFactory: import_network_manager.MemoryTransportFactory
@@ -267,7 +267,7 @@ var createServiceContext = async ({ signalManagerFactory = async () => {
267
267
  });
268
268
  const level = (0, import_testing.createTestLevel)();
269
269
  await level.open();
270
- return new import_chunk_KSDDPS63.ServiceContext(storage, level, networkManager, signalManager, void 0, {
270
+ return new import_chunk_US3NPCS5.ServiceContext(storage, level, networkManager, signalManager, void 0, {
271
271
  invitationConnectionDefaultParams: {
272
272
  controlHeartbeatInterval: 200
273
273
  },
@@ -376,7 +376,7 @@ var TestPeer = class {
376
376
  return this._props.meshEchoReplicator ??= new import_echo_pipeline.MeshEchoReplicator();
377
377
  }
378
378
  get dataSpaceManager() {
379
- return this._props.dataSpaceManager ??= new import_chunk_KSDDPS63.DataSpaceManager({
379
+ return this._props.dataSpaceManager ??= new import_chunk_US3NPCS5.DataSpaceManager({
380
380
  spaceManager: this.spaceManager,
381
381
  metadataStore: this.metadataStore,
382
382
  keyring: this.keyring,
@@ -391,9 +391,9 @@ var TestPeer = class {
391
391
  });
392
392
  }
393
393
  get invitationsManager() {
394
- return this._props.invitationsManager ??= new import_chunk_KSDDPS63.InvitationsManager(new import_chunk_KSDDPS63.InvitationsHandler(this.networkManager), (invitation) => {
394
+ return this._props.invitationsManager ??= new import_chunk_US3NPCS5.InvitationsManager(new import_chunk_US3NPCS5.InvitationsHandler(this.networkManager), (invitation) => {
395
395
  if (invitation.kind === import_services2.Invitation.Kind.SPACE) {
396
- return new import_chunk_KSDDPS63.SpaceInvitationProtocol(this.dataSpaceManager, this.identity, this.keyring, invitation.spaceKey);
396
+ return new import_chunk_US3NPCS5.SpaceInvitationProtocol(this.dataSpaceManager, this.identity, this.keyring, invitation.spaceKey);
397
397
  } else {
398
398
  throw new Error("not implemented");
399
399
  }
@@ -397,7 +397,7 @@ import { SpaceMember } from "@dxos/protocols/proto/dxos/client/services";
397
397
  import { TRACE_PROCESSOR } from "@dxos/tracing";
398
398
 
399
399
  // packages/sdk/client-services/src/version.ts
400
- var DXOS_VERSION = "0.6.12-main.c4a728f";
400
+ var DXOS_VERSION = "0.6.12-main.ed7cda7";
401
401
 
402
402
  // packages/sdk/client-services/src/packlets/services/platform.ts
403
403
  import { Platform } from "@dxos/protocols/proto/dxos/client/services";
@@ -7806,4 +7806,4 @@ export {
7806
7806
  importProfileData,
7807
7807
  ClientServicesHost
7808
7808
  };
7809
- //# sourceMappingURL=chunk-UMKX2SNB.mjs.map
7809
+ //# sourceMappingURL=chunk-LV7T6HCX.mjs.map