mirror of
https://github.com/jonasroussel/dart_jsonwebtoken.git
synced 2025-05-19 09:06:15 +08:00
Issue/29 (#30)
* Downgrade collection dependency to ^1.16.0 * Add changelog for 2.5.0+1 * v2.5.1 * running dart format Co-authored-by: Jonas Roussel <go.jroussel@gmail.com>
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
## 2.5.1
|
||||
|
||||
- Fix Flutter compatibility issue: `downgrade` dependency collection to `1.16.0`
|
||||
|
||||
## 2.5.0
|
||||
|
||||
- https://github.com/jonasroussel/dart_jsonwebtoken/commit/12348776259ccec70ccf62856ec0245f49ebe951
|
||||
|
@ -101,8 +101,7 @@ class JWT {
|
||||
!ListEquality().equals(payload['aud'], audience)) {
|
||||
throw JWTInvalidError('invalid audience');
|
||||
}
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
throw JWTInvalidError('invalid audience');
|
||||
}
|
||||
}
|
||||
|
14
pubspec.yaml
14
pubspec.yaml
@ -1,23 +1,23 @@
|
||||
name: dart_jsonwebtoken
|
||||
description: A dart implementation of the famous javascript library 'jsonwebtoken' (JWT).
|
||||
version: 2.5.0
|
||||
version: 2.5.1
|
||||
repository: https://github.com/jonasroussel/dart_jsonwebtoken
|
||||
homepage: https://github.com/jonasroussel/dart_jsonwebtoken#readme
|
||||
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
|
||||
false_secrets:
|
||||
- /example/ec_private.pem
|
||||
- /example/ec_public.pem
|
||||
- /example/rsa_private.pem
|
||||
- /example/rsa_public.pem
|
||||
- /example/ec_private.pem
|
||||
- /example/ec_public.pem
|
||||
- /example/rsa_private.pem
|
||||
- /example/rsa_public.pem
|
||||
|
||||
dependencies:
|
||||
crypto: ^3.0.2
|
||||
pointycastle: ^3.6.2
|
||||
convert: ^3.1.1
|
||||
collection: ^1.17.0
|
||||
collection: ^1.16.0
|
||||
ed25519_edwards: ^0.3.1
|
||||
|
||||
dev_dependencies:
|
||||
|
Reference in New Issue
Block a user