Skip to content

Commit

Permalink
updated binding
Browse files Browse the repository at this point in the history
  • Loading branch information
nitro-neal committed Sep 10, 2024
1 parent e7da8a7 commit 5616ca1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 5 additions & 3 deletions bindings/web5_uniffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ use web5_uniffi_wrapper::{
VerifiableCredentialCreateOptions as VerifiableCredentialCreateOptionsData,
VerifiableCredentialData,
},
verifiable_presentation_1_1::VerifiablePresentation,
verifiable_presentation_1_1::{
VerifiablePresentation,
VerifiablePresentationCreateOptions as VerifiablePresentationCreateOptionsData,
VerifiablePresentationData
},
},
crypto::{
dsa::{
Expand Down Expand Up @@ -37,8 +41,6 @@ use web5_uniffi_wrapper::{
use web5::{
credentials::{
CredentialSchema as CredentialSchemaData, CredentialStatus as CredentialStatusData,
VerifiablePresentation as VerifiablePresentationData,
VerifiablePresentationCreateOptions as VerifiablePresentationCreateOptionsData,
},
crypto::{dsa::Dsa, jwk::Jwk as JwkData},
dids::{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ use std::time::SystemTime;
use serde_json::Value;
use web5::credentials::VerifiablePresentation as InnerVerifiablePresentation;
use web5::credentials::VerifiablePresentationCreateOptions as InnerVerifiablePresentationCreateOptions;
use web5::{
json::{FromJson as _, JsonObject},
};
// use web5::json::JsonObject;

#[derive(Default)]
pub struct VerifiablePresentationCreateOptions {
Expand Down

0 comments on commit 5616ca1

Please sign in to comment.