(event: Event)
| 184 | } |
| 185 | |
| 186 | export const isReplaceableEvent = (event: Event): boolean => { |
| 187 | return ( |
| 188 | event.kind === EventKinds.SET_METADATA || |
| 189 | event.kind === EventKinds.CONTACT_LIST || |
| 190 | event.kind === EventKinds.CHANNEL_METADATA || |
| 191 | (event.kind >= EventKinds.REPLACEABLE_FIRST && event.kind <= EventKinds.REPLACEABLE_LAST) |
| 192 | ) |
| 193 | } |
| 194 | |
| 195 | export const isEphemeralEvent = (event: Event): boolean => { |
| 196 | return event.kind >= EventKinds.EPHEMERAL_FIRST && event.kind <= EventKinds.EPHEMERAL_LAST |
no outgoing calls
no test coverage detected