diff --git a/Cargo.lock b/Cargo.lock index 3dd9e20..44bb490 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -933,7 +933,7 @@ dependencies = [ [[package]] name = "stremio-core" version = "0.1.0" -source = "git+https://github.com/Stremio/stremio-core?branch=development#08595747a3b2f8680bb4d7a13f81d30778a3a23c" +source = "git+https://github.com/Stremio/stremio-core?branch=development#6c50cd82c801543722aaf4907dc79c7d0470f36d" dependencies = [ "anyhow", "base64 0.21.2", @@ -975,7 +975,7 @@ dependencies = [ [[package]] name = "stremio-core-web" -version = "0.44.27" +version = "0.44.28" dependencies = [ "Inflector", "boolinator", @@ -1008,7 +1008,7 @@ dependencies = [ [[package]] name = "stremio-derive" version = "0.1.0" -source = "git+https://github.com/Stremio/stremio-core?branch=development#08595747a3b2f8680bb4d7a13f81d30778a3a23c" +source = "git+https://github.com/Stremio/stremio-core?branch=development#6c50cd82c801543722aaf4907dc79c7d0470f36d" dependencies = [ "case", "proc-macro-crate", @@ -1038,7 +1038,7 @@ dependencies = [ [[package]] name = "stremio-watched-bitfield" version = "0.1.0" -source = "git+https://github.com/Stremio/stremio-core?branch=development#08595747a3b2f8680bb4d7a13f81d30778a3a23c" +source = "git+https://github.com/Stremio/stremio-core?branch=development#6c50cd82c801543722aaf4907dc79c7d0470f36d" dependencies = [ "base64 0.13.1", "flate2", diff --git a/Cargo.toml b/Cargo.toml index 1927377..fc017ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stremio-core-web" -version = "0.44.27" +version = "0.44.28" authors = ["Smart Code OOD"] edition = "2021" diff --git a/package-lock.json b/package-lock.json index be78f6e..d80dea9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@stremio/stremio-core-web", - "version": "0.44.27", + "version": "0.44.28", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@stremio/stremio-core-web", - "version": "0.44.27", + "version": "0.44.28", "license": "MIT", "dependencies": { "@babel/runtime": "7.16.0" diff --git a/package.json b/package.json index ecbbde9..462db06 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stremio/stremio-core-web", - "version": "0.44.27", + "version": "0.44.28", "description": "Bridge between stremio-core and stremio-web", "author": "Smart Code OOD", "main": "stremio_core_web.js", diff --git a/src/model/model.rs b/src/model/model.rs index 04f7251..5a7ea49 100644 --- a/src/model/model.rs +++ b/src/model/model.rs @@ -80,7 +80,7 @@ impl WebModel { let (installed_addons, installed_addons_effects) = InstalledAddonsWithFilters::new(&profile); let (streaming_server, streaming_server_effects) = StreamingServer::new::(&profile); - let (local_search, local_search_effects) = LocalSearch::init::(); + let (local_search, local_search_effects) = LocalSearch::new::(); let model = WebModel { ctx: Ctx::new(profile, library, streams, notifications), auth_link: Default::default(), diff --git a/src/model/serialize_local_search.rs b/src/model/serialize_local_search.rs index b1556d3..48c5b20 100644 --- a/src/model/serialize_local_search.rs +++ b/src/model/serialize_local_search.rs @@ -15,7 +15,7 @@ mod model { pub current_records: Vec, /// The results of the search autocompletion pub search_results: Vec, - pub latest_records: Loadable, EnvError>, + pub latest_records: Option, EnvError>>, } }