@dxos/client-services 0.1.57-main.b6e249b → 0.1.57-main.bd49428
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-EFVDSSFT.mjs → chunk-T7KXX2F2.mjs} +21 -33
- package/dist/lib/browser/{chunk-EFVDSSFT.mjs.map → chunk-T7KXX2F2.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 +20 -32
- 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 +20 -32
- package/dist/lib/node/packlets/testing/index.cjs.map +3 -3
- package/dist/types/src/packlets/services/service-host.d.ts +0 -1
- package/dist/types/src/packlets/services/service-host.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +34 -35
- package/src/packlets/services/service-host.ts +0 -16
- package/src/version.ts +1 -1
|
@@ -2463,7 +2463,7 @@ import { STORAGE_VERSION } from "@dxos/protocols";
|
|
|
2463
2463
|
import { SpaceMember } from "@dxos/protocols/proto/dxos/client/services";
|
|
2464
2464
|
|
|
2465
2465
|
// packages/sdk/client-services/src/version.ts
|
|
2466
|
-
var DXOS_VERSION = "0.1.57-main.
|
|
2466
|
+
var DXOS_VERSION = "0.1.57-main.bd49428";
|
|
2467
2467
|
|
|
2468
2468
|
// packages/sdk/client-services/src/packlets/services/platform.ts
|
|
2469
2469
|
var getPlatform = () => {
|
|
@@ -4247,7 +4247,6 @@ import { trace as trace7 } from "@dxos/protocols";
|
|
|
4247
4247
|
import { SystemStatus } from "@dxos/protocols/proto/dxos/client/services";
|
|
4248
4248
|
import { TextModel } from "@dxos/text-model";
|
|
4249
4249
|
import { TRACE_PROCESSOR, trace as Trace3 } from "@dxos/tracing";
|
|
4250
|
-
import { WebsocketRpcClient } from "@dxos/websocket-rpc";
|
|
4251
4250
|
|
|
4252
4251
|
// packages/sdk/client-services/src/packlets/devices/devices-service.ts
|
|
4253
4252
|
import { EventSubscriptions as EventSubscriptions3 } from "@dxos/async";
|
|
@@ -4596,7 +4595,7 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4596
4595
|
initialize({ config, ...options }) {
|
|
4597
4596
|
invariant13(!this._open, "service host is open", {
|
|
4598
4597
|
F: __dxlog_file17,
|
|
4599
|
-
L:
|
|
4598
|
+
L: 181,
|
|
4600
4599
|
S: this,
|
|
4601
4600
|
A: [
|
|
4602
4601
|
"!this._open",
|
|
@@ -4605,14 +4604,14 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4605
4604
|
});
|
|
4606
4605
|
log16("initializing...", void 0, {
|
|
4607
4606
|
F: __dxlog_file17,
|
|
4608
|
-
L:
|
|
4607
|
+
L: 182,
|
|
4609
4608
|
S: this,
|
|
4610
4609
|
C: (f, a) => f(...a)
|
|
4611
4610
|
});
|
|
4612
4611
|
if (config) {
|
|
4613
4612
|
invariant13(!this._config, "config already set", {
|
|
4614
4613
|
F: __dxlog_file17,
|
|
4615
|
-
L:
|
|
4614
|
+
L: 185,
|
|
4616
4615
|
S: this,
|
|
4617
4616
|
A: [
|
|
4618
4617
|
"!this._config",
|
|
@@ -4630,7 +4629,7 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4630
4629
|
this._signalManager = signalManager;
|
|
4631
4630
|
invariant13(!this._networkManager, "network manager already set", {
|
|
4632
4631
|
F: __dxlog_file17,
|
|
4633
|
-
L:
|
|
4632
|
+
L: 201,
|
|
4634
4633
|
S: this,
|
|
4635
4634
|
A: [
|
|
4636
4635
|
"!this._networkManager",
|
|
@@ -4644,7 +4643,7 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4644
4643
|
});
|
|
4645
4644
|
log16("initialized", void 0, {
|
|
4646
4645
|
F: __dxlog_file17,
|
|
4647
|
-
L:
|
|
4646
|
+
L: 208,
|
|
4648
4647
|
S: this,
|
|
4649
4648
|
C: (f, a) => f(...a)
|
|
4650
4649
|
});
|
|
@@ -4658,13 +4657,13 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4658
4657
|
id: traceId
|
|
4659
4658
|
}), {
|
|
4660
4659
|
F: __dxlog_file17,
|
|
4661
|
-
L:
|
|
4660
|
+
L: 219,
|
|
4662
4661
|
S: this,
|
|
4663
4662
|
C: (f, a) => f(...a)
|
|
4664
4663
|
});
|
|
4665
4664
|
invariant13(this._config, "config not set", {
|
|
4666
4665
|
F: __dxlog_file17,
|
|
4667
|
-
L:
|
|
4666
|
+
L: 221,
|
|
4668
4667
|
S: this,
|
|
4669
4668
|
A: [
|
|
4670
4669
|
"this._config",
|
|
@@ -4673,7 +4672,7 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4673
4672
|
});
|
|
4674
4673
|
invariant13(this._storage, "storage not set", {
|
|
4675
4674
|
F: __dxlog_file17,
|
|
4676
|
-
L:
|
|
4675
|
+
L: 222,
|
|
4677
4676
|
S: this,
|
|
4678
4677
|
A: [
|
|
4679
4678
|
"this._storage",
|
|
@@ -4682,7 +4681,7 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4682
4681
|
});
|
|
4683
4682
|
invariant13(this._signalManager, "signal manager not set", {
|
|
4684
4683
|
F: __dxlog_file17,
|
|
4685
|
-
L:
|
|
4684
|
+
L: 223,
|
|
4686
4685
|
S: this,
|
|
4687
4686
|
A: [
|
|
4688
4687
|
"this._signalManager",
|
|
@@ -4691,7 +4690,7 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4691
4690
|
});
|
|
4692
4691
|
invariant13(this._networkManager, "network manager not set", {
|
|
4693
4692
|
F: __dxlog_file17,
|
|
4694
|
-
L:
|
|
4693
|
+
L: 224,
|
|
4695
4694
|
S: this,
|
|
4696
4695
|
A: [
|
|
4697
4696
|
"this._networkManager",
|
|
@@ -4703,7 +4702,7 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4703
4702
|
lockKey: this._resourceLock?.lockKey
|
|
4704
4703
|
}, {
|
|
4705
4704
|
F: __dxlog_file17,
|
|
4706
|
-
L:
|
|
4705
|
+
L: 227,
|
|
4707
4706
|
S: this,
|
|
4708
4707
|
C: (f, a) => f(...a)
|
|
4709
4708
|
});
|
|
@@ -4731,16 +4730,6 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4731
4730
|
})
|
|
4732
4731
|
});
|
|
4733
4732
|
await this._serviceContext.open(ctx);
|
|
4734
|
-
const devtoolsProxy = this._config?.get("runtime.client.devtoolsProxy");
|
|
4735
|
-
if (devtoolsProxy) {
|
|
4736
|
-
this._devtoolsProxy = new WebsocketRpcClient({
|
|
4737
|
-
url: devtoolsProxy,
|
|
4738
|
-
requested: {},
|
|
4739
|
-
exposed: clientServiceBundle,
|
|
4740
|
-
handlers: this.services
|
|
4741
|
-
});
|
|
4742
|
-
void this._devtoolsProxy.open();
|
|
4743
|
-
}
|
|
4744
4733
|
this._opening = false;
|
|
4745
4734
|
this._open = true;
|
|
4746
4735
|
this._statusUpdate.emit();
|
|
@@ -4749,7 +4738,7 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4749
4738
|
deviceKey
|
|
4750
4739
|
}, {
|
|
4751
4740
|
F: __dxlog_file17,
|
|
4752
|
-
L:
|
|
4741
|
+
L: 284,
|
|
4753
4742
|
S: this,
|
|
4754
4743
|
C: (f, a) => f(...a)
|
|
4755
4744
|
});
|
|
@@ -4757,7 +4746,7 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4757
4746
|
id: traceId
|
|
4758
4747
|
}), {
|
|
4759
4748
|
F: __dxlog_file17,
|
|
4760
|
-
L:
|
|
4749
|
+
L: 285,
|
|
4761
4750
|
S: this,
|
|
4762
4751
|
C: (f, a) => f(...a)
|
|
4763
4752
|
});
|
|
@@ -4771,11 +4760,10 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4771
4760
|
deviceKey
|
|
4772
4761
|
}, {
|
|
4773
4762
|
F: __dxlog_file17,
|
|
4774
|
-
L:
|
|
4763
|
+
L: 296,
|
|
4775
4764
|
S: this,
|
|
4776
4765
|
C: (f, a) => f(...a)
|
|
4777
4766
|
});
|
|
4778
|
-
await this._devtoolsProxy?.close();
|
|
4779
4767
|
this._serviceRegistry.setServices({
|
|
4780
4768
|
SystemService: this._systemService
|
|
4781
4769
|
});
|
|
@@ -4787,7 +4775,7 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4787
4775
|
deviceKey
|
|
4788
4776
|
}, {
|
|
4789
4777
|
F: __dxlog_file17,
|
|
4790
|
-
L:
|
|
4778
|
+
L: 302,
|
|
4791
4779
|
S: this,
|
|
4792
4780
|
C: (f, a) => f(...a)
|
|
4793
4781
|
});
|
|
@@ -4798,13 +4786,13 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4798
4786
|
id: traceId
|
|
4799
4787
|
}), {
|
|
4800
4788
|
F: __dxlog_file17,
|
|
4801
|
-
L:
|
|
4789
|
+
L: 307,
|
|
4802
4790
|
S: this,
|
|
4803
4791
|
C: (f, a) => f(...a)
|
|
4804
4792
|
});
|
|
4805
4793
|
log16("resetting...", void 0, {
|
|
4806
4794
|
F: __dxlog_file17,
|
|
4807
|
-
L:
|
|
4795
|
+
L: 309,
|
|
4808
4796
|
S: this,
|
|
4809
4797
|
C: (f, a) => f(...a)
|
|
4810
4798
|
});
|
|
@@ -4812,7 +4800,7 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4812
4800
|
await this._storage.reset();
|
|
4813
4801
|
log16("reset", void 0, {
|
|
4814
4802
|
F: __dxlog_file17,
|
|
4815
|
-
L:
|
|
4803
|
+
L: 312,
|
|
4816
4804
|
S: this,
|
|
4817
4805
|
C: (f, a) => f(...a)
|
|
4818
4806
|
});
|
|
@@ -4820,7 +4808,7 @@ var ClientServicesHost = class ClientServicesHost2 {
|
|
|
4820
4808
|
id: traceId
|
|
4821
4809
|
}), {
|
|
4822
4810
|
F: __dxlog_file17,
|
|
4823
|
-
L:
|
|
4811
|
+
L: 313,
|
|
4824
4812
|
S: this,
|
|
4825
4813
|
C: (f, a) => f(...a)
|
|
4826
4814
|
});
|
|
@@ -4878,4 +4866,4 @@ export {
|
|
|
4878
4866
|
createDefaultModelFactory,
|
|
4879
4867
|
ClientServicesHost
|
|
4880
4868
|
};
|
|
4881
|
-
//# sourceMappingURL=chunk-
|
|
4869
|
+
//# sourceMappingURL=chunk-T7KXX2F2.mjs.map
|