@github/webauthn-json
Advanced tools
Comparing version 0.6.3 to 0.6.4
@@ -105,3 +105,3 @@ #!/usr/bin/env node | ||
if (command === "schema") { | ||
const schemaWithVersion = { ...schema, version: "0.6.3" }; | ||
const schemaWithVersion = { ...schema, version: "0.6.4" }; | ||
console.log(JSON.stringify(schemaWithVersion, null, " ")); | ||
@@ -108,0 +108,0 @@ } else { |
export * from "./index"; | ||
export { createRequestFromJSON, createResponseToJSON, getRequestFromJSON, getResponseToJSON, } from "./basic/api"; | ||
import type { CredentialCreationOptionsJSON, CredentialRequestOptionsJSON, PublicKeyCredentialWithAssertionJSON, PublicKeyCredentialWithAttestationJSON } from "./basic/json"; | ||
export type { CredentialCreationOptionsJSON, PublicKeyCredentialWithAttestationJSON, CredentialRequestOptionsJSON, PublicKeyCredentialWithAssertionJSON, }; | ||
export type { CredentialCreationOptionsJSON, CredentialRequestOptionsJSON, PublicKeyCredentialWithAssertionJSON, PublicKeyCredentialWithAttestationJSON, } from "./basic/json"; | ||
export { createExtended, createExtendedRequestFromJSON, createExtendedResponseToJSON, getExtended, getExtendedRequestFromJSON, getExtendedResponseToJSON, } from "./extended/api"; | ||
import type { CredentialCreationOptionsExtendedJSON, CredentialRequestOptionsExtendedJSON, PublicKeyCredentialWithAssertionExtendedResultsJSON, PublicKeyCredentialWithAttestationExtendedResultsJSON } from "./extended/json"; | ||
export type { CredentialCreationOptionsExtendedJSON, CredentialRequestOptionsExtendedJSON, PublicKeyCredentialWithAssertionExtendedResultsJSON, PublicKeyCredentialWithAttestationExtendedResultsJSON, }; | ||
export type { CredentialCreationOptionsExtendedJSON, CredentialRequestOptionsExtendedJSON, PublicKeyCredentialWithAssertionExtendedResultsJSON, PublicKeyCredentialWithAttestationExtendedResultsJSON, } from "./extended/json"; | ||
export { base64urlToBuffer, bufferToBase64url } from "./base64url"; | ||
export { convert } from "./convert"; | ||
export { schema } from "./basic/schema"; |
export { create, get } from "./basic/api"; | ||
export { supported } from "./basic/supported"; | ||
export { schema } from "./basic/schema"; | ||
export type { PublicKeyCredentialDescriptorJSON, PublicKeyCredentialWithAssertionJSON, PublicKeyCredentialWithAttestationJSON, } from "./basic/json"; |
{ | ||
"name": "@github/webauthn-json", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "A wrapper for the webauthn API that adapts input/output values to plain JSON with base64url.", | ||
@@ -15,7 +15,7 @@ "author": "GitHub, Inc. <opensource+webauthn-json@github.com>", | ||
"import": "./dist/webauthn-json.js", | ||
"types": "./dist/types/webauthn-json/index.d.ts" | ||
"types": "./dist/types/index.d.ts" | ||
}, | ||
"./extended": { | ||
"import": "./dist/webauthn-json.extended.js", | ||
"types": "./dist/types/webauthn-json/extended.d.ts" | ||
"types": "./dist/types/extended.d.ts" | ||
} | ||
@@ -22,0 +22,0 @@ }, |
@@ -12,3 +12,3 @@ // Basic | ||
import type { | ||
export type { | ||
CredentialCreationOptionsJSON, | ||
@@ -20,9 +20,2 @@ CredentialRequestOptionsJSON, | ||
export type { | ||
CredentialCreationOptionsJSON, | ||
PublicKeyCredentialWithAttestationJSON, | ||
CredentialRequestOptionsJSON, | ||
PublicKeyCredentialWithAssertionJSON, | ||
}; | ||
// Extended | ||
@@ -39,3 +32,3 @@ | ||
import type { | ||
export type { | ||
CredentialCreationOptionsExtendedJSON, | ||
@@ -47,9 +40,2 @@ CredentialRequestOptionsExtendedJSON, | ||
export type { | ||
CredentialCreationOptionsExtendedJSON, | ||
CredentialRequestOptionsExtendedJSON, | ||
PublicKeyCredentialWithAssertionExtendedResultsJSON, | ||
PublicKeyCredentialWithAttestationExtendedResultsJSON, | ||
}; | ||
// Conversion | ||
@@ -56,0 +42,0 @@ |
export { create, get } from "./basic/api"; | ||
export { supported } from "./basic/supported"; | ||
export { schema } from "./basic/schema"; | ||
export type { | ||
PublicKeyCredentialDescriptorJSON, | ||
PublicKeyCredentialWithAssertionJSON, | ||
PublicKeyCredentialWithAttestationJSON, | ||
} from "./basic/json"; |
Sorry, the diff of this file is not supported yet
181968
47
2653