@dxos/client-services 0.1.52 → 0.1.53-main.3ecc504
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-C3SPTMW3.mjs → chunk-5JZKP3BY.mjs} +28 -12
- package/dist/lib/browser/{chunk-C3SPTMW3.mjs.map → chunk-5JZKP3BY.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/index.cjs +31 -15
- 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 +26 -10
- package/dist/lib/node/packlets/testing/index.cjs.map +3 -3
- package/dist/types/src/packlets/services/service-host.d.ts.map +1 -1
- package/package.json +32 -32
- package/src/packlets/services/service-host.ts +3 -1
|
@@ -3687,6 +3687,16 @@ var ServiceRegistry = class {
|
|
|
3687
3687
|
};
|
|
3688
3688
|
|
|
3689
3689
|
// packages/sdk/client-services/src/packlets/services/service-host.ts
|
|
3690
|
+
var __decorate4 = function(decorators, target, key, desc) {
|
|
3691
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3692
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
3693
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
3694
|
+
else
|
|
3695
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
3696
|
+
if (d = decorators[i])
|
|
3697
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3698
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3699
|
+
};
|
|
3690
3700
|
var ClientServicesHost = class {
|
|
3691
3701
|
constructor({
|
|
3692
3702
|
config,
|
|
@@ -3791,7 +3801,7 @@ var ClientServicesHost = class {
|
|
|
3791
3801
|
id: traceId
|
|
3792
3802
|
}), {
|
|
3793
3803
|
file: "service-host.ts",
|
|
3794
|
-
line:
|
|
3804
|
+
line: 188,
|
|
3795
3805
|
scope: this,
|
|
3796
3806
|
callSite: (f, a) => f(...a)
|
|
3797
3807
|
});
|
|
@@ -3804,7 +3814,7 @@ var ClientServicesHost = class {
|
|
|
3804
3814
|
lockKey: (_a = this._resourceLock) == null ? void 0 : _a.lockKey
|
|
3805
3815
|
}, {
|
|
3806
3816
|
file: "service-host.ts",
|
|
3807
|
-
line:
|
|
3817
|
+
line: 196,
|
|
3808
3818
|
scope: this,
|
|
3809
3819
|
callSite: (f, a) => f(...a)
|
|
3810
3820
|
});
|
|
@@ -3839,7 +3849,7 @@ var ClientServicesHost = class {
|
|
|
3839
3849
|
deviceKey
|
|
3840
3850
|
}, {
|
|
3841
3851
|
file: "service-host.ts",
|
|
3842
|
-
line:
|
|
3852
|
+
line: 251,
|
|
3843
3853
|
scope: this,
|
|
3844
3854
|
callSite: (f, a) => f(...a)
|
|
3845
3855
|
});
|
|
@@ -3847,7 +3857,7 @@ var ClientServicesHost = class {
|
|
|
3847
3857
|
id: traceId
|
|
3848
3858
|
}), {
|
|
3849
3859
|
file: "service-host.ts",
|
|
3850
|
-
line:
|
|
3860
|
+
line: 252,
|
|
3851
3861
|
scope: this,
|
|
3852
3862
|
callSite: (f, a) => f(...a)
|
|
3853
3863
|
});
|
|
@@ -3862,7 +3872,7 @@ var ClientServicesHost = class {
|
|
|
3862
3872
|
deviceKey
|
|
3863
3873
|
}, {
|
|
3864
3874
|
file: "service-host.ts",
|
|
3865
|
-
line:
|
|
3875
|
+
line: 262,
|
|
3866
3876
|
scope: this,
|
|
3867
3877
|
callSite: (f, a) => f(...a)
|
|
3868
3878
|
});
|
|
@@ -3877,7 +3887,7 @@ var ClientServicesHost = class {
|
|
|
3877
3887
|
deviceKey
|
|
3878
3888
|
}, {
|
|
3879
3889
|
file: "service-host.ts",
|
|
3880
|
-
line:
|
|
3890
|
+
line: 268,
|
|
3881
3891
|
scope: this,
|
|
3882
3892
|
callSite: (f, a) => f(...a)
|
|
3883
3893
|
});
|
|
@@ -3889,13 +3899,13 @@ var ClientServicesHost = class {
|
|
|
3889
3899
|
id: traceId
|
|
3890
3900
|
}), {
|
|
3891
3901
|
file: "service-host.ts",
|
|
3892
|
-
line:
|
|
3902
|
+
line: 273,
|
|
3893
3903
|
scope: this,
|
|
3894
3904
|
callSite: (f, a) => f(...a)
|
|
3895
3905
|
});
|
|
3896
3906
|
(0, import_log15.log)("resetting...", {}, {
|
|
3897
3907
|
file: "service-host.ts",
|
|
3898
|
-
line:
|
|
3908
|
+
line: 275,
|
|
3899
3909
|
scope: this,
|
|
3900
3910
|
callSite: (f, a) => f(...a)
|
|
3901
3911
|
});
|
|
@@ -3903,7 +3913,7 @@ var ClientServicesHost = class {
|
|
|
3903
3913
|
await this._storage.reset();
|
|
3904
3914
|
(0, import_log15.log)("reset", {}, {
|
|
3905
3915
|
file: "service-host.ts",
|
|
3906
|
-
line:
|
|
3916
|
+
line: 278,
|
|
3907
3917
|
scope: this,
|
|
3908
3918
|
callSite: (f, a) => f(...a)
|
|
3909
3919
|
});
|
|
@@ -3911,12 +3921,18 @@ var ClientServicesHost = class {
|
|
|
3911
3921
|
id: traceId
|
|
3912
3922
|
}), {
|
|
3913
3923
|
file: "service-host.ts",
|
|
3914
|
-
line:
|
|
3924
|
+
line: 279,
|
|
3915
3925
|
scope: this,
|
|
3916
3926
|
callSite: (f, a) => f(...a)
|
|
3917
3927
|
});
|
|
3918
3928
|
}
|
|
3919
3929
|
};
|
|
3930
|
+
__decorate4([
|
|
3931
|
+
import_async17.synchronized
|
|
3932
|
+
], ClientServicesHost.prototype, "open", null);
|
|
3933
|
+
__decorate4([
|
|
3934
|
+
import_async17.synchronized
|
|
3935
|
+
], ClientServicesHost.prototype, "close", null);
|
|
3920
3936
|
|
|
3921
3937
|
// packages/sdk/client-services/src/packlets/testing/invitation-utils.ts
|
|
3922
3938
|
var sanitizeInvitation = (invitation) => {
|