devtools-protocol 0.0.1140464 → 0.0.1141857
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.
@@ -23410,6 +23410,15 @@
|
|
23410
23410
|
"SignUp"
|
23411
23411
|
]
|
23412
23412
|
},
|
23413
|
+
{
|
23414
|
+
"id": "DialogType",
|
23415
|
+
"description": "Whether the dialog shown is an account chooser or an auto re-authentication dialog.",
|
23416
|
+
"type": "string",
|
23417
|
+
"enum": [
|
23418
|
+
"AccountChooser",
|
23419
|
+
"AutoReauthn"
|
23420
|
+
]
|
23421
|
+
},
|
23413
23422
|
{
|
23414
23423
|
"id": "Account",
|
23415
23424
|
"description": "Corresponds to IdentityRequestAccount",
|
@@ -23469,6 +23478,10 @@
|
|
23469
23478
|
"name": "dialogId",
|
23470
23479
|
"type": "string"
|
23471
23480
|
},
|
23481
|
+
{
|
23482
|
+
"name": "dialogType",
|
23483
|
+
"$ref": "DialogType"
|
23484
|
+
},
|
23472
23485
|
{
|
23473
23486
|
"name": "accounts",
|
23474
23487
|
"type": "array",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -11068,6 +11068,12 @@ experimental domain FedCm
|
|
11068
11068
|
SignIn
|
11069
11069
|
SignUp
|
11070
11070
|
|
11071
|
+
# Whether the dialog shown is an account chooser or an auto re-authentication dialog.
|
11072
|
+
type DialogType extends string
|
11073
|
+
enum
|
11074
|
+
AccountChooser
|
11075
|
+
AutoReauthn
|
11076
|
+
|
11071
11077
|
# Corresponds to IdentityRequestAccount
|
11072
11078
|
type Account extends object
|
11073
11079
|
properties
|
@@ -11086,6 +11092,7 @@ experimental domain FedCm
|
|
11086
11092
|
event dialogShown
|
11087
11093
|
parameters
|
11088
11094
|
string dialogId
|
11095
|
+
DialogType dialogType
|
11089
11096
|
array of Account accounts
|
11090
11097
|
# These exist primarily so that the caller can verify the
|
11091
11098
|
# RP context was used appropriately.
|
package/types/protocol.d.ts
CHANGED
@@ -17245,6 +17245,11 @@ export namespace Protocol {
|
|
17245
17245
|
*/
|
17246
17246
|
export type LoginState = ('SignIn' | 'SignUp');
|
17247
17247
|
|
17248
|
+
/**
|
17249
|
+
* Whether the dialog shown is an account chooser or an auto re-authentication dialog.
|
17250
|
+
*/
|
17251
|
+
export type DialogType = ('AccountChooser' | 'AutoReauthn');
|
17252
|
+
|
17248
17253
|
/**
|
17249
17254
|
* Corresponds to IdentityRequestAccount
|
17250
17255
|
*/
|
@@ -17285,6 +17290,7 @@ export namespace Protocol {
|
|
17285
17290
|
|
17286
17291
|
export interface DialogShownEvent {
|
17287
17292
|
dialogId: string;
|
17293
|
+
dialogType: DialogType;
|
17288
17294
|
accounts: Account[];
|
17289
17295
|
/**
|
17290
17296
|
* These exist primarily so that the caller can verify the
|