Skip to content

Commit

Permalink
Merge pull request #440 from stakwork/notify2
Browse files Browse the repository at this point in the history
Notify2
  • Loading branch information
Evanfeenstra authored Sep 27, 2022
2 parents eb58ea3 + 1a72a00 commit 9ee6d14
Show file tree
Hide file tree
Showing 9 changed files with 418 additions and 295 deletions.
2 changes: 1 addition & 1 deletion dist/src/auth.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/auth.js.map

Large diffs are not rendered by default.

271 changes: 138 additions & 133 deletions dist/src/network/receive.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/src/network/receive.js.map

Large diffs are not rendered by default.

67 changes: 60 additions & 7 deletions dist/src/network/send.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/network/send.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export async function hmacMiddleware(req: Req, res: Res, next): Promise<void> {
}
const message = `${req.method}|${req.originalUrl}|${req.rawBody || ''}`
const valid = hmac.verifyHmac(sig, message, req.owner.hmacKey)
console.log('valid sig!', valid)
// console.log('valid sig!', valid)
if (!valid) {
return unauthorized(res)
}
Expand Down
Loading

0 comments on commit 9ee6d14

Please sign in to comment.