devtools-protocol 0.0.1077862 → 0.0.1079624
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.
@@ -2182,7 +2182,8 @@
|
|
2182
2182
|
"type": "string",
|
2183
2183
|
"enum": [
|
2184
2184
|
"granted",
|
2185
|
-
"denied"
|
2185
|
+
"denied",
|
2186
|
+
"prompt"
|
2186
2187
|
]
|
2187
2188
|
},
|
2188
2189
|
{
|
@@ -22469,6 +22470,36 @@
|
|
22469
22470
|
}
|
22470
22471
|
]
|
22471
22472
|
}
|
22473
|
+
],
|
22474
|
+
"events": [
|
22475
|
+
{
|
22476
|
+
"name": "credentialAdded",
|
22477
|
+
"description": "Triggered when a credential is added to an authenticator.",
|
22478
|
+
"parameters": [
|
22479
|
+
{
|
22480
|
+
"name": "authenticatorId",
|
22481
|
+
"$ref": "AuthenticatorId"
|
22482
|
+
},
|
22483
|
+
{
|
22484
|
+
"name": "credential",
|
22485
|
+
"$ref": "Credential"
|
22486
|
+
}
|
22487
|
+
]
|
22488
|
+
},
|
22489
|
+
{
|
22490
|
+
"name": "credentialAsserted",
|
22491
|
+
"description": "Triggered when a credential is used in a webauthn assertion.",
|
22492
|
+
"parameters": [
|
22493
|
+
{
|
22494
|
+
"name": "authenticatorId",
|
22495
|
+
"$ref": "AuthenticatorId"
|
22496
|
+
},
|
22497
|
+
{
|
22498
|
+
"name": "credential",
|
22499
|
+
"$ref": "Credential"
|
22500
|
+
}
|
22501
|
+
]
|
22502
|
+
}
|
22472
22503
|
]
|
22473
22504
|
},
|
22474
22505
|
{
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -1100,6 +1100,7 @@ domain Browser
|
|
1100
1100
|
enum
|
1101
1101
|
granted
|
1102
1102
|
denied
|
1103
|
+
prompt
|
1103
1104
|
|
1104
1105
|
# Definition of PermissionDescriptor defined in the Permissions API:
|
1105
1106
|
# https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
|
@@ -10630,6 +10631,18 @@ experimental domain WebAuthn
|
|
10630
10631
|
AuthenticatorId authenticatorId
|
10631
10632
|
boolean enabled
|
10632
10633
|
|
10634
|
+
# Triggered when a credential is added to an authenticator.
|
10635
|
+
event credentialAdded
|
10636
|
+
parameters
|
10637
|
+
AuthenticatorId authenticatorId
|
10638
|
+
Credential credential
|
10639
|
+
|
10640
|
+
# Triggered when a credential is used in a webauthn assertion.
|
10641
|
+
event credentialAsserted
|
10642
|
+
parameters
|
10643
|
+
AuthenticatorId authenticatorId
|
10644
|
+
Credential credential
|
10645
|
+
|
10633
10646
|
# This domain allows detailed inspection of media elements
|
10634
10647
|
experimental domain Media
|
10635
10648
|
|
@@ -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
@@ -3710,7 +3710,7 @@ export namespace Protocol {
|
|
3710
3710
|
|
3711
3711
|
export type PermissionType = ('accessibilityEvents' | 'audioCapture' | 'backgroundSync' | 'backgroundFetch' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'flash' | 'geolocation' | 'idleDetection' | 'localFonts' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'protectedMediaIdentifier' | 'sensors' | 'storageAccess' | 'videoCapture' | 'videoCapturePanTiltZoom' | 'wakeLockScreen' | 'wakeLockSystem' | 'windowManagement');
|
3712
3712
|
|
3713
|
-
export type PermissionSetting = ('granted' | 'denied');
|
3713
|
+
export type PermissionSetting = ('granted' | 'denied' | 'prompt');
|
3714
3714
|
|
3715
3715
|
/**
|
3716
3716
|
* Definition of PermissionDescriptor defined in the Permissions API:
|
@@ -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
|
/**
|