diff --git a/Cargo.toml b/Cargo.toml index c7f910c..d778ee6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,15 +17,10 @@ thiserror = "1.0.64" tokio = { version = "1.40.0", features = ["sync"] } serde_json = "1.0.128" log = "0.4.22" -supabase-auth = "0.9.1" +supabase-auth = "0.9.2" mime = "0.3.17" mime_guess = "2.0.5" -[patch.crates-io] -# Custom git revision to get support for PartialEq on structs in supabase-auth -# TODO: Update to proper version when it's released -supabase-auth = { git = "https://github.com/strykejern/supabase-auth-rs", branch = "derives" } - [target.'cfg(target_family = "wasm")'.dependencies] web-time = "1.1.0" diff --git a/src/tests.rs b/src/tests.rs index 25dd97b..92a97fb 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -3,6 +3,8 @@ use httptest::{all_of, responders, Expectation}; fn new_dummy_session(prefix: &str, expiration: std::time::SystemTime) -> crate::auth::Session { crate::auth::Session { + provider_token: None, + provider_refresh_token: None, access_token: format!("{prefix}_access_token"), token_type: "bearer".to_string(), expires_in: expiration