devtools-protocol 0.0.1077862 → 0.0.1078443
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22469,6 +22469,36 @@
|
|
22469
22469
|
}
|
22470
22470
|
]
|
22471
22471
|
}
|
22472
|
+
],
|
22473
|
+
"events": [
|
22474
|
+
{
|
22475
|
+
"name": "credentialAdded",
|
22476
|
+
"description": "Triggered when a credential is added to an authenticator.",
|
22477
|
+
"parameters": [
|
22478
|
+
{
|
22479
|
+
"name": "authenticatorId",
|
22480
|
+
"$ref": "AuthenticatorId"
|
22481
|
+
},
|
22482
|
+
{
|
22483
|
+
"name": "credential",
|
22484
|
+
"$ref": "Credential"
|
22485
|
+
}
|
22486
|
+
]
|
22487
|
+
},
|
22488
|
+
{
|
22489
|
+
"name": "credentialAsserted",
|
22490
|
+
"description": "Triggered when a credential is used in a webauthn assertion.",
|
22491
|
+
"parameters": [
|
22492
|
+
{
|
22493
|
+
"name": "authenticatorId",
|
22494
|
+
"$ref": "AuthenticatorId"
|
22495
|
+
},
|
22496
|
+
{
|
22497
|
+
"name": "credential",
|
22498
|
+
"$ref": "Credential"
|
22499
|
+
}
|
22500
|
+
]
|
22501
|
+
}
|
22472
22502
|
]
|
22473
22503
|
},
|
22474
22504
|
{
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -10630,6 +10630,18 @@ experimental domain WebAuthn
|
|
10630
10630
|
AuthenticatorId authenticatorId
|
10631
10631
|
boolean enabled
|
10632
10632
|
|
10633
|
+
# Triggered when a credential is added to an authenticator.
|
10634
|
+
event credentialAdded
|
10635
|
+
parameters
|
10636
|
+
AuthenticatorId authenticatorId
|
10637
|
+
Credential credential
|
10638
|
+
|
10639
|
+
# Triggered when a credential is used in a webauthn assertion.
|
10640
|
+
event credentialAsserted
|
10641
|
+
parameters
|
10642
|
+
AuthenticatorId authenticatorId
|
10643
|
+
Credential credential
|
10644
|
+
|
10633
10645
|
# This domain allows detailed inspection of media elements
|
10634
10646
|
experimental domain Media
|
10635
10647
|
|
@@ -672,6 +672,14 @@ export namespace ProtocolMapping {
|
|
672
672
|
* Notifies that an AudioNode is disconnected to an AudioParam.
|
673
673
|
*/
|
674
674
|
'WebAudio.nodeParamDisconnected': [Protocol.WebAudio.NodeParamDisconnectedEvent];
|
675
|
+
/**
|
676
|
+
* Triggered when a credential is added to an authenticator.
|
677
|
+
*/
|
678
|
+
'WebAuthn.credentialAdded': [Protocol.WebAuthn.CredentialAddedEvent];
|
679
|
+
/**
|
680
|
+
* Triggered when a credential is used in a webauthn assertion.
|
681
|
+
*/
|
682
|
+
'WebAuthn.credentialAsserted': [Protocol.WebAuthn.CredentialAssertedEvent];
|
675
683
|
/**
|
676
684
|
* This can be called multiple times, and can be used to set / override /
|
677
685
|
* remove player properties. A null propValue indicates removal.
|
@@ -3830,6 +3830,16 @@ export namespace ProtocolProxyApi {
|
|
3830
3830
|
*/
|
3831
3831
|
setAutomaticPresenceSimulation(params: Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest): Promise<void>;
|
3832
3832
|
|
3833
|
+
/**
|
3834
|
+
* Triggered when a credential is added to an authenticator.
|
3835
|
+
*/
|
3836
|
+
on(event: 'credentialAdded', listener: (params: Protocol.WebAuthn.CredentialAddedEvent) => void): void;
|
3837
|
+
|
3838
|
+
/**
|
3839
|
+
* Triggered when a credential is used in a webauthn assertion.
|
3840
|
+
*/
|
3841
|
+
on(event: 'credentialAsserted', listener: (params: Protocol.WebAuthn.CredentialAssertedEvent) => void): void;
|
3842
|
+
|
3833
3843
|
}
|
3834
3844
|
|
3835
3845
|
export interface MediaApi {
|
package/types/protocol.d.ts
CHANGED
@@ -16630,6 +16630,22 @@ export namespace Protocol {
|
|
16630
16630
|
authenticatorId: AuthenticatorId;
|
16631
16631
|
enabled: boolean;
|
16632
16632
|
}
|
16633
|
+
|
16634
|
+
/**
|
16635
|
+
* Triggered when a credential is added to an authenticator.
|
16636
|
+
*/
|
16637
|
+
export interface CredentialAddedEvent {
|
16638
|
+
authenticatorId: AuthenticatorId;
|
16639
|
+
credential: Credential;
|
16640
|
+
}
|
16641
|
+
|
16642
|
+
/**
|
16643
|
+
* Triggered when a credential is used in a webauthn assertion.
|
16644
|
+
*/
|
16645
|
+
export interface CredentialAssertedEvent {
|
16646
|
+
authenticatorId: AuthenticatorId;
|
16647
|
+
credential: Credential;
|
16648
|
+
}
|
16633
16649
|
}
|
16634
16650
|
|
16635
16651
|
/**
|