@dxos/client-services 0.3.11-main.ff3a851 → 0.3.11-next.e28df4f
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.
- package/dist/lib/browser/{chunk-A26ZDNUM.mjs → chunk-DGVRBRWT.mjs} +6 -6
- package/dist/lib/browser/{chunk-A26ZDNUM.mjs.map → chunk-DGVRBRWT.mjs.map} +3 -3
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/packlets/testing/index.mjs +1 -1
- package/dist/lib/node/{chunk-AKNJNHHS.cjs → chunk-MOOZGL2I.cjs} +6 -6
- package/dist/lib/node/{chunk-AKNJNHHS.cjs.map → chunk-MOOZGL2I.cjs.map} +3 -3
- package/dist/lib/node/index.cjs +37 -37
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/packlets/testing/index.cjs +8 -8
- package/dist/types/src/packlets/spaces/data-space.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +35 -35
- package/src/packlets/spaces/data-space.ts +2 -2
- package/src/version.ts +1 -1
|
@@ -2566,7 +2566,7 @@ var getPlatform = () => {
|
|
|
2566
2566
|
};
|
|
2567
2567
|
|
|
2568
2568
|
// packages/sdk/client-services/src/version.ts
|
|
2569
|
-
var DXOS_VERSION = "0.3.11-
|
|
2569
|
+
var DXOS_VERSION = "0.3.11-next.e28df4f";
|
|
2570
2570
|
|
|
2571
2571
|
// packages/sdk/client-services/src/packlets/services/diagnostics.ts
|
|
2572
2572
|
var __dxlog_file10 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/services/diagnostics.ts";
|
|
@@ -2708,7 +2708,7 @@ var getSpaceStats = async (space) => {
|
|
|
2708
2708
|
};
|
|
2709
2709
|
|
|
2710
2710
|
// packages/sdk/client-services/src/packlets/spaces/data-space.ts
|
|
2711
|
-
import { Event as Event5,
|
|
2711
|
+
import { Event as Event5, scheduleTask as scheduleTask4, sleep as sleep2, synchronized, trackLeaks } from "@dxos/async";
|
|
2712
2712
|
import { AUTH_TIMEOUT as AUTH_TIMEOUT2 } from "@dxos/client-protocol";
|
|
2713
2713
|
import { cancelWithContext as cancelWithContext2, Context as Context7, ContextDisposedError } from "@dxos/context";
|
|
2714
2714
|
import { timed } from "@dxos/debug";
|
|
@@ -3317,7 +3317,7 @@ var DataSpace = class {
|
|
|
3317
3317
|
const handle = this._automergeHost.repo.find(rootUrl);
|
|
3318
3318
|
queueMicrotask(async () => {
|
|
3319
3319
|
try {
|
|
3320
|
-
await
|
|
3320
|
+
await handle.whenReady();
|
|
3321
3321
|
const doc = handle.docSync() ?? failedInvariant();
|
|
3322
3322
|
if (!doc.experimental_spaceKey) {
|
|
3323
3323
|
handle.change((doc2) => {
|
|
@@ -4416,7 +4416,7 @@ var ServiceRegistry = class {
|
|
|
4416
4416
|
};
|
|
4417
4417
|
|
|
4418
4418
|
// packages/sdk/client-services/src/packlets/locks/browser.ts
|
|
4419
|
-
import { asyncTimeout
|
|
4419
|
+
import { asyncTimeout, Trigger as Trigger6 } from "@dxos/async";
|
|
4420
4420
|
import { RESOURCE_LOCK_TIMEOUT } from "@dxos/client-protocol";
|
|
4421
4421
|
import { log as log14, logInfo } from "@dxos/log";
|
|
4422
4422
|
function _ts_decorate7(decorators, target, key, desc) {
|
|
@@ -4457,7 +4457,7 @@ var Lock = class {
|
|
|
4457
4457
|
S: this,
|
|
4458
4458
|
C: (f, a) => f(...a)
|
|
4459
4459
|
});
|
|
4460
|
-
await
|
|
4460
|
+
await asyncTimeout(this._requestLock(), RESOURCE_LOCK_TIMEOUT);
|
|
4461
4461
|
log14("acquired lock", void 0, {
|
|
4462
4462
|
F: __dxlog_file16,
|
|
4463
4463
|
L: 44,
|
|
@@ -5294,4 +5294,4 @@ export {
|
|
|
5294
5294
|
createDefaultModelFactory,
|
|
5295
5295
|
ClientServicesHost
|
|
5296
5296
|
};
|
|
5297
|
-
//# sourceMappingURL=chunk-
|
|
5297
|
+
//# sourceMappingURL=chunk-DGVRBRWT.mjs.map
|