@types/jwt-decode
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -1,15 +0,15 @@ | ||
// Type definitions for jwt-decode v2.2.0 | ||
// Type definitions for jwt-decode 2.2 | ||
// Project: https://github.com/auth0/jwt-decode | ||
// Definitions by: Giedrius Grabauskas <https://github.com/QuatroDevOfficial/>, Mads Madsen <https://github.com/madsmadsen> | ||
// Definitions by: Giedrius Grabauskas <https://github.com/GiedriusGrabauskas>, Mads Madsen <https://github.com/madsmadsen> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
declare namespace JwtDecode { | ||
interface JwtDecodeStatic { | ||
(token: string, options?: { header: boolean }): any; | ||
interface Options { | ||
header: boolean; | ||
} | ||
} | ||
declare var jwtDecode: JwtDecode.JwtDecodeStatic; | ||
export = jwtDecode; | ||
export as namespace jwt_decode; | ||
declare function JwtDecode<TTokenDto>(token: string, options?: JwtDecode.Options): TTokenDto; | ||
export = JwtDecode; | ||
export as namespace jwt_decode; |
{ | ||
"name": "@types/jwt-decode", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "TypeScript definitions for jwt-decode", | ||
@@ -9,3 +9,3 @@ "license": "MIT", | ||
"name": "Giedrius Grabauskas", | ||
"url": "https://github.com/QuatroDevOfficial/" | ||
"url": "https://github.com/GiedriusGrabauskas" | ||
}, | ||
@@ -25,4 +25,4 @@ { | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "a153935aa0ceca301979ad6601a550b4bca4f4d8b8004470a9e36f0bd7d28709", | ||
"typesPublisherContentHash": "1e39f59c1791abeafac1233eca61c2803a96776546dc8e77fd63a556ce80e3a5", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 09 Jun 2017 14:51:29 GMT | ||
* Last updated: Tue, 20 Jun 2017 20:20:01 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: jwt_decode | ||
# Credits | ||
These definitions were written by Giedrius Grabauskas <https://github.com/QuatroDevOfficial/>, Mads Madsen <https://github.com/madsmadsen>. | ||
These definitions were written by Giedrius Grabauskas <https://github.com/GiedriusGrabauskas>, Mads Madsen <https://github.com/madsmadsen>. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12
2986