Skip to content

Commit

Permalink
Merge pull request #744 from Stremio/chore/stremio-core-web-prepare-r…
Browse files Browse the repository at this point in the history
…elease-0-48-1

chore(stremio-core-web): bump version v0.48.1
  • Loading branch information
elpiel authored Nov 29, 2024
2 parents 4a6cfe8 + 816e38a commit 8e36fe9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/addon_transport/http_transport/legacy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl<'a, T: Env> AddonLegacyTransport<'a, T> {
}
}

impl<'a, T: Env> AddonTransport for AddonLegacyTransport<'a, T> {
impl<T: Env> AddonTransport for AddonLegacyTransport<'_, T> {
fn resource(&self, path: &ResourcePath) -> TryEnvFuture<ResourceResponse> {
let fetch_req = match build_legacy_req(self.transport_url, path) {
Ok(r) => r,
Expand Down
2 changes: 1 addition & 1 deletion src/types/addon/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl Manifest {
ManifestResource::Short(_) => self.id_prefixes.as_ref(),
ManifestResource::Full { id_prefixes, .. } => id_prefixes.as_ref(),
};
let type_supported = types.map_or(false, |types| types.contains(&path.r#type));
let type_supported = types.is_some_and(|types| types.contains(&path.r#type));
let id_supported = id_prefixes.map_or(true, |id_prefixes| {
id_prefixes.iter().any(|prefix| path.id.starts_with(prefix))
});
Expand Down
2 changes: 1 addition & 1 deletion stremio-core-web/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stremio-core-web"
version = "0.48.0"
version = "0.48.1"
authors = ["Smart Code OOD"]
edition = "2021"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl<'a> CatalogsWithExtra<'a> {
}

#[cfg(feature = "wasm")]
impl<'a> super::SerializeModel<wasm_bindgen::JsValue> for CatalogsWithExtra<'a> {
impl super::SerializeModel<wasm_bindgen::JsValue> for CatalogsWithExtra<'_> {
type Error = serde_json::Error;

fn serialize_model(&self) -> Result<wasm_bindgen::JsValue, Self::Error> {
Expand Down

0 comments on commit 8e36fe9

Please sign in to comment.