Commit Graph

14 Commits

Author SHA1 Message Date
50c236ca4d
refactor: usage of node:test instead of tap 2023-07-22 12:18:28 +02:00
Divlo
c7c152a554
build(deps): update latest 2022-09-09 11:39:27 +02:00
Divlo
dbb363747d
feat: usage of ESM modules imports (instead of CommonJS)
BREAKING CHANGE: This package is now pure ESM

BREAKING CHANGE: minimum supported Node.js >= 16.0.0
2022-04-07 10:11:48 +02:00
Divlo
098475d64c
feat: add isUnauthorizedError type guard
fixes #328
2022-02-18 17:20:59 +01:00
dependabot[bot]
596d6a82c9
build(deps-dev): bump typescript from 4.3.5 to 4.4.2 (#201)
Co-authored-by: Divlo <contact@divlo.fr>
2021-08-27 17:18:31 +02:00
Divlo
dff86f7bda
build(deps): bump jest from 26.6.3 to 27.0.6
close #128
2021-07-23 23:00:25 +02:00
Sayak Mukhopadhyay
c7f64a6312 feat: add optional onAuthentication option to add user property in socket object (#62) 2021-03-08 14:10:42 +01:00
divlo
a14d4e937b feat: usage of auth option to send credentials
BREAKING CHANGE: extraHeaders with Authorization doesn't work anymore

See: https://socket.io/docs/v3/middlewares/#Sending-credentials
2021-02-22 13:00:53 +01:00
divlo
af7ff4e8d9 test: fix typings in fixture keySecret 2021-01-28 19:12:46 +01:00
divlo
261e8d66e2 feat: add support for jwks-rsa (#1) 2021-01-07 14:30:37 +01:00
divlo
d44bd9e17e test: add authorize 100% coverage 2020-12-29 04:05:39 +01:00
divlo
0e534dd8ee feat: add support for socket.io >= 3.0.0 2020-12-29 03:32:28 +01:00
divlo
e328a83a18 fix: temporary fix ts errors by using any type 2020-12-29 01:55:44 +01:00
divlo
02337add0d test: add authorizer and fixture 2020-12-28 23:51:03 +01:00