@dxos/client-services 0.5.9-main.e183eeb → 0.5.9-next.a50ff17

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.
@@ -30,7 +30,7 @@ __export(testing_exports, {
30
30
  sanitizeInvitation: () => sanitizeInvitation
31
31
  });
32
32
  module.exports = __toCommonJS(testing_exports);
33
- var import_chunk_F2EIFQZH = require("../../chunk-F2EIFQZH.cjs");
33
+ var import_chunk_L7MVHCXK = require("../../chunk-L7MVHCXK.cjs");
34
34
  var import_credentials = require("@dxos/credentials");
35
35
  var import_keys = require("@dxos/keys");
36
36
  var import_async = require("@dxos/async");
@@ -227,7 +227,7 @@ var createInvitation = async (host, options) => {
227
227
  authMethod: import_services.Invitation.AuthMethod.NONE,
228
228
  ...options ?? {}
229
229
  };
230
- if (host instanceof import_chunk_F2EIFQZH.ServiceContext) {
230
+ if (host instanceof import_chunk_L7MVHCXK.ServiceContext) {
231
231
  return host.invitationsManager.createInvitation({
232
232
  kind: import_services.Invitation.Kind.SPACE,
233
233
  ...options
@@ -237,7 +237,7 @@ var createInvitation = async (host, options) => {
237
237
  };
238
238
  var acceptInvitation = (guest, invitation, guestDeviceProfile) => {
239
239
  invitation = sanitizeInvitation(invitation);
240
- if (guest instanceof import_chunk_F2EIFQZH.ServiceContext) {
240
+ if (guest instanceof import_chunk_L7MVHCXK.ServiceContext) {
241
241
  return guest.invitationsManager.acceptInvitation({
242
242
  invitation,
243
243
  deviceProfile: guestDeviceProfile
@@ -246,7 +246,7 @@ var acceptInvitation = (guest, invitation, guestDeviceProfile) => {
246
246
  return guest.join(invitation, guestDeviceProfile);
247
247
  };
248
248
  var createServiceHost = (config, signalManagerContext) => {
249
- return new import_chunk_F2EIFQZH.ClientServicesHost({
249
+ return new import_chunk_L7MVHCXK.ClientServicesHost({
250
250
  config,
251
251
  signalManager: new import_messaging.MemorySignalManager(signalManagerContext),
252
252
  transportFactory: import_network_manager.MemoryTransportFactory
@@ -262,7 +262,7 @@ var createServiceContext = async ({ signalContext = new import_messaging.MemoryS
262
262
  });
263
263
  const level = (0, import_testing.createTestLevel)();
264
264
  await level.open();
265
- return new import_chunk_F2EIFQZH.ServiceContext(storage, level, networkManager, signalManager, {
265
+ return new import_chunk_L7MVHCXK.ServiceContext(storage, level, networkManager, signalManager, {
266
266
  invitationConnectionDefaultParams: {
267
267
  controlHeartbeatInterval: 200
268
268
  },
@@ -363,12 +363,12 @@ var TestPeer = class {
363
363
  });
364
364
  }
365
365
  get dataSpaceManager() {
366
- return this._props.dataSpaceManager ??= new import_chunk_F2EIFQZH.DataSpaceManager(this.spaceManager, this.metadataStore, this.keyring, this.identity, this.feedStore, this.echoHost, this.invitationsManager, this._opts.dataSpaceParams);
366
+ return this._props.dataSpaceManager ??= new import_chunk_L7MVHCXK.DataSpaceManager(this.spaceManager, this.metadataStore, this.keyring, this.identity, this.feedStore, this.echoHost, this.invitationsManager, this._opts.dataSpaceParams);
367
367
  }
368
368
  get invitationsManager() {
369
- return this._props.invitationsManager ??= new import_chunk_F2EIFQZH.InvitationsManager(new import_chunk_F2EIFQZH.InvitationsHandler(this.networkManager), (invitation) => {
369
+ return this._props.invitationsManager ??= new import_chunk_L7MVHCXK.InvitationsManager(new import_chunk_L7MVHCXK.InvitationsHandler(this.networkManager), (invitation) => {
370
370
  if (invitation.kind === import_services2.Invitation.Kind.SPACE) {
371
- return new import_chunk_F2EIFQZH.SpaceInvitationProtocol(this.dataSpaceManager, this.identity, this.keyring, invitation.spaceKey);
371
+ return new import_chunk_L7MVHCXK.SpaceInvitationProtocol(this.dataSpaceManager, this.identity, this.keyring, invitation.spaceKey);
372
372
  } else {
373
373
  throw new Error("not implemented");
374
374
  }
@@ -1,2 +1,2 @@
1
- export declare const DXOS_VERSION = "0.5.9-main.e183eeb";
1
+ export declare const DXOS_VERSION = "0.5.9-next.a50ff17";
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.5.9-main.e183eeb",
3
+ "version": "0.5.9-next.a50ff17",
4
4
  "description": "DXOS client services implementation",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -23,45 +23,45 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "platform": "^1.3.6",
26
- "@dxos/async": "0.5.9-main.e183eeb",
27
- "@dxos/automerge": "0.5.9-main.e183eeb",
28
- "@dxos/client-protocol": "0.5.9-main.e183eeb",
29
- "@dxos/codec-protobuf": "0.5.9-main.e183eeb",
30
- "@dxos/config": "0.5.9-main.e183eeb",
31
- "@dxos/context": "0.5.9-main.e183eeb",
32
- "@dxos/credentials": "0.5.9-main.e183eeb",
33
- "@dxos/crypto": "0.5.9-main.e183eeb",
34
- "@dxos/debug": "0.5.9-main.e183eeb",
35
- "@dxos/echo-db": "0.5.9-main.e183eeb",
36
- "@dxos/echo-protocol": "0.5.9-main.e183eeb",
37
- "@dxos/echo-schema": "0.5.9-main.e183eeb",
38
- "@dxos/echo-pipeline": "0.5.9-main.e183eeb",
39
- "@dxos/feed-store": "0.5.9-main.e183eeb",
40
- "@dxos/invariant": "0.5.9-main.e183eeb",
41
- "@dxos/indexing": "0.5.9-main.e183eeb",
42
- "@dxos/keys": "0.5.9-main.e183eeb",
43
- "@dxos/keyring": "0.5.9-main.e183eeb",
44
- "@dxos/lock-file": "0.5.9-main.e183eeb",
45
- "@dxos/kv-store": "0.5.9-main.e183eeb",
46
- "@dxos/log": "0.5.9-main.e183eeb",
47
- "@dxos/messaging": "0.5.9-main.e183eeb",
48
- "@dxos/network-manager": "0.5.9-main.e183eeb",
49
- "@dxos/protocols": "0.5.9-main.e183eeb",
50
- "@dxos/node-std": "0.5.9-main.e183eeb",
51
- "@dxos/rpc": "0.5.9-main.e183eeb",
52
- "@dxos/teleport": "0.5.9-main.e183eeb",
53
- "@dxos/random-access-storage": "0.5.9-main.e183eeb",
54
- "@dxos/teleport-extension-object-sync": "0.5.9-main.e183eeb",
55
- "@dxos/timeframe": "0.5.9-main.e183eeb",
56
- "@dxos/teleport-extension-gossip": "0.5.9-main.e183eeb",
57
- "@dxos/tracing": "0.5.9-main.e183eeb",
58
- "@dxos/util": "0.5.9-main.e183eeb",
59
- "@dxos/websocket-rpc": "0.5.9-main.e183eeb"
26
+ "@dxos/async": "0.5.9-next.a50ff17",
27
+ "@dxos/automerge": "0.5.9-next.a50ff17",
28
+ "@dxos/client-protocol": "0.5.9-next.a50ff17",
29
+ "@dxos/config": "0.5.9-next.a50ff17",
30
+ "@dxos/codec-protobuf": "0.5.9-next.a50ff17",
31
+ "@dxos/context": "0.5.9-next.a50ff17",
32
+ "@dxos/credentials": "0.5.9-next.a50ff17",
33
+ "@dxos/crypto": "0.5.9-next.a50ff17",
34
+ "@dxos/debug": "0.5.9-next.a50ff17",
35
+ "@dxos/echo-db": "0.5.9-next.a50ff17",
36
+ "@dxos/echo-pipeline": "0.5.9-next.a50ff17",
37
+ "@dxos/feed-store": "0.5.9-next.a50ff17",
38
+ "@dxos/echo-schema": "0.5.9-next.a50ff17",
39
+ "@dxos/indexing": "0.5.9-next.a50ff17",
40
+ "@dxos/echo-protocol": "0.5.9-next.a50ff17",
41
+ "@dxos/invariant": "0.5.9-next.a50ff17",
42
+ "@dxos/keys": "0.5.9-next.a50ff17",
43
+ "@dxos/keyring": "0.5.9-next.a50ff17",
44
+ "@dxos/lock-file": "0.5.9-next.a50ff17",
45
+ "@dxos/kv-store": "0.5.9-next.a50ff17",
46
+ "@dxos/messaging": "0.5.9-next.a50ff17",
47
+ "@dxos/log": "0.5.9-next.a50ff17",
48
+ "@dxos/network-manager": "0.5.9-next.a50ff17",
49
+ "@dxos/node-std": "0.5.9-next.a50ff17",
50
+ "@dxos/protocols": "0.5.9-next.a50ff17",
51
+ "@dxos/random-access-storage": "0.5.9-next.a50ff17",
52
+ "@dxos/rpc": "0.5.9-next.a50ff17",
53
+ "@dxos/teleport-extension-gossip": "0.5.9-next.a50ff17",
54
+ "@dxos/teleport": "0.5.9-next.a50ff17",
55
+ "@dxos/timeframe": "0.5.9-next.a50ff17",
56
+ "@dxos/teleport-extension-object-sync": "0.5.9-next.a50ff17",
57
+ "@dxos/tracing": "0.5.9-next.a50ff17",
58
+ "@dxos/util": "0.5.9-next.a50ff17",
59
+ "@dxos/websocket-rpc": "0.5.9-next.a50ff17"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/platform": "^1.3.4",
63
63
  "@types/readable-stream": "^2.3.9",
64
- "@dxos/signal": "0.5.9-main.e183eeb"
64
+ "@dxos/signal": "0.5.9-next.a50ff17"
65
65
  },
66
66
  "publishConfig": {
67
67
  "access": "public"
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const DXOS_VERSION = "0.5.9-main.e183eeb";
1
+ export const DXOS_VERSION = "0.5.9-next.a50ff17";