diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-25 11:28:31 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-25 12:07:49 +0200 |
| commit | b7bf11c077bdd165400cf8d80c5cd1ad4248d854 (patch) | |
| tree | e80590cd7b798e21a4ac663fd1e653a66e5f3b34 /packages/meshbay-client | |
| parent | 6348698322e5bfcb80d0ef0dcd833ba4e6179640 (diff) | |
| download | meshbay-b7bf11c077bdd165400cf8d80c5cd1ad4248d854.tar.gz | |
refactor(client): split transport.js into classic scripts
transport.js keeps the core (connection, reconnect, leases, dispatch).
Chat, media, admin, upload and device methods move, cut as text, into
transport-*.js scripts that hand a class of their own to extendTransport,
which copies each method onto MeshBayTransport.prototype; the codec,
roster checks, node pins and the rewrap fan-out move as they were. Both
shells load them after transport.js. Every prototype member, class
property and top-level function has the same source text as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-client')
| -rw-r--r-- | packages/meshbay-client/scripts/index.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/meshbay-client/scripts/index.html b/packages/meshbay-client/scripts/index.html index ad7af0c..0d34797 100644 --- a/packages/meshbay-client/scripts/index.html +++ b/packages/meshbay-client/scripts/index.html @@ -30,6 +30,15 @@ <script src="./keyderive.js"></script> <script src="./crypto.js"></script> <script src="./transport.js"></script> + <script src="./transport-codec.js"></script> + <script src="./transport-roster.js"></script> + <script src="./transport-pins.js"></script> + <script src="./transport-chat.js"></script> + <script src="./transport-media.js"></script> + <script src="./transport-admin.js"></script> + <script src="./transport-upload.js"></script> + <script src="./transport-devices.js"></script> + <script src="./transport-rewrap.js"></script> <script type="module" src="./app.js"></script> </body> </html> |