@dxos/client-services 0.5.9-main.6ed887e → 0.5.9-main.7a240d3

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.
@@ -359,7 +359,7 @@ import { SpaceMember } from "@dxos/protocols/proto/dxos/client/services";
359
359
  import { TRACE_PROCESSOR } from "@dxos/tracing";
360
360
 
361
361
  // packages/sdk/client-services/src/version.ts
362
- var DXOS_VERSION = "0.5.9-main.6ed887e";
362
+ var DXOS_VERSION = "0.5.9-main.7a240d3";
363
363
 
364
364
  // packages/sdk/client-services/src/packlets/services/platform.ts
365
365
  import { Platform } from "@dxos/protocols/proto/dxos/client/services";
@@ -1658,7 +1658,7 @@ var IdentityServiceImpl = class extends Resource {
1658
1658
  duplicate: space.id
1659
1659
  }, {
1660
1660
  F: __dxlog_file8,
1661
- L: 127,
1661
+ L: 129,
1662
1662
  S: this,
1663
1663
  C: (f, a) => f(...a)
1664
1664
  });
@@ -1669,6 +1669,13 @@ var IdentityServiceImpl = class extends Resource {
1669
1669
  recodedDefaultSpace = true;
1670
1670
  recordedDefaultSpaceTrigger.wake();
1671
1671
  }
1672
+ }, (err) => {
1673
+ log6.catch(err, void 0, {
1674
+ F: __dxlog_file8,
1675
+ L: 140,
1676
+ S: this,
1677
+ C: (f, a) => f(...a)
1678
+ });
1672
1679
  });
1673
1680
  await Promise.race([
1674
1681
  allProcessed,
@@ -3717,10 +3724,10 @@ var InvitationsManager = class {
3717
3724
  // packages/sdk/client-services/src/packlets/spaces/data-space.ts
3718
3725
  import { Event as Event6, Mutex as Mutex2, scheduleTask as scheduleTask5, sleep as sleep3, synchronized, trackLeaks } from "@dxos/async";
3719
3726
  import { AUTH_TIMEOUT as AUTH_TIMEOUT2 } from "@dxos/client-protocol";
3720
- import { Context as Context8, ContextDisposedError as ContextDisposedError3, cancelWithContext as cancelWithContext5 } from "@dxos/context";
3727
+ import { Context as Context8, ContextDisposedError as ContextDisposedError3, cancelWithContext as cancelWithContext4 } from "@dxos/context";
3721
3728
  import { timed, warnAfterTimeout } from "@dxos/debug";
3722
3729
  import { createMappedFeedWriter } from "@dxos/echo-pipeline";
3723
- import { SpaceDocVersion } from "@dxos/echo-protocol";
3730
+ import { SpaceDocVersion as SpaceDocVersion2 } from "@dxos/echo-protocol";
3724
3731
  import { failedInvariant } from "@dxos/invariant";
3725
3732
  import { PublicKey as PublicKey10 } from "@dxos/keys";
3726
3733
  import { log as log15 } from "@dxos/log";
@@ -3777,22 +3784,19 @@ var AutomergeSpaceState = class extends Resource2 {
3777
3784
  };
3778
3785
 
3779
3786
  // packages/sdk/client-services/src/packlets/spaces/epoch-migrations.ts
3780
- import { asyncTimeout as asyncTimeout2 } from "@dxos/async";
3781
- import { next as am } from "@dxos/automerge/automerge";
3782
- import { cancelWithContext as cancelWithContext4 } from "@dxos/context";
3783
3787
  import { convertLegacyReferences, convertLegacySpaceRootDoc, findInlineObjectOfType, migrateDocument } from "@dxos/echo-db";
3784
- import { AutomergeDocumentLoaderImpl } from "@dxos/echo-pipeline";
3788
+ import { SpaceDocVersion } from "@dxos/echo-protocol";
3785
3789
  import { TYPE_PROPERTIES } from "@dxos/echo-schema";
3786
3790
  import { invariant as invariant12 } from "@dxos/invariant";
3787
3791
  import { log as log13 } from "@dxos/log";
3788
3792
  import { CreateEpochRequest } from "@dxos/protocols/proto/dxos/client/services";
3789
- import { assignDeep } from "@dxos/util";
3790
3793
  var __dxlog_file16 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/spaces/epoch-migrations.ts";
3794
+ var LOAD_DOC_TIMEOUT = 1e4;
3791
3795
  var runEpochMigration = async (ctx, context) => {
3792
3796
  switch (context.migration) {
3793
3797
  case CreateEpochRequest.Migration.INIT_AUTOMERGE: {
3794
- const document = context.repo.create();
3795
- await context.repo.flush();
3798
+ const document = context.echoHost.createDoc();
3799
+ await context.echoHost.flush();
3796
3800
  return {
3797
3801
  newRoot: document.url
3798
3802
  };
@@ -3801,10 +3805,11 @@ var runEpochMigration = async (ctx, context) => {
3801
3805
  if (!context.currentRoot) {
3802
3806
  throw new Error("Space does not have an automerge root");
3803
3807
  }
3804
- const rootHandle = context.repo.find(context.currentRoot);
3805
- await cancelWithContext4(ctx, asyncTimeout2(rootHandle.whenReady(), 1e4));
3806
- const newRoot = context.repo.create(rootHandle.docSync());
3807
- await context.repo.flush();
3808
+ const rootHandle = await context.echoHost.loadDoc(ctx, context.currentRoot, {
3809
+ timeout: LOAD_DOC_TIMEOUT
3810
+ });
3811
+ const newRoot = context.echoHost.createDoc(rootHandle.docSync());
3812
+ await context.echoHost.flush();
3808
3813
  return {
3809
3814
  newRoot: newRoot.url
3810
3815
  };
@@ -3812,66 +3817,76 @@ var runEpochMigration = async (ctx, context) => {
3812
3817
  case CreateEpochRequest.Migration.FRAGMENT_AUTOMERGE_ROOT: {
3813
3818
  log13.info("Fragmenting", void 0, {
3814
3819
  F: __dxlog_file16,
3815
- L: 63,
3820
+ L: 64,
3816
3821
  S: void 0,
3817
3822
  C: (f, a) => f(...a)
3818
3823
  });
3819
3824
  const currentRootUrl = context.currentRoot;
3820
- const rootHandle = context.repo.find(currentRootUrl);
3821
- await cancelWithContext4(ctx, asyncTimeout2(rootHandle.whenReady(), 1e4));
3825
+ const rootHandle = await context.echoHost.loadDoc(ctx, currentRootUrl, {
3826
+ timeout: LOAD_DOC_TIMEOUT
3827
+ });
3822
3828
  const objects = Object.entries(rootHandle.docSync().objects);
3823
3829
  const properties = findInlineObjectOfType(rootHandle.docSync(), TYPE_PROPERTIES);
3824
3830
  const otherObjects = objects.filter(([key]) => key !== properties?.[0]);
3825
3831
  invariant12(properties, "Properties not found", {
3826
3832
  F: __dxlog_file16,
3827
- L: 73,
3833
+ L: 75,
3828
3834
  S: void 0,
3829
3835
  A: [
3830
3836
  "properties",
3831
3837
  "'Properties not found'"
3832
3838
  ]
3833
3839
  });
3834
- const newSpaceDoc = {
3840
+ const newRoot = context.echoHost.createDoc({
3835
3841
  ...rootHandle.docSync(),
3836
3842
  objects: Object.fromEntries([
3837
3843
  properties
3838
3844
  ])
3839
- };
3840
- const newRoot = context.repo.create(newSpaceDoc);
3845
+ });
3841
3846
  invariant12(typeof newRoot.url === "string" && newRoot.url.length > 0, void 0, {
3842
3847
  F: __dxlog_file16,
3843
- L: 78,
3848
+ L: 82,
3844
3849
  S: void 0,
3845
3850
  A: [
3846
3851
  "typeof newRoot.url === 'string' && newRoot.url.length > 0",
3847
3852
  ""
3848
3853
  ]
3849
3854
  });
3850
- const docLoader = new AutomergeDocumentLoaderImpl(context.spaceId, context.repo, context.spaceKey);
3851
- await docLoader.loadSpaceRootDocHandle(ctx, {
3852
- rootUrl: newRoot.url
3853
- });
3854
- otherObjects.forEach(([key, value]) => {
3855
- const handle = docLoader.createDocumentForObject(key);
3856
- handle.change((doc) => {
3857
- assignDeep(doc, [
3858
- "objects",
3859
- key
3860
- ], value);
3855
+ const newLinks = [];
3856
+ for (const [id, objData] of otherObjects) {
3857
+ const handle = context.echoHost.createDoc({
3858
+ version: SpaceDocVersion.CURRENT,
3859
+ access: {
3860
+ spaceKey: context.spaceKey.toHex()
3861
+ },
3862
+ objects: {
3863
+ [id]: objData
3864
+ }
3861
3865
  });
3866
+ newLinks.push([
3867
+ id,
3868
+ handle.url
3869
+ ]);
3870
+ }
3871
+ newRoot.change((doc) => {
3872
+ doc.links ??= {};
3873
+ for (const [id, url] of newLinks) {
3874
+ doc.links[id] = url;
3875
+ }
3862
3876
  });
3863
- await context.repo.flush();
3877
+ await context.echoHost.flush();
3864
3878
  return {
3865
3879
  newRoot: newRoot.url
3866
3880
  };
3867
3881
  }
3868
3882
  case CreateEpochRequest.Migration.MIGRATE_REFERENCES_TO_DXN: {
3869
3883
  const currentRootUrl = context.currentRoot;
3870
- const rootHandle = context.repo.find(currentRootUrl);
3871
- await cancelWithContext4(ctx, asyncTimeout2(rootHandle.whenReady(), 1e4));
3884
+ const rootHandle = await context.echoHost.loadDoc(ctx, currentRootUrl, {
3885
+ timeout: LOAD_DOC_TIMEOUT
3886
+ });
3872
3887
  invariant12(rootHandle.docSync(), "Root doc not found", {
3873
3888
  F: __dxlog_file16,
3874
- L: 100,
3889
+ L: 115,
3875
3890
  S: void 0,
3876
3891
  A: [
3877
3892
  "rootHandle.docSync()",
@@ -3881,20 +3896,23 @@ var runEpochMigration = async (ctx, context) => {
3881
3896
  const newRootContent = await convertLegacySpaceRootDoc(structuredClone(rootHandle.docSync()));
3882
3897
  for (const [id, url] of Object.entries(newRootContent.links ?? {})) {
3883
3898
  try {
3884
- const handle = context.repo.find(url);
3885
- await cancelWithContext4(ctx, asyncTimeout2(handle.whenReady(), 1e4));
3886
- invariant12(handle.docSync(), "Doc not found", {
3899
+ const handle = await context.echoHost.loadDoc(ctx, url, {
3900
+ timeout: LOAD_DOC_TIMEOUT
3901
+ });
3902
+ invariant12(handle.docSync(), void 0, {
3887
3903
  F: __dxlog_file16,
3888
- L: 108,
3904
+ L: 122,
3889
3905
  S: void 0,
3890
3906
  A: [
3891
3907
  "handle.docSync()",
3892
- "'Doc not found'"
3908
+ ""
3893
3909
  ]
3894
3910
  });
3895
3911
  const newDoc = await convertLegacyReferences(structuredClone(handle.docSync()));
3896
3912
  const migratedDoc = migrateDocument(handle.docSync(), newDoc);
3897
- const newHandle = context.repo.import(am.save(migratedDoc));
3913
+ const newHandle = context.echoHost.createDoc(migratedDoc, {
3914
+ preserveHistory: true
3915
+ });
3898
3916
  newRootContent.links[id] = newHandle.url;
3899
3917
  } catch (err) {
3900
3918
  log13.warn("Failed to migrate reference", {
@@ -3903,7 +3921,7 @@ var runEpochMigration = async (ctx, context) => {
3903
3921
  error: err
3904
3922
  }, {
3905
3923
  F: __dxlog_file16,
3906
- L: 114,
3924
+ L: 128,
3907
3925
  S: void 0,
3908
3926
  C: (f, a) => f(...a)
3909
3927
  });
@@ -3911,8 +3929,10 @@ var runEpochMigration = async (ctx, context) => {
3911
3929
  }
3912
3930
  }
3913
3931
  const migratedRoot = migrateDocument(rootHandle.docSync(), newRootContent);
3914
- const newRoot = context.repo.import(am.save(migratedRoot));
3915
- await context.repo.flush();
3932
+ const newRoot = context.echoHost.createDoc(migratedRoot, {
3933
+ preserveHistory: true
3934
+ });
3935
+ await context.echoHost.flush();
3916
3936
  return {
3917
3937
  newRoot: newRoot.url
3918
3938
  };
@@ -3920,14 +3940,14 @@ var runEpochMigration = async (ctx, context) => {
3920
3940
  case CreateEpochRequest.Migration.REPLACE_AUTOMERGE_ROOT: {
3921
3941
  invariant12(context.newAutomergeRoot, void 0, {
3922
3942
  F: __dxlog_file16,
3923
- L: 129,
3943
+ L: 143,
3924
3944
  S: void 0,
3925
3945
  A: [
3926
3946
  "context.newAutomergeRoot",
3927
3947
  ""
3928
3948
  ]
3929
3949
  });
3930
- await context.repo.flush();
3950
+ await context.echoHost.flush();
3931
3951
  return {
3932
3952
  newRoot: context.newAutomergeRoot
3933
3953
  };
@@ -4582,7 +4602,7 @@ var DataSpace = class {
4582
4602
  try {
4583
4603
  var _usingCtx = _using_ctx();
4584
4604
  await warnAfterTimeout(5e3, "Automerge root doc load timeout (DataSpace)", async () => {
4585
- await cancelWithContext5(this._ctx, handle.whenReady());
4605
+ await cancelWithContext4(this._ctx, handle.whenReady());
4586
4606
  });
4587
4607
  if (this._ctx.disposed) {
4588
4608
  return;
@@ -4601,7 +4621,7 @@ var DataSpace = class {
4601
4621
  }
4602
4622
  const root = await this._echoHost.openSpaceRoot(handle.url);
4603
4623
  this._databaseRoot = root;
4604
- if (root.getVersion() !== SpaceDocVersion.CURRENT) {
4624
+ if (root.getVersion() !== SpaceDocVersion2.CURRENT) {
4605
4625
  if (this._state !== SpaceState2.REQUIRES_MIGRATION) {
4606
4626
  this._state = SpaceState2.REQUIRES_MIGRATION;
4607
4627
  this.stateUpdate.emit();
@@ -4626,7 +4646,7 @@ var DataSpace = class {
4626
4646
  err
4627
4647
  }, {
4628
4648
  F: __dxlog_file18,
4629
- L: 431,
4649
+ L: 433,
4630
4650
  S: this,
4631
4651
  C: (f, a) => f(...a)
4632
4652
  });
@@ -4654,7 +4674,7 @@ var DataSpace = class {
4654
4674
  return null;
4655
4675
  }
4656
4676
  const { newRoot } = await runEpochMigration(ctx, {
4657
- repo: this._echoHost.automergeRepo,
4677
+ echoHost: this._echoHost,
4658
4678
  spaceId: this.id,
4659
4679
  spaceKey: this.key,
4660
4680
  migration: options.migration,
@@ -4712,7 +4732,7 @@ var DataSpace = class {
4712
4732
  state: SpaceState2[this._state]
4713
4733
  }, {
4714
4734
  F: __dxlog_file18,
4715
- L: 512,
4735
+ L: 514,
4716
4736
  S: this,
4717
4737
  C: (f, a) => f(...a)
4718
4738
  });
@@ -4771,12 +4791,12 @@ DataSpace = _ts_decorate4([
4771
4791
  // packages/sdk/client-services/src/packlets/spaces/data-space-manager.ts
4772
4792
  import { Event as Event7, synchronized as synchronized2, trackLeaks as trackLeaks2 } from "@dxos/async";
4773
4793
  import { PropertiesType } from "@dxos/client-protocol";
4774
- import { Context as Context9, cancelWithContext as cancelWithContext6 } from "@dxos/context";
4794
+ import { Context as Context9, cancelWithContext as cancelWithContext5 } from "@dxos/context";
4775
4795
  import { getCredentialAssertion as getCredentialAssertion3, createAdmissionCredentials } from "@dxos/credentials";
4776
4796
  import { convertLegacyReferences as convertLegacyReferences2, findInlineObjectOfType as findInlineObjectOfType2 } from "@dxos/echo-db";
4777
4797
  import { AuthStatus } from "@dxos/echo-pipeline";
4778
4798
  import { CredentialServerExtension } from "@dxos/echo-pipeline";
4779
- import { LEGACY_TYPE_PROPERTIES, SpaceDocVersion as SpaceDocVersion2, encodeReference } from "@dxos/echo-protocol";
4799
+ import { LEGACY_TYPE_PROPERTIES, SpaceDocVersion as SpaceDocVersion3, encodeReference } from "@dxos/echo-protocol";
4780
4800
  import { TYPE_PROPERTIES as TYPE_PROPERTIES2, generateEchoId, getTypeReference } from "@dxos/echo-schema";
4781
4801
  import { writeMessages as writeMessages3 } from "@dxos/feed-store";
4782
4802
  import { invariant as invariant14 } from "@dxos/invariant";
@@ -4787,7 +4807,7 @@ import { Invitation as Invitation7, SpaceState as SpaceState3 } from "@dxos/prot
4787
4807
  import { SpaceMember as SpaceMember6 } from "@dxos/protocols/proto/dxos/halo/credentials";
4788
4808
  import { Gossip as Gossip2, Presence as Presence2 } from "@dxos/teleport-extension-gossip";
4789
4809
  import { trace as trace7 } from "@dxos/tracing";
4790
- import { ComplexMap as ComplexMap3, assignDeep as assignDeep2, deferFunction as deferFunction2, forEachAsync } from "@dxos/util";
4810
+ import { ComplexMap as ComplexMap3, assignDeep, deferFunction as deferFunction2, forEachAsync } from "@dxos/util";
4791
4811
 
4792
4812
  // packages/sdk/client-services/src/packlets/spaces/genesis.ts
4793
4813
  import { createCredential } from "@dxos/credentials";
@@ -5046,11 +5066,11 @@ var DataSpaceManager = class {
5046
5066
  return false;
5047
5067
  }
5048
5068
  switch (space.databaseRoot.getVersion()) {
5049
- case SpaceDocVersion2.CURRENT: {
5069
+ case SpaceDocVersion3.CURRENT: {
5050
5070
  const [_, properties] = findInlineObjectOfType2(space.databaseRoot.docSync(), TYPE_PROPERTIES2) ?? [];
5051
5071
  return properties?.data?.[DEFAULT_SPACE_KEY] === this._signingContext.identityKey.toHex();
5052
5072
  }
5053
- case SpaceDocVersion2.LEGACY: {
5073
+ case SpaceDocVersion3.LEGACY: {
5054
5074
  const convertedDoc = await convertLegacyReferences2(space.databaseRoot.docSync());
5055
5075
  const [_, properties] = findInlineObjectOfType2(convertedDoc, LEGACY_TYPE_PROPERTIES) ?? [];
5056
5076
  return properties?.data?.[DEFAULT_SPACE_KEY] === this._signingContext.identityKey.toHex();
@@ -5084,7 +5104,7 @@ var DataSpaceManager = class {
5084
5104
  };
5085
5105
  const propertiesId = generateEchoId();
5086
5106
  document.change((doc) => {
5087
- assignDeep2(doc, [
5107
+ assignDeep(doc, [
5088
5108
  "objects",
5089
5109
  propertiesId
5090
5110
  ], properties);
@@ -5191,7 +5211,7 @@ var DataSpaceManager = class {
5191
5211
  * TODO(dmaretskyi): Consider removing.
5192
5212
  */
5193
5213
  async waitUntilSpaceReady(spaceKey) {
5194
- await cancelWithContext6(this._ctx, this.updated.waitForCondition(() => {
5214
+ await cancelWithContext5(this._ctx, this.updated.waitForCondition(() => {
5195
5215
  const space = this._spaces.get(spaceKey);
5196
5216
  return !!space && space.state === SpaceState3.READY;
5197
5217
  }));
@@ -5726,7 +5746,8 @@ var SpacesServiceImpl = class {
5726
5746
  startDataTimeframe: void 0,
5727
5747
  currentDataTimeframe: void 0,
5728
5748
  targetDataTimeframe: void 0,
5729
- totalDataTimeframe: void 0
5749
+ totalDataTimeframe: void 0,
5750
+ spaceRootUrl: space.databaseRoot?.url
5730
5751
  },
5731
5752
  members: Array.from(space.inner.spaceState.members.values()).map((member) => {
5732
5753
  const peers = space.presence.getPeersOnline().filter(({ identityKey }) => identityKey.equals(member.key));
@@ -6084,7 +6105,7 @@ var ServiceRegistry = class {
6084
6105
  };
6085
6106
 
6086
6107
  // packages/sdk/client-services/src/packlets/locks/browser.ts
6087
- import { asyncTimeout as asyncTimeout3, Trigger as Trigger9 } from "@dxos/async";
6108
+ import { asyncTimeout as asyncTimeout2, Trigger as Trigger9 } from "@dxos/async";
6088
6109
  import { RESOURCE_LOCK_TIMEOUT } from "@dxos/client-protocol";
6089
6110
  import { log as log19, logInfo } from "@dxos/log";
6090
6111
  function _ts_decorate7(decorators, target, key, desc) {
@@ -6125,7 +6146,7 @@ var Lock = class {
6125
6146
  S: this,
6126
6147
  C: (f, a) => f(...a)
6127
6148
  });
6128
- await asyncTimeout3(this._requestLock(), RESOURCE_LOCK_TIMEOUT);
6149
+ await asyncTimeout2(this._requestLock(), RESOURCE_LOCK_TIMEOUT);
6129
6150
  log19("acquired lock", void 0, {
6130
6151
  F: __dxlog_file22,
6131
6152
  L: 44,
@@ -6359,14 +6380,15 @@ var exportProfileData = async ({ storage, level }) => {
6359
6380
  return archive;
6360
6381
  };
6361
6382
  var importProfileData = async ({ storage, level }, archive) => {
6362
- const batch = level.batch();
6383
+ let batch = level.batch();
6384
+ let count = 0;
6363
6385
  for (const entry2 of archive.storage) {
6364
6386
  switch (entry2.type) {
6365
6387
  case ProfileArchiveEntryType.FILE: {
6366
6388
  const directory = await storage.createDirectory();
6367
6389
  invariant17(typeof entry2.key === "string", "Invalid key type", {
6368
6390
  F: __dxlog_file23,
6369
- L: 78,
6391
+ L: 79,
6370
6392
  S: void 0,
6371
6393
  A: [
6372
6394
  "typeof entry.key === 'string'",
@@ -6376,7 +6398,7 @@ var importProfileData = async ({ storage, level }, archive) => {
6376
6398
  const file = await directory.getOrCreateFile(entry2.key);
6377
6399
  invariant17(entry2.value instanceof Uint8Array, "Invalid value type", {
6378
6400
  F: __dxlog_file23,
6379
- L: 80,
6401
+ L: 81,
6380
6402
  S: void 0,
6381
6403
  A: [
6382
6404
  "entry.value instanceof Uint8Array",
@@ -6390,7 +6412,7 @@ var importProfileData = async ({ storage, level }, archive) => {
6390
6412
  case ProfileArchiveEntryType.KEY_VALUE: {
6391
6413
  invariant17(entry2.key instanceof Uint8Array, "Invalid key type", {
6392
6414
  F: __dxlog_file23,
6393
- L: 86,
6415
+ L: 87,
6394
6416
  S: void 0,
6395
6417
  A: [
6396
6418
  "entry.key instanceof Uint8Array",
@@ -6399,7 +6421,7 @@ var importProfileData = async ({ storage, level }, archive) => {
6399
6421
  });
6400
6422
  invariant17(entry2.value instanceof Uint8Array, "Invalid value type", {
6401
6423
  F: __dxlog_file23,
6402
- L: 87,
6424
+ L: 88,
6403
6425
  S: void 0,
6404
6426
  A: [
6405
6427
  "entry.value instanceof Uint8Array",
@@ -6415,7 +6437,27 @@ var importProfileData = async ({ storage, level }, archive) => {
6415
6437
  default:
6416
6438
  throw new Error(`Invalid entry type: ${entry2.type}`);
6417
6439
  }
6440
+ if (++count % 1e3 === 0) {
6441
+ await batch.write();
6442
+ batch = level.batch();
6443
+ log20.info("importing", {
6444
+ count,
6445
+ total: archive.storage.length,
6446
+ progress: `${(count / archive.storage.length * 100).toFixed()}%`
6447
+ }, {
6448
+ F: __dxlog_file23,
6449
+ L: 101,
6450
+ S: void 0,
6451
+ C: (f, a) => f(...a)
6452
+ });
6453
+ }
6418
6454
  }
6455
+ log20.info("committing changes..", void 0, {
6456
+ F: __dxlog_file23,
6457
+ L: 109,
6458
+ S: void 0,
6459
+ C: (f, a) => f(...a)
6460
+ });
6419
6461
  await batch.write();
6420
6462
  };
6421
6463
 
@@ -7281,4 +7323,4 @@ export {
7281
7323
  ClientServicesProviderResource,
7282
7324
  DiagnosticsCollector
7283
7325
  };
7284
- //# sourceMappingURL=chunk-UUEXV7YA.mjs.map
7326
+ //# sourceMappingURL=chunk-NVZXX62V.mjs.map