Skip to content

Commit

Permalink
use array as preferred for credential types
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Tate <[email protected]>
Co-Authored-By: Joey Silberman <[email protected]>
Signed-off-by: Ryan Tate <[email protected]>
  • Loading branch information
Ryanmtate and Joey-Silberman committed Nov 13, 2024
1 parent 6a21f19 commit cddcfb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions crates/claims/crates/vc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ssi-vc"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
authors = ["Spruce Systems, Inc."]
license = "Apache-2.0"
Expand Down Expand Up @@ -33,7 +33,10 @@ educe.workspace = true
base64.workspace = true
bitvec = "0.20"
flate2 = "1.0"
reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"] }
reqwest = { version = "0.11", default-features = false, features = [
"json",
"rustls-tls",
] }
ssi-verification-methods.workspace = true
ssi-dids-core.workspace = true
ssi-data-integrity.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/claims/crates/vc/src/v1/syntax/presentation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ impl RequiredType for PresentationType {
}

impl TypeSerializationPolicy for PresentationType {
const PREFER_ARRAY: bool = false;
const PREFER_ARRAY: bool = true;
}

pub type JsonPresentationTypes<T = ()> = Types<PresentationType, T>;
Expand Down

0 comments on commit cddcfb3

Please sign in to comment.