@dxos/client-services 0.1.36-next.ef27157 → 0.1.36
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-OINEQJWM.mjs → chunk-2AYYVPWN.mjs} +68 -42
- package/dist/lib/browser/chunk-2AYYVPWN.mjs.map +7 -0
- 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/browser/packlets/testing/index.mjs.map +2 -2
- package/dist/lib/node/index.cjs +67 -41
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/packlets/testing/index.cjs +67 -41
- package/dist/lib/node/packlets/testing/index.cjs.map +3 -3
- package/dist/types/src/packlets/identity/identity-manager.d.ts +1 -0
- package/dist/types/src/packlets/identity/identity-manager.d.ts.map +1 -1
- package/dist/types/src/packlets/services/service-context.d.ts.map +1 -1
- package/dist/types/src/packlets/spaces/data-space-manager.d.ts +2 -0
- package/dist/types/src/packlets/spaces/data-space-manager.d.ts.map +1 -1
- package/dist/types/src/packlets/testing/test-builder.d.ts +3 -3
- package/dist/types/src/packlets/testing/test-builder.d.ts.map +1 -1
- package/package.json +30 -30
- package/src/packlets/identity/identity-manager.ts +2 -1
- package/src/packlets/services/service-context.ts +6 -2
- package/src/packlets/spaces/data-space-manager.ts +5 -0
- package/src/packlets/storage/storage.ts +2 -0
- package/src/packlets/testing/test-builder.ts +3 -3
- package/src/packlets/tests/spaces.test.ts +24 -0
- package/dist/lib/browser/chunk-OINEQJWM.mjs.map +0 -7
package/dist/lib/node/index.cjs
CHANGED
|
@@ -651,10 +651,11 @@ var IdentityManager = class {
|
|
|
651
651
|
async open() {
|
|
652
652
|
var _a;
|
|
653
653
|
import_log3.log.trace("dxos.halo.identity-manager", import_protocols2.trace.begin({
|
|
654
|
-
id: this._instanceId
|
|
654
|
+
id: this._instanceId,
|
|
655
|
+
parentId: this._traceParent
|
|
655
656
|
}), {
|
|
656
657
|
file: "identity-manager.ts",
|
|
657
|
-
line:
|
|
658
|
+
line: 72,
|
|
658
659
|
scope: this,
|
|
659
660
|
callSite: (f, a) => f(...a)
|
|
660
661
|
});
|
|
@@ -664,7 +665,7 @@ var IdentityManager = class {
|
|
|
664
665
|
identityRecord
|
|
665
666
|
}, {
|
|
666
667
|
file: "identity-manager.ts",
|
|
667
|
-
line:
|
|
668
|
+
line: 76,
|
|
668
669
|
scope: this,
|
|
669
670
|
callSite: (f, a) => f(...a)
|
|
670
671
|
});
|
|
@@ -677,7 +678,7 @@ var IdentityManager = class {
|
|
|
677
678
|
displayName: (_a = this._identity.profileDocument) == null ? void 0 : _a.displayName
|
|
678
679
|
}, {
|
|
679
680
|
file: "identity-manager.ts",
|
|
680
|
-
line:
|
|
681
|
+
line: 81,
|
|
681
682
|
scope: this,
|
|
682
683
|
callSite: (f, a) => f(...a)
|
|
683
684
|
});
|
|
@@ -691,7 +692,7 @@ var IdentityManager = class {
|
|
|
691
692
|
id: this._instanceId
|
|
692
693
|
}), {
|
|
693
694
|
file: "identity-manager.ts",
|
|
694
|
-
line:
|
|
695
|
+
line: 91,
|
|
695
696
|
scope: this,
|
|
696
697
|
callSite: (f, a) => f(...a)
|
|
697
698
|
});
|
|
@@ -701,7 +702,7 @@ var IdentityManager = class {
|
|
|
701
702
|
(0, import_node_assert2.default)(!this._identity, "Identity already exists.");
|
|
702
703
|
(0, import_log3.log)("creating identity...", {}, {
|
|
703
704
|
file: "identity-manager.ts",
|
|
704
|
-
line:
|
|
705
|
+
line: 96,
|
|
705
706
|
scope: this,
|
|
706
707
|
callSite: (f, a) => f(...a)
|
|
707
708
|
});
|
|
@@ -750,7 +751,7 @@ var IdentityManager = class {
|
|
|
750
751
|
displayName: (_a = this._identity.profileDocument) == null ? void 0 : _a.displayName
|
|
751
752
|
}, {
|
|
752
753
|
file: "identity-manager.ts",
|
|
753
|
-
line:
|
|
754
|
+
line: 151,
|
|
754
755
|
scope: this,
|
|
755
756
|
callSite: (f, a) => f(...a)
|
|
756
757
|
});
|
|
@@ -760,7 +761,7 @@ var IdentityManager = class {
|
|
|
760
761
|
deviceKey: identity.deviceKey
|
|
761
762
|
}, {
|
|
762
763
|
file: "identity-manager.ts",
|
|
763
|
-
line:
|
|
764
|
+
line: 157,
|
|
764
765
|
scope: this,
|
|
765
766
|
callSite: (f, a) => f(...a)
|
|
766
767
|
});
|
|
@@ -775,7 +776,7 @@ var IdentityManager = class {
|
|
|
775
776
|
params
|
|
776
777
|
}, {
|
|
777
778
|
file: "identity-manager.ts",
|
|
778
|
-
line:
|
|
779
|
+
line: 165,
|
|
779
780
|
scope: this,
|
|
780
781
|
callSite: (f, a) => f(...a)
|
|
781
782
|
});
|
|
@@ -801,7 +802,7 @@ var IdentityManager = class {
|
|
|
801
802
|
displayName: (_a = this._identity.profileDocument) == null ? void 0 : _a.displayName
|
|
802
803
|
}, {
|
|
803
804
|
file: "identity-manager.ts",
|
|
804
|
-
line:
|
|
805
|
+
line: 185,
|
|
805
806
|
scope: this,
|
|
806
807
|
callSite: (f, a) => f(...a)
|
|
807
808
|
});
|
|
@@ -811,7 +812,7 @@ var IdentityManager = class {
|
|
|
811
812
|
deviceKey: identity.deviceKey
|
|
812
813
|
}, {
|
|
813
814
|
file: "identity-manager.ts",
|
|
814
|
-
line:
|
|
815
|
+
line: 191,
|
|
815
816
|
scope: this,
|
|
816
817
|
callSite: (f, a) => f(...a)
|
|
817
818
|
});
|
|
@@ -823,7 +824,7 @@ var IdentityManager = class {
|
|
|
823
824
|
identityRecord
|
|
824
825
|
}, {
|
|
825
826
|
file: "identity-manager.ts",
|
|
826
|
-
line:
|
|
827
|
+
line: 197,
|
|
827
828
|
scope: this,
|
|
828
829
|
callSite: (f, a) => f(...a)
|
|
829
830
|
});
|
|
@@ -856,7 +857,7 @@ var IdentityManager = class {
|
|
|
856
857
|
identityKey: identityRecord.identityKey
|
|
857
858
|
}, {
|
|
858
859
|
file: "identity-manager.ts",
|
|
859
|
-
line:
|
|
860
|
+
line: 225,
|
|
860
861
|
scope: this,
|
|
861
862
|
callSite: (f, a) => f(...a)
|
|
862
863
|
});
|
|
@@ -1844,7 +1845,7 @@ var import_async18 = require("@dxos/async");
|
|
|
1844
1845
|
var import_client8 = require("@dxos/client");
|
|
1845
1846
|
var import_echo_pipeline5 = require("@dxos/echo-pipeline");
|
|
1846
1847
|
var import_log16 = require("@dxos/log");
|
|
1847
|
-
var
|
|
1848
|
+
var import_protocols7 = require("@dxos/protocols");
|
|
1848
1849
|
var import_services9 = require("@dxos/protocols/proto/dxos/client/services");
|
|
1849
1850
|
|
|
1850
1851
|
// packages/sdk/client-services/src/packlets/deprecated/tracing.ts
|
|
@@ -1938,6 +1939,7 @@ var import_credentials10 = require("@dxos/credentials");
|
|
|
1938
1939
|
var import_echo_pipeline2 = require("@dxos/echo-pipeline");
|
|
1939
1940
|
var import_keys8 = require("@dxos/keys");
|
|
1940
1941
|
var import_log9 = require("@dxos/log");
|
|
1942
|
+
var import_protocols5 = require("@dxos/protocols");
|
|
1941
1943
|
var import_teleport_extension_gossip = require("@dxos/teleport-extension-gossip");
|
|
1942
1944
|
var import_util5 = require("@dxos/util");
|
|
1943
1945
|
|
|
@@ -2434,6 +2436,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2434
2436
|
this.updated = new import_async10.Event();
|
|
2435
2437
|
this._spaces = new import_util5.ComplexMap(import_keys8.PublicKey.hash);
|
|
2436
2438
|
this._isOpen = false;
|
|
2439
|
+
this._instanceId = import_keys8.PublicKey.random().toHex();
|
|
2437
2440
|
}
|
|
2438
2441
|
// TODO(burdon): Remove.
|
|
2439
2442
|
get spaces() {
|
|
@@ -2442,7 +2445,16 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2442
2445
|
async open() {
|
|
2443
2446
|
(0, import_log9.log)("open", {}, {
|
|
2444
2447
|
file: "data-space-manager.ts",
|
|
2445
|
-
line:
|
|
2448
|
+
line: 83,
|
|
2449
|
+
scope: this,
|
|
2450
|
+
callSite: (f, a) => f(...a)
|
|
2451
|
+
});
|
|
2452
|
+
import_log9.log.trace("dxos.echo.data-space-manager", import_protocols5.trace.begin({
|
|
2453
|
+
id: this._instanceId,
|
|
2454
|
+
parentId: this._traceParent
|
|
2455
|
+
}), {
|
|
2456
|
+
file: "data-space-manager.ts",
|
|
2457
|
+
line: 84,
|
|
2446
2458
|
scope: this,
|
|
2447
2459
|
callSite: (f, a) => f(...a)
|
|
2448
2460
|
});
|
|
@@ -2451,7 +2463,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2451
2463
|
spaces: this._metadataStore.spaces.length
|
|
2452
2464
|
}, {
|
|
2453
2465
|
file: "data-space-manager.ts",
|
|
2454
|
-
line:
|
|
2466
|
+
line: 86,
|
|
2455
2467
|
scope: this,
|
|
2456
2468
|
callSite: (f, a) => f(...a)
|
|
2457
2469
|
});
|
|
@@ -2460,7 +2472,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2460
2472
|
spaceMetadata
|
|
2461
2473
|
}, {
|
|
2462
2474
|
file: "data-space-manager.ts",
|
|
2463
|
-
line:
|
|
2475
|
+
line: 89,
|
|
2464
2476
|
scope: this,
|
|
2465
2477
|
callSite: (f, a) => f(...a)
|
|
2466
2478
|
});
|
|
@@ -2473,7 +2485,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2473
2485
|
async close() {
|
|
2474
2486
|
(0, import_log9.log)("close", {}, {
|
|
2475
2487
|
file: "data-space-manager.ts",
|
|
2476
|
-
line:
|
|
2488
|
+
line: 100,
|
|
2477
2489
|
scope: this,
|
|
2478
2490
|
callSite: (f, a) => f(...a)
|
|
2479
2491
|
});
|
|
@@ -2482,6 +2494,14 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2482
2494
|
for (const space of this._spaces.values()) {
|
|
2483
2495
|
await space.close();
|
|
2484
2496
|
}
|
|
2497
|
+
import_log9.log.trace("dxos.echo.data-space-manager", import_protocols5.trace.end({
|
|
2498
|
+
id: this._instanceId
|
|
2499
|
+
}), {
|
|
2500
|
+
file: "data-space-manager.ts",
|
|
2501
|
+
line: 106,
|
|
2502
|
+
scope: this,
|
|
2503
|
+
callSite: (f, a) => f(...a)
|
|
2504
|
+
});
|
|
2485
2505
|
}
|
|
2486
2506
|
/**
|
|
2487
2507
|
* Creates a new space writing the genesis credentials to the control feed.
|
|
@@ -2501,7 +2521,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2501
2521
|
spaceKey
|
|
2502
2522
|
}, {
|
|
2503
2523
|
file: "data-space-manager.ts",
|
|
2504
|
-
line:
|
|
2524
|
+
line: 125,
|
|
2505
2525
|
scope: this,
|
|
2506
2526
|
callSite: (f, a) => f(...a)
|
|
2507
2527
|
});
|
|
@@ -2521,7 +2541,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2521
2541
|
opts
|
|
2522
2542
|
}, {
|
|
2523
2543
|
file: "data-space-manager.ts",
|
|
2524
|
-
line:
|
|
2544
|
+
line: 144,
|
|
2525
2545
|
scope: this,
|
|
2526
2546
|
callSite: (f, a) => f(...a)
|
|
2527
2547
|
});
|
|
@@ -2555,7 +2575,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2555
2575
|
metadata
|
|
2556
2576
|
}, {
|
|
2557
2577
|
file: "data-space-manager.ts",
|
|
2558
|
-
line:
|
|
2578
|
+
line: 180,
|
|
2559
2579
|
scope: this,
|
|
2560
2580
|
callSite: (f, a) => f(...a)
|
|
2561
2581
|
});
|
|
@@ -2610,7 +2630,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2610
2630
|
space: space.key
|
|
2611
2631
|
}, {
|
|
2612
2632
|
file: "data-space-manager.ts",
|
|
2613
|
-
line:
|
|
2633
|
+
line: 229,
|
|
2614
2634
|
scope: this,
|
|
2615
2635
|
callSite: (f, a) => f(...a)
|
|
2616
2636
|
});
|
|
@@ -2622,7 +2642,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2622
2642
|
open: this._isOpen
|
|
2623
2643
|
}, {
|
|
2624
2644
|
file: "data-space-manager.ts",
|
|
2625
|
-
line:
|
|
2645
|
+
line: 236,
|
|
2626
2646
|
scope: this,
|
|
2627
2647
|
callSite: (f, a) => f(...a)
|
|
2628
2648
|
});
|
|
@@ -2847,6 +2867,8 @@ var toStorageType = (type) => {
|
|
|
2847
2867
|
return import_random_access_storage.StorageType.IDB;
|
|
2848
2868
|
case StorageDriver.NODE:
|
|
2849
2869
|
return import_random_access_storage.StorageType.NODE;
|
|
2870
|
+
case StorageDriver.WEBFS:
|
|
2871
|
+
return import_random_access_storage.StorageType.WEBFS;
|
|
2850
2872
|
default:
|
|
2851
2873
|
throw new Error(`Invalid storage type: ${StorageDriver[type]}`);
|
|
2852
2874
|
}
|
|
@@ -3611,7 +3633,7 @@ var import_feed_store4 = require("@dxos/feed-store");
|
|
|
3611
3633
|
var import_keyring = require("@dxos/keyring");
|
|
3612
3634
|
var import_keys9 = require("@dxos/keys");
|
|
3613
3635
|
var import_log15 = require("@dxos/log");
|
|
3614
|
-
var
|
|
3636
|
+
var import_protocols6 = require("@dxos/protocols");
|
|
3615
3637
|
var ServiceContext = class {
|
|
3616
3638
|
// prettier-ignore
|
|
3617
3639
|
constructor(storage, networkManager, modelFactory) {
|
|
@@ -3622,6 +3644,7 @@ var ServiceContext = class {
|
|
|
3622
3644
|
this.dataServiceSubscriptions = new import_echo_pipeline4.DataServiceSubscriptions();
|
|
3623
3645
|
this._handlerFactories = /* @__PURE__ */ new Map();
|
|
3624
3646
|
this._instanceId = import_keys9.PublicKey.random().toHex();
|
|
3647
|
+
networkManager._traceParent = this._instanceId;
|
|
3625
3648
|
this.metadataStore = new import_echo_pipeline4.MetadataStore(storage.createDirectory("metadata"));
|
|
3626
3649
|
this.snapshotStore = new import_echo_pipeline4.SnapshotStore(storage.createDirectory("snapshots"));
|
|
3627
3650
|
this.keyring = new import_keyring.Keyring(storage.createDirectory("keyring"));
|
|
@@ -3638,7 +3661,9 @@ var ServiceContext = class {
|
|
|
3638
3661
|
feedStore: this.feedStore,
|
|
3639
3662
|
networkManager: this.networkManager
|
|
3640
3663
|
});
|
|
3664
|
+
this.spaceManager._traceParent = this._instanceId;
|
|
3641
3665
|
this.identityManager = new IdentityManager(this.metadataStore, this.keyring, this.feedStore, this.spaceManager);
|
|
3666
|
+
this.identityManager._traceParent = this._instanceId;
|
|
3642
3667
|
this.invitations = new InvitationsHandler(this.networkManager);
|
|
3643
3668
|
this._handlerFactories.set(import_client7.Invitation.Kind.DEVICE, () => new DeviceInvitationProtocol(this.keyring, () => {
|
|
3644
3669
|
var _a;
|
|
@@ -3646,17 +3671,17 @@ var ServiceContext = class {
|
|
|
3646
3671
|
}, this._acceptIdentity.bind(this)));
|
|
3647
3672
|
}
|
|
3648
3673
|
async open() {
|
|
3649
|
-
import_log15.log.trace("dxos.sdk.
|
|
3674
|
+
import_log15.log.trace("dxos.sdk.service-context", import_protocols6.trace.begin({
|
|
3650
3675
|
id: this._instanceId
|
|
3651
3676
|
}), {
|
|
3652
3677
|
file: "service-context.ts",
|
|
3653
|
-
line:
|
|
3678
|
+
line: 114,
|
|
3654
3679
|
scope: this,
|
|
3655
3680
|
callSite: (f, a) => f(...a)
|
|
3656
3681
|
});
|
|
3657
3682
|
(0, import_log15.log)("opening...", {}, {
|
|
3658
3683
|
file: "service-context.ts",
|
|
3659
|
-
line:
|
|
3684
|
+
line: 116,
|
|
3660
3685
|
scope: this,
|
|
3661
3686
|
callSite: (f, a) => f(...a)
|
|
3662
3687
|
});
|
|
@@ -3668,7 +3693,7 @@ var ServiceContext = class {
|
|
|
3668
3693
|
}
|
|
3669
3694
|
(0, import_log15.log)("opened", {}, {
|
|
3670
3695
|
file: "service-context.ts",
|
|
3671
|
-
line:
|
|
3696
|
+
line: 123,
|
|
3672
3697
|
scope: this,
|
|
3673
3698
|
callSite: (f, a) => f(...a)
|
|
3674
3699
|
});
|
|
@@ -3677,7 +3702,7 @@ var ServiceContext = class {
|
|
|
3677
3702
|
var _a, _b;
|
|
3678
3703
|
(0, import_log15.log)("closing...", {}, {
|
|
3679
3704
|
file: "service-context.ts",
|
|
3680
|
-
line:
|
|
3705
|
+
line: 127,
|
|
3681
3706
|
scope: this,
|
|
3682
3707
|
callSite: (f, a) => f(...a)
|
|
3683
3708
|
});
|
|
@@ -3690,15 +3715,15 @@ var ServiceContext = class {
|
|
|
3690
3715
|
this.dataServiceSubscriptions.clear();
|
|
3691
3716
|
(0, import_log15.log)("closed", {}, {
|
|
3692
3717
|
file: "service-context.ts",
|
|
3693
|
-
line:
|
|
3718
|
+
line: 135,
|
|
3694
3719
|
scope: this,
|
|
3695
3720
|
callSite: (f, a) => f(...a)
|
|
3696
3721
|
});
|
|
3697
|
-
import_log15.log.trace("dxos.sdk.
|
|
3722
|
+
import_log15.log.trace("dxos.sdk.service-context", import_protocols6.trace.end({
|
|
3698
3723
|
id: this._instanceId
|
|
3699
3724
|
}), {
|
|
3700
3725
|
file: "service-context.ts",
|
|
3701
|
-
line:
|
|
3726
|
+
line: 137,
|
|
3702
3727
|
scope: this,
|
|
3703
3728
|
callSite: (f, a) => f(...a)
|
|
3704
3729
|
});
|
|
@@ -3706,7 +3731,7 @@ var ServiceContext = class {
|
|
|
3706
3731
|
async reset() {
|
|
3707
3732
|
(0, import_log15.log)("resetting...", {}, {
|
|
3708
3733
|
file: "service-context.ts",
|
|
3709
|
-
line:
|
|
3734
|
+
line: 141,
|
|
3710
3735
|
scope: this,
|
|
3711
3736
|
callSite: (f, a) => f(...a)
|
|
3712
3737
|
});
|
|
@@ -3714,7 +3739,7 @@ var ServiceContext = class {
|
|
|
3714
3739
|
await this.storage.reset();
|
|
3715
3740
|
(0, import_log15.log)("reset", {}, {
|
|
3716
3741
|
file: "service-context.ts",
|
|
3717
|
-
line:
|
|
3742
|
+
line: 144,
|
|
3718
3743
|
scope: this,
|
|
3719
3744
|
callSite: (f, a) => f(...a)
|
|
3720
3745
|
});
|
|
@@ -3739,7 +3764,7 @@ var ServiceContext = class {
|
|
|
3739
3764
|
var _a;
|
|
3740
3765
|
(0, import_log15.log)("initializing spaces...", {}, {
|
|
3741
3766
|
file: "service-context.ts",
|
|
3742
|
-
line:
|
|
3767
|
+
line: 169,
|
|
3743
3768
|
scope: this,
|
|
3744
3769
|
callSite: (f, a) => f(...a)
|
|
3745
3770
|
});
|
|
@@ -3758,6 +3783,7 @@ var ServiceContext = class {
|
|
|
3758
3783
|
}
|
|
3759
3784
|
};
|
|
3760
3785
|
this.dataSpaceManager = new DataSpaceManager(this.spaceManager, this.metadataStore, this.dataServiceSubscriptions, this.keyring, signingContext, this.modelFactory, this.feedStore, this.snapshotStore);
|
|
3786
|
+
this.dataSpaceManager._traceParent = this._instanceId;
|
|
3761
3787
|
await this.dataSpaceManager.open();
|
|
3762
3788
|
this._handlerFactories.set(import_client7.Invitation.Kind.SPACE, (invitation) => {
|
|
3763
3789
|
(0, import_node_assert12.default)(this.dataSpaceManager, "dataSpaceManager not initialized yet");
|
|
@@ -3778,7 +3804,7 @@ var ServiceContext = class {
|
|
|
3778
3804
|
details: assertion
|
|
3779
3805
|
}, {
|
|
3780
3806
|
file: "service-context.ts",
|
|
3781
|
-
line:
|
|
3807
|
+
line: 211,
|
|
3782
3808
|
scope: this,
|
|
3783
3809
|
callSite: (f, a) => f(...a)
|
|
3784
3810
|
});
|
|
@@ -3789,7 +3815,7 @@ var ServiceContext = class {
|
|
|
3789
3815
|
details: assertion
|
|
3790
3816
|
}, {
|
|
3791
3817
|
file: "service-context.ts",
|
|
3792
|
-
line:
|
|
3818
|
+
line: 215,
|
|
3793
3819
|
scope: this,
|
|
3794
3820
|
callSite: (f, a) => f(...a)
|
|
3795
3821
|
});
|
|
@@ -3800,7 +3826,7 @@ var ServiceContext = class {
|
|
|
3800
3826
|
details: assertion
|
|
3801
3827
|
}, {
|
|
3802
3828
|
file: "service-context.ts",
|
|
3803
|
-
line:
|
|
3829
|
+
line: 220,
|
|
3804
3830
|
scope: this,
|
|
3805
3831
|
callSite: (f, a) => f(...a)
|
|
3806
3832
|
});
|
|
@@ -3811,7 +3837,7 @@ var ServiceContext = class {
|
|
|
3811
3837
|
} catch (err) {
|
|
3812
3838
|
import_log15.log.catch(err, {}, {
|
|
3813
3839
|
file: "service-context.ts",
|
|
3814
|
-
line:
|
|
3840
|
+
line: 226,
|
|
3815
3841
|
scope: this,
|
|
3816
3842
|
callSite: (f, a) => f(...a)
|
|
3817
3843
|
});
|
|
@@ -3933,7 +3959,7 @@ var ClientServicesHost = class {
|
|
|
3933
3959
|
if (this._open) {
|
|
3934
3960
|
return;
|
|
3935
3961
|
}
|
|
3936
|
-
import_log16.log.trace("dxos.sdk.client-services-host",
|
|
3962
|
+
import_log16.log.trace("dxos.sdk.client-services-host", import_protocols7.trace.begin({
|
|
3937
3963
|
id: this._instanceId
|
|
3938
3964
|
}), {
|
|
3939
3965
|
file: "service-host.ts",
|
|
@@ -4016,7 +4042,7 @@ var ClientServicesHost = class {
|
|
|
4016
4042
|
scope: this,
|
|
4017
4043
|
callSite: (f, a) => f(...a)
|
|
4018
4044
|
});
|
|
4019
|
-
import_log16.log.trace("dxos.sdk.client-services-host",
|
|
4045
|
+
import_log16.log.trace("dxos.sdk.client-services-host", import_protocols7.trace.end({
|
|
4020
4046
|
id: this._instanceId
|
|
4021
4047
|
}), {
|
|
4022
4048
|
file: "service-host.ts",
|