Skip to content

Commit

Permalink
Update supabase-auth dependency to 0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
strykejern committed Oct 27, 2024
1 parent 834e7c0 commit 2985890
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 1 addition & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 2 additions & 0 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2985890

Please sign in to comment.