@dxos/teleport 0.3.2-main.ec06501 → 0.3.2-main.fa875a7
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-AJSHNFQP.mjs → chunk-UGINOVDT.mjs} +20 -20
- package/dist/lib/browser/chunk-UGINOVDT.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/index.mjs.map +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +1 -1
- package/dist/lib/node/index.cjs +19 -19
- package/dist/lib/node/index.cjs.map +2 -2
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +19 -19
- package/dist/lib/node/testing/index.cjs.map +2 -2
- package/dist/types/src/muxing/balancer.d.ts +1 -1
- package/dist/types/src/muxing/balancer.d.ts.map +1 -1
- package/dist/types/src/muxing/framer.d.ts +1 -1
- package/dist/types/src/muxing/framer.d.ts.map +1 -1
- package/dist/types/src/muxing/muxer.d.ts +2 -2
- package/dist/types/src/muxing/muxer.d.ts.map +1 -1
- package/dist/types/src/muxing/rpc-port.d.ts +1 -1
- package/dist/types/src/muxing/rpc-port.d.ts.map +1 -1
- package/dist/types/src/rpc-extension.d.ts +2 -2
- package/dist/types/src/rpc-extension.d.ts.map +1 -1
- package/dist/types/src/teleport.d.ts +3 -3
- package/dist/types/src/teleport.d.ts.map +1 -1
- package/dist/types/src/testing/test-extension-with-streams.d.ts +1 -1
- package/dist/types/src/testing/test-extension-with-streams.d.ts.map +1 -1
- package/dist/types/src/testing/test-extension.d.ts +1 -1
- package/dist/types/src/testing/test-extension.d.ts.map +1 -1
- package/package.json +12 -12
- package/src/muxing/balancer.ts +1 -1
- package/src/muxing/framer.ts +1 -1
- package/src/muxing/muxer.test.ts +2 -2
- package/src/muxing/muxer.ts +2 -2
- package/src/muxing/rpc-port.test.ts +2 -2
- package/src/muxing/rpc-port.ts +1 -1
- package/src/rpc-extension.ts +2 -2
- package/src/teleport.ts +13 -6
- package/src/testing/test-builder.ts +1 -1
- package/src/testing/test-extension-with-streams.ts +4 -4
- package/src/testing/test-extension.ts +3 -3
- package/dist/lib/browser/chunk-AJSHNFQP.mjs.map +0 -7
package/dist/lib/node/meta.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/core/mesh/teleport/src/muxing/framer.ts":{"bytes":15790,"imports":[{"path":"node:stream","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"packages/core/mesh/teleport/src/muxing/balancer.ts":{"bytes":19951,"imports":[{"path":"varint","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/core/mesh/teleport/src/muxing/framer.ts","kind":"import-statement","original":"./framer"}],"format":"esm"},"packages/core/mesh/teleport/src/muxing/muxer.ts":{"bytes":39218,"imports":[{"path":"node:stream","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"packages/core/mesh/teleport/src/muxing/balancer.ts","kind":"import-statement","original":"./balancer"}],"format":"esm"},"packages/core/mesh/teleport/src/muxing/rpc-port.ts":{"bytes":925,"imports":[],"format":"esm"},"packages/core/mesh/teleport/src/muxing/index.ts":{"bytes":641,"imports":[{"path":"packages/core/mesh/teleport/src/muxing/framer.ts","kind":"import-statement","original":"./framer"},{"path":"packages/core/mesh/teleport/src/muxing/muxer.ts","kind":"import-statement","original":"./muxer"},{"path":"packages/core/mesh/teleport/src/muxing/rpc-port.ts","kind":"import-statement","original":"./rpc-port"}],"format":"esm"},"packages/core/mesh/teleport/src/teleport.ts":{"bytes":36768,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/mesh/teleport/src/muxing/index.ts","kind":"import-statement","original":"./muxing"}],"format":"esm"},"packages/core/mesh/teleport/src/testing/test-builder.ts":{"bytes":15622,"imports":[{"path":"node:stream","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/core/mesh/teleport/src/teleport.ts","kind":"import-statement","original":"../teleport"}],"format":"esm"},"packages/core/mesh/teleport/src/testing/test-extension.ts":{"bytes":9906,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"packages/core/mesh/teleport/src/testing/test-extension-with-streams.ts":{"bytes":27063,"imports":[{"path":"node:crypto","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"packages/core/mesh/teleport/src/testing/index.ts":{"bytes":728,"imports":[{"path":"packages/core/mesh/teleport/src/testing/test-builder.ts","kind":"import-statement","original":"./test-builder"},{"path":"packages/core/mesh/teleport/src/testing/test-extension.ts","kind":"import-statement","original":"./test-extension"},{"path":"packages/core/mesh/teleport/src/testing/test-extension-with-streams.ts","kind":"import-statement","original":"./test-extension-with-streams"}],"format":"esm"},"packages/core/mesh/teleport/src/rpc-extension.ts":{"bytes":6033,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"packages/core/mesh/teleport/src/index.ts":{"bytes":741,"imports":[{"path":"packages/core/mesh/teleport/src/muxing/index.ts","kind":"import-statement","original":"./muxing"},{"path":"packages/core/mesh/teleport/src/teleport.ts","kind":"import-statement","original":"./teleport"},{"path":"packages/core/mesh/teleport/src/testing/index.ts","kind":"import-statement","original":"./testing"},{"path":"packages/core/mesh/teleport/src/rpc-extension.ts","kind":"import-statement","original":"./rpc-extension"}],"format":"esm"}},"outputs":{"packages/core/mesh/teleport/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":81234},"packages/core/mesh/teleport/dist/lib/node/index.cjs":{"imports":[{"path":"node:stream","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"node:stream","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"varint","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:stream","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true},{"path":"node:crypto","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/core/mesh/teleport/src/index.ts","inputs":{"packages/core/mesh/teleport/src/index.ts":{"bytesInOutput":471},"packages/core/mesh/teleport/src/muxing/framer.ts":{"bytesInOutput":3875},"packages/core/mesh/teleport/src/muxing/index.ts":{"bytesInOutput":0},"packages/core/mesh/teleport/src/muxing/muxer.ts":{"bytesInOutput":9569},"packages/core/mesh/teleport/src/muxing/balancer.ts":{"bytesInOutput":4625},"packages/core/mesh/teleport/src/teleport.ts":{"bytesInOutput":11126},"packages/core/mesh/teleport/src/testing/test-builder.ts":{"bytesInOutput":5223},"packages/core/mesh/teleport/src/testing/index.ts":{"bytesInOutput":0},"packages/core/mesh/teleport/src/testing/test-extension.ts":{"bytesInOutput":2761},"packages/core/mesh/teleport/src/testing/test-extension-with-streams.ts":{"bytesInOutput":7603},"packages/core/mesh/teleport/src/rpc-extension.ts":{"bytesInOutput":1405}},"bytes":48901},"packages/core/mesh/teleport/dist/lib/node/testing/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":78316},"packages/core/mesh/teleport/dist/lib/node/testing/index.cjs":{"imports":[{"path":"node:stream","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:stream","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"node:stream","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"varint","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true},{"path":"node:crypto","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/core/mesh/teleport/src/testing/index.ts","inputs":{"packages/core/mesh/teleport/src/testing/index.ts":{"bytesInOutput":305},"packages/core/mesh/teleport/src/testing/test-builder.ts":{"bytesInOutput":5223},"packages/core/mesh/teleport/src/teleport.ts":{"bytesInOutput":11126},"packages/core/mesh/teleport/src/muxing/framer.ts":{"bytesInOutput":3875},"packages/core/mesh/teleport/src/muxing/index.ts":{"bytesInOutput":0},"packages/core/mesh/teleport/src/muxing/muxer.ts":{"bytesInOutput":9569},"packages/core/mesh/teleport/src/muxing/balancer.ts":{"bytesInOutput":4625},"packages/core/mesh/teleport/src/testing/test-extension.ts":{"bytesInOutput":2761},"packages/core/mesh/teleport/src/testing/test-extension-with-streams.ts":{"bytesInOutput":7603}},"bytes":47316}}}
|
|
1
|
+
{"inputs":{"packages/core/mesh/teleport/src/muxing/framer.ts":{"bytes":15794,"imports":[{"path":"node:stream","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"packages/core/mesh/teleport/src/muxing/balancer.ts":{"bytes":19955,"imports":[{"path":"varint","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/core/mesh/teleport/src/muxing/framer.ts","kind":"import-statement","original":"./framer"}],"format":"esm"},"packages/core/mesh/teleport/src/muxing/muxer.ts":{"bytes":39230,"imports":[{"path":"node:stream","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"packages/core/mesh/teleport/src/muxing/balancer.ts","kind":"import-statement","original":"./balancer"}],"format":"esm"},"packages/core/mesh/teleport/src/muxing/rpc-port.ts":{"bytes":933,"imports":[],"format":"esm"},"packages/core/mesh/teleport/src/muxing/index.ts":{"bytes":641,"imports":[{"path":"packages/core/mesh/teleport/src/muxing/framer.ts","kind":"import-statement","original":"./framer"},{"path":"packages/core/mesh/teleport/src/muxing/muxer.ts","kind":"import-statement","original":"./muxer"},{"path":"packages/core/mesh/teleport/src/muxing/rpc-port.ts","kind":"import-statement","original":"./rpc-port"}],"format":"esm"},"packages/core/mesh/teleport/src/teleport.ts":{"bytes":36844,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/mesh/teleport/src/muxing/index.ts","kind":"import-statement","original":"./muxing"}],"format":"esm"},"packages/core/mesh/teleport/src/testing/test-builder.ts":{"bytes":15630,"imports":[{"path":"node:stream","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/core/mesh/teleport/src/teleport.ts","kind":"import-statement","original":"../teleport"}],"format":"esm"},"packages/core/mesh/teleport/src/testing/test-extension.ts":{"bytes":9934,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"packages/core/mesh/teleport/src/testing/test-extension-with-streams.ts":{"bytes":27099,"imports":[{"path":"node:crypto","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"packages/core/mesh/teleport/src/testing/index.ts":{"bytes":728,"imports":[{"path":"packages/core/mesh/teleport/src/testing/test-builder.ts","kind":"import-statement","original":"./test-builder"},{"path":"packages/core/mesh/teleport/src/testing/test-extension.ts","kind":"import-statement","original":"./test-extension"},{"path":"packages/core/mesh/teleport/src/testing/test-extension-with-streams.ts","kind":"import-statement","original":"./test-extension-with-streams"}],"format":"esm"},"packages/core/mesh/teleport/src/rpc-extension.ts":{"bytes":6061,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"packages/core/mesh/teleport/src/index.ts":{"bytes":741,"imports":[{"path":"packages/core/mesh/teleport/src/muxing/index.ts","kind":"import-statement","original":"./muxing"},{"path":"packages/core/mesh/teleport/src/teleport.ts","kind":"import-statement","original":"./teleport"},{"path":"packages/core/mesh/teleport/src/testing/index.ts","kind":"import-statement","original":"./testing"},{"path":"packages/core/mesh/teleport/src/rpc-extension.ts","kind":"import-statement","original":"./rpc-extension"}],"format":"esm"}},"outputs":{"packages/core/mesh/teleport/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":81377},"packages/core/mesh/teleport/dist/lib/node/index.cjs":{"imports":[{"path":"node:stream","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"node:stream","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"varint","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:stream","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true},{"path":"node:crypto","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/core/mesh/teleport/src/index.ts","inputs":{"packages/core/mesh/teleport/src/index.ts":{"bytesInOutput":471},"packages/core/mesh/teleport/src/muxing/framer.ts":{"bytesInOutput":3875},"packages/core/mesh/teleport/src/muxing/index.ts":{"bytesInOutput":0},"packages/core/mesh/teleport/src/muxing/muxer.ts":{"bytesInOutput":9569},"packages/core/mesh/teleport/src/muxing/balancer.ts":{"bytesInOutput":4625},"packages/core/mesh/teleport/src/teleport.ts":{"bytesInOutput":11126},"packages/core/mesh/teleport/src/testing/test-builder.ts":{"bytesInOutput":5223},"packages/core/mesh/teleport/src/testing/index.ts":{"bytesInOutput":0},"packages/core/mesh/teleport/src/testing/test-extension.ts":{"bytesInOutput":2761},"packages/core/mesh/teleport/src/testing/test-extension-with-streams.ts":{"bytesInOutput":7603},"packages/core/mesh/teleport/src/rpc-extension.ts":{"bytesInOutput":1405}},"bytes":48901},"packages/core/mesh/teleport/dist/lib/node/testing/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":78440},"packages/core/mesh/teleport/dist/lib/node/testing/index.cjs":{"imports":[{"path":"node:stream","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:stream","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"node:stream","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"varint","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true},{"path":"node:crypto","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/invariant","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/rpc","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/core/mesh/teleport/src/testing/index.ts","inputs":{"packages/core/mesh/teleport/src/testing/index.ts":{"bytesInOutput":305},"packages/core/mesh/teleport/src/testing/test-builder.ts":{"bytesInOutput":5223},"packages/core/mesh/teleport/src/teleport.ts":{"bytesInOutput":11126},"packages/core/mesh/teleport/src/muxing/framer.ts":{"bytesInOutput":3875},"packages/core/mesh/teleport/src/muxing/index.ts":{"bytesInOutput":0},"packages/core/mesh/teleport/src/muxing/muxer.ts":{"bytesInOutput":9569},"packages/core/mesh/teleport/src/muxing/balancer.ts":{"bytesInOutput":4625},"packages/core/mesh/teleport/src/testing/test-extension.ts":{"bytesInOutput":2761},"packages/core/mesh/teleport/src/testing/test-extension-with-streams.ts":{"bytesInOutput":7603}},"bytes":47316}}}
|
|
@@ -704,7 +704,7 @@ var Teleport = class {
|
|
|
704
704
|
void this.destroy(err).catch(() => {
|
|
705
705
|
import_log3.log.error("Error during destroy", err, {
|
|
706
706
|
F: __dxlog_file4,
|
|
707
|
-
L:
|
|
707
|
+
L: 44,
|
|
708
708
|
S: this,
|
|
709
709
|
C: (f, a) => f(...a)
|
|
710
710
|
});
|
|
@@ -721,13 +721,13 @@ var Teleport = class {
|
|
|
721
721
|
}
|
|
722
722
|
(0, import_log3.log)("destroy teleport due to onTimeout in ControlExtension", void 0, {
|
|
723
723
|
F: __dxlog_file4,
|
|
724
|
-
L:
|
|
724
|
+
L: 59,
|
|
725
725
|
S: this,
|
|
726
726
|
C: (f, a) => f(...a)
|
|
727
727
|
});
|
|
728
728
|
this.destroy(new import_protocols2.TimeoutError("control extension")).catch((err) => import_log3.log.catch(err, void 0, {
|
|
729
729
|
F: __dxlog_file4,
|
|
730
|
-
L:
|
|
730
|
+
L: 60,
|
|
731
731
|
S: this,
|
|
732
732
|
C: (f, a) => f(...a)
|
|
733
733
|
}));
|
|
@@ -740,7 +740,7 @@ var Teleport = class {
|
|
|
740
740
|
this._aborting = false;
|
|
741
741
|
(0, import_invariant3.invariant)(typeof initiator === "boolean", void 0, {
|
|
742
742
|
F: __dxlog_file4,
|
|
743
|
-
L:
|
|
743
|
+
L: 72,
|
|
744
744
|
S: this,
|
|
745
745
|
A: [
|
|
746
746
|
"typeof initiator === 'boolean'",
|
|
@@ -749,7 +749,7 @@ var Teleport = class {
|
|
|
749
749
|
});
|
|
750
750
|
(0, import_invariant3.invariant)(import_keys.PublicKey.isPublicKey(localPeerId), void 0, {
|
|
751
751
|
F: __dxlog_file4,
|
|
752
|
-
L:
|
|
752
|
+
L: 73,
|
|
753
753
|
S: this,
|
|
754
754
|
A: [
|
|
755
755
|
"PublicKey.isPublicKey(localPeerId)",
|
|
@@ -758,7 +758,7 @@ var Teleport = class {
|
|
|
758
758
|
});
|
|
759
759
|
(0, import_invariant3.invariant)(import_keys.PublicKey.isPublicKey(remotePeerId), void 0, {
|
|
760
760
|
F: __dxlog_file4,
|
|
761
|
-
L:
|
|
761
|
+
L: 74,
|
|
762
762
|
S: this,
|
|
763
763
|
A: [
|
|
764
764
|
"PublicKey.isPublicKey(remotePeerId)",
|
|
@@ -773,13 +773,13 @@ var Teleport = class {
|
|
|
773
773
|
name
|
|
774
774
|
}, {
|
|
775
775
|
F: __dxlog_file4,
|
|
776
|
-
L:
|
|
776
|
+
L: 80,
|
|
777
777
|
S: this,
|
|
778
778
|
C: (f, a) => f(...a)
|
|
779
779
|
});
|
|
780
780
|
(0, import_invariant3.invariant)(!this._remoteExtensions.has(name), "Remote extension already exists", {
|
|
781
781
|
F: __dxlog_file4,
|
|
782
|
-
L:
|
|
782
|
+
L: 81,
|
|
783
783
|
S: this,
|
|
784
784
|
A: [
|
|
785
785
|
"!this._remoteExtensions.has(name)",
|
|
@@ -800,7 +800,7 @@ var Teleport = class {
|
|
|
800
800
|
if (this._destroying || this._aborting) {
|
|
801
801
|
(0, import_log3.log)("destroy teleport due to muxer stream close, skipping due to already destroying/aborting", void 0, {
|
|
802
802
|
F: __dxlog_file4,
|
|
803
|
-
L:
|
|
803
|
+
L: 97,
|
|
804
804
|
S: this,
|
|
805
805
|
C: (f, a) => f(...a)
|
|
806
806
|
});
|
|
@@ -823,7 +823,7 @@ var Teleport = class {
|
|
|
823
823
|
channels: stats.channels
|
|
824
824
|
}, {
|
|
825
825
|
F: __dxlog_file4,
|
|
826
|
-
L:
|
|
826
|
+
L: 110,
|
|
827
827
|
S: this,
|
|
828
828
|
C: (f, a) => f(...a)
|
|
829
829
|
});
|
|
@@ -861,7 +861,7 @@ var Teleport = class {
|
|
|
861
861
|
} catch (err2) {
|
|
862
862
|
import_log3.log.catch(err2, void 0, {
|
|
863
863
|
F: __dxlog_file4,
|
|
864
|
-
L:
|
|
864
|
+
L: 163,
|
|
865
865
|
S: this,
|
|
866
866
|
C: (f, a) => f(...a)
|
|
867
867
|
});
|
|
@@ -884,7 +884,7 @@ var Teleport = class {
|
|
|
884
884
|
} catch (err2) {
|
|
885
885
|
import_log3.log.catch(err2, void 0, {
|
|
886
886
|
F: __dxlog_file4,
|
|
887
|
-
L:
|
|
887
|
+
L: 187,
|
|
888
888
|
S: this,
|
|
889
889
|
C: (f, a) => f(...a)
|
|
890
890
|
});
|
|
@@ -900,7 +900,7 @@ var Teleport = class {
|
|
|
900
900
|
name
|
|
901
901
|
}, {
|
|
902
902
|
F: __dxlog_file4,
|
|
903
|
-
L:
|
|
903
|
+
L: 199,
|
|
904
904
|
S: this,
|
|
905
905
|
C: (f, a) => f(...a)
|
|
906
906
|
});
|
|
@@ -924,7 +924,7 @@ var Teleport = class {
|
|
|
924
924
|
_setExtension(extensionName, extension) {
|
|
925
925
|
(0, import_invariant3.invariant)(!extensionName.includes("/"), "Invalid extension name", {
|
|
926
926
|
F: __dxlog_file4,
|
|
927
|
-
L:
|
|
927
|
+
L: 223,
|
|
928
928
|
S: this,
|
|
929
929
|
A: [
|
|
930
930
|
"!extensionName.includes('/')",
|
|
@@ -933,7 +933,7 @@ var Teleport = class {
|
|
|
933
933
|
});
|
|
934
934
|
(0, import_invariant3.invariant)(!this._extensions.has(extensionName), "Extension already exists", {
|
|
935
935
|
F: __dxlog_file4,
|
|
936
|
-
L:
|
|
936
|
+
L: 224,
|
|
937
937
|
S: this,
|
|
938
938
|
A: [
|
|
939
939
|
"!this._extensions.has(extensionName)",
|
|
@@ -947,7 +947,7 @@ var Teleport = class {
|
|
|
947
947
|
extensionName
|
|
948
948
|
}, {
|
|
949
949
|
F: __dxlog_file4,
|
|
950
|
-
L:
|
|
950
|
+
L: 229,
|
|
951
951
|
S: this,
|
|
952
952
|
C: (f, a) => f(...a)
|
|
953
953
|
});
|
|
@@ -959,7 +959,7 @@ var Teleport = class {
|
|
|
959
959
|
createPort: async (channelName, opts) => {
|
|
960
960
|
(0, import_invariant3.invariant)(!channelName.includes("/"), "Invalid channel name", {
|
|
961
961
|
F: __dxlog_file4,
|
|
962
|
-
L:
|
|
962
|
+
L: 237,
|
|
963
963
|
S: this,
|
|
964
964
|
A: [
|
|
965
965
|
"!channelName.includes('/')",
|
|
@@ -971,7 +971,7 @@ var Teleport = class {
|
|
|
971
971
|
createStream: async (channelName, opts) => {
|
|
972
972
|
(0, import_invariant3.invariant)(!channelName.includes("/"), "Invalid channel name", {
|
|
973
973
|
F: __dxlog_file4,
|
|
974
|
-
L:
|
|
974
|
+
L: 241,
|
|
975
975
|
S: this,
|
|
976
976
|
A: [
|
|
977
977
|
"!channelName.includes('/')",
|
|
@@ -991,7 +991,7 @@ var Teleport = class {
|
|
|
991
991
|
extensionName
|
|
992
992
|
}, {
|
|
993
993
|
F: __dxlog_file4,
|
|
994
|
-
L:
|
|
994
|
+
L: 252,
|
|
995
995
|
S: this,
|
|
996
996
|
C: (f, a) => f(...a)
|
|
997
997
|
});
|