Skip to content

Commit

Permalink
Fix rebasing mishaps.
Browse files Browse the repository at this point in the history
  • Loading branch information
timothee-haudebourg committed Jun 25, 2024
1 parent 3fe1a1d commit 8e5eb86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/zcap-ld/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ use ssi_claims::{
DataIntegrity, Proof, Proofs,
},
vc::syntax::{Context, RequiredContext},
ClaimsValidity, DateTimeEnvironment, Eip712TypesEnvironment, InvalidClaims, SignatureError,
Validate,
ClaimsValidity, DateTimeEnvironment, Eip712TypesEnvironment, InvalidClaims,
SignatureEnvironment, SignatureError, Validate,
};
use ssi_json_ld::{ContextLoaderEnvironment, JsonLdError, JsonLdNodeObject, JsonLdObject, Loader};
use ssi_rdf::{Interpretation, LdEnvironment, LinkedDataResource, LinkedDataSubject};
Expand Down Expand Up @@ -145,8 +145,9 @@ impl<C, P> Delegation<C, P> {
S: Signer<AnyMethod>,
S::MessageSigner: MessageSigner<AnySignatureAlgorithm>,
{
self.sign(
self.sign_with(
suite,
SignatureEnvironment::default(),
resolver,
signer,
proof_configuration,
Expand Down
1 change: 1 addition & 0 deletions src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pub use crate::{
},
vc::syntax::{AnyJsonCredential, AnyJsonPresentation},
CompactJWS, CompactJWSBuf, CompactJWSStr, CompactJWSString, JWSPayload, JWTClaims,
VerifiableClaims,
},
dids::{DIDResolver, DIDJWK},
verification_methods::{AnyJwkMethod, AnyMethod, SingleSecretSigner},
Expand Down

0 comments on commit 8e5eb86

Please sign in to comment.