forked from jsnbuchanan/crowd-funder-for-time-pwa
add sanity checks for importing bulk contacts, eg. when there is a truncated link
This commit is contained in:
@@ -124,7 +124,7 @@ function bytesToHex(b: Uint8Array): string {
|
||||
}
|
||||
|
||||
// We should be calling 'verify' in more places, showing warnings if it fails.
|
||||
// @returns JWTDecoded with { header: JWTHeader, payload: string, signature: string, data: string } (but doesn't verify the signature)
|
||||
// @returns JWTDecoded with { header: JWTHeader, payload: any, signature: string, data: string } (but doesn't verify the signature)
|
||||
export function decodeEndorserJwt(jwt: string) {
|
||||
return didJwt.decodeJWT(jwt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user