@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
|
@@ -586,10 +586,11 @@ var IdentityManager = class {
|
|
|
586
586
|
async open() {
|
|
587
587
|
var _a;
|
|
588
588
|
log3.trace("dxos.halo.identity-manager", trace.begin({
|
|
589
|
-
id: this._instanceId
|
|
589
|
+
id: this._instanceId,
|
|
590
|
+
parentId: this._traceParent
|
|
590
591
|
}), {
|
|
591
592
|
file: "identity-manager.ts",
|
|
592
|
-
line:
|
|
593
|
+
line: 72,
|
|
593
594
|
scope: this,
|
|
594
595
|
callSite: (f, a) => f(...a)
|
|
595
596
|
});
|
|
@@ -599,7 +600,7 @@ var IdentityManager = class {
|
|
|
599
600
|
identityRecord
|
|
600
601
|
}, {
|
|
601
602
|
file: "identity-manager.ts",
|
|
602
|
-
line:
|
|
603
|
+
line: 76,
|
|
603
604
|
scope: this,
|
|
604
605
|
callSite: (f, a) => f(...a)
|
|
605
606
|
});
|
|
@@ -612,7 +613,7 @@ var IdentityManager = class {
|
|
|
612
613
|
displayName: (_a = this._identity.profileDocument) == null ? void 0 : _a.displayName
|
|
613
614
|
}, {
|
|
614
615
|
file: "identity-manager.ts",
|
|
615
|
-
line:
|
|
616
|
+
line: 81,
|
|
616
617
|
scope: this,
|
|
617
618
|
callSite: (f, a) => f(...a)
|
|
618
619
|
});
|
|
@@ -626,7 +627,7 @@ var IdentityManager = class {
|
|
|
626
627
|
id: this._instanceId
|
|
627
628
|
}), {
|
|
628
629
|
file: "identity-manager.ts",
|
|
629
|
-
line:
|
|
630
|
+
line: 91,
|
|
630
631
|
scope: this,
|
|
631
632
|
callSite: (f, a) => f(...a)
|
|
632
633
|
});
|
|
@@ -636,7 +637,7 @@ var IdentityManager = class {
|
|
|
636
637
|
assert2(!this._identity, "Identity already exists.");
|
|
637
638
|
log3("creating identity...", {}, {
|
|
638
639
|
file: "identity-manager.ts",
|
|
639
|
-
line:
|
|
640
|
+
line: 96,
|
|
640
641
|
scope: this,
|
|
641
642
|
callSite: (f, a) => f(...a)
|
|
642
643
|
});
|
|
@@ -685,7 +686,7 @@ var IdentityManager = class {
|
|
|
685
686
|
displayName: (_a = this._identity.profileDocument) == null ? void 0 : _a.displayName
|
|
686
687
|
}, {
|
|
687
688
|
file: "identity-manager.ts",
|
|
688
|
-
line:
|
|
689
|
+
line: 151,
|
|
689
690
|
scope: this,
|
|
690
691
|
callSite: (f, a) => f(...a)
|
|
691
692
|
});
|
|
@@ -695,7 +696,7 @@ var IdentityManager = class {
|
|
|
695
696
|
deviceKey: identity.deviceKey
|
|
696
697
|
}, {
|
|
697
698
|
file: "identity-manager.ts",
|
|
698
|
-
line:
|
|
699
|
+
line: 157,
|
|
699
700
|
scope: this,
|
|
700
701
|
callSite: (f, a) => f(...a)
|
|
701
702
|
});
|
|
@@ -710,7 +711,7 @@ var IdentityManager = class {
|
|
|
710
711
|
params
|
|
711
712
|
}, {
|
|
712
713
|
file: "identity-manager.ts",
|
|
713
|
-
line:
|
|
714
|
+
line: 165,
|
|
714
715
|
scope: this,
|
|
715
716
|
callSite: (f, a) => f(...a)
|
|
716
717
|
});
|
|
@@ -736,7 +737,7 @@ var IdentityManager = class {
|
|
|
736
737
|
displayName: (_a = this._identity.profileDocument) == null ? void 0 : _a.displayName
|
|
737
738
|
}, {
|
|
738
739
|
file: "identity-manager.ts",
|
|
739
|
-
line:
|
|
740
|
+
line: 185,
|
|
740
741
|
scope: this,
|
|
741
742
|
callSite: (f, a) => f(...a)
|
|
742
743
|
});
|
|
@@ -746,7 +747,7 @@ var IdentityManager = class {
|
|
|
746
747
|
deviceKey: identity.deviceKey
|
|
747
748
|
}, {
|
|
748
749
|
file: "identity-manager.ts",
|
|
749
|
-
line:
|
|
750
|
+
line: 191,
|
|
750
751
|
scope: this,
|
|
751
752
|
callSite: (f, a) => f(...a)
|
|
752
753
|
});
|
|
@@ -758,7 +759,7 @@ var IdentityManager = class {
|
|
|
758
759
|
identityRecord
|
|
759
760
|
}, {
|
|
760
761
|
file: "identity-manager.ts",
|
|
761
|
-
line:
|
|
762
|
+
line: 197,
|
|
762
763
|
scope: this,
|
|
763
764
|
callSite: (f, a) => f(...a)
|
|
764
765
|
});
|
|
@@ -791,7 +792,7 @@ var IdentityManager = class {
|
|
|
791
792
|
identityKey: identityRecord.identityKey
|
|
792
793
|
}, {
|
|
793
794
|
file: "identity-manager.ts",
|
|
794
|
-
line:
|
|
795
|
+
line: 225,
|
|
795
796
|
scope: this,
|
|
796
797
|
callSite: (f, a) => f(...a)
|
|
797
798
|
});
|
|
@@ -1813,6 +1814,8 @@ var toStorageType = (type) => {
|
|
|
1813
1814
|
return StorageType.IDB;
|
|
1814
1815
|
case StorageDriver.NODE:
|
|
1815
1816
|
return StorageType.NODE;
|
|
1817
|
+
case StorageDriver.WEBFS:
|
|
1818
|
+
return StorageType.WEBFS;
|
|
1816
1819
|
default:
|
|
1817
1820
|
throw new Error(`Invalid storage type: ${StorageDriver[type]}`);
|
|
1818
1821
|
}
|
|
@@ -1920,7 +1923,7 @@ import { Event as Event7 } from "@dxos/async";
|
|
|
1920
1923
|
import { clientServiceBundle, createDefaultModelFactory, PublicKey as PublicKey9 } from "@dxos/client";
|
|
1921
1924
|
import { DataServiceImpl } from "@dxos/echo-pipeline";
|
|
1922
1925
|
import { log as log15 } from "@dxos/log";
|
|
1923
|
-
import { trace as
|
|
1926
|
+
import { trace as trace4 } from "@dxos/protocols";
|
|
1924
1927
|
import { SystemStatus } from "@dxos/protocols/proto/dxos/client/services";
|
|
1925
1928
|
|
|
1926
1929
|
// packages/sdk/client-services/src/packlets/deprecated/tracing.ts
|
|
@@ -2014,6 +2017,7 @@ import { getCredentialAssertion as getCredentialAssertion2 } from "@dxos/credent
|
|
|
2014
2017
|
import { SnapshotManager, spaceGenesis } from "@dxos/echo-pipeline";
|
|
2015
2018
|
import { PublicKey as PublicKey7 } from "@dxos/keys";
|
|
2016
2019
|
import { log as log9 } from "@dxos/log";
|
|
2020
|
+
import { trace as trace2 } from "@dxos/protocols";
|
|
2017
2021
|
import { Gossip, Presence } from "@dxos/teleport-extension-gossip";
|
|
2018
2022
|
import { ComplexMap as ComplexMap3, deferFunction as deferFunction2 } from "@dxos/util";
|
|
2019
2023
|
|
|
@@ -2510,6 +2514,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2510
2514
|
this.updated = new Event6();
|
|
2511
2515
|
this._spaces = new ComplexMap3(PublicKey7.hash);
|
|
2512
2516
|
this._isOpen = false;
|
|
2517
|
+
this._instanceId = PublicKey7.random().toHex();
|
|
2513
2518
|
}
|
|
2514
2519
|
// TODO(burdon): Remove.
|
|
2515
2520
|
get spaces() {
|
|
@@ -2518,7 +2523,16 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2518
2523
|
async open() {
|
|
2519
2524
|
log9("open", {}, {
|
|
2520
2525
|
file: "data-space-manager.ts",
|
|
2521
|
-
line:
|
|
2526
|
+
line: 83,
|
|
2527
|
+
scope: this,
|
|
2528
|
+
callSite: (f, a) => f(...a)
|
|
2529
|
+
});
|
|
2530
|
+
log9.trace("dxos.echo.data-space-manager", trace2.begin({
|
|
2531
|
+
id: this._instanceId,
|
|
2532
|
+
parentId: this._traceParent
|
|
2533
|
+
}), {
|
|
2534
|
+
file: "data-space-manager.ts",
|
|
2535
|
+
line: 84,
|
|
2522
2536
|
scope: this,
|
|
2523
2537
|
callSite: (f, a) => f(...a)
|
|
2524
2538
|
});
|
|
@@ -2527,7 +2541,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2527
2541
|
spaces: this._metadataStore.spaces.length
|
|
2528
2542
|
}, {
|
|
2529
2543
|
file: "data-space-manager.ts",
|
|
2530
|
-
line:
|
|
2544
|
+
line: 86,
|
|
2531
2545
|
scope: this,
|
|
2532
2546
|
callSite: (f, a) => f(...a)
|
|
2533
2547
|
});
|
|
@@ -2536,7 +2550,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2536
2550
|
spaceMetadata
|
|
2537
2551
|
}, {
|
|
2538
2552
|
file: "data-space-manager.ts",
|
|
2539
|
-
line:
|
|
2553
|
+
line: 89,
|
|
2540
2554
|
scope: this,
|
|
2541
2555
|
callSite: (f, a) => f(...a)
|
|
2542
2556
|
});
|
|
@@ -2549,7 +2563,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2549
2563
|
async close() {
|
|
2550
2564
|
log9("close", {}, {
|
|
2551
2565
|
file: "data-space-manager.ts",
|
|
2552
|
-
line:
|
|
2566
|
+
line: 100,
|
|
2553
2567
|
scope: this,
|
|
2554
2568
|
callSite: (f, a) => f(...a)
|
|
2555
2569
|
});
|
|
@@ -2558,6 +2572,14 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2558
2572
|
for (const space of this._spaces.values()) {
|
|
2559
2573
|
await space.close();
|
|
2560
2574
|
}
|
|
2575
|
+
log9.trace("dxos.echo.data-space-manager", trace2.end({
|
|
2576
|
+
id: this._instanceId
|
|
2577
|
+
}), {
|
|
2578
|
+
file: "data-space-manager.ts",
|
|
2579
|
+
line: 106,
|
|
2580
|
+
scope: this,
|
|
2581
|
+
callSite: (f, a) => f(...a)
|
|
2582
|
+
});
|
|
2561
2583
|
}
|
|
2562
2584
|
/**
|
|
2563
2585
|
* Creates a new space writing the genesis credentials to the control feed.
|
|
@@ -2577,7 +2599,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2577
2599
|
spaceKey
|
|
2578
2600
|
}, {
|
|
2579
2601
|
file: "data-space-manager.ts",
|
|
2580
|
-
line:
|
|
2602
|
+
line: 125,
|
|
2581
2603
|
scope: this,
|
|
2582
2604
|
callSite: (f, a) => f(...a)
|
|
2583
2605
|
});
|
|
@@ -2597,7 +2619,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2597
2619
|
opts
|
|
2598
2620
|
}, {
|
|
2599
2621
|
file: "data-space-manager.ts",
|
|
2600
|
-
line:
|
|
2622
|
+
line: 144,
|
|
2601
2623
|
scope: this,
|
|
2602
2624
|
callSite: (f, a) => f(...a)
|
|
2603
2625
|
});
|
|
@@ -2631,7 +2653,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2631
2653
|
metadata
|
|
2632
2654
|
}, {
|
|
2633
2655
|
file: "data-space-manager.ts",
|
|
2634
|
-
line:
|
|
2656
|
+
line: 180,
|
|
2635
2657
|
scope: this,
|
|
2636
2658
|
callSite: (f, a) => f(...a)
|
|
2637
2659
|
});
|
|
@@ -2686,7 +2708,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2686
2708
|
space: space.key
|
|
2687
2709
|
}, {
|
|
2688
2710
|
file: "data-space-manager.ts",
|
|
2689
|
-
line:
|
|
2711
|
+
line: 229,
|
|
2690
2712
|
scope: this,
|
|
2691
2713
|
callSite: (f, a) => f(...a)
|
|
2692
2714
|
});
|
|
@@ -2698,7 +2720,7 @@ var DataSpaceManager = class DataSpaceManager2 {
|
|
|
2698
2720
|
open: this._isOpen
|
|
2699
2721
|
}, {
|
|
2700
2722
|
file: "data-space-manager.ts",
|
|
2701
|
-
line:
|
|
2723
|
+
line: 236,
|
|
2702
2724
|
scope: this,
|
|
2703
2725
|
callSite: (f, a) => f(...a)
|
|
2704
2726
|
});
|
|
@@ -3427,7 +3449,7 @@ import { FeedFactory, FeedStore } from "@dxos/feed-store";
|
|
|
3427
3449
|
import { Keyring } from "@dxos/keyring";
|
|
3428
3450
|
import { PublicKey as PublicKey8 } from "@dxos/keys";
|
|
3429
3451
|
import { log as log14 } from "@dxos/log";
|
|
3430
|
-
import { trace as
|
|
3452
|
+
import { trace as trace3 } from "@dxos/protocols";
|
|
3431
3453
|
var ServiceContext = class {
|
|
3432
3454
|
// prettier-ignore
|
|
3433
3455
|
constructor(storage, networkManager, modelFactory) {
|
|
@@ -3438,6 +3460,7 @@ var ServiceContext = class {
|
|
|
3438
3460
|
this.dataServiceSubscriptions = new DataServiceSubscriptions();
|
|
3439
3461
|
this._handlerFactories = /* @__PURE__ */ new Map();
|
|
3440
3462
|
this._instanceId = PublicKey8.random().toHex();
|
|
3463
|
+
networkManager._traceParent = this._instanceId;
|
|
3441
3464
|
this.metadataStore = new MetadataStore(storage.createDirectory("metadata"));
|
|
3442
3465
|
this.snapshotStore = new SnapshotStore(storage.createDirectory("snapshots"));
|
|
3443
3466
|
this.keyring = new Keyring(storage.createDirectory("keyring"));
|
|
@@ -3454,7 +3477,9 @@ var ServiceContext = class {
|
|
|
3454
3477
|
feedStore: this.feedStore,
|
|
3455
3478
|
networkManager: this.networkManager
|
|
3456
3479
|
});
|
|
3480
|
+
this.spaceManager._traceParent = this._instanceId;
|
|
3457
3481
|
this.identityManager = new IdentityManager(this.metadataStore, this.keyring, this.feedStore, this.spaceManager);
|
|
3482
|
+
this.identityManager._traceParent = this._instanceId;
|
|
3458
3483
|
this.invitations = new InvitationsHandler(this.networkManager);
|
|
3459
3484
|
this._handlerFactories.set(Invitation5.Kind.DEVICE, () => new DeviceInvitationProtocol(this.keyring, () => {
|
|
3460
3485
|
var _a;
|
|
@@ -3462,17 +3487,17 @@ var ServiceContext = class {
|
|
|
3462
3487
|
}, this._acceptIdentity.bind(this)));
|
|
3463
3488
|
}
|
|
3464
3489
|
async open() {
|
|
3465
|
-
log14.trace("dxos.sdk.
|
|
3490
|
+
log14.trace("dxos.sdk.service-context", trace3.begin({
|
|
3466
3491
|
id: this._instanceId
|
|
3467
3492
|
}), {
|
|
3468
3493
|
file: "service-context.ts",
|
|
3469
|
-
line:
|
|
3494
|
+
line: 114,
|
|
3470
3495
|
scope: this,
|
|
3471
3496
|
callSite: (f, a) => f(...a)
|
|
3472
3497
|
});
|
|
3473
3498
|
log14("opening...", {}, {
|
|
3474
3499
|
file: "service-context.ts",
|
|
3475
|
-
line:
|
|
3500
|
+
line: 116,
|
|
3476
3501
|
scope: this,
|
|
3477
3502
|
callSite: (f, a) => f(...a)
|
|
3478
3503
|
});
|
|
@@ -3484,7 +3509,7 @@ var ServiceContext = class {
|
|
|
3484
3509
|
}
|
|
3485
3510
|
log14("opened", {}, {
|
|
3486
3511
|
file: "service-context.ts",
|
|
3487
|
-
line:
|
|
3512
|
+
line: 123,
|
|
3488
3513
|
scope: this,
|
|
3489
3514
|
callSite: (f, a) => f(...a)
|
|
3490
3515
|
});
|
|
@@ -3493,7 +3518,7 @@ var ServiceContext = class {
|
|
|
3493
3518
|
var _a, _b;
|
|
3494
3519
|
log14("closing...", {}, {
|
|
3495
3520
|
file: "service-context.ts",
|
|
3496
|
-
line:
|
|
3521
|
+
line: 127,
|
|
3497
3522
|
scope: this,
|
|
3498
3523
|
callSite: (f, a) => f(...a)
|
|
3499
3524
|
});
|
|
@@ -3506,15 +3531,15 @@ var ServiceContext = class {
|
|
|
3506
3531
|
this.dataServiceSubscriptions.clear();
|
|
3507
3532
|
log14("closed", {}, {
|
|
3508
3533
|
file: "service-context.ts",
|
|
3509
|
-
line:
|
|
3534
|
+
line: 135,
|
|
3510
3535
|
scope: this,
|
|
3511
3536
|
callSite: (f, a) => f(...a)
|
|
3512
3537
|
});
|
|
3513
|
-
log14.trace("dxos.sdk.
|
|
3538
|
+
log14.trace("dxos.sdk.service-context", trace3.end({
|
|
3514
3539
|
id: this._instanceId
|
|
3515
3540
|
}), {
|
|
3516
3541
|
file: "service-context.ts",
|
|
3517
|
-
line:
|
|
3542
|
+
line: 137,
|
|
3518
3543
|
scope: this,
|
|
3519
3544
|
callSite: (f, a) => f(...a)
|
|
3520
3545
|
});
|
|
@@ -3522,7 +3547,7 @@ var ServiceContext = class {
|
|
|
3522
3547
|
async reset() {
|
|
3523
3548
|
log14("resetting...", {}, {
|
|
3524
3549
|
file: "service-context.ts",
|
|
3525
|
-
line:
|
|
3550
|
+
line: 141,
|
|
3526
3551
|
scope: this,
|
|
3527
3552
|
callSite: (f, a) => f(...a)
|
|
3528
3553
|
});
|
|
@@ -3530,7 +3555,7 @@ var ServiceContext = class {
|
|
|
3530
3555
|
await this.storage.reset();
|
|
3531
3556
|
log14("reset", {}, {
|
|
3532
3557
|
file: "service-context.ts",
|
|
3533
|
-
line:
|
|
3558
|
+
line: 144,
|
|
3534
3559
|
scope: this,
|
|
3535
3560
|
callSite: (f, a) => f(...a)
|
|
3536
3561
|
});
|
|
@@ -3555,7 +3580,7 @@ var ServiceContext = class {
|
|
|
3555
3580
|
var _a;
|
|
3556
3581
|
log14("initializing spaces...", {}, {
|
|
3557
3582
|
file: "service-context.ts",
|
|
3558
|
-
line:
|
|
3583
|
+
line: 169,
|
|
3559
3584
|
scope: this,
|
|
3560
3585
|
callSite: (f, a) => f(...a)
|
|
3561
3586
|
});
|
|
@@ -3574,6 +3599,7 @@ var ServiceContext = class {
|
|
|
3574
3599
|
}
|
|
3575
3600
|
};
|
|
3576
3601
|
this.dataSpaceManager = new DataSpaceManager(this.spaceManager, this.metadataStore, this.dataServiceSubscriptions, this.keyring, signingContext, this.modelFactory, this.feedStore, this.snapshotStore);
|
|
3602
|
+
this.dataSpaceManager._traceParent = this._instanceId;
|
|
3577
3603
|
await this.dataSpaceManager.open();
|
|
3578
3604
|
this._handlerFactories.set(Invitation5.Kind.SPACE, (invitation) => {
|
|
3579
3605
|
assert12(this.dataSpaceManager, "dataSpaceManager not initialized yet");
|
|
@@ -3594,7 +3620,7 @@ var ServiceContext = class {
|
|
|
3594
3620
|
details: assertion
|
|
3595
3621
|
}, {
|
|
3596
3622
|
file: "service-context.ts",
|
|
3597
|
-
line:
|
|
3623
|
+
line: 211,
|
|
3598
3624
|
scope: this,
|
|
3599
3625
|
callSite: (f, a) => f(...a)
|
|
3600
3626
|
});
|
|
@@ -3605,7 +3631,7 @@ var ServiceContext = class {
|
|
|
3605
3631
|
details: assertion
|
|
3606
3632
|
}, {
|
|
3607
3633
|
file: "service-context.ts",
|
|
3608
|
-
line:
|
|
3634
|
+
line: 215,
|
|
3609
3635
|
scope: this,
|
|
3610
3636
|
callSite: (f, a) => f(...a)
|
|
3611
3637
|
});
|
|
@@ -3616,7 +3642,7 @@ var ServiceContext = class {
|
|
|
3616
3642
|
details: assertion
|
|
3617
3643
|
}, {
|
|
3618
3644
|
file: "service-context.ts",
|
|
3619
|
-
line:
|
|
3645
|
+
line: 220,
|
|
3620
3646
|
scope: this,
|
|
3621
3647
|
callSite: (f, a) => f(...a)
|
|
3622
3648
|
});
|
|
@@ -3627,7 +3653,7 @@ var ServiceContext = class {
|
|
|
3627
3653
|
} catch (err) {
|
|
3628
3654
|
log14.catch(err, {}, {
|
|
3629
3655
|
file: "service-context.ts",
|
|
3630
|
-
line:
|
|
3656
|
+
line: 226,
|
|
3631
3657
|
scope: this,
|
|
3632
3658
|
callSite: (f, a) => f(...a)
|
|
3633
3659
|
});
|
|
@@ -3749,7 +3775,7 @@ var ClientServicesHost = class {
|
|
|
3749
3775
|
if (this._open) {
|
|
3750
3776
|
return;
|
|
3751
3777
|
}
|
|
3752
|
-
log15.trace("dxos.sdk.client-services-host",
|
|
3778
|
+
log15.trace("dxos.sdk.client-services-host", trace4.begin({
|
|
3753
3779
|
id: this._instanceId
|
|
3754
3780
|
}), {
|
|
3755
3781
|
file: "service-host.ts",
|
|
@@ -3832,7 +3858,7 @@ var ClientServicesHost = class {
|
|
|
3832
3858
|
scope: this,
|
|
3833
3859
|
callSite: (f, a) => f(...a)
|
|
3834
3860
|
});
|
|
3835
|
-
log15.trace("dxos.sdk.client-services-host",
|
|
3861
|
+
log15.trace("dxos.sdk.client-services-host", trace4.end({
|
|
3836
3862
|
id: this._instanceId
|
|
3837
3863
|
}), {
|
|
3838
3864
|
file: "service-host.ts",
|
|
@@ -4057,4 +4083,4 @@ export {
|
|
|
4057
4083
|
LocalClientServices,
|
|
4058
4084
|
fromHost
|
|
4059
4085
|
};
|
|
4060
|
-
//# sourceMappingURL=chunk-
|
|
4086
|
+
//# sourceMappingURL=chunk-2AYYVPWN.mjs.map
|