@dxos/client-services 0.1.39-next.49cabf5 → 0.1.39
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-6PNXHM7C.mjs → chunk-2DGNNQWS.mjs} +54 -8
- package/dist/lib/browser/{chunk-6PNXHM7C.mjs.map → chunk-2DGNNQWS.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 +53 -7
- 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 +29 -6
- package/dist/lib/node/packlets/testing/index.cjs.map +3 -3
- package/dist/types/src/packlets/vault/iframe-host-runtime.d.ts.map +1 -1
- package/dist/types/src/packlets/vault/iframe-proxy-runtime.d.ts.map +1 -1
- package/package.json +30 -30
- package/src/packlets/vault/iframe-host-runtime.ts +9 -1
- package/src/packlets/vault/iframe-proxy-runtime.ts +8 -1
|
@@ -3064,7 +3064,30 @@ import { WebRTCTransportService } from "@dxos/network-manager";
|
|
|
3064
3064
|
import { createProtoRpcPeer as createProtoRpcPeer2 } from "@dxos/rpc";
|
|
3065
3065
|
var IFrameProxyRuntime = class {
|
|
3066
3066
|
constructor({ systemPort, workerAppPort, windowAppPort, shellPort }) {
|
|
3067
|
-
this._transportService = new WebRTCTransportService(
|
|
3067
|
+
this._transportService = new WebRTCTransportService({
|
|
3068
|
+
iceServers: [
|
|
3069
|
+
{
|
|
3070
|
+
urls: "stun:dev.kube.dxos.org:3478",
|
|
3071
|
+
username: "dxos",
|
|
3072
|
+
credential: "dxos"
|
|
3073
|
+
},
|
|
3074
|
+
{
|
|
3075
|
+
urls: "turn:dev.kube.dxos.org:3478",
|
|
3076
|
+
username: "dxos",
|
|
3077
|
+
credential: "dxos"
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
urls: "stun:kube.dxos.org:3478",
|
|
3081
|
+
username: "dxos",
|
|
3082
|
+
credential: "dxos"
|
|
3083
|
+
},
|
|
3084
|
+
{
|
|
3085
|
+
urls: "turn:kube.dxos.org:3478",
|
|
3086
|
+
username: "dxos",
|
|
3087
|
+
credential: "dxos"
|
|
3088
|
+
}
|
|
3089
|
+
]
|
|
3090
|
+
});
|
|
3068
3091
|
this._systemPort = systemPort;
|
|
3069
3092
|
this._windowAppPort = windowAppPort;
|
|
3070
3093
|
this._workerAppPort = workerAppPort;
|
|
@@ -4058,7 +4081,30 @@ var __decorate5 = function(decorators, target, key, desc) {
|
|
|
4058
4081
|
var LOCK_KEY = "DXOS_RESOURCE_LOCK";
|
|
4059
4082
|
var IFrameHostRuntime = class {
|
|
4060
4083
|
constructor({ configProvider, appPort, shellPort }) {
|
|
4061
|
-
this._transportFactory = createWebRTCTransportFactory2(
|
|
4084
|
+
this._transportFactory = createWebRTCTransportFactory2({
|
|
4085
|
+
iceServers: [
|
|
4086
|
+
{
|
|
4087
|
+
urls: "stun:dev.kube.dxos.org:3478",
|
|
4088
|
+
username: "dxos",
|
|
4089
|
+
credential: "dxos"
|
|
4090
|
+
},
|
|
4091
|
+
{
|
|
4092
|
+
urls: "turn:dev.kube.dxos.org:3478",
|
|
4093
|
+
username: "dxos",
|
|
4094
|
+
credential: "dxos"
|
|
4095
|
+
},
|
|
4096
|
+
{
|
|
4097
|
+
urls: "stun:kube.dxos.org:3478",
|
|
4098
|
+
username: "dxos",
|
|
4099
|
+
credential: "dxos"
|
|
4100
|
+
},
|
|
4101
|
+
{
|
|
4102
|
+
urls: "turn:kube.dxos.org:3478",
|
|
4103
|
+
username: "dxos",
|
|
4104
|
+
credential: "dxos"
|
|
4105
|
+
}
|
|
4106
|
+
]
|
|
4107
|
+
});
|
|
4062
4108
|
this._ready = new Trigger8();
|
|
4063
4109
|
this._configProvider = configProvider;
|
|
4064
4110
|
this._appPort = appPort;
|
|
@@ -4077,7 +4123,7 @@ var IFrameHostRuntime = class {
|
|
|
4077
4123
|
var _a;
|
|
4078
4124
|
log17("starting...", {}, {
|
|
4079
4125
|
file: "iframe-host-runtime.ts",
|
|
4080
|
-
line:
|
|
4126
|
+
line: 75,
|
|
4081
4127
|
scope: this,
|
|
4082
4128
|
callSite: (f, a) => f(...a)
|
|
4083
4129
|
});
|
|
@@ -4128,7 +4174,7 @@ var IFrameHostRuntime = class {
|
|
|
4128
4174
|
this._ready.wake(void 0);
|
|
4129
4175
|
log17("started", {}, {
|
|
4130
4176
|
file: "iframe-host-runtime.ts",
|
|
4131
|
-
line:
|
|
4177
|
+
line: 118,
|
|
4132
4178
|
scope: this,
|
|
4133
4179
|
callSite: (f, a) => f(...a)
|
|
4134
4180
|
});
|
|
@@ -4136,7 +4182,7 @@ var IFrameHostRuntime = class {
|
|
|
4136
4182
|
this._ready.wake(err);
|
|
4137
4183
|
log17.catch(err, {}, {
|
|
4138
4184
|
file: "iframe-host-runtime.ts",
|
|
4139
|
-
line:
|
|
4185
|
+
line: 121,
|
|
4140
4186
|
scope: this,
|
|
4141
4187
|
callSite: (f, a) => f(...a)
|
|
4142
4188
|
});
|
|
@@ -4146,7 +4192,7 @@ var IFrameHostRuntime = class {
|
|
|
4146
4192
|
var _a;
|
|
4147
4193
|
log17("stopping...", {}, {
|
|
4148
4194
|
file: "iframe-host-runtime.ts",
|
|
4149
|
-
line:
|
|
4195
|
+
line: 126,
|
|
4150
4196
|
scope: this,
|
|
4151
4197
|
callSite: (f, a) => f(...a)
|
|
4152
4198
|
});
|
|
@@ -4155,7 +4201,7 @@ var IFrameHostRuntime = class {
|
|
|
4155
4201
|
await ((_a = this._shellRuntime) == null ? void 0 : _a.close());
|
|
4156
4202
|
log17("stopped", {}, {
|
|
4157
4203
|
file: "iframe-host-runtime.ts",
|
|
4158
|
-
line:
|
|
4204
|
+
line: 130,
|
|
4159
4205
|
scope: this,
|
|
4160
4206
|
callSite: (f, a) => f(...a)
|
|
4161
4207
|
});
|
|
@@ -4199,4 +4245,4 @@ export {
|
|
|
4199
4245
|
LocalClientServices,
|
|
4200
4246
|
fromHost
|
|
4201
4247
|
};
|
|
4202
|
-
//# sourceMappingURL=chunk-
|
|
4248
|
+
//# sourceMappingURL=chunk-2DGNNQWS.mjs.map
|