chore: migrate unkey v2 (#1638)
* chore: migrate unkey v2* fix: tsc* fix: tsc and tests* chore: improve error message* fix: ternary operation
authored by Maximilian Kaske and committed by GitHub 3 months ago ab4574d0 5003141b