MasterKale / SimpleWebAuthn

WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.
https://simplewebauthn.dev
MIT License
1.62k stars 137 forks source link

395-support-typescript-4.0 #396

Closed MasterKale closed 1 year ago

MasterKale commented 1 year ago

This PR updates the AttestationStatement.size type to use syntax that is friendlier for older versions of TypeScript, including TypeScript 4.0.

This PR also defines this project's minimum officially supported TypeScript of Version 4.4+. From here on no further efforts will be taken to support anything older than this.

Fixes #395.