Releases: passageidentity/passage-node
Releases · passageidentity/passage-node
v3.0.0
3.0.0 (2025-01-14)
⚠ BREAKING CHANGES
- change language type to be more strict in magic link options
- change appID parameter name in Passage constructor to appId (#220)
- removes unused
CreateMagicLinkRequest
andResponseError
types - remove deprecated AppInfo code from codegen (#208)
- return void instead of boolean for
Passage.user.delete
,Passage.user.revokeRefreshTokens
, andPassage.user.revokeDevice
- removes deprecated code from Passage class
- drop support for node v16
- codegen models now use camelCase props (#207)
Features
validate_jwt
only compares the aud claim against the Passage app id (ba42c26)- change appID parameter name in Passage constructor to appId (#220) (66531af)
- change language type to be more strict in magic link options (5423a80)
- codegen models now use camelCase props (#207) (fb6c694)
- drop support for node v16 (7f0dfeb)
- export the union types of CreateMagicLinkArgs for convenience (5423a80)
- remove deprecated AppInfo code from codegen (#208) (1c927d5)
- removes deprecated code from Passage class (ba42c26)
- removes redundant error message prefixes (ba42c26)
- removes unused
CreateMagicLinkRequest
andResponseError
types (7e8a445) - return void instead of boolean for
Passage.user.delete
,Passage.user.revokeRefreshTokens
, andPassage.user.revokeDevice
(ba42c26)
v2.12.1
v2.12.0
2.12.0 (2024-12-12)
Features
- Add Audience Validation (#180) (8d6c7ab)
- add new Passage.auth.createMagicLinks method signature with stronger type hinting (ce2e404)
- add parameter guards (#195) (1499e7a)
- codegen: create magic link request fields are now optional (#191) (d36dfdf)
- Reorg SDK with new Class Organization (#174) (2dfcc8a)