diff --git a/Cargo.toml b/Cargo.toml index 91e3ed0..0d01d45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sf-api" -version = "0.4.3" +version = "0.4.4" edition = "2024" license = "MIT" description = "A simple API to send commands to the Shakes & Fidget servers and parse their responses into characters" @@ -42,7 +42,7 @@ clap = { version = "4.6", features = ["derive", "env"] } criterion = "0.8" enum-map = "2.7" env_logger = "0.11.10" -regex = "1.12.3" +regex = "1.12.4" rstest = "0.26.1" tokio = { version = "1.52", features = ["full"] } diff --git a/src/command.rs b/src/command.rs index 295f7b4..80eb39a 100644 --- a/src/command.rs +++ b/src/command.rs @@ -1030,7 +1030,7 @@ impl Command { pub(crate) fn request_string( &self, ) -> Result { - const APP_VERSION: &str = "300000000000"; + const APP_VERSION: &str = "307000000000"; use crate::{ error::SFError, gamestate::dungeons::{LightDungeon, ShadowDungeon}, diff --git a/src/session.rs b/src/session.rs index 16f2545..d81cbc1 100644 --- a/src/session.rs +++ b/src/session.rs @@ -552,7 +552,7 @@ impl Default for ConnectionOptions { fn default() -> Self { Self { user_agent: Some(DEFAULT_USER_AGENT.to_string()), - expected_server_version: 2020, + expected_server_version: 2022, error_on_unsupported_version: false, proxy: None, }