devtools-protocol 0.0.1702366 → 0.0.1704034
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.
- package/json/browser_protocol.json +41 -0
- package/package.json +1 -1
- package/pdl/domains/Page.pdl +2 -0
- package/pdl/domains/Storage.pdl +14 -0
- package/types/protocol-mapping.d.ts +9 -0
- package/types/protocol-proxy-api.d.ts +7 -0
- package/types/protocol-tests-proxy-api.d.ts +7 -0
- package/types/protocol.d.ts +23 -0
|
@@ -22571,6 +22571,12 @@
|
|
|
22571
22571
|
"description": "Frame swap timestamp.",
|
|
22572
22572
|
"optional": true,
|
|
22573
22573
|
"$ref": "Network.TimeSinceEpoch"
|
|
22574
|
+
},
|
|
22575
|
+
{
|
|
22576
|
+
"name": "monotonicTimestamp",
|
|
22577
|
+
"description": "Frame swap timestamp as monotonic time.",
|
|
22578
|
+
"optional": true,
|
|
22579
|
+
"$ref": "Network.MonotonicTime"
|
|
22574
22580
|
}
|
|
22575
22581
|
]
|
|
22576
22582
|
},
|
|
@@ -27815,6 +27821,27 @@
|
|
|
27815
27821
|
}
|
|
27816
27822
|
]
|
|
27817
27823
|
},
|
|
27824
|
+
{
|
|
27825
|
+
"id": "PrivateVerificationTokensIssuerConfig",
|
|
27826
|
+
"description": "Configuration for a Private Verification Tokens issuer.",
|
|
27827
|
+
"experimental": true,
|
|
27828
|
+
"type": "object",
|
|
27829
|
+
"properties": [
|
|
27830
|
+
{
|
|
27831
|
+
"name": "issuerOrigin",
|
|
27832
|
+
"description": "Origin of the token issuer.",
|
|
27833
|
+
"type": "string"
|
|
27834
|
+
},
|
|
27835
|
+
{
|
|
27836
|
+
"name": "redeemerOrigins",
|
|
27837
|
+
"description": "Origins authorized to redeem tokens from this issuer.",
|
|
27838
|
+
"type": "array",
|
|
27839
|
+
"items": {
|
|
27840
|
+
"type": "string"
|
|
27841
|
+
}
|
|
27842
|
+
}
|
|
27843
|
+
]
|
|
27844
|
+
},
|
|
27818
27845
|
{
|
|
27819
27846
|
"id": "StorageBucketsDurability",
|
|
27820
27847
|
"type": "string",
|
|
@@ -28181,6 +28208,20 @@
|
|
|
28181
28208
|
}
|
|
28182
28209
|
]
|
|
28183
28210
|
},
|
|
28211
|
+
{
|
|
28212
|
+
"name": "getPrivateVerificationTokensIssuerConfigs",
|
|
28213
|
+
"description": "Returns the configured Private Verification Tokens issuers and their redeemer\norigins.",
|
|
28214
|
+
"experimental": true,
|
|
28215
|
+
"returns": [
|
|
28216
|
+
{
|
|
28217
|
+
"name": "configs",
|
|
28218
|
+
"type": "array",
|
|
28219
|
+
"items": {
|
|
28220
|
+
"$ref": "PrivateVerificationTokensIssuerConfig"
|
|
28221
|
+
}
|
|
28222
|
+
}
|
|
28223
|
+
]
|
|
28224
|
+
},
|
|
28184
28225
|
{
|
|
28185
28226
|
"name": "clearPrivateVerificationTokens",
|
|
28186
28227
|
"description": "Removes all Private Verification Tokens issued by the provided issuerOrigin.",
|
package/package.json
CHANGED
package/pdl/domains/Page.pdl
CHANGED
|
@@ -388,6 +388,8 @@ domain Page
|
|
|
388
388
|
number scrollOffsetY
|
|
389
389
|
# Frame swap timestamp.
|
|
390
390
|
optional Network.TimeSinceEpoch timestamp
|
|
391
|
+
# Frame swap timestamp as monotonic time.
|
|
392
|
+
optional Network.MonotonicTime monotonicTimestamp
|
|
391
393
|
|
|
392
394
|
# Javascript dialog type.
|
|
393
395
|
type DialogType extends string
|
package/pdl/domains/Storage.pdl
CHANGED
|
@@ -58,6 +58,14 @@ experimental domain Storage
|
|
|
58
58
|
# Base64-encoded serialized token.
|
|
59
59
|
string token
|
|
60
60
|
|
|
61
|
+
# Configuration for a Private Verification Tokens issuer.
|
|
62
|
+
experimental type PrivateVerificationTokensIssuerConfig extends object
|
|
63
|
+
properties
|
|
64
|
+
# Origin of the token issuer.
|
|
65
|
+
string issuerOrigin
|
|
66
|
+
# Origins authorized to redeem tokens from this issuer.
|
|
67
|
+
array of string redeemerOrigins
|
|
68
|
+
|
|
61
69
|
|
|
62
70
|
|
|
63
71
|
type StorageBucketsDurability extends string
|
|
@@ -234,6 +242,12 @@ experimental domain Storage
|
|
|
234
242
|
returns
|
|
235
243
|
array of PrivateVerificationToken tokens
|
|
236
244
|
|
|
245
|
+
# Returns the configured Private Verification Tokens issuers and their redeemer
|
|
246
|
+
# origins.
|
|
247
|
+
experimental command getPrivateVerificationTokensIssuerConfigs
|
|
248
|
+
returns
|
|
249
|
+
array of PrivateVerificationTokensIssuerConfig configs
|
|
250
|
+
|
|
237
251
|
# Removes all Private Verification Tokens issued by the provided issuerOrigin.
|
|
238
252
|
experimental command clearPrivateVerificationTokens
|
|
239
253
|
parameters
|
|
@@ -5862,6 +5862,15 @@ export namespace ProtocolMapping {
|
|
|
5862
5862
|
paramsType: [];
|
|
5863
5863
|
returnType: Protocol.Storage.GetPrivateVerificationTokensResponse;
|
|
5864
5864
|
};
|
|
5865
|
+
/**
|
|
5866
|
+
* Returns the configured Private Verification Tokens issuers and their redeemer
|
|
5867
|
+
* origins.
|
|
5868
|
+
* @experimental
|
|
5869
|
+
*/
|
|
5870
|
+
'Storage.getPrivateVerificationTokensIssuerConfigs': {
|
|
5871
|
+
paramsType: [];
|
|
5872
|
+
returnType: Protocol.Storage.GetPrivateVerificationTokensIssuerConfigsResponse;
|
|
5873
|
+
};
|
|
5865
5874
|
/**
|
|
5866
5875
|
* Removes all Private Verification Tokens issued by the provided issuerOrigin.
|
|
5867
5876
|
* @experimental
|
|
@@ -4936,6 +4936,13 @@ export namespace ProtocolProxyApi {
|
|
|
4936
4936
|
*/
|
|
4937
4937
|
getPrivateVerificationTokens(): Promise<Protocol.Storage.GetPrivateVerificationTokensResponse>;
|
|
4938
4938
|
|
|
4939
|
+
/**
|
|
4940
|
+
* Returns the configured Private Verification Tokens issuers and their redeemer
|
|
4941
|
+
* origins.
|
|
4942
|
+
* @experimental
|
|
4943
|
+
*/
|
|
4944
|
+
getPrivateVerificationTokensIssuerConfigs(): Promise<Protocol.Storage.GetPrivateVerificationTokensIssuerConfigsResponse>;
|
|
4945
|
+
|
|
4939
4946
|
/**
|
|
4940
4947
|
* Removes all Private Verification Tokens issued by the provided issuerOrigin.
|
|
4941
4948
|
* @experimental
|
|
@@ -5322,6 +5322,13 @@ export namespace ProtocolTestsProxyApi {
|
|
|
5322
5322
|
*/
|
|
5323
5323
|
getPrivateVerificationTokens(): Promise<{id: number, result: Protocol.Storage.GetPrivateVerificationTokensResponse, sessionId: string}>;
|
|
5324
5324
|
|
|
5325
|
+
/**
|
|
5326
|
+
* Returns the configured Private Verification Tokens issuers and their redeemer
|
|
5327
|
+
* origins.
|
|
5328
|
+
* @experimental
|
|
5329
|
+
*/
|
|
5330
|
+
getPrivateVerificationTokensIssuerConfigs(): Promise<{id: number, result: Protocol.Storage.GetPrivateVerificationTokensIssuerConfigsResponse, sessionId: string}>;
|
|
5331
|
+
|
|
5325
5332
|
/**
|
|
5326
5333
|
* Removes all Private Verification Tokens issued by the provided issuerOrigin.
|
|
5327
5334
|
* @experimental
|
package/types/protocol.d.ts
CHANGED
|
@@ -17129,6 +17129,10 @@ export namespace Protocol {
|
|
|
17129
17129
|
* Frame swap timestamp.
|
|
17130
17130
|
*/
|
|
17131
17131
|
timestamp?: Network.TimeSinceEpoch;
|
|
17132
|
+
/**
|
|
17133
|
+
* Frame swap timestamp as monotonic time.
|
|
17134
|
+
*/
|
|
17135
|
+
monotonicTimestamp?: Network.MonotonicTime;
|
|
17132
17136
|
}
|
|
17133
17137
|
|
|
17134
17138
|
/**
|
|
@@ -20206,6 +20210,21 @@ export namespace Protocol {
|
|
|
20206
20210
|
token: string;
|
|
20207
20211
|
}
|
|
20208
20212
|
|
|
20213
|
+
/**
|
|
20214
|
+
* Configuration for a Private Verification Tokens issuer.
|
|
20215
|
+
* @experimental
|
|
20216
|
+
*/
|
|
20217
|
+
export interface PrivateVerificationTokensIssuerConfig {
|
|
20218
|
+
/**
|
|
20219
|
+
* Origin of the token issuer.
|
|
20220
|
+
*/
|
|
20221
|
+
issuerOrigin: string;
|
|
20222
|
+
/**
|
|
20223
|
+
* Origins authorized to redeem tokens from this issuer.
|
|
20224
|
+
*/
|
|
20225
|
+
redeemerOrigins: string[];
|
|
20226
|
+
}
|
|
20227
|
+
|
|
20209
20228
|
export type StorageBucketsDurability = ('relaxed' | 'strict');
|
|
20210
20229
|
|
|
20211
20230
|
export interface StorageBucket {
|
|
@@ -20416,6 +20435,10 @@ export namespace Protocol {
|
|
|
20416
20435
|
tokens: PrivateVerificationToken[];
|
|
20417
20436
|
}
|
|
20418
20437
|
|
|
20438
|
+
export interface GetPrivateVerificationTokensIssuerConfigsResponse {
|
|
20439
|
+
configs: PrivateVerificationTokensIssuerConfig[];
|
|
20440
|
+
}
|
|
20441
|
+
|
|
20419
20442
|
export interface ClearPrivateVerificationTokensRequest {
|
|
20420
20443
|
issuerOrigin: string;
|
|
20421
20444
|
}
|