All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- remove unused token parameter from
Verifier.verifyWebsiteSignature()
- additional verification for token:
- verify token age
- verify sso params
- website signature
- support for migration
jwt
andqueryParams
config moved from toolbox- prepend
0x
when verifying signed message, to avoidsignature missing v and recoveryParam
- all SSO params have prefix
sso
- issue with a name of
JwtPayload.ts
file
refId
is not longer part of token
- fix invalid publish of dist/models/JwtPayload file
- remove default export
- make abi part of the source code, so we don't need to use
fs
as it will not work for React
- fix restriction about required node version
- rewrite code to TypeScript
- fix test for
fetchSilkeyEthAddress()
- remove
isEmpty
method from utils
generateSSORequestParams
throws on empty PK
- join operator for
messageToSign
is now&
messageToSign
ignores data that are not set (null
orundefined
)
- ensure testing
throws
is working correctly
- Logo and badges to README
- option for not checking silkey signature on token verification
- add
userSignatureTimestamp
to jwtPayload model - support for
redirectMethod
param
- change naming convention from
timestamp
tosigTimestamp
- change timestamp name for SSO param to
ssoTimestamp
generateSSORequestParams
throws whenredirectUrl
orcancelUrl
empty
- import ethers lib in a way that is supported by both: react and nodejs app
- eslint
- Methods for signing SSO request
- jsdocs
- new model:
JwtPayload
- support for scope:email
- method to fetch silkey public key
- Change package name from
silkey-jwt
tosilkey-sdk
- Token generator
- Initial version of Silkey generator and validator for JWT