MCPcopy Create free account
hub / github.com/cameri/nostream / isGiftWrapEvent

Function isGiftWrapEvent

src/utils/event.ts:262–264  ·  view source on GitHub ↗
(event: Event)

Source from the content-addressed store, hash-verified

260// NIP-17: Private Direct Messages helpers
261
262export const isGiftWrapEvent = (event: Event): boolean => {
263 return event.kind === EventKinds.GIFT_WRAP
264}
265
266export const isSealEvent = (event: Event): boolean => {
267 return event.kind === EventKinds.SEAL

Callers 2

event.spec.tsFile · 0.90
eventStrategyFactoryFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected