Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/webappsec-credential-management

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/webappsec-credential-management - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

98

webappsec-credential-management/index.d.ts

@@ -40,13 +40,13 @@ // Type definitions for non-npm package W3C (WebAppSec) Credential Management API Level 1, 0.6

interface CMRequestInit {
method?: string;
method?: string | undefined;
headers?: any;
body?: any;
referrer?: string;
referrerPolicy?: string;
mode?: string;
credentials?: PasswordCredential|FederatedCredential|string;
cache?: string;
redirect?: string;
integrity?: string;
keepalive?: boolean;
referrer?: string | undefined;
referrerPolicy?: string | undefined;
mode?: string | undefined;
credentials?: PasswordCredential|FederatedCredential|string | undefined;
cache?: string | undefined;
redirect?: string | undefined;
integrity?: string | undefined;
keepalive?: boolean | undefined;
window?: any;

@@ -158,3 +158,3 @@ }

*/
name?: string;
name?: string | undefined;
/**

@@ -166,3 +166,3 @@ * A URL pointing to an image for the credential. This URL MUST be an

*/
iconURL?: string;
iconURL?: string | undefined;
}

@@ -255,3 +255,3 @@

*/
readonly password?: string;
readonly password?: string | undefined;
}

@@ -264,3 +264,3 @@

provider: string;
protocol?: string;
protocol?: string | undefined;
}

@@ -297,3 +297,3 @@

*/
password?: boolean;
password?: boolean | undefined;

@@ -304,3 +304,3 @@ /**

*/
federated?: FederatedCredentialRequestOptions;
federated?: FederatedCredentialRequestOptions | undefined;

@@ -313,3 +313,3 @@ /**

*/
unmediated?: boolean;
unmediated?: boolean | undefined;

@@ -320,3 +320,3 @@ /**

*/
mediation?: 'silent' | 'optional' | 'required';
mediation?: 'silent' | 'optional' | 'required' | undefined;

@@ -326,3 +326,3 @@ /**

*/
publicKey?: PublicKeyCredentialRequestOptions;
publicKey?: PublicKeyCredentialRequestOptions | undefined;

@@ -332,3 +332,3 @@ /**

*/
signal?: AbortSignal;
signal?: AbortSignal | undefined;
}

@@ -353,15 +353,15 @@

*/
password?: PasswordCredentialInit;
password?: PasswordCredentialInit | undefined;
/**
* @see {@link https://www.w3.org/TR/2017/WD-credential-management-1-20170804/#dom-credentialcreationoptions-federated}
*/
federated?: FederatedCredentialInit;
federated?: FederatedCredentialInit | undefined;
/**
* @see {@link https://w3c.github.io/webauthn/#dictionary-makecredentialoptions}
*/
publicKey?: PublicKeyCredentialCreationOptions;
publicKey?: PublicKeyCredentialCreationOptions | undefined;
/**
* @see {@link https://w3c.github.io/webappsec-credential-management/#dom-credentialrequestoptions-signal}
*/
signal?: AbortSignal;
signal?: AbortSignal | undefined;
}

@@ -377,3 +377,3 @@

*/
providers?: string[];
providers?: string[] | undefined;

@@ -384,3 +384,3 @@ /**

*/
protocols?: string[];
protocols?: string[] | undefined;
}

@@ -396,10 +396,10 @@

interface AuthenticationExtensionsClientInputs {
appid?: string;
authnSel?: Array<ArrayBufferView | ArrayBuffer>;
exts?: boolean;
loc?: boolean;
txAuthGeneric?: txAuthGenericArg;
txAuthSimple?: string;
uvi?: boolean;
uvm?: boolean;
appid?: string | undefined;
authnSel?: Array<ArrayBufferView | ArrayBuffer> | undefined;
exts?: boolean | undefined;
loc?: boolean | undefined;
txAuthGeneric?: txAuthGenericArg | undefined;
txAuthSimple?: string | undefined;
uvi?: boolean | undefined;
uvm?: boolean | undefined;
}

@@ -412,7 +412,7 @@

challenge: BufferSource;
timeout?: number;
rpId?: string;
allowCredentials?: PublicKeyCredentialDescriptor[];
userVerification?: "required" | "preferred" | "discouraged";
extensions?: AuthenticationExtensionsClientInputs;
timeout?: number | undefined;
rpId?: string | undefined;
allowCredentials?: PublicKeyCredentialDescriptor[] | undefined;
userVerification?: "required" | "preferred" | "discouraged" | undefined;
extensions?: AuthenticationExtensionsClientInputs | undefined;
}

@@ -424,3 +424,3 @@

interface PublicKeyCredentialEntity {
icon?: string;
icon?: string | undefined;
name: string;

@@ -433,3 +433,3 @@ }

interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {
id?: string;
id?: string | undefined;
}

@@ -459,3 +459,3 @@

id: BufferSource;
transports?: Array<"usb" | "nfc" | "ble" | "internal">;
transports?: Array<"usb" | "nfc" | "ble" | "internal"> | undefined;
}

@@ -467,5 +467,5 @@

interface AuthenticatorSelectionCriteria {
authenticatorAttachment?: "platform" | "cross-platform";
requireResidentKey?: boolean;
userVerification?: "required" | "preferred" | "discouraged";
authenticatorAttachment?: "platform" | "cross-platform" | undefined;
requireResidentKey?: boolean | undefined;
userVerification?: "required" | "preferred" | "discouraged" | undefined;
}

@@ -483,7 +483,7 @@

timeout?: number;
excludeCredentials?: PublicKeyCredentialDescriptor[];
authenticatorSelection?: AuthenticatorSelectionCriteria;
attestation?: AttestationConveyancePreference;
extensions?: AuthenticationExtensionsClientInputs;
timeout?: number | undefined;
excludeCredentials?: PublicKeyCredentialDescriptor[] | undefined;
authenticatorSelection?: AuthenticatorSelectionCriteria | undefined;
attestation?: AttestationConveyancePreference | undefined;
extensions?: AuthenticationExtensionsClientInputs | undefined;
}

@@ -490,0 +490,0 @@

{
"name": "@types/webappsec-credential-management",
"version": "0.6.0",
"version": "0.6.1",
"description": "TypeScript definitions for W3C (WebAppSec) Credential Management API Level 1,",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webappsec-credential-management",
"license": "MIT",

@@ -32,4 +33,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "7de3ed476b9d2519de16c47cf9b9a6e4215ec423364f2cfe48103f76bb59b622",
"typesPublisherContentHash": "f3b61651311edc02e934b7832c502dc5a66da4006bba3702648c200613bf30f9",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 17 Sep 2020 16:18:23 GMT
* Last updated: Fri, 02 Jul 2021 18:05:19 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `FederatedCredential`, `PasswordCredential`, `SiteBoundCredential`, `fetch`

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