@dxos/network-manager 0.3.11-main.8be6c8a → 0.3.11-main.8feb6a5
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-XF474R3E.mjs → chunk-PA5ZI6XS.mjs} +10 -8
- package/dist/lib/browser/{chunk-XF474R3E.mjs.map → chunk-PA5ZI6XS.mjs.map} +3 -3
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +1 -1
- package/dist/lib/node/{chunk-Y2B5BDRH.cjs → chunk-XJESGNEJ.cjs} +13 -11
- package/dist/lib/node/{chunk-Y2B5BDRH.cjs.map → chunk-XJESGNEJ.cjs.map} +2 -2
- package/dist/lib/node/index.cjs +27 -27
- package/dist/lib/node/index.cjs.map +1 -1
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +18 -18
- package/dist/types/src/transport/simplepeer-transport-proxy.d.ts.map +1 -1
- package/package.json +17 -17
- package/src/transport/simplepeer-transport-proxy.ts +7 -4
|
@@ -3313,11 +3313,13 @@ var SimplePeerTransportProxy = class {
|
|
|
3313
3313
|
this._params.bridgeService.sendData({
|
|
3314
3314
|
proxyId: this._proxyId,
|
|
3315
3315
|
payload: chunk
|
|
3316
|
+
}, {
|
|
3317
|
+
timeout: 1e4
|
|
3316
3318
|
}).then(() => {
|
|
3317
3319
|
if (performance.now() - then > RESP_MIN_THRESHOLD) {
|
|
3318
3320
|
log13("slow response, delaying callback", void 0, {
|
|
3319
3321
|
F: __dxlog_file14,
|
|
3320
|
-
L:
|
|
3322
|
+
L: 83,
|
|
3321
3323
|
S: this,
|
|
3322
3324
|
C: (f, a) => f(...a)
|
|
3323
3325
|
});
|
|
@@ -3333,7 +3335,7 @@ var SimplePeerTransportProxy = class {
|
|
|
3333
3335
|
} else {
|
|
3334
3336
|
log13("timeout error, but still invoking callback", void 0, {
|
|
3335
3337
|
F: __dxlog_file14,
|
|
3336
|
-
L:
|
|
3338
|
+
L: 95,
|
|
3337
3339
|
S: this,
|
|
3338
3340
|
C: (f, a) => f(...a)
|
|
3339
3341
|
});
|
|
@@ -3342,7 +3344,7 @@ var SimplePeerTransportProxy = class {
|
|
|
3342
3344
|
} else {
|
|
3343
3345
|
log13.catch(err, void 0, {
|
|
3344
3346
|
F: __dxlog_file14,
|
|
3345
|
-
L:
|
|
3347
|
+
L: 99,
|
|
3346
3348
|
S: this,
|
|
3347
3349
|
C: (f, a) => f(...a)
|
|
3348
3350
|
});
|
|
@@ -3355,7 +3357,7 @@ var SimplePeerTransportProxy = class {
|
|
|
3355
3357
|
err
|
|
3356
3358
|
}, {
|
|
3357
3359
|
F: __dxlog_file14,
|
|
3358
|
-
L:
|
|
3360
|
+
L: 107,
|
|
3359
3361
|
S: this,
|
|
3360
3362
|
C: (f, a) => f(...a)
|
|
3361
3363
|
});
|
|
@@ -3363,7 +3365,7 @@ var SimplePeerTransportProxy = class {
|
|
|
3363
3365
|
this._params.stream.pipe(proxyStream);
|
|
3364
3366
|
}, (error) => log13.catch(error, void 0, {
|
|
3365
3367
|
F: __dxlog_file14,
|
|
3366
|
-
L:
|
|
3368
|
+
L: 112,
|
|
3367
3369
|
S: this,
|
|
3368
3370
|
C: (f, a) => f(...a)
|
|
3369
3371
|
}));
|
|
@@ -3419,7 +3421,7 @@ var SimplePeerTransportProxy = class {
|
|
|
3419
3421
|
} catch (err) {
|
|
3420
3422
|
log13.catch(err, void 0, {
|
|
3421
3423
|
F: __dxlog_file14,
|
|
3422
|
-
L:
|
|
3424
|
+
L: 171,
|
|
3423
3425
|
S: this,
|
|
3424
3426
|
C: (f, a) => f(...a)
|
|
3425
3427
|
});
|
|
@@ -3455,7 +3457,7 @@ var SimplePeerTransportProxyFactory = class {
|
|
|
3455
3457
|
createTransport(options) {
|
|
3456
3458
|
invariant13(this._bridgeService, "SimplePeerTransportProxyFactory is not ready to open connections", {
|
|
3457
3459
|
F: __dxlog_file14,
|
|
3458
|
-
L:
|
|
3460
|
+
L: 208,
|
|
3459
3461
|
S: this,
|
|
3460
3462
|
A: [
|
|
3461
3463
|
"this._bridgeService",
|
|
@@ -3975,4 +3977,4 @@ export {
|
|
|
3975
3977
|
TcpTransport,
|
|
3976
3978
|
createTeleportProtocolFactory
|
|
3977
3979
|
};
|
|
3978
|
-
//# sourceMappingURL=chunk-
|
|
3980
|
+
//# sourceMappingURL=chunk-PA5ZI6XS.mjs.map
|