devtools-protocol 0.0.1248698 → 0.0.1249784
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 +115 -1
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +61 -1
- package/types/protocol-mapping.d.ts +22 -1
- package/types/protocol-proxy-api.d.ts +22 -1
- package/types/protocol-tests-proxy-api.d.ts +590 -565
- package/types/protocol.d.ts +71 -2
@@ -20206,6 +20206,11 @@
|
|
20206
20206
|
}
|
20207
20207
|
]
|
20208
20208
|
},
|
20209
|
+
{
|
20210
|
+
"id": "InterestGroupAuctionId",
|
20211
|
+
"description": "Protected audience interest group auction identifier.",
|
20212
|
+
"type": "string"
|
20213
|
+
},
|
20209
20214
|
{
|
20210
20215
|
"id": "InterestGroupAccessType",
|
20211
20216
|
"description": "Enum of interest group access types.",
|
@@ -20219,9 +20224,32 @@
|
|
20219
20224
|
"win",
|
20220
20225
|
"additionalBid",
|
20221
20226
|
"additionalBidWin",
|
20227
|
+
"topLevelBid",
|
20228
|
+
"topLevelAdditionalBid",
|
20222
20229
|
"clear"
|
20223
20230
|
]
|
20224
20231
|
},
|
20232
|
+
{
|
20233
|
+
"id": "InterestGroupAuctionEventType",
|
20234
|
+
"description": "Enum of auction events.",
|
20235
|
+
"type": "string",
|
20236
|
+
"enum": [
|
20237
|
+
"started",
|
20238
|
+
"configResolved"
|
20239
|
+
]
|
20240
|
+
},
|
20241
|
+
{
|
20242
|
+
"id": "InterestGroupAuctionFetchType",
|
20243
|
+
"description": "Enum of network fetches auctions can do.",
|
20244
|
+
"type": "string",
|
20245
|
+
"enum": [
|
20246
|
+
"bidderJs",
|
20247
|
+
"bidderWasm",
|
20248
|
+
"sellerJs",
|
20249
|
+
"bidderTrustedSignals",
|
20250
|
+
"sellerTrustedSignals"
|
20251
|
+
]
|
20252
|
+
},
|
20225
20253
|
{
|
20226
20254
|
"id": "InterestGroupAd",
|
20227
20255
|
"description": "Ad advertising element inside an interest group.",
|
@@ -21255,6 +21283,17 @@
|
|
21255
21283
|
}
|
21256
21284
|
]
|
21257
21285
|
},
|
21286
|
+
{
|
21287
|
+
"name": "setInterestGroupAuctionTracking",
|
21288
|
+
"description": "Enables/Disables issuing of interestGroupAuctionEventOccurred and\ninterestGroupAuctionNetworkRequestCreated.",
|
21289
|
+
"experimental": true,
|
21290
|
+
"parameters": [
|
21291
|
+
{
|
21292
|
+
"name": "enable",
|
21293
|
+
"type": "boolean"
|
21294
|
+
}
|
21295
|
+
]
|
21296
|
+
},
|
21258
21297
|
{
|
21259
21298
|
"name": "getSharedStorageMetadata",
|
21260
21299
|
"description": "Gets metadata for an origin's shared storage.",
|
@@ -21531,7 +21570,7 @@
|
|
21531
21570
|
},
|
21532
21571
|
{
|
21533
21572
|
"name": "interestGroupAccessed",
|
21534
|
-
"description": "One of the interest groups was accessed
|
21573
|
+
"description": "One of the interest groups was accessed. Note that these events are global\nto all targets sharing an interest group store.",
|
21535
21574
|
"parameters": [
|
21536
21575
|
{
|
21537
21576
|
"name": "accessTime",
|
@@ -21548,6 +21587,81 @@
|
|
21548
21587
|
{
|
21549
21588
|
"name": "name",
|
21550
21589
|
"type": "string"
|
21590
|
+
},
|
21591
|
+
{
|
21592
|
+
"name": "componentSellerOrigin",
|
21593
|
+
"description": "For topLevelBid/topLevelAdditionalBid, and when appropriate,\nwin and additionalBidWin",
|
21594
|
+
"optional": true,
|
21595
|
+
"type": "string"
|
21596
|
+
},
|
21597
|
+
{
|
21598
|
+
"name": "bid",
|
21599
|
+
"description": "For bid or somethingBid event, if done locally and not on a server.",
|
21600
|
+
"optional": true,
|
21601
|
+
"type": "number"
|
21602
|
+
},
|
21603
|
+
{
|
21604
|
+
"name": "bidCurrency",
|
21605
|
+
"optional": true,
|
21606
|
+
"type": "string"
|
21607
|
+
},
|
21608
|
+
{
|
21609
|
+
"name": "uniqueAuctionId",
|
21610
|
+
"description": "For non-global events --- links to interestGroupAuctionEvent",
|
21611
|
+
"optional": true,
|
21612
|
+
"$ref": "InterestGroupAuctionId"
|
21613
|
+
}
|
21614
|
+
]
|
21615
|
+
},
|
21616
|
+
{
|
21617
|
+
"name": "interestGroupAuctionEventOccurred",
|
21618
|
+
"description": "An auction involving interest groups is taking place. These events are\ntarget-specific.",
|
21619
|
+
"parameters": [
|
21620
|
+
{
|
21621
|
+
"name": "eventTime",
|
21622
|
+
"$ref": "Network.TimeSinceEpoch"
|
21623
|
+
},
|
21624
|
+
{
|
21625
|
+
"name": "type",
|
21626
|
+
"$ref": "InterestGroupAuctionEventType"
|
21627
|
+
},
|
21628
|
+
{
|
21629
|
+
"name": "uniqueAuctionId",
|
21630
|
+
"$ref": "InterestGroupAuctionId"
|
21631
|
+
},
|
21632
|
+
{
|
21633
|
+
"name": "parentAuctionId",
|
21634
|
+
"description": "Set for child auctions.",
|
21635
|
+
"optional": true,
|
21636
|
+
"$ref": "InterestGroupAuctionId"
|
21637
|
+
},
|
21638
|
+
{
|
21639
|
+
"name": "auctionConfig",
|
21640
|
+
"description": "Set for started and configResolved",
|
21641
|
+
"optional": true,
|
21642
|
+
"type": "object"
|
21643
|
+
}
|
21644
|
+
]
|
21645
|
+
},
|
21646
|
+
{
|
21647
|
+
"name": "interestGroupAuctionNetworkRequestCreated",
|
21648
|
+
"description": "Specifies which auctions a particular network fetch may be related to, and\nin what role. Note that it is not ordered with respect to\nNetwork.requestWillBeSent (but will happen before loadingFinished\nloadingFailed).",
|
21649
|
+
"parameters": [
|
21650
|
+
{
|
21651
|
+
"name": "type",
|
21652
|
+
"$ref": "InterestGroupAuctionFetchType"
|
21653
|
+
},
|
21654
|
+
{
|
21655
|
+
"name": "requestId",
|
21656
|
+
"$ref": "Network.RequestId"
|
21657
|
+
},
|
21658
|
+
{
|
21659
|
+
"name": "auctions",
|
21660
|
+
"description": "This is the set of the auctions using the worklet that issued this\nrequest. In the case of trusted signals, it's possible that only some of\nthem actually care about the keys being queried.",
|
21661
|
+
"type": "array",
|
21662
|
+
"items": {
|
21663
|
+
"$ref": "InterestGroupAuctionId"
|
21664
|
+
}
|
21551
21665
|
}
|
21552
21666
|
]
|
21553
21667
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -9521,6 +9521,9 @@ experimental domain Storage
|
|
9521
9521
|
string issuerOrigin
|
9522
9522
|
number count
|
9523
9523
|
|
9524
|
+
# Protected audience interest group auction identifier.
|
9525
|
+
type InterestGroupAuctionId extends string
|
9526
|
+
|
9524
9527
|
# Enum of interest group access types.
|
9525
9528
|
type InterestGroupAccessType extends string
|
9526
9529
|
enum
|
@@ -9532,8 +9535,25 @@ experimental domain Storage
|
|
9532
9535
|
win
|
9533
9536
|
additionalBid
|
9534
9537
|
additionalBidWin
|
9538
|
+
topLevelBid
|
9539
|
+
topLevelAdditionalBid
|
9535
9540
|
clear
|
9536
9541
|
|
9542
|
+
# Enum of auction events.
|
9543
|
+
type InterestGroupAuctionEventType extends string
|
9544
|
+
enum
|
9545
|
+
started
|
9546
|
+
configResolved
|
9547
|
+
|
9548
|
+
# Enum of network fetches auctions can do.
|
9549
|
+
type InterestGroupAuctionFetchType extends string
|
9550
|
+
enum
|
9551
|
+
bidderJs
|
9552
|
+
bidderWasm
|
9553
|
+
sellerJs
|
9554
|
+
bidderTrustedSignals
|
9555
|
+
sellerTrustedSignals
|
9556
|
+
|
9537
9557
|
# Ad advertising element inside an interest group.
|
9538
9558
|
type InterestGroupAd extends object
|
9539
9559
|
properties
|
@@ -9813,6 +9833,12 @@ experimental domain Storage
|
|
9813
9833
|
parameters
|
9814
9834
|
boolean enable
|
9815
9835
|
|
9836
|
+
# Enables/Disables issuing of interestGroupAuctionEventOccurred and
|
9837
|
+
# interestGroupAuctionNetworkRequestCreated.
|
9838
|
+
experimental command setInterestGroupAuctionTracking
|
9839
|
+
parameters
|
9840
|
+
boolean enable
|
9841
|
+
|
9816
9842
|
# Gets metadata for an origin's shared storage.
|
9817
9843
|
experimental command getSharedStorageMetadata
|
9818
9844
|
parameters
|
@@ -9920,13 +9946,47 @@ experimental domain Storage
|
|
9920
9946
|
# Storage bucket to update.
|
9921
9947
|
string bucketId
|
9922
9948
|
|
9923
|
-
# One of the interest groups was accessed
|
9949
|
+
# One of the interest groups was accessed. Note that these events are global
|
9950
|
+
# to all targets sharing an interest group store.
|
9924
9951
|
event interestGroupAccessed
|
9925
9952
|
parameters
|
9926
9953
|
Network.TimeSinceEpoch accessTime
|
9927
9954
|
InterestGroupAccessType type
|
9928
9955
|
string ownerOrigin
|
9929
9956
|
string name
|
9957
|
+
# For topLevelBid/topLevelAdditionalBid, and when appropriate,
|
9958
|
+
# win and additionalBidWin
|
9959
|
+
optional string componentSellerOrigin
|
9960
|
+
# For bid or somethingBid event, if done locally and not on a server.
|
9961
|
+
optional number bid
|
9962
|
+
optional string bidCurrency
|
9963
|
+
# For non-global events --- links to interestGroupAuctionEvent
|
9964
|
+
optional InterestGroupAuctionId uniqueAuctionId
|
9965
|
+
|
9966
|
+
# An auction involving interest groups is taking place. These events are
|
9967
|
+
# target-specific.
|
9968
|
+
event interestGroupAuctionEventOccurred
|
9969
|
+
parameters
|
9970
|
+
Network.TimeSinceEpoch eventTime
|
9971
|
+
InterestGroupAuctionEventType type
|
9972
|
+
InterestGroupAuctionId uniqueAuctionId
|
9973
|
+
# Set for child auctions.
|
9974
|
+
optional InterestGroupAuctionId parentAuctionId
|
9975
|
+
# Set for started and configResolved
|
9976
|
+
optional object auctionConfig
|
9977
|
+
|
9978
|
+
# Specifies which auctions a particular network fetch may be related to, and
|
9979
|
+
# in what role. Note that it is not ordered with respect to
|
9980
|
+
# Network.requestWillBeSent (but will happen before loadingFinished
|
9981
|
+
# loadingFailed).
|
9982
|
+
event interestGroupAuctionNetworkRequestCreated
|
9983
|
+
parameters
|
9984
|
+
InterestGroupAuctionFetchType type
|
9985
|
+
Network.RequestId requestId
|
9986
|
+
# This is the set of the auctions using the worklet that issued this
|
9987
|
+
# request. In the case of trusted signals, it's possible that only some of
|
9988
|
+
# them actually care about the keys being queried.
|
9989
|
+
array of InterestGroupAuctionId auctions
|
9930
9990
|
|
9931
9991
|
# Shared storage was accessed by the associated page.
|
9932
9992
|
# The following parameters are included in all events.
|
@@ -552,9 +552,22 @@ export namespace ProtocolMapping {
|
|
552
552
|
*/
|
553
553
|
'Storage.indexedDBListUpdated': [Protocol.Storage.IndexedDBListUpdatedEvent];
|
554
554
|
/**
|
555
|
-
* One of the interest groups was accessed
|
555
|
+
* One of the interest groups was accessed. Note that these events are global
|
556
|
+
* to all targets sharing an interest group store.
|
556
557
|
*/
|
557
558
|
'Storage.interestGroupAccessed': [Protocol.Storage.InterestGroupAccessedEvent];
|
559
|
+
/**
|
560
|
+
* An auction involving interest groups is taking place. These events are
|
561
|
+
* target-specific.
|
562
|
+
*/
|
563
|
+
'Storage.interestGroupAuctionEventOccurred': [Protocol.Storage.InterestGroupAuctionEventOccurredEvent];
|
564
|
+
/**
|
565
|
+
* Specifies which auctions a particular network fetch may be related to, and
|
566
|
+
* in what role. Note that it is not ordered with respect to
|
567
|
+
* Network.requestWillBeSent (but will happen before loadingFinished
|
568
|
+
* loadingFailed).
|
569
|
+
*/
|
570
|
+
'Storage.interestGroupAuctionNetworkRequestCreated': [Protocol.Storage.InterestGroupAuctionNetworkRequestCreatedEvent];
|
558
571
|
/**
|
559
572
|
* Shared storage was accessed by the associated page.
|
560
573
|
* The following parameters are included in all events.
|
@@ -4278,6 +4291,14 @@ export namespace ProtocolMapping {
|
|
4278
4291
|
paramsType: [Protocol.Storage.SetInterestGroupTrackingRequest];
|
4279
4292
|
returnType: void;
|
4280
4293
|
};
|
4294
|
+
/**
|
4295
|
+
* Enables/Disables issuing of interestGroupAuctionEventOccurred and
|
4296
|
+
* interestGroupAuctionNetworkRequestCreated.
|
4297
|
+
*/
|
4298
|
+
'Storage.setInterestGroupAuctionTracking': {
|
4299
|
+
paramsType: [Protocol.Storage.SetInterestGroupAuctionTrackingRequest];
|
4300
|
+
returnType: void;
|
4301
|
+
};
|
4281
4302
|
/**
|
4282
4303
|
* Gets metadata for an origin's shared storage.
|
4283
4304
|
*/
|
@@ -3420,6 +3420,12 @@ export namespace ProtocolProxyApi {
|
|
3420
3420
|
*/
|
3421
3421
|
setInterestGroupTracking(params: Protocol.Storage.SetInterestGroupTrackingRequest): Promise<void>;
|
3422
3422
|
|
3423
|
+
/**
|
3424
|
+
* Enables/Disables issuing of interestGroupAuctionEventOccurred and
|
3425
|
+
* interestGroupAuctionNetworkRequestCreated.
|
3426
|
+
*/
|
3427
|
+
setInterestGroupAuctionTracking(params: Protocol.Storage.SetInterestGroupAuctionTrackingRequest): Promise<void>;
|
3428
|
+
|
3423
3429
|
/**
|
3424
3430
|
* Gets metadata for an origin's shared storage.
|
3425
3431
|
*/
|
@@ -3501,10 +3507,25 @@ export namespace ProtocolProxyApi {
|
|
3501
3507
|
on(event: 'indexedDBListUpdated', listener: (params: Protocol.Storage.IndexedDBListUpdatedEvent) => void): void;
|
3502
3508
|
|
3503
3509
|
/**
|
3504
|
-
* One of the interest groups was accessed
|
3510
|
+
* One of the interest groups was accessed. Note that these events are global
|
3511
|
+
* to all targets sharing an interest group store.
|
3505
3512
|
*/
|
3506
3513
|
on(event: 'interestGroupAccessed', listener: (params: Protocol.Storage.InterestGroupAccessedEvent) => void): void;
|
3507
3514
|
|
3515
|
+
/**
|
3516
|
+
* An auction involving interest groups is taking place. These events are
|
3517
|
+
* target-specific.
|
3518
|
+
*/
|
3519
|
+
on(event: 'interestGroupAuctionEventOccurred', listener: (params: Protocol.Storage.InterestGroupAuctionEventOccurredEvent) => void): void;
|
3520
|
+
|
3521
|
+
/**
|
3522
|
+
* Specifies which auctions a particular network fetch may be related to, and
|
3523
|
+
* in what role. Note that it is not ordered with respect to
|
3524
|
+
* Network.requestWillBeSent (but will happen before loadingFinished
|
3525
|
+
* loadingFailed).
|
3526
|
+
*/
|
3527
|
+
on(event: 'interestGroupAuctionNetworkRequestCreated', listener: (params: Protocol.Storage.InterestGroupAuctionNetworkRequestCreatedEvent) => void): void;
|
3528
|
+
|
3508
3529
|
/**
|
3509
3530
|
* Shared storage was accessed by the associated page.
|
3510
3531
|
* The following parameters are included in all events.
|