UNPKG

jsonld-signatures-merkleproof2019

Version:

A jsonld signature implementation to support MerkleProof2019 verification in Verifiable Credential context

5 lines (4 loc) 228 B
export function safelyAppendUrlParameter (url: string, parameterKey: string, parameterValue: string): string { const separator = url.includes('?') ? '&' : '?'; return `${url}${separator}${parameterKey}=${parameterValue}`; }