@dxos/client-services 0.4.4-main.fb26545 → 0.4.4-next.ac77e71

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.
@@ -31,7 +31,7 @@ __export(testing_exports, {
31
31
  syncItemsLocal: () => syncItemsLocal
32
32
  });
33
33
  module.exports = __toCommonJS(testing_exports);
34
- var import_chunk_XRDYJ2WZ = require("../../chunk-XRDYJ2WZ.cjs");
34
+ var import_chunk_VJAR4RID = require("../../chunk-VJAR4RID.cjs");
35
35
  var import_credentials = require("@dxos/credentials");
36
36
  var import_keys = require("@dxos/keys");
37
37
  var import_async = require("@dxos/async");
@@ -209,7 +209,7 @@ var createInvitation = (host, options) => {
209
209
  authMethod: import_services.Invitation.AuthMethod.NONE,
210
210
  ...options ?? {}
211
211
  };
212
- if (host instanceof import_chunk_XRDYJ2WZ.ServiceContext) {
212
+ if (host instanceof import_chunk_VJAR4RID.ServiceContext) {
213
213
  const hostHandler = host.getInvitationHandler({
214
214
  kind: import_services.Invitation.Kind.SPACE,
215
215
  ...options
@@ -220,7 +220,7 @@ var createInvitation = (host, options) => {
220
220
  };
221
221
  var acceptInvitation = (guest, invitation) => {
222
222
  invitation = sanitizeInvitation(invitation);
223
- if (guest instanceof import_chunk_XRDYJ2WZ.ServiceContext) {
223
+ if (guest instanceof import_chunk_VJAR4RID.ServiceContext) {
224
224
  const guestHandler = guest.getInvitationHandler({
225
225
  kind: invitation.kind
226
226
  });
@@ -229,7 +229,7 @@ var acceptInvitation = (guest, invitation) => {
229
229
  return guest.join(invitation);
230
230
  };
231
231
  var createServiceHost = (config, signalManagerContext) => {
232
- return new import_chunk_XRDYJ2WZ.ClientServicesHost({
232
+ return new import_chunk_VJAR4RID.ClientServicesHost({
233
233
  config,
234
234
  signalManager: new import_messaging.MemorySignalManager(signalManagerContext),
235
235
  transportFactory: import_network_manager.MemoryTransportFactory
@@ -243,8 +243,8 @@ var createServiceContext = ({ signalContext = new import_messaging.MemorySignalM
243
243
  signalManager,
244
244
  transportFactory: import_network_manager.MemoryTransportFactory
245
245
  });
246
- const modelFactory = (0, import_chunk_XRDYJ2WZ.createDefaultModelFactory)();
247
- return new import_chunk_XRDYJ2WZ.ServiceContext(storage, networkManager, signalManager, modelFactory);
246
+ const modelFactory = (0, import_chunk_VJAR4RID.createDefaultModelFactory)();
247
+ return new import_chunk_VJAR4RID.ServiceContext(storage, networkManager, signalManager, modelFactory);
248
248
  };
249
249
  var createPeers = async (numPeers) => {
250
250
  const signalContext = new import_messaging.MemorySignalManagerContext();
@@ -328,7 +328,7 @@ var TestPeer = class {
328
328
  feedStore: this.feedStore,
329
329
  networkManager: this.networkManager,
330
330
  metadataStore: this.metadataStore,
331
- modelFactory: (0, import_chunk_XRDYJ2WZ.createDefaultModelFactory)(),
331
+ modelFactory: (0, import_chunk_VJAR4RID.createDefaultModelFactory)(),
332
332
  snapshotStore: this.snapshotStore,
333
333
  blobStore: this.blobStore
334
334
  });
@@ -340,7 +340,7 @@ var TestPeer = class {
340
340
  return this._props.automergeHost ??= new import_echo_pipeline.AutomergeHost(this.storage.createDirectory("automerge"));
341
341
  }
342
342
  get dataSpaceManager() {
343
- return this._props.dataSpaceManager ??= new import_chunk_XRDYJ2WZ.DataSpaceManager(this.spaceManager, this.metadataStore, new import_echo_pipeline.DataServiceSubscriptions(), this.keyring, this.identity, this.feedStore, this.automergeHost);
343
+ return this._props.dataSpaceManager ??= new import_chunk_VJAR4RID.DataSpaceManager(this.spaceManager, this.metadataStore, new import_echo_pipeline.DataServiceSubscriptions(), this.keyring, this.identity, this.feedStore, this.automergeHost);
344
344
  }
345
345
  async createIdentity() {
346
346
  this._props.signingContext ??= await createSigningContext(this.keyring);
@@ -1,2 +1,2 @@
1
- export declare const DXOS_VERSION = "0.4.4-main.fb26545";
1
+ export declare const DXOS_VERSION = "0.4.4-next.ac77e71";
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.4.4-main.fb26545",
3
+ "version": "0.4.4-next.ac77e71",
4
4
  "description": "DXOS client services implementation",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -22,44 +22,44 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "platform": "^1.3.6",
25
- "@dxos/async": "0.4.4-main.fb26545",
26
- "@dxos/config": "0.4.4-main.fb26545",
27
- "@dxos/codec-protobuf": "0.4.4-main.fb26545",
28
- "@dxos/context": "0.4.4-main.fb26545",
29
- "@dxos/client-protocol": "0.4.4-main.fb26545",
30
- "@dxos/credentials": "0.4.4-main.fb26545",
31
- "@dxos/crypto": "0.4.4-main.fb26545",
32
- "@dxos/document-model": "0.4.4-main.fb26545",
33
- "@dxos/debug": "0.4.4-main.fb26545",
34
- "@dxos/echo-db": "0.4.4-main.fb26545",
35
- "@dxos/echo-pipeline": "0.4.4-main.fb26545",
36
- "@dxos/feed-store": "0.4.4-main.fb26545",
37
- "@dxos/echo-schema": "0.4.4-main.fb26545",
38
- "@dxos/invariant": "0.4.4-main.fb26545",
39
- "@dxos/keyring": "0.4.4-main.fb26545",
40
- "@dxos/keys": "0.4.4-main.fb26545",
41
- "@dxos/log": "0.4.4-main.fb26545",
42
- "@dxos/lock-file": "0.4.4-main.fb26545",
43
- "@dxos/messaging": "0.4.4-main.fb26545",
44
- "@dxos/model-factory": "0.4.4-main.fb26545",
45
- "@dxos/network-manager": "0.4.4-main.fb26545",
46
- "@dxos/node-std": "0.4.4-main.fb26545",
47
- "@dxos/protocols": "0.4.4-main.fb26545",
48
- "@dxos/random-access-storage": "0.4.4-main.fb26545",
49
- "@dxos/rpc": "0.4.4-main.fb26545",
50
- "@dxos/teleport": "0.4.4-main.fb26545",
51
- "@dxos/teleport-extension-gossip": "0.4.4-main.fb26545",
52
- "@dxos/text-model": "0.4.4-main.fb26545",
53
- "@dxos/teleport-extension-object-sync": "0.4.4-main.fb26545",
54
- "@dxos/timeframe": "0.4.4-main.fb26545",
55
- "@dxos/tracing": "0.4.4-main.fb26545",
56
- "@dxos/util": "0.4.4-main.fb26545",
57
- "@dxos/websocket-rpc": "0.4.4-main.fb26545"
25
+ "@dxos/async": "0.4.4-next.ac77e71",
26
+ "@dxos/config": "0.4.4-next.ac77e71",
27
+ "@dxos/codec-protobuf": "0.4.4-next.ac77e71",
28
+ "@dxos/client-protocol": "0.4.4-next.ac77e71",
29
+ "@dxos/context": "0.4.4-next.ac77e71",
30
+ "@dxos/crypto": "0.4.4-next.ac77e71",
31
+ "@dxos/debug": "0.4.4-next.ac77e71",
32
+ "@dxos/credentials": "0.4.4-next.ac77e71",
33
+ "@dxos/document-model": "0.4.4-next.ac77e71",
34
+ "@dxos/echo-pipeline": "0.4.4-next.ac77e71",
35
+ "@dxos/echo-schema": "0.4.4-next.ac77e71",
36
+ "@dxos/feed-store": "0.4.4-next.ac77e71",
37
+ "@dxos/invariant": "0.4.4-next.ac77e71",
38
+ "@dxos/echo-db": "0.4.4-next.ac77e71",
39
+ "@dxos/keys": "0.4.4-next.ac77e71",
40
+ "@dxos/keyring": "0.4.4-next.ac77e71",
41
+ "@dxos/lock-file": "0.4.4-next.ac77e71",
42
+ "@dxos/log": "0.4.4-next.ac77e71",
43
+ "@dxos/model-factory": "0.4.4-next.ac77e71",
44
+ "@dxos/network-manager": "0.4.4-next.ac77e71",
45
+ "@dxos/node-std": "0.4.4-next.ac77e71",
46
+ "@dxos/messaging": "0.4.4-next.ac77e71",
47
+ "@dxos/protocols": "0.4.4-next.ac77e71",
48
+ "@dxos/random-access-storage": "0.4.4-next.ac77e71",
49
+ "@dxos/rpc": "0.4.4-next.ac77e71",
50
+ "@dxos/teleport": "0.4.4-next.ac77e71",
51
+ "@dxos/teleport-extension-gossip": "0.4.4-next.ac77e71",
52
+ "@dxos/text-model": "0.4.4-next.ac77e71",
53
+ "@dxos/teleport-extension-object-sync": "0.4.4-next.ac77e71",
54
+ "@dxos/timeframe": "0.4.4-next.ac77e71",
55
+ "@dxos/tracing": "0.4.4-next.ac77e71",
56
+ "@dxos/websocket-rpc": "0.4.4-next.ac77e71",
57
+ "@dxos/util": "0.4.4-next.ac77e71"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/platform": "^1.3.4",
61
61
  "@types/readable-stream": "^2.3.9",
62
- "@dxos/signal": "0.4.4-main.fb26545"
62
+ "@dxos/signal": "0.4.4-next.ac77e71"
63
63
  },
64
64
  "publishConfig": {
65
65
  "access": "public"
@@ -133,7 +133,7 @@ export class NotarizationPlugin implements CredentialProcessor {
133
133
  // Pick a peer that we haven't tried yet.
134
134
  const peer = [...this._extensions].find((peer) => !peersTried.has(peer));
135
135
  if (!peer) {
136
- log.warn('Exhausted all peers to notarize with', { retryIn: retryTimeout });
136
+ log.info('Exhausted all peers to notarize with', { retryIn: retryTimeout });
137
137
  peersTried.clear();
138
138
  scheduleTask(ctx, () => notarizeTask.schedule(), retryTimeout); // retry with all peers again
139
139
  return;
@@ -148,7 +148,7 @@ export class NotarizationPlugin implements CredentialProcessor {
148
148
  await sleep(successDelay); // wait before trying with a new peer
149
149
  } catch (err: any) {
150
150
  if (!ctx.disposed && !err.message.includes(WRITER_NOT_SET_ERROR_CODE)) {
151
- log.warn('error notarizing (recoverable)', err);
151
+ log.info('error notarizing (recoverable)', err);
152
152
  }
153
153
  notarizeTask.schedule(); // retry immediately with next peer
154
154
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const DXOS_VERSION = "0.4.4-main.fb26545";
1
+ export const DXOS_VERSION = "0.4.4-next.ac77e71";