From 410e2d8bcddd6aaa5223a80a58054106ea6432d3 Mon Sep 17 00:00:00 2001 From: restitux Date: Wed, 22 May 2024 00:09:07 -0600 Subject: [PATCH] Remove index.js --- index.js | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 index.js diff --git a/index.js b/index.js deleted file mode 100644 index 0ecccc8..0000000 --- a/index.js +++ /dev/null @@ -1,41 +0,0 @@ -import init, { entrypoint } from "./pkg/mumble_webtransport.js"; - - -async function main() { - console.log("Javascript!") - - await init() - let x = await entrypoint() - console.log(x); - await new Promise(r => setTimeout(r, 200000000)); - //let y = { - // algorithm: "sha-256", - // value: new Uint8Array([14, 162, 111, 176, 34, 113, 218, 69, 177, 18, 13, 180, 232, 204, 49, 65, 161, 195, 36, 238, 23, 95, 174, 190, 24, 216, 105, 89, 236, 147, 206, 139]), - //}; - //console.log(y); - - - //const transport = new WebTransport("https://localhost:4433/?hostname=ohea.xyz&port=64738&username=test", { - // serverCertificateHashes: [ - // x - // //{ - // // algorithm: "sha-256", - // // value: new Uint8Array([14, 162, 111, 176, 34, 113, 218, 69, 177, 18, 13, 180, 232, 204, 49, 65, 161, 195, 36, 238, 23, 95, 174, 190, 24, 216, 105, 89, 236, 147, 206, 139]), - // //}, - // ] - //}); - - //await transport.ready; - - //stream = await transport.createBidirectionalStream(); - - //return transport; -} - - -main() -//console.log("Test"); -//export default await main -// -// -//