include node_modules so release .zip is deployable

This commit is contained in:
2023-11-24 17:44:25 -05:00
parent 6c86cfe5d2
commit 8b11c41267
8963 changed files with 874175 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
// nip42.ts
var authenticate = async ({
challenge,
relay,
sign
}) => {
const e = {
kind: 22242 /* ClientAuth */,
created_at: Math.floor(Date.now() / 1e3),
tags: [
["relay", relay.url],
["challenge", challenge]
],
content: ""
};
return relay.auth(await sign(e));
};
export {
authenticate
};