devtools-protocol 0.0.1250650 → 0.0.1252439

Sign up to get free protection for your applications and to get access to all the features.
@@ -20239,6 +20239,18 @@
20239
20239
  "configResolved"
20240
20240
  ]
20241
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
+ },
20242
20254
  {
20243
20255
  "id": "InterestGroupAd",
20244
20256
  "description": "Ad advertising element inside an interest group.",
@@ -21274,7 +21286,7 @@
21274
21286
  },
21275
21287
  {
21276
21288
  "name": "setInterestGroupAuctionTracking",
21277
- "description": "Enables/Disables issuing of interestGroupAuctionEvent events.",
21289
+ "description": "Enables/Disables issuing of interestGroupAuctionEventOccurred and\ninterestGroupAuctionNetworkRequestCreated.",
21278
21290
  "experimental": true,
21279
21291
  "parameters": [
21280
21292
  {
@@ -21632,6 +21644,28 @@
21632
21644
  }
21633
21645
  ]
21634
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
+ }
21666
+ }
21667
+ ]
21668
+ },
21635
21669
  {
21636
21670
  "name": "sharedStorageAccessed",
21637
21671
  "description": "Shared storage was accessed by the associated page.\nThe following parameters are included in all events.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1250650",
3
+ "version": "0.0.1252439",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -9546,6 +9546,15 @@ experimental domain Storage
9546
9546
  started
9547
9547
  configResolved
9548
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
+
9549
9558
  # Ad advertising element inside an interest group.
9550
9559
  type InterestGroupAd extends object
9551
9560
  properties
@@ -9825,7 +9834,8 @@ experimental domain Storage
9825
9834
  parameters
9826
9835
  boolean enable
9827
9836
 
9828
- # Enables/Disables issuing of interestGroupAuctionEvent events.
9837
+ # Enables/Disables issuing of interestGroupAuctionEventOccurred and
9838
+ # interestGroupAuctionNetworkRequestCreated.
9829
9839
  experimental command setInterestGroupAuctionTracking
9830
9840
  parameters
9831
9841
  boolean enable
@@ -9966,6 +9976,19 @@ experimental domain Storage
9966
9976
  # Set for started and configResolved
9967
9977
  optional object auctionConfig
9968
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
9991
+
9969
9992
  # Shared storage was accessed by the associated page.
9970
9993
  # The following parameters are included in all events.
9971
9994
  event sharedStorageAccessed
@@ -561,6 +561,13 @@ export namespace ProtocolMapping {
561
561
  * target-specific.
562
562
  */
563
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];
564
571
  /**
565
572
  * Shared storage was accessed by the associated page.
566
573
  * The following parameters are included in all events.
@@ -4285,7 +4292,8 @@ export namespace ProtocolMapping {
4285
4292
  returnType: void;
4286
4293
  };
4287
4294
  /**
4288
- * Enables/Disables issuing of interestGroupAuctionEvent events.
4295
+ * Enables/Disables issuing of interestGroupAuctionEventOccurred and
4296
+ * interestGroupAuctionNetworkRequestCreated.
4289
4297
  */
4290
4298
  'Storage.setInterestGroupAuctionTracking': {
4291
4299
  paramsType: [Protocol.Storage.SetInterestGroupAuctionTrackingRequest];
@@ -3421,7 +3421,8 @@ export namespace ProtocolProxyApi {
3421
3421
  setInterestGroupTracking(params: Protocol.Storage.SetInterestGroupTrackingRequest): Promise<void>;
3422
3422
 
3423
3423
  /**
3424
- * Enables/Disables issuing of interestGroupAuctionEvent events.
3424
+ * Enables/Disables issuing of interestGroupAuctionEventOccurred and
3425
+ * interestGroupAuctionNetworkRequestCreated.
3425
3426
  */
3426
3427
  setInterestGroupAuctionTracking(params: Protocol.Storage.SetInterestGroupAuctionTrackingRequest): Promise<void>;
3427
3428
 
@@ -3517,6 +3518,14 @@ export namespace ProtocolProxyApi {
3517
3518
  */
3518
3519
  on(event: 'interestGroupAuctionEventOccurred', listener: (params: Protocol.Storage.InterestGroupAuctionEventOccurredEvent) => void): void;
3519
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
+
3520
3529
  /**
3521
3530
  * Shared storage was accessed by the associated page.
3522
3531
  * The following parameters are included in all events.
@@ -3693,7 +3693,8 @@ export namespace ProtocolTestsProxyApi {
3693
3693
  setInterestGroupTracking(params: Protocol.Storage.SetInterestGroupTrackingRequest): Promise<void>;
3694
3694
 
3695
3695
  /**
3696
- * Enables/Disables issuing of interestGroupAuctionEvent events.
3696
+ * Enables/Disables issuing of interestGroupAuctionEventOccurred and
3697
+ * interestGroupAuctionNetworkRequestCreated.
3697
3698
  */
3698
3699
  setInterestGroupAuctionTracking(params: Protocol.Storage.SetInterestGroupAuctionTrackingRequest): Promise<void>;
3699
3700
 
@@ -3801,6 +3802,16 @@ export namespace ProtocolTestsProxyApi {
3801
3802
  offInterestGroupAuctionEventOccurred(listener: (event: { params: Protocol.Storage.InterestGroupAuctionEventOccurredEvent }) => void): void;
3802
3803
  onceInterestGroupAuctionEventOccurred(eventMatcher?: (event: { params: Protocol.Storage.InterestGroupAuctionEventOccurredEvent }) => boolean): Promise<{ params: Protocol.Storage.InterestGroupAuctionEventOccurredEvent }>;
3803
3804
 
3805
+ /**
3806
+ * Specifies which auctions a particular network fetch may be related to, and
3807
+ * in what role. Note that it is not ordered with respect to
3808
+ * Network.requestWillBeSent (but will happen before loadingFinished
3809
+ * loadingFailed).
3810
+ */
3811
+ onInterestGroupAuctionNetworkRequestCreated(listener: (event: { params: Protocol.Storage.InterestGroupAuctionNetworkRequestCreatedEvent }) => void): void;
3812
+ offInterestGroupAuctionNetworkRequestCreated(listener: (event: { params: Protocol.Storage.InterestGroupAuctionNetworkRequestCreatedEvent }) => void): void;
3813
+ onceInterestGroupAuctionNetworkRequestCreated(eventMatcher?: (event: { params: Protocol.Storage.InterestGroupAuctionNetworkRequestCreatedEvent }) => boolean): Promise<{ params: Protocol.Storage.InterestGroupAuctionNetworkRequestCreatedEvent }>;
3814
+
3804
3815
  /**
3805
3816
  * Shared storage was accessed by the associated page.
3806
3817
  * The following parameters are included in all events.
@@ -15231,6 +15231,11 @@ export namespace Protocol {
15231
15231
  */
15232
15232
  export type InterestGroupAuctionEventType = ('started' | 'configResolved');
15233
15233
 
15234
+ /**
15235
+ * Enum of network fetches auctions can do.
15236
+ */
15237
+ export type InterestGroupAuctionFetchType = ('bidderJs' | 'bidderWasm' | 'sellerJs' | 'bidderTrustedSignals' | 'sellerTrustedSignals');
15238
+
15234
15239
  /**
15235
15240
  * Ad advertising element inside an interest group.
15236
15241
  */
@@ -15889,6 +15894,23 @@ export namespace Protocol {
15889
15894
  auctionConfig?: any;
15890
15895
  }
15891
15896
 
15897
+ /**
15898
+ * Specifies which auctions a particular network fetch may be related to, and
15899
+ * in what role. Note that it is not ordered with respect to
15900
+ * Network.requestWillBeSent (but will happen before loadingFinished
15901
+ * loadingFailed).
15902
+ */
15903
+ export interface InterestGroupAuctionNetworkRequestCreatedEvent {
15904
+ type: InterestGroupAuctionFetchType;
15905
+ requestId: Network.RequestId;
15906
+ /**
15907
+ * This is the set of the auctions using the worklet that issued this
15908
+ * request. In the case of trusted signals, it's possible that only some of
15909
+ * them actually care about the keys being queried.
15910
+ */
15911
+ auctions: InterestGroupAuctionId[];
15912
+ }
15913
+
15892
15914
  /**
15893
15915
  * Shared storage was accessed by the associated page.
15894
15916
  * The following parameters are included in all events.