MCPcopy Index your code
hub / github.com/cameri/nostream / createAuthChallengeMessage

Function createAuthChallengeMessage

src/utils/messages.ts:46–48  ·  view source on GitHub ↗
(challenge: string)

Source from the content-addressed store, hash-verified

44
45// NIP-42
46export const createAuthChallengeMessage = (challenge: string): AuthChallengeMessage => {
47 return [MessageType.AUTH, challenge]
48}
49
50export const createSubscriptionMessage = (
51 subscriptionId: SubscriptionId,

Callers 1

constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected