@apibara/starknet 0.3.0 → 0.4.0

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/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from './proto'
2
- export * from './cursor'
3
- export * from './filter'
4
- export * from './felt'
1
+ export * from "./proto";
2
+ export * from "./cursor";
3
+ export * from "./filter";
4
+ export * from "./felt";
@@ -110,6 +110,12 @@ message EventFilter {
110
110
  repeated FieldElement keys = 2;
111
111
  // Filter data that prefix-match the given data.
112
112
  repeated FieldElement data = 3;
113
+ // Include events emitted by reverted transactions.
114
+ optional bool include_reverted = 4;
115
+ // Include the transaction that emitted the event. Defaults to true.
116
+ optional bool include_transaction = 5;
117
+ // Include the receipt of the transaction that emitted the event. Defaults to true.
118
+ optional bool include_receipt = 6;
113
119
  }
114
120
 
115
121
  // Filter state update data.