@code-202/jwt
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -44,3 +44,3 @@ "use strict"; | ||
this._refreshToken = new token_request_1.TokenRequest(options.endpoint + (options.urls?.refreshToken || '/security/refresh'), 'GET', tokenVerifier); | ||
this._requestLogout = new agent_1.ApiRequest(options.endpoint + (options.urls?.logout || '/security/logout'), 'POST'); | ||
this._requestLogout = new agent_1.ApiRequest(options.endpoint + (options.urls?.logout || '/logout'), 'POST'); | ||
this._cookies = new universal_cookie_1.default(); | ||
@@ -47,0 +47,0 @@ this._notifyLogout = options.notifyLogout === undefined || options.notifyLogout === true; |
{ | ||
"name": "@code-202/jwt", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"main": "build/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "build/index", |
@@ -70,3 +70,3 @@ import { Request, Response, ApiRequest } from '@code-202/agent' | ||
this._refreshToken = new TokenRequest(options.endpoint + (options.urls?.refreshToken || '/security/refresh'), 'GET', tokenVerifier) | ||
this._requestLogout = new ApiRequest(options.endpoint + (options.urls?.logout || '/security/logout'), 'POST') | ||
this._requestLogout = new ApiRequest(options.endpoint + (options.urls?.logout || '/logout'), 'POST') | ||
@@ -73,0 +73,0 @@ this._cookies = new Cookies() |
41698