Skip to content

Commit

Permalink
update connector
Browse files Browse the repository at this point in the history
  • Loading branch information
lukachi committed Jan 18, 2024
1 parent 462cb79 commit 95b211f
Show file tree
Hide file tree
Showing 3 changed files with 277 additions and 256 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@rarimo/auth-zkp-iden3": "^2.0.0-rc.24",
"@rarimo/client": "^2.0.0-rc.24",
"@rarimo/identity-gen-iden3": "^2.0.0-rc.24",
"@rarimo/rarime-connector": "2.0.0-rc.4",
"@rarimo/rarime-connector": "2.0.0-rc.5",
"@rarimo/shared-zkp-iden3": "^2.0.0-rc.24",
"@rarimo/zkp-gen-iden3": "^2.0.0-rc.24",
"@sentry/react": "7.63.0",
Expand Down
9 changes: 7 additions & 2 deletions src/contexts/ZkpContext/ZkpContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const ZkpContextProvider: FC<Props> = ({ children, ...rest }) => {
$eq: 1,
},
},
type: 'IdentityProviders',
type: verifiableCredentials.type,
},
})

Expand All @@ -257,7 +257,12 @@ const ZkpContextProvider: FC<Props> = ({ children, ...rest }) => {
setIsZKPRequestPending(false)

return zkProofResponse
}, [verifiableCredentials?.issuer, zkpSnap, provider?.address])
}, [
verifiableCredentials?.issuer,
verifiableCredentials?.type,
zkpSnap,
provider?.address,
])

/**
* SUBMITTING PROOF
Expand Down
Loading

0 comments on commit 95b211f

Please sign in to comment.