New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@simplewebauthn/typescript-types

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@simplewebauthn/typescript-types - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

20

dist/index.d.ts

@@ -33,3 +33,3 @@ /**

export interface AttestationCredential extends PublicKeyCredential {
response: AuthenticatorAttestationResponse;
response: AuthenticatorAttestationResponseFuture;
}

@@ -43,2 +43,3 @@ /**

response: AuthenticatorAttestationResponseJSON;
transports?: AuthenticatorTransport[];
}

@@ -63,3 +64,3 @@ /**

*/
export interface AuthenticatorAttestationResponseJSON extends Omit<AuthenticatorAttestationResponse, 'clientDataJSON' | 'attestationObject'> {
export interface AuthenticatorAttestationResponseJSON extends Omit<AuthenticatorAttestationResponseFuture, 'clientDataJSON' | 'attestationObject'> {
clientDataJSON: Base64URLString;

@@ -90,1 +91,16 @@ attestationObject: Base64URLString;

export declare type Base64URLString = string;
/**
* AuthenticatorAttestationResponse in TypeScript's DOM lib is outdated (up through v3.9.7).
* Maintain an augmented version here so we can implement additional properties as the WebAuthn
* spec evolves.
*
* See https://www.w3.org/TR/webauthn-2/#iface-authenticatorattestationresponse
*
* Properties marked optional are not supported in all browsers.
*/
export interface AuthenticatorAttestationResponseFuture extends AuthenticatorAttestationResponse {
getTransports?: () => AuthenticatorTransport[];
getAuthenticatorData?: () => ArrayBuffer;
getPublicKey?: () => ArrayBuffer;
getPublicKeyAlgorithm?: () => COSEAlgorithmIdentifier[];
}

4

package.json
{
"name": "@simplewebauthn/typescript-types",
"version": "0.9.0",
"version": "0.10.0",
"description": "TypeScript types used by the @simplewebauthn series of libraries",

@@ -28,3 +28,3 @@ "main": "dist/index.js",

],
"gitHead": "c6c147f1a4dbbe21d643e02775a5b2e6957689c9"
"gitHead": "30839edf84a46e15b1e3c45dbe5f6bb940dfc86a"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc