@dxos/client-services 0.6.8-main.046e6cf → 0.6.8-main.3be982f

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_DIVJ2C6E = require("../chunk-DIVJ2C6E.cjs");
35
+ var import_chunk_PAH5HN65 = require("../chunk-PAH5HN65.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");
@@ -229,7 +229,7 @@ var createInvitation = async (host, options) => {
229
229
  authMethod: import_services.Invitation.AuthMethod.NONE,
230
230
  ...options ?? {}
231
231
  };
232
- if (host instanceof import_chunk_DIVJ2C6E.ServiceContext) {
232
+ if (host instanceof import_chunk_PAH5HN65.ServiceContext) {
233
233
  return host.invitationsManager.createInvitation({
234
234
  kind: import_services.Invitation.Kind.SPACE,
235
235
  ...options
@@ -239,7 +239,7 @@ var createInvitation = async (host, options) => {
239
239
  };
240
240
  var acceptInvitation = (guest, invitation, guestDeviceProfile) => {
241
241
  invitation = sanitizeInvitation(invitation);
242
- if (guest instanceof import_chunk_DIVJ2C6E.ServiceContext) {
242
+ if (guest instanceof import_chunk_PAH5HN65.ServiceContext) {
243
243
  return guest.invitationsManager.acceptInvitation({
244
244
  invitation,
245
245
  deviceProfile: guestDeviceProfile
@@ -249,7 +249,7 @@ var acceptInvitation = (guest, invitation, guestDeviceProfile) => {
249
249
  };
250
250
  var __dxlog_file2 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/testing/test-builder.ts";
251
251
  var createServiceHost = (config, signalManagerContext) => {
252
- return new import_chunk_DIVJ2C6E.ClientServicesHost({
252
+ return new import_chunk_PAH5HN65.ClientServicesHost({
253
253
  config,
254
254
  signalManager: new import_messaging.MemorySignalManager(signalManagerContext),
255
255
  transportFactory: import_network_manager.MemoryTransportFactory
@@ -265,7 +265,7 @@ var createServiceContext = async ({ signalContext = new import_messaging.MemoryS
265
265
  });
266
266
  const level = (0, import_testing.createTestLevel)();
267
267
  await level.open();
268
- return new import_chunk_DIVJ2C6E.ServiceContext(storage, level, networkManager, signalManager, void 0, {
268
+ return new import_chunk_PAH5HN65.ServiceContext(storage, level, networkManager, signalManager, void 0, {
269
269
  invitationConnectionDefaultParams: {
270
270
  controlHeartbeatInterval: 200
271
271
  },
@@ -371,7 +371,7 @@ var TestPeer = class {
371
371
  return this._props.meshEchoReplicator ??= new import_echo_pipeline.MeshEchoReplicator();
372
372
  }
373
373
  get dataSpaceManager() {
374
- return this._props.dataSpaceManager ??= new import_chunk_DIVJ2C6E.DataSpaceManager({
374
+ return this._props.dataSpaceManager ??= new import_chunk_PAH5HN65.DataSpaceManager({
375
375
  spaceManager: this.spaceManager,
376
376
  metadataStore: this.metadataStore,
377
377
  keyring: this.keyring,
@@ -386,9 +386,9 @@ var TestPeer = class {
386
386
  });
387
387
  }
388
388
  get invitationsManager() {
389
- return this._props.invitationsManager ??= new import_chunk_DIVJ2C6E.InvitationsManager(new import_chunk_DIVJ2C6E.InvitationsHandler(this.networkManager), (invitation) => {
389
+ return this._props.invitationsManager ??= new import_chunk_PAH5HN65.InvitationsManager(new import_chunk_PAH5HN65.InvitationsHandler(this.networkManager), (invitation) => {
390
390
  if (invitation.kind === import_services2.Invitation.Kind.SPACE) {
391
- return new import_chunk_DIVJ2C6E.SpaceInvitationProtocol(this.dataSpaceManager, this.identity, this.keyring, invitation.spaceKey);
391
+ return new import_chunk_PAH5HN65.SpaceInvitationProtocol(this.dataSpaceManager, this.identity, this.keyring, invitation.spaceKey);
392
392
  } else {
393
393
  throw new Error("not implemented");
394
394
  }
@@ -1,2 +1,2 @@
1
- export declare const DXOS_VERSION = "0.6.8-main.046e6cf";
1
+ export declare const DXOS_VERSION = "0.6.8-main.3be982f";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/client-services",
3
- "version": "0.6.8-main.046e6cf",
3
+ "version": "0.6.8-main.3be982f",
4
4
  "description": "DXOS client services implementation",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -45,46 +45,46 @@
45
45
  "dependencies": {
46
46
  "cbor-x": "^1.5.4",
47
47
  "platform": "^1.3.6",
48
- "@dxos/async": "0.6.8-main.046e6cf",
49
- "@dxos/automerge": "0.6.8-main.046e6cf",
50
- "@dxos/client-protocol": "0.6.8-main.046e6cf",
51
- "@dxos/codec-protobuf": "0.6.8-main.046e6cf",
52
- "@dxos/config": "0.6.8-main.046e6cf",
53
- "@dxos/context": "0.6.8-main.046e6cf",
54
- "@dxos/credentials": "0.6.8-main.046e6cf",
55
- "@dxos/debug": "0.6.8-main.046e6cf",
56
- "@dxos/echo-pipeline": "0.6.8-main.046e6cf",
57
- "@dxos/crypto": "0.6.8-main.046e6cf",
58
- "@dxos/echo-db": "0.6.8-main.046e6cf",
59
- "@dxos/echo-protocol": "0.6.8-main.046e6cf",
60
- "@dxos/echo-schema": "0.6.8-main.046e6cf",
61
- "@dxos/edge-client": "0.6.8-main.046e6cf",
62
- "@dxos/indexing": "0.6.8-main.046e6cf",
63
- "@dxos/feed-store": "0.6.8-main.046e6cf",
64
- "@dxos/keys": "0.6.8-main.046e6cf",
65
- "@dxos/invariant": "0.6.8-main.046e6cf",
66
- "@dxos/kv-store": "0.6.8-main.046e6cf",
67
- "@dxos/lock-file": "0.6.8-main.046e6cf",
68
- "@dxos/keyring": "0.6.8-main.046e6cf",
69
- "@dxos/messaging": "0.6.8-main.046e6cf",
70
- "@dxos/log": "0.6.8-main.046e6cf",
71
- "@dxos/network-manager": "0.6.8-main.046e6cf",
72
- "@dxos/node-std": "0.6.8-main.046e6cf",
73
- "@dxos/random-access-storage": "0.6.8-main.046e6cf",
74
- "@dxos/rpc": "0.6.8-main.046e6cf",
75
- "@dxos/protocols": "0.6.8-main.046e6cf",
76
- "@dxos/teleport": "0.6.8-main.046e6cf",
77
- "@dxos/teleport-extension-object-sync": "0.6.8-main.046e6cf",
78
- "@dxos/timeframe": "0.6.8-main.046e6cf",
79
- "@dxos/teleport-extension-gossip": "0.6.8-main.046e6cf",
80
- "@dxos/tracing": "0.6.8-main.046e6cf",
81
- "@dxos/websocket-rpc": "0.6.8-main.046e6cf",
82
- "@dxos/util": "0.6.8-main.046e6cf"
48
+ "@dxos/automerge": "0.6.8-main.3be982f",
49
+ "@dxos/client-protocol": "0.6.8-main.3be982f",
50
+ "@dxos/codec-protobuf": "0.6.8-main.3be982f",
51
+ "@dxos/context": "0.6.8-main.3be982f",
52
+ "@dxos/config": "0.6.8-main.3be982f",
53
+ "@dxos/credentials": "0.6.8-main.3be982f",
54
+ "@dxos/crypto": "0.6.8-main.3be982f",
55
+ "@dxos/debug": "0.6.8-main.3be982f",
56
+ "@dxos/echo-pipeline": "0.6.8-main.3be982f",
57
+ "@dxos/echo-db": "0.6.8-main.3be982f",
58
+ "@dxos/echo-protocol": "0.6.8-main.3be982f",
59
+ "@dxos/echo-schema": "0.6.8-main.3be982f",
60
+ "@dxos/indexing": "0.6.8-main.3be982f",
61
+ "@dxos/edge-client": "0.6.8-main.3be982f",
62
+ "@dxos/feed-store": "0.6.8-main.3be982f",
63
+ "@dxos/async": "0.6.8-main.3be982f",
64
+ "@dxos/keyring": "0.6.8-main.3be982f",
65
+ "@dxos/invariant": "0.6.8-main.3be982f",
66
+ "@dxos/kv-store": "0.6.8-main.3be982f",
67
+ "@dxos/keys": "0.6.8-main.3be982f",
68
+ "@dxos/lock-file": "0.6.8-main.3be982f",
69
+ "@dxos/log": "0.6.8-main.3be982f",
70
+ "@dxos/network-manager": "0.6.8-main.3be982f",
71
+ "@dxos/node-std": "0.6.8-main.3be982f",
72
+ "@dxos/protocols": "0.6.8-main.3be982f",
73
+ "@dxos/messaging": "0.6.8-main.3be982f",
74
+ "@dxos/random-access-storage": "0.6.8-main.3be982f",
75
+ "@dxos/rpc": "0.6.8-main.3be982f",
76
+ "@dxos/teleport-extension-gossip": "0.6.8-main.3be982f",
77
+ "@dxos/teleport": "0.6.8-main.3be982f",
78
+ "@dxos/teleport-extension-object-sync": "0.6.8-main.3be982f",
79
+ "@dxos/timeframe": "0.6.8-main.3be982f",
80
+ "@dxos/tracing": "0.6.8-main.3be982f",
81
+ "@dxos/util": "0.6.8-main.3be982f",
82
+ "@dxos/websocket-rpc": "0.6.8-main.3be982f"
83
83
  },
84
84
  "devDependencies": {
85
85
  "@types/platform": "^1.3.4",
86
86
  "@types/readable-stream": "^2.3.9",
87
- "@dxos/signal": "0.6.8-main.046e6cf"
87
+ "@dxos/signal": "0.6.8-main.3be982f"
88
88
  },
89
89
  "publishConfig": {
90
90
  "access": "public"
@@ -53,7 +53,7 @@ export class EdgeFeedReplicator extends Resource {
53
53
  return;
54
54
  }
55
55
  const [service, ...rest] = message.serviceId.split(':');
56
- if (service !== 'hypercore-replicator') {
56
+ if (service !== EdgeService.FEED_REPLICATOR) {
57
57
  return;
58
58
  }
59
59
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const DXOS_VERSION = "0.6.8-main.046e6cf";
1
+ export const DXOS_VERSION = "0.6.8-main.3be982f";