@dxos/client-services 0.5.9-main.4ed8273 → 0.5.9-main.5d79202
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-YJ5SPRLY.mjs → chunk-EKD7OOMO.mjs} +17 -18
- package/dist/lib/browser/{chunk-YJ5SPRLY.mjs.map → chunk-EKD7OOMO.mjs.map} +2 -2
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/packlets/testing/index.mjs +2 -3
- package/dist/lib/browser/packlets/testing/index.mjs.map +2 -2
- package/dist/lib/node/{chunk-RQHBQWKH.cjs → chunk-Q4HUMNZ3.cjs} +20 -21
- package/dist/lib/node/{chunk-RQHBQWKH.cjs.map → chunk-Q4HUMNZ3.cjs.map} +2 -2
- package/dist/lib/node/index.cjs +42 -42
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/packlets/testing/index.cjs +9 -10
- package/dist/lib/node/packlets/testing/index.cjs.map +2 -2
- package/dist/types/src/packlets/services/service-context.d.ts.map +1 -1
- package/dist/types/src/packlets/testing/test-builder.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +36 -36
- package/src/packlets/services/service-context.ts +1 -4
- package/src/packlets/testing/test-builder.ts +1 -4
- package/src/version.ts +1 -1
|
@@ -355,7 +355,7 @@ import { SpaceMember } from "@dxos/protocols/proto/dxos/client/services";
|
|
|
355
355
|
import { TRACE_PROCESSOR } from "@dxos/tracing";
|
|
356
356
|
|
|
357
357
|
// packages/sdk/client-services/src/version.ts
|
|
358
|
-
var DXOS_VERSION = "0.5.9-main.
|
|
358
|
+
var DXOS_VERSION = "0.5.9-main.5d79202";
|
|
359
359
|
|
|
360
360
|
// packages/sdk/client-services/src/packlets/services/platform.ts
|
|
361
361
|
import { Platform } from "@dxos/protocols/proto/dxos/client/services";
|
|
@@ -5527,8 +5527,7 @@ var ServiceContext = class extends Resource2 {
|
|
|
5527
5527
|
});
|
|
5528
5528
|
this.identityManager = new IdentityManager(this.metadataStore, this.keyring, this.feedStore, this.spaceManager, this._runtimeParams);
|
|
5529
5529
|
this.echoHost = new EchoHost({
|
|
5530
|
-
kv: this.level
|
|
5531
|
-
storage: this.storage
|
|
5530
|
+
kv: this.level
|
|
5532
5531
|
});
|
|
5533
5532
|
this.invitations = new InvitationsHandler(this.networkManager, _runtimeParams?.invitationConnectionDefaultParams);
|
|
5534
5533
|
this.invitationsManager = new InvitationsManager(this.invitations, (invitation) => this.getInvitationHandler(invitation), this.metadataStore);
|
|
@@ -5538,7 +5537,7 @@ var ServiceContext = class extends Resource2 {
|
|
|
5538
5537
|
await this._checkStorageVersion();
|
|
5539
5538
|
log16("opening...", void 0, {
|
|
5540
5539
|
F: __dxlog_file19,
|
|
5541
|
-
L:
|
|
5540
|
+
L: 149,
|
|
5542
5541
|
S: this,
|
|
5543
5542
|
C: (f, a) => f(...a)
|
|
5544
5543
|
});
|
|
@@ -5546,7 +5545,7 @@ var ServiceContext = class extends Resource2 {
|
|
|
5546
5545
|
id: this._instanceId
|
|
5547
5546
|
}), {
|
|
5548
5547
|
F: __dxlog_file19,
|
|
5549
|
-
L:
|
|
5548
|
+
L: 150,
|
|
5550
5549
|
S: this,
|
|
5551
5550
|
C: (f, a) => f(...a)
|
|
5552
5551
|
});
|
|
@@ -5564,7 +5563,7 @@ var ServiceContext = class extends Resource2 {
|
|
|
5564
5563
|
count: loadedInvitations.invitations?.length
|
|
5565
5564
|
}, {
|
|
5566
5565
|
F: __dxlog_file19,
|
|
5567
|
-
L:
|
|
5566
|
+
L: 163,
|
|
5568
5567
|
S: this,
|
|
5569
5568
|
C: (f, a) => f(...a)
|
|
5570
5569
|
});
|
|
@@ -5572,13 +5571,13 @@ var ServiceContext = class extends Resource2 {
|
|
|
5572
5571
|
id: this._instanceId
|
|
5573
5572
|
}), {
|
|
5574
5573
|
F: __dxlog_file19,
|
|
5575
|
-
L:
|
|
5574
|
+
L: 165,
|
|
5576
5575
|
S: this,
|
|
5577
5576
|
C: (f, a) => f(...a)
|
|
5578
5577
|
});
|
|
5579
5578
|
log16("opened", void 0, {
|
|
5580
5579
|
F: __dxlog_file19,
|
|
5581
|
-
L:
|
|
5580
|
+
L: 166,
|
|
5582
5581
|
S: this,
|
|
5583
5582
|
C: (f, a) => f(...a)
|
|
5584
5583
|
});
|
|
@@ -5586,7 +5585,7 @@ var ServiceContext = class extends Resource2 {
|
|
|
5586
5585
|
async _close(ctx) {
|
|
5587
5586
|
log16("closing...", void 0, {
|
|
5588
5587
|
F: __dxlog_file19,
|
|
5589
|
-
L:
|
|
5588
|
+
L: 170,
|
|
5590
5589
|
S: this,
|
|
5591
5590
|
C: (f, a) => f(...a)
|
|
5592
5591
|
});
|
|
@@ -5603,7 +5602,7 @@ var ServiceContext = class extends Resource2 {
|
|
|
5603
5602
|
await this.signalManager.close();
|
|
5604
5603
|
log16("closed", void 0, {
|
|
5605
5604
|
F: __dxlog_file19,
|
|
5606
|
-
L:
|
|
5605
|
+
L: 182,
|
|
5607
5606
|
S: this,
|
|
5608
5607
|
C: (f, a) => f(...a)
|
|
5609
5608
|
});
|
|
@@ -5617,7 +5616,7 @@ var ServiceContext = class extends Resource2 {
|
|
|
5617
5616
|
const factory = this._handlerFactories.get(invitation.kind);
|
|
5618
5617
|
invariant16(factory, `Unknown invitation kind: ${invitation.kind}`, {
|
|
5619
5618
|
F: __dxlog_file19,
|
|
5620
|
-
L:
|
|
5619
|
+
L: 193,
|
|
5621
5620
|
S: this,
|
|
5622
5621
|
A: [
|
|
5623
5622
|
"factory",
|
|
@@ -5649,7 +5648,7 @@ var ServiceContext = class extends Resource2 {
|
|
|
5649
5648
|
async _initialize(ctx) {
|
|
5650
5649
|
log16("initializing spaces...", void 0, {
|
|
5651
5650
|
F: __dxlog_file19,
|
|
5652
|
-
L:
|
|
5651
|
+
L: 224,
|
|
5653
5652
|
S: this,
|
|
5654
5653
|
C: (f, a) => f(...a)
|
|
5655
5654
|
});
|
|
@@ -5672,7 +5671,7 @@ var ServiceContext = class extends Resource2 {
|
|
|
5672
5671
|
this._handlerFactories.set(Invitation8.Kind.SPACE, (invitation) => {
|
|
5673
5672
|
invariant16(this.dataSpaceManager, "dataSpaceManager not initialized yet", {
|
|
5674
5673
|
F: __dxlog_file19,
|
|
5675
|
-
L:
|
|
5674
|
+
L: 249,
|
|
5676
5675
|
S: this,
|
|
5677
5676
|
A: [
|
|
5678
5677
|
"this.dataSpaceManager",
|
|
@@ -5696,7 +5695,7 @@ var ServiceContext = class extends Resource2 {
|
|
|
5696
5695
|
details: assertion
|
|
5697
5696
|
}, {
|
|
5698
5697
|
F: __dxlog_file19,
|
|
5699
|
-
L:
|
|
5698
|
+
L: 265,
|
|
5700
5699
|
S: this,
|
|
5701
5700
|
C: (f, a) => f(...a)
|
|
5702
5701
|
});
|
|
@@ -5707,7 +5706,7 @@ var ServiceContext = class extends Resource2 {
|
|
|
5707
5706
|
details: assertion
|
|
5708
5707
|
}, {
|
|
5709
5708
|
F: __dxlog_file19,
|
|
5710
|
-
L:
|
|
5709
|
+
L: 269,
|
|
5711
5710
|
S: this,
|
|
5712
5711
|
C: (f, a) => f(...a)
|
|
5713
5712
|
});
|
|
@@ -5718,7 +5717,7 @@ var ServiceContext = class extends Resource2 {
|
|
|
5718
5717
|
details: assertion
|
|
5719
5718
|
}, {
|
|
5720
5719
|
F: __dxlog_file19,
|
|
5721
|
-
L:
|
|
5720
|
+
L: 274,
|
|
5722
5721
|
S: this,
|
|
5723
5722
|
C: (f, a) => f(...a)
|
|
5724
5723
|
});
|
|
@@ -5729,7 +5728,7 @@ var ServiceContext = class extends Resource2 {
|
|
|
5729
5728
|
} catch (err) {
|
|
5730
5729
|
log16.catch(err, void 0, {
|
|
5731
5730
|
F: __dxlog_file19,
|
|
5732
|
-
L:
|
|
5731
|
+
L: 280,
|
|
5733
5732
|
S: this,
|
|
5734
5733
|
C: (f, a) => f(...a)
|
|
5735
5734
|
});
|
|
@@ -6743,4 +6742,4 @@ export {
|
|
|
6743
6742
|
ClientServicesProviderResource,
|
|
6744
6743
|
DiagnosticsCollector
|
|
6745
6744
|
};
|
|
6746
|
-
//# sourceMappingURL=chunk-
|
|
6745
|
+
//# sourceMappingURL=chunk-EKD7OOMO.mjs.map
|