@dxos/client-services 0.5.3-main.de55336 → 0.5.3-main.e38fceb
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-7EGDXZNY.mjs → chunk-WHHSUGJJ.mjs} +21 -9
- package/dist/lib/browser/{chunk-7EGDXZNY.mjs.map → chunk-WHHSUGJJ.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-YPKL5SAD.cjs → chunk-72XOUAW4.cjs} +24 -12
- package/dist/lib/node/{chunk-YPKL5SAD.cjs.map → chunk-72XOUAW4.cjs.map} +3 -3
- package/dist/lib/node/index.cjs +44 -44
- 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 +36 -36
- package/src/packlets/spaces/data-space.ts +5 -1
- package/src/version.ts +1 -1
|
@@ -3932,7 +3932,19 @@ var DataSpace = class {
|
|
|
3932
3932
|
};
|
|
3933
3933
|
});
|
|
3934
3934
|
}
|
|
3935
|
-
|
|
3935
|
+
if (!this._echoHost.roots.has(handle.documentId)) {
|
|
3936
|
+
await this._echoHost.openSpaceRoot(handle.url);
|
|
3937
|
+
} else {
|
|
3938
|
+
log11.warn("echo database root already exists", {
|
|
3939
|
+
space: this.key,
|
|
3940
|
+
rootUrl
|
|
3941
|
+
}, {
|
|
3942
|
+
F: __dxlog_file13,
|
|
3943
|
+
L: 393,
|
|
3944
|
+
S: this,
|
|
3945
|
+
C: (f, a) => f(...a)
|
|
3946
|
+
});
|
|
3947
|
+
}
|
|
3936
3948
|
} catch (err) {
|
|
3937
3949
|
if (err instanceof ContextDisposedError3) {
|
|
3938
3950
|
return;
|
|
@@ -3943,7 +3955,7 @@ var DataSpace = class {
|
|
|
3943
3955
|
err
|
|
3944
3956
|
}, {
|
|
3945
3957
|
F: __dxlog_file13,
|
|
3946
|
-
L:
|
|
3958
|
+
L: 399,
|
|
3947
3959
|
S: this,
|
|
3948
3960
|
C: (f, a) => f(...a)
|
|
3949
3961
|
});
|
|
@@ -3998,7 +4010,7 @@ var DataSpace = class {
|
|
|
3998
4010
|
const newRoot = this._echoHost.automergeRepo.create(rootHandle.docSync());
|
|
3999
4011
|
invariant12(typeof newRoot.url === "string" && newRoot.url.length > 0, void 0, {
|
|
4000
4012
|
F: __dxlog_file13,
|
|
4001
|
-
L:
|
|
4013
|
+
L: 449,
|
|
4002
4014
|
S: this,
|
|
4003
4015
|
A: [
|
|
4004
4016
|
"typeof newRoot.url === 'string' && newRoot.url.length > 0",
|
|
@@ -4017,7 +4029,7 @@ var DataSpace = class {
|
|
|
4017
4029
|
{
|
|
4018
4030
|
log11.info("Fragmenting", void 0, {
|
|
4019
4031
|
F: __dxlog_file13,
|
|
4020
|
-
L:
|
|
4032
|
+
L: 461,
|
|
4021
4033
|
S: this,
|
|
4022
4034
|
C: (f, a) => f(...a)
|
|
4023
4035
|
});
|
|
@@ -4029,7 +4041,7 @@ var DataSpace = class {
|
|
|
4029
4041
|
const otherObjects = objects.filter(([key]) => key !== properties?.[0]);
|
|
4030
4042
|
invariant12(properties, "Properties not found", {
|
|
4031
4043
|
F: __dxlog_file13,
|
|
4032
|
-
L:
|
|
4044
|
+
L: 471,
|
|
4033
4045
|
S: this,
|
|
4034
4046
|
A: [
|
|
4035
4047
|
"properties",
|
|
@@ -4045,7 +4057,7 @@ var DataSpace = class {
|
|
|
4045
4057
|
const newRoot = this._echoHost.automergeRepo.create(newSpaceDoc);
|
|
4046
4058
|
invariant12(typeof newRoot.url === "string" && newRoot.url.length > 0, void 0, {
|
|
4047
4059
|
F: __dxlog_file13,
|
|
4048
|
-
L:
|
|
4060
|
+
L: 476,
|
|
4049
4061
|
S: this,
|
|
4050
4062
|
A: [
|
|
4051
4063
|
"typeof newRoot.url === 'string' && newRoot.url.length > 0",
|
|
@@ -4114,7 +4126,7 @@ var DataSpace = class {
|
|
|
4114
4126
|
state: SpaceState[this._state]
|
|
4115
4127
|
}, {
|
|
4116
4128
|
F: __dxlog_file13,
|
|
4117
|
-
L:
|
|
4129
|
+
L: 542,
|
|
4118
4130
|
S: this,
|
|
4119
4131
|
C: (f, a) => f(...a)
|
|
4120
4132
|
});
|
|
@@ -5300,7 +5312,7 @@ import { SpaceMember as SpaceMember7 } from "@dxos/protocols/proto/dxos/client/s
|
|
|
5300
5312
|
import { TRACE_PROCESSOR } from "@dxos/tracing";
|
|
5301
5313
|
|
|
5302
5314
|
// packages/sdk/client-services/src/version.ts
|
|
5303
|
-
var DXOS_VERSION = "0.5.3-main.
|
|
5315
|
+
var DXOS_VERSION = "0.5.3-main.e38fceb";
|
|
5304
5316
|
|
|
5305
5317
|
// packages/sdk/client-services/src/packlets/services/platform.ts
|
|
5306
5318
|
import { Platform } from "@dxos/protocols/proto/dxos/client/services";
|
|
@@ -6547,4 +6559,4 @@ export {
|
|
|
6547
6559
|
ClientServicesHost,
|
|
6548
6560
|
ClientServicesProviderResource
|
|
6549
6561
|
};
|
|
6550
|
-
//# sourceMappingURL=chunk-
|
|
6562
|
+
//# sourceMappingURL=chunk-WHHSUGJJ.mjs.map
|