@types/webappsec-credential-management
Advanced tools
Comparing version 0.3.10 to 0.3.11
@@ -60,3 +60,3 @@ // Type definitions for non-npm package W3C (WebAppSec) Credential Management API Level 1, 0.3 | ||
interface Navigator { | ||
credentials?: CredentialsContainer; | ||
readonly credentials: CredentialsContainer; | ||
} | ||
@@ -77,3 +77,3 @@ | ||
*/ | ||
get(options?: CredentialRequestOptions): Promise<Credential|null>; | ||
get(options?: CredentialRequestOptions): Promise<CredentialType|null>; | ||
@@ -87,3 +87,3 @@ /** | ||
*/ | ||
store(credential: Credential): Promise<Credential>; | ||
store(credential: CredentialType): Promise<CredentialType>; | ||
@@ -95,3 +95,3 @@ /** | ||
*/ | ||
create(options: CredentialCreationOptions): Promise<Credential|null>; | ||
create(options: CredentialCreationOptions): Promise<CredentialType|null>; | ||
@@ -133,3 +133,3 @@ /** | ||
type Credential = PasswordCredential|FederatedCredential|PublicKeyCredential; | ||
type CredentialType = PasswordCredential|FederatedCredential|PublicKeyCredential; | ||
@@ -288,7 +288,2 @@ /** | ||
/** | ||
* @see {@link https://www.w3.org/TR/2017/WD-credential-management-1-20170804/#enumdef-credentialmediationrequirement} | ||
*/ | ||
type CredentialMediationRequirement = 'silent'|'optional'|'required'; | ||
/** | ||
* @see {@link https://www.w3.org/TR/credential-management-1/#dictdef-credentialrequestoptions} | ||
@@ -321,3 +316,3 @@ */ | ||
*/ | ||
mediation?: CredentialMediationRequirement; | ||
mediation?: 'silent' | 'optional' | 'required'; | ||
@@ -324,0 +319,0 @@ /** |
{ | ||
"name": "@types/webappsec-credential-management", | ||
"version": "0.3.10", | ||
"version": "0.3.11", | ||
"description": "TypeScript definitions for W3C (WebAppSec) Credential Management API Level 1,", | ||
@@ -27,4 +27,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "e3e276792d393ae786c85e8e941c5ca4ea5456eb2fe14b0bbf5b9c0a029e7b79", | ||
"typesPublisherContentHash": "6ddf444ffe6f6b596b3bd2672a84155a138de6c40e828a2290a511234900a4d8", | ||
"typeScriptVersion": "2.7" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for W3C (WebAppSec) Credential Management API Level 1, ( https://github.com/w3c/webappsec-credential-management ). | ||
This package contains type definitions for W3C (WebAppSec) Credential Management API Level 1, (https://github.com/w3c/webappsec-credential-management). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Wed, 06 Mar 2019 19:47:04 GMT | ||
* Last updated: Wed, 19 Jun 2019 21:00:05 GMT | ||
* Dependencies: none | ||
@@ -18,2 +18,2 @@ * Global values: CredentialBase, FederatedCredential, PasswordCredential, SiteBoundCredential, fetch | ||
# Credits | ||
These definitions were written by Iain McGinniss <https://github.com/iainmcgin>, Joao Peixoto <https://github.com/Hartimer>. | ||
These definitions were written by Iain McGinniss <https://github.com/iainmcgin>, and Joao Peixoto <https://github.com/Hartimer>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19473
440