@dxos/client-services 0.5.3-main.97757f4 → 0.5.3-main.9a6cd60
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-Q4T2AD6E.mjs → chunk-F2BAJZR5.mjs} +9 -21
- package/dist/lib/browser/{chunk-Q4T2AD6E.mjs.map → chunk-F2BAJZR5.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-YTEUK7BE.cjs → chunk-XZH3AZ6H.cjs} +12 -24
- package/dist/lib/node/{chunk-YTEUK7BE.cjs.map → chunk-XZH3AZ6H.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 +1 -5
- package/src/version.ts +1 -1
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
InvitationsManager,
|
|
8
8
|
ServiceContext,
|
|
9
9
|
SpaceInvitationProtocol
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-F2BAJZR5.mjs";
|
|
11
11
|
|
|
12
12
|
// packages/sdk/client-services/src/packlets/testing/credential-utils.ts
|
|
13
13
|
import { createCredential } from "@dxos/credentials";
|
|
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_XZH3AZ6H_exports = {};
|
|
30
|
+
__export(chunk_XZH3AZ6H_exports, {
|
|
31
31
|
ClientRpcServer: () => ClientRpcServer,
|
|
32
32
|
ClientServicesHost: () => ClientServicesHost,
|
|
33
33
|
ClientServicesProviderResource: () => ClientServicesProviderResource,
|
|
@@ -67,7 +67,7 @@ __export(chunk_YTEUK7BE_exports, {
|
|
|
67
67
|
subscribeToSpaces: () => subscribeToSpaces,
|
|
68
68
|
subscribeToSwarmInfo: () => subscribeToSwarmInfo
|
|
69
69
|
});
|
|
70
|
-
module.exports = __toCommonJS(
|
|
70
|
+
module.exports = __toCommonJS(chunk_XZH3AZ6H_exports);
|
|
71
71
|
var import_async = require("@dxos/async");
|
|
72
72
|
var import_codec_protobuf = require("@dxos/codec-protobuf");
|
|
73
73
|
var import_feed_store = require("@dxos/feed-store");
|
|
@@ -4033,19 +4033,7 @@ var DataSpace = class {
|
|
|
4033
4033
|
};
|
|
4034
4034
|
});
|
|
4035
4035
|
}
|
|
4036
|
-
|
|
4037
|
-
await this._echoHost.openSpaceRoot(handle.url);
|
|
4038
|
-
} else {
|
|
4039
|
-
import_log10.log.warn("echo database root already exists", {
|
|
4040
|
-
space: this.key,
|
|
4041
|
-
rootUrl
|
|
4042
|
-
}, {
|
|
4043
|
-
F: __dxlog_file13,
|
|
4044
|
-
L: 393,
|
|
4045
|
-
S: this,
|
|
4046
|
-
C: (f, a) => f(...a)
|
|
4047
|
-
});
|
|
4048
|
-
}
|
|
4036
|
+
await this._echoHost.openSpaceRoot(handle.url);
|
|
4049
4037
|
} catch (err) {
|
|
4050
4038
|
if (err instanceof import_context9.ContextDisposedError) {
|
|
4051
4039
|
return;
|
|
@@ -4056,7 +4044,7 @@ var DataSpace = class {
|
|
|
4056
4044
|
err
|
|
4057
4045
|
}, {
|
|
4058
4046
|
F: __dxlog_file13,
|
|
4059
|
-
L:
|
|
4047
|
+
L: 395,
|
|
4060
4048
|
S: this,
|
|
4061
4049
|
C: (f, a) => f(...a)
|
|
4062
4050
|
});
|
|
@@ -4111,7 +4099,7 @@ var DataSpace = class {
|
|
|
4111
4099
|
const newRoot = this._echoHost.automergeRepo.create(rootHandle.docSync());
|
|
4112
4100
|
(0, import_invariant11.invariant)(typeof newRoot.url === "string" && newRoot.url.length > 0, void 0, {
|
|
4113
4101
|
F: __dxlog_file13,
|
|
4114
|
-
L:
|
|
4102
|
+
L: 445,
|
|
4115
4103
|
S: this,
|
|
4116
4104
|
A: [
|
|
4117
4105
|
"typeof newRoot.url === 'string' && newRoot.url.length > 0",
|
|
@@ -4130,7 +4118,7 @@ var DataSpace = class {
|
|
|
4130
4118
|
{
|
|
4131
4119
|
import_log10.log.info("Fragmenting", void 0, {
|
|
4132
4120
|
F: __dxlog_file13,
|
|
4133
|
-
L:
|
|
4121
|
+
L: 457,
|
|
4134
4122
|
S: this,
|
|
4135
4123
|
C: (f, a) => f(...a)
|
|
4136
4124
|
});
|
|
@@ -4142,7 +4130,7 @@ var DataSpace = class {
|
|
|
4142
4130
|
const otherObjects = objects.filter(([key]) => key !== properties?.[0]);
|
|
4143
4131
|
(0, import_invariant11.invariant)(properties, "Properties not found", {
|
|
4144
4132
|
F: __dxlog_file13,
|
|
4145
|
-
L:
|
|
4133
|
+
L: 467,
|
|
4146
4134
|
S: this,
|
|
4147
4135
|
A: [
|
|
4148
4136
|
"properties",
|
|
@@ -4158,7 +4146,7 @@ var DataSpace = class {
|
|
|
4158
4146
|
const newRoot = this._echoHost.automergeRepo.create(newSpaceDoc);
|
|
4159
4147
|
(0, import_invariant11.invariant)(typeof newRoot.url === "string" && newRoot.url.length > 0, void 0, {
|
|
4160
4148
|
F: __dxlog_file13,
|
|
4161
|
-
L:
|
|
4149
|
+
L: 472,
|
|
4162
4150
|
S: this,
|
|
4163
4151
|
A: [
|
|
4164
4152
|
"typeof newRoot.url === 'string' && newRoot.url.length > 0",
|
|
@@ -4227,7 +4215,7 @@ var DataSpace = class {
|
|
|
4227
4215
|
state: import_services9.SpaceState[this._state]
|
|
4228
4216
|
}, {
|
|
4229
4217
|
F: __dxlog_file13,
|
|
4230
|
-
L:
|
|
4218
|
+
L: 538,
|
|
4231
4219
|
S: this,
|
|
4232
4220
|
C: (f, a) => f(...a)
|
|
4233
4221
|
});
|
|
@@ -5348,7 +5336,7 @@ var ServiceRegistry = class {
|
|
|
5348
5336
|
delete this._handlers[name];
|
|
5349
5337
|
}
|
|
5350
5338
|
};
|
|
5351
|
-
var DXOS_VERSION = "0.5.3-main.
|
|
5339
|
+
var DXOS_VERSION = "0.5.3-main.9a6cd60";
|
|
5352
5340
|
var getPlatform = () => {
|
|
5353
5341
|
if (process.browser) {
|
|
5354
5342
|
if (typeof window !== "undefined") {
|
|
@@ -6369,4 +6357,4 @@ var findConfigs = () => {
|
|
|
6369
6357
|
subscribeToSpaces,
|
|
6370
6358
|
subscribeToSwarmInfo
|
|
6371
6359
|
});
|
|
6372
|
-
//# sourceMappingURL=chunk-
|
|
6360
|
+
//# sourceMappingURL=chunk-XZH3AZ6H.cjs.map
|