Remove CustomEvent

This commit is contained in:
Jon Staab
2024-08-19 08:59:39 -07:00
parent 975d51cafa
commit 8d3ca2ef6a
25 changed files with 124 additions and 120 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
import type {CustomEvent, Filter} from '@welshman/util'
import type {TrustedEvent, Filter} from '@welshman/util'
export enum FeedType {
Address = "address",
@@ -110,7 +110,7 @@ export type RequestItem = {
}
export type RequestOpts = RequestItem & {
onEvent: (event: CustomEvent) => void
onEvent: (event: TrustedEvent) => void
}
export type DVMRequest = {
@@ -120,7 +120,7 @@ export type DVMRequest = {
}
export type DVMOpts = DVMRequest & {
onEvent: (event: CustomEvent) => void
onEvent: (event: TrustedEvent) => void
}
export type FeedOptions = {