devtools-protocol 0.0.1248698 → 0.0.1249869

Sign up to get free protection for your applications and to get access to all the features.
@@ -1100,6 +1100,7 @@
1100
1100
  "Frame",
1101
1101
  "Image",
1102
1102
  "Import",
1103
+ "JSON",
1103
1104
  "Manifest",
1104
1105
  "Ping",
1105
1106
  "PluginData",
@@ -20206,6 +20207,11 @@
20206
20207
  }
20207
20208
  ]
20208
20209
  },
20210
+ {
20211
+ "id": "InterestGroupAuctionId",
20212
+ "description": "Protected audience interest group auction identifier.",
20213
+ "type": "string"
20214
+ },
20209
20215
  {
20210
20216
  "id": "InterestGroupAccessType",
20211
20217
  "description": "Enum of interest group access types.",
@@ -20219,9 +20225,32 @@
20219
20225
  "win",
20220
20226
  "additionalBid",
20221
20227
  "additionalBidWin",
20228
+ "topLevelBid",
20229
+ "topLevelAdditionalBid",
20222
20230
  "clear"
20223
20231
  ]
20224
20232
  },
20233
+ {
20234
+ "id": "InterestGroupAuctionEventType",
20235
+ "description": "Enum of auction events.",
20236
+ "type": "string",
20237
+ "enum": [
20238
+ "started",
20239
+ "configResolved"
20240
+ ]
20241
+ },
20242
+ {
20243
+ "id": "InterestGroupAuctionFetchType",
20244
+ "description": "Enum of network fetches auctions can do.",
20245
+ "type": "string",
20246
+ "enum": [
20247
+ "bidderJs",
20248
+ "bidderWasm",
20249
+ "sellerJs",
20250
+ "bidderTrustedSignals",
20251
+ "sellerTrustedSignals"
20252
+ ]
20253
+ },
20225
20254
  {
20226
20255
  "id": "InterestGroupAd",
20227
20256
  "description": "Ad advertising element inside an interest group.",
@@ -21255,6 +21284,17 @@
21255
21284
  }
21256
21285
  ]
21257
21286
  },
21287
+ {
21288
+ "name": "setInterestGroupAuctionTracking",
21289
+ "description": "Enables/Disables issuing of interestGroupAuctionEventOccurred and\ninterestGroupAuctionNetworkRequestCreated.",
21290
+ "experimental": true,
21291
+ "parameters": [
21292
+ {
21293
+ "name": "enable",
21294
+ "type": "boolean"
21295
+ }
21296
+ ]
21297
+ },
21258
21298
  {
21259
21299
  "name": "getSharedStorageMetadata",
21260
21300
  "description": "Gets metadata for an origin's shared storage.",
@@ -21531,7 +21571,7 @@
21531
21571
  },
21532
21572
  {
21533
21573
  "name": "interestGroupAccessed",
21534
- "description": "One of the interest groups was accessed by the associated page.",
21574
+ "description": "One of the interest groups was accessed. Note that these events are global\nto all targets sharing an interest group store.",
21535
21575
  "parameters": [
21536
21576
  {
21537
21577
  "name": "accessTime",
@@ -21548,6 +21588,81 @@
21548
21588
  {
21549
21589
  "name": "name",
21550
21590
  "type": "string"
21591
+ },
21592
+ {
21593
+ "name": "componentSellerOrigin",
21594
+ "description": "For topLevelBid/topLevelAdditionalBid, and when appropriate,\nwin and additionalBidWin",
21595
+ "optional": true,
21596
+ "type": "string"
21597
+ },
21598
+ {
21599
+ "name": "bid",
21600
+ "description": "For bid or somethingBid event, if done locally and not on a server.",
21601
+ "optional": true,
21602
+ "type": "number"
21603
+ },
21604
+ {
21605
+ "name": "bidCurrency",
21606
+ "optional": true,
21607
+ "type": "string"
21608
+ },
21609
+ {
21610
+ "name": "uniqueAuctionId",
21611
+ "description": "For non-global events --- links to interestGroupAuctionEvent",
21612
+ "optional": true,
21613
+ "$ref": "InterestGroupAuctionId"
21614
+ }
21615
+ ]
21616
+ },
21617
+ {
21618
+ "name": "interestGroupAuctionEventOccurred",
21619
+ "description": "An auction involving interest groups is taking place. These events are\ntarget-specific.",
21620
+ "parameters": [
21621
+ {
21622
+ "name": "eventTime",
21623
+ "$ref": "Network.TimeSinceEpoch"
21624
+ },
21625
+ {
21626
+ "name": "type",
21627
+ "$ref": "InterestGroupAuctionEventType"
21628
+ },
21629
+ {
21630
+ "name": "uniqueAuctionId",
21631
+ "$ref": "InterestGroupAuctionId"
21632
+ },
21633
+ {
21634
+ "name": "parentAuctionId",
21635
+ "description": "Set for child auctions.",
21636
+ "optional": true,
21637
+ "$ref": "InterestGroupAuctionId"
21638
+ },
21639
+ {
21640
+ "name": "auctionConfig",
21641
+ "description": "Set for started and configResolved",
21642
+ "optional": true,
21643
+ "type": "object"
21644
+ }
21645
+ ]
21646
+ },
21647
+ {
21648
+ "name": "interestGroupAuctionNetworkRequestCreated",
21649
+ "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).",
21650
+ "parameters": [
21651
+ {
21652
+ "name": "type",
21653
+ "$ref": "InterestGroupAuctionFetchType"
21654
+ },
21655
+ {
21656
+ "name": "requestId",
21657
+ "$ref": "Network.RequestId"
21658
+ },
21659
+ {
21660
+ "name": "auctions",
21661
+ "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.",
21662
+ "type": "array",
21663
+ "items": {
21664
+ "$ref": "InterestGroupAuctionId"
21665
+ }
21551
21666
  }
21552
21667
  ]
21553
21668
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1248698",
3
+ "version": "0.0.1249869",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -545,6 +545,7 @@ experimental domain Audits
545
545
  Frame
546
546
  Image
547
547
  Import
548
+ JSON
548
549
  Manifest
549
550
  Ping
550
551
  PluginData
@@ -9521,6 +9522,9 @@ experimental domain Storage
9521
9522
  string issuerOrigin
9522
9523
  number count
9523
9524
 
9525
+ # Protected audience interest group auction identifier.
9526
+ type InterestGroupAuctionId extends string
9527
+
9524
9528
  # Enum of interest group access types.
9525
9529
  type InterestGroupAccessType extends string
9526
9530
  enum
@@ -9532,8 +9536,25 @@ experimental domain Storage
9532
9536
  win
9533
9537
  additionalBid
9534
9538
  additionalBidWin
9539
+ topLevelBid
9540
+ topLevelAdditionalBid
9535
9541
  clear
9536
9542
 
9543
+ # Enum of auction events.
9544
+ type InterestGroupAuctionEventType extends string
9545
+ enum
9546
+ started
9547
+ configResolved
9548
+
9549
+ # Enum of network fetches auctions can do.
9550
+ type InterestGroupAuctionFetchType extends string
9551
+ enum
9552
+ bidderJs
9553
+ bidderWasm
9554
+ sellerJs
9555
+ bidderTrustedSignals
9556
+ sellerTrustedSignals
9557
+
9537
9558
  # Ad advertising element inside an interest group.
9538
9559
  type InterestGroupAd extends object
9539
9560
  properties
@@ -9813,6 +9834,12 @@ experimental domain Storage
9813
9834
  parameters
9814
9835
  boolean enable
9815
9836
 
9837
+ # Enables/Disables issuing of interestGroupAuctionEventOccurred and
9838
+ # interestGroupAuctionNetworkRequestCreated.
9839
+ experimental command setInterestGroupAuctionTracking
9840
+ parameters
9841
+ boolean enable
9842
+
9816
9843
  # Gets metadata for an origin's shared storage.
9817
9844
  experimental command getSharedStorageMetadata
9818
9845
  parameters
@@ -9920,13 +9947,47 @@ experimental domain Storage
9920
9947
  # Storage bucket to update.
9921
9948
  string bucketId
9922
9949
 
9923
- # One of the interest groups was accessed by the associated page.
9950
+ # One of the interest groups was accessed. Note that these events are global
9951
+ # to all targets sharing an interest group store.
9924
9952
  event interestGroupAccessed
9925
9953
  parameters
9926
9954
  Network.TimeSinceEpoch accessTime
9927
9955
  InterestGroupAccessType type
9928
9956
  string ownerOrigin
9929
9957
  string name
9958
+ # For topLevelBid/topLevelAdditionalBid, and when appropriate,
9959
+ # win and additionalBidWin
9960
+ optional string componentSellerOrigin
9961
+ # For bid or somethingBid event, if done locally and not on a server.
9962
+ optional number bid
9963
+ optional string bidCurrency
9964
+ # For non-global events --- links to interestGroupAuctionEvent
9965
+ optional InterestGroupAuctionId uniqueAuctionId
9966
+
9967
+ # An auction involving interest groups is taking place. These events are
9968
+ # target-specific.
9969
+ event interestGroupAuctionEventOccurred
9970
+ parameters
9971
+ Network.TimeSinceEpoch eventTime
9972
+ InterestGroupAuctionEventType type
9973
+ InterestGroupAuctionId uniqueAuctionId
9974
+ # Set for child auctions.
9975
+ optional InterestGroupAuctionId parentAuctionId
9976
+ # Set for started and configResolved
9977
+ optional object auctionConfig
9978
+
9979
+ # Specifies which auctions a particular network fetch may be related to, and
9980
+ # in what role. Note that it is not ordered with respect to
9981
+ # Network.requestWillBeSent (but will happen before loadingFinished
9982
+ # loadingFailed).
9983
+ event interestGroupAuctionNetworkRequestCreated
9984
+ parameters
9985
+ InterestGroupAuctionFetchType type
9986
+ Network.RequestId requestId
9987
+ # This is the set of the auctions using the worklet that issued this
9988
+ # request. In the case of trusted signals, it's possible that only some of
9989
+ # them actually care about the keys being queried.
9990
+ array of InterestGroupAuctionId auctions
9930
9991
 
9931
9992
  # Shared storage was accessed by the associated page.
9932
9993
  # 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 by the associated page.
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 by the associated page.
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.