devtools-protocol 0.0.943026 → 0.0.943452
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.
|
@@ -11878,6 +11878,23 @@
|
|
|
11878
11878
|
}
|
|
11879
11879
|
]
|
|
11880
11880
|
},
|
|
11881
|
+
{
|
|
11882
|
+
"id": "ReportingApiEndpoint",
|
|
11883
|
+
"experimental": true,
|
|
11884
|
+
"type": "object",
|
|
11885
|
+
"properties": [
|
|
11886
|
+
{
|
|
11887
|
+
"name": "url",
|
|
11888
|
+
"description": "The URL of the endpoint to which reports may be delivered.",
|
|
11889
|
+
"type": "string"
|
|
11890
|
+
},
|
|
11891
|
+
{
|
|
11892
|
+
"name": "groupName",
|
|
11893
|
+
"description": "Name of the endpoint group.",
|
|
11894
|
+
"type": "string"
|
|
11895
|
+
}
|
|
11896
|
+
]
|
|
11897
|
+
},
|
|
11881
11898
|
{
|
|
11882
11899
|
"id": "LoadNetworkResourcePageResult",
|
|
11883
11900
|
"description": "An object providing the result of a network resource load.",
|
|
@@ -13432,6 +13449,24 @@
|
|
|
13432
13449
|
"$ref": "ReportingApiReport"
|
|
13433
13450
|
}
|
|
13434
13451
|
]
|
|
13452
|
+
},
|
|
13453
|
+
{
|
|
13454
|
+
"name": "reportingApiEndpointsChangedForOrigin",
|
|
13455
|
+
"experimental": true,
|
|
13456
|
+
"parameters": [
|
|
13457
|
+
{
|
|
13458
|
+
"name": "origin",
|
|
13459
|
+
"description": "Origin of the document(s) which configured the endpoints.",
|
|
13460
|
+
"type": "string"
|
|
13461
|
+
},
|
|
13462
|
+
{
|
|
13463
|
+
"name": "endpoints",
|
|
13464
|
+
"type": "array",
|
|
13465
|
+
"items": {
|
|
13466
|
+
"$ref": "ReportingApiEndpoint"
|
|
13467
|
+
}
|
|
13468
|
+
}
|
|
13469
|
+
]
|
|
13435
13470
|
}
|
|
13436
13471
|
]
|
|
13437
13472
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -6204,6 +6204,19 @@ domain Network
|
|
|
6204
6204
|
parameters
|
|
6205
6205
|
ReportingApiReport report
|
|
6206
6206
|
|
|
6207
|
+
experimental type ReportingApiEndpoint extends object
|
|
6208
|
+
properties
|
|
6209
|
+
# The URL of the endpoint to which reports may be delivered.
|
|
6210
|
+
string url
|
|
6211
|
+
# Name of the endpoint group.
|
|
6212
|
+
string groupName
|
|
6213
|
+
|
|
6214
|
+
experimental event reportingApiEndpointsChangedForOrigin
|
|
6215
|
+
parameters
|
|
6216
|
+
# Origin of the document(s) which configured the endpoints.
|
|
6217
|
+
string origin
|
|
6218
|
+
array of ReportingApiEndpoint endpoints
|
|
6219
|
+
|
|
6207
6220
|
# An object providing the result of a network resource load.
|
|
6208
6221
|
experimental type LoadNetworkResourcePageResult extends object
|
|
6209
6222
|
properties
|
|
@@ -384,6 +384,7 @@ export namespace ProtocolMapping {
|
|
|
384
384
|
*/
|
|
385
385
|
'Network.reportingApiReportAdded': [Protocol.Network.ReportingApiReportAddedEvent];
|
|
386
386
|
'Network.reportingApiReportUpdated': [Protocol.Network.ReportingApiReportUpdatedEvent];
|
|
387
|
+
'Network.reportingApiEndpointsChangedForOrigin': [Protocol.Network.ReportingApiEndpointsChangedForOriginEvent];
|
|
387
388
|
/**
|
|
388
389
|
* Fired when the node should be inspected. This happens after call to `setInspectMode` or when
|
|
389
390
|
* user manually inspects an element.
|
|
@@ -2429,6 +2429,8 @@ export namespace ProtocolProxyApi {
|
|
|
2429
2429
|
|
|
2430
2430
|
on(event: 'reportingApiReportUpdated', listener: (params: Protocol.Network.ReportingApiReportUpdatedEvent) => void): void;
|
|
2431
2431
|
|
|
2432
|
+
on(event: 'reportingApiEndpointsChangedForOrigin', listener: (params: Protocol.Network.ReportingApiEndpointsChangedForOriginEvent) => void): void;
|
|
2433
|
+
|
|
2432
2434
|
}
|
|
2433
2435
|
|
|
2434
2436
|
export interface OverlayApi {
|
package/types/protocol.d.ts
CHANGED
|
@@ -9968,6 +9968,17 @@ export namespace Protocol {
|
|
|
9968
9968
|
status: ReportStatus;
|
|
9969
9969
|
}
|
|
9970
9970
|
|
|
9971
|
+
export interface ReportingApiEndpoint {
|
|
9972
|
+
/**
|
|
9973
|
+
* The URL of the endpoint to which reports may be delivered.
|
|
9974
|
+
*/
|
|
9975
|
+
url: string;
|
|
9976
|
+
/**
|
|
9977
|
+
* Name of the endpoint group.
|
|
9978
|
+
*/
|
|
9979
|
+
groupName: string;
|
|
9980
|
+
}
|
|
9981
|
+
|
|
9971
9982
|
/**
|
|
9972
9983
|
* An object providing the result of a network resource load.
|
|
9973
9984
|
*/
|
|
@@ -11096,6 +11107,14 @@ export namespace Protocol {
|
|
|
11096
11107
|
export interface ReportingApiReportUpdatedEvent {
|
|
11097
11108
|
report: ReportingApiReport;
|
|
11098
11109
|
}
|
|
11110
|
+
|
|
11111
|
+
export interface ReportingApiEndpointsChangedForOriginEvent {
|
|
11112
|
+
/**
|
|
11113
|
+
* Origin of the document(s) which configured the endpoints.
|
|
11114
|
+
*/
|
|
11115
|
+
origin: string;
|
|
11116
|
+
endpoints: ReportingApiEndpoint[];
|
|
11117
|
+
}
|
|
11099
11118
|
}
|
|
11100
11119
|
|
|
11101
11120
|
/**
|