(tag: string, uuid: string)
| 49 | * @returns Tagged ID string like "user_01PaGUP2rbg1XDh7Z9W1CEpd" |
| 50 | */ |
| 51 | export function toTaggedId(tag: string, uuid: string): string { |
| 52 | const n = uuidToBigInt(uuid) |
| 53 | return `${tag}_${VERSION}${base58Encode(n)}` |
| 54 | } |
| 55 |
no test coverage detected