summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2024-01-19 22:04:12 -0800
committerGitHub <noreply@github.com>2024-01-19 22:04:12 -0800
commitd5a68625ee6eef874f241fcb223b2a046683af63 (patch)
tree824a22419108e1c6cddecf7b50afc8f4cbb003f3 /packages/server/src
parentf888dae8c74cc8c5d2638cf3bdf92e42b5a713bb (diff)
parent308799b3222111f1d42ac56854d849a1c96d0ef2 (diff)
Merge pull request #504 from mmv08/types/export-additional-cose-pubkey-types
Export algorithm-specific `COSEPublicKey` types in the server package
Diffstat (limited to 'packages/server/src')
-rw-r--r--packages/server/src/helpers/index.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/server/src/helpers/index.ts b/packages/server/src/helpers/index.ts
index 029ce17..30cf867 100644
--- a/packages/server/src/helpers/index.ts
+++ b/packages/server/src/helpers/index.ts
@@ -42,7 +42,7 @@ import type {
} from './decodeAttestationObject.ts';
import type { CertificateInfo } from './getCertificateInfo.ts';
import type { ClientDataJSON } from './decodeClientDataJSON.ts';
-import type { COSEPublicKey } from './cose.ts';
+import type { COSEPublicKey, COSEPublicKeyEC2, COSEPublicKeyOKP, COSEPublicKeyRSA } from './cose.ts';
import type { ParsedAuthenticatorData } from './parseAuthenticatorData.ts';
export type {
@@ -52,5 +52,8 @@ export type {
CertificateInfo,
ClientDataJSON,
COSEPublicKey,
+ COSEPublicKeyEC2,
+ COSEPublicKeyOKP,
+ COSEPublicKeyRSA,
ParsedAuthenticatorData,
};