diff --git a/package.json b/package.json index d7ab33e..6646df0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@oada/id-client", - "version": "2.0.3", + "version": "2.0.4", "description": "OADA identity client library for Node.JS and Browser", "main": "index.js", "browser": { diff --git a/src/browser.ts b/src/browser.ts index 1f7c0c4..9801cbf 100644 --- a/src/browser.ts +++ b/src/browser.ts @@ -25,7 +25,7 @@ import { handleRedirect as redirect, } from './core'; -async function popUpRedirect( +function popUpRedirect( method: typeof coreGetAccessToken | typeof coreGetIDToken ) { return async function (domain: string, options: Options) {