devtools-protocol 0.0.1219864 → 0.0.1220723

Sign up to get free protection for your applications and to get access to all the features.
@@ -20467,6 +20467,25 @@
20467
20467
  }
20468
20468
  ]
20469
20469
  },
20470
+ {
20471
+ "id": "AttributionReportingTriggerSpec",
20472
+ "experimental": true,
20473
+ "type": "object",
20474
+ "properties": [
20475
+ {
20476
+ "name": "triggerData",
20477
+ "description": "number instead of integer because not all uint32 can be represented by\nint",
20478
+ "type": "array",
20479
+ "items": {
20480
+ "type": "number"
20481
+ }
20482
+ },
20483
+ {
20484
+ "name": "eventReportWindows",
20485
+ "$ref": "AttributionReportingEventReportWindows"
20486
+ }
20487
+ ]
20488
+ },
20470
20489
  {
20471
20490
  "id": "AttributionReportingTriggerDataMatching",
20472
20491
  "experimental": true,
@@ -20491,8 +20510,11 @@
20491
20510
  "type": "integer"
20492
20511
  },
20493
20512
  {
20494
- "name": "eventReportWindows",
20495
- "$ref": "AttributionReportingEventReportWindows"
20513
+ "name": "triggerSpecs",
20514
+ "type": "array",
20515
+ "items": {
20516
+ "$ref": "AttributionReportingTriggerSpec"
20517
+ }
20496
20518
  },
20497
20519
  {
20498
20520
  "name": "aggregatableReportWindow",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1219864",
3
+ "version": "0.0.1220723",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -9931,6 +9931,13 @@ experimental domain Storage
9931
9931
  # duration in seconds
9932
9932
  array of integer ends
9933
9933
 
9934
+ experimental type AttributionReportingTriggerSpec extends object
9935
+ properties
9936
+ # number instead of integer because not all uint32 can be represented by
9937
+ # int
9938
+ array of number triggerData
9939
+ AttributionReportingEventReportWindows eventReportWindows
9940
+
9934
9941
  experimental type AttributionReportingTriggerDataMatching extends string
9935
9942
  enum
9936
9943
  exact
@@ -9941,7 +9948,7 @@ experimental domain Storage
9941
9948
  Network.TimeSinceEpoch time
9942
9949
  # duration in seconds
9943
9950
  integer expiry
9944
- AttributionReportingEventReportWindows eventReportWindows
9951
+ array of AttributionReportingTriggerSpec triggerSpecs
9945
9952
  # duration in seconds
9946
9953
  integer aggregatableReportWindow
9947
9954
  AttributionReportingSourceType type
@@ -15305,6 +15305,15 @@ export namespace Protocol {
15305
15305
  ends: integer[];
15306
15306
  }
15307
15307
 
15308
+ export interface AttributionReportingTriggerSpec {
15309
+ /**
15310
+ * number instead of integer because not all uint32 can be represented by
15311
+ * int
15312
+ */
15313
+ triggerData: number[];
15314
+ eventReportWindows: AttributionReportingEventReportWindows;
15315
+ }
15316
+
15308
15317
  export type AttributionReportingTriggerDataMatching = ('exact' | 'modulus');
15309
15318
 
15310
15319
  export interface AttributionReportingSourceRegistration {
@@ -15313,7 +15322,7 @@ export namespace Protocol {
15313
15322
  * duration in seconds
15314
15323
  */
15315
15324
  expiry: integer;
15316
- eventReportWindows: AttributionReportingEventReportWindows;
15325
+ triggerSpecs: AttributionReportingTriggerSpec[];
15317
15326
  /**
15318
15327
  * duration in seconds
15319
15328
  */