diff --git a/.github/logo.svg b/.github/logo.svg index 40d20799..d24cde9c 100644 --- a/.github/logo.svg +++ b/.github/logo.svg @@ -3,13 +3,13 @@ diff --git a/Cargo.lock b/Cargo.lock index 4dc9f050..2dd8b557 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1373,7 +1373,7 @@ dependencies = [ [[package]] name = "moq-web" -version = "0.4.1" +version = "0.4.2" dependencies = [ "baton", "console_error_panic_hook", diff --git a/justfile b/justfile index a488f3ab..3a00be6c 100644 --- a/justfile +++ b/justfile @@ -80,7 +80,7 @@ check: # Automatically fix some issues. fix: - cargo clippy --all --fix --allow-dirty --allow-staged --all-targets --all-features + cargo clippy --all --fix --allow-staged --all-targets --all-features cargo fmt --all npm i && npm run fix diff --git a/moq-web/Cargo.toml b/moq-web/Cargo.toml index 37e48e20..8bee627c 100644 --- a/moq-web/Cargo.toml +++ b/moq-web/Cargo.toml @@ -2,7 +2,7 @@ name = "moq-web" authors = ["Luke Curley "] edition = "2021" -version = "0.4.1" +version = "0.4.2" license = "MIT OR Apache-2.0" repository = "https://github.com/kixelated/moq-web" description = "Web implementation for MoQ utilizing WebAssembly+Typescript" diff --git a/moq-web/src/element/publish.tsx b/moq-web/src/element/publish.tsx index ea6a4253..e6ba66d9 100644 --- a/moq-web/src/element/publish.tsx +++ b/moq-web/src/element/publish.tsx @@ -2,7 +2,7 @@ import * as Rust from "@rust"; import { Element, attribute, element } from "./component"; -import { jsx, jsxFragment } from "./jsx"; +import { jsx } from "./jsx"; import "@shoelace-style/shoelace/dist/components/radio-group/radio-group.js"; import "@shoelace-style/shoelace/dist/components/radio-button/radio-button.js"; diff --git a/moq-web/src/element/watch.tsx b/moq-web/src/element/watch.tsx index 9fbf7b3b..017ca959 100644 --- a/moq-web/src/element/watch.tsx +++ b/moq-web/src/element/watch.tsx @@ -26,7 +26,7 @@ type BackendState = Rust.BackendState; // Create a new worker instance that is shared between all instances of the Watch class. // We wait until the worker is fully initialized before we return the proxy. const worker: Promise> = new Promise((resolve) => { - const worker = new Worker(new URL("./bridge", import.meta.url), { + const worker = new Worker(new URL("../watch/bridge", import.meta.url), { type: "module", }); worker.addEventListener(