|
16 | 16 | * under the License. |
17 | 17 | */ |
18 | 18 |
|
19 | | -import { AsgardeoAuthClient } from './__legacy__/client'; |
20 | | -import { AuthClientConfig } from './__legacy__/models/client-config'; |
| 19 | +import {AsgardeoAuthClient} from './__legacy__/client'; |
| 20 | +import {AuthClientConfig} from './__legacy__/models/client-config'; |
21 | 21 | import executeEmbeddedSignInFlow from './api/executeEmbeddedSignInFlow'; |
22 | 22 | import initializeEmbeddedSignInFlow from './api/initializeEmbeddedSignInFlow'; |
23 | | -import { DefaultCacheStore } from './DefaultCacheStore'; |
24 | | -import { DefaultCrypto } from './DefaultCrypto'; |
25 | | -import { AgentConfig } from './models/agent'; |
26 | | -import { AuthCodeResponse } from './models/auth-code-response'; |
27 | | -import { AsgardeoClient } from './models/client'; |
28 | | -import { Config, SignInOptions, SignOutOptions, SignUpOptions } from './models/config'; |
29 | | -import { Crypto } from './models/crypto'; |
| 23 | +import {DefaultCacheStore} from './DefaultCacheStore'; |
| 24 | +import {DefaultCrypto} from './DefaultCrypto'; |
| 25 | +import {AgentConfig} from './models/agent'; |
| 26 | +import {AuthCodeResponse} from './models/auth-code-response'; |
| 27 | +import {AsgardeoClient} from './models/client'; |
| 28 | +import {Config, SignInOptions, SignOutOptions, SignUpOptions} from './models/config'; |
| 29 | +import {Crypto} from './models/crypto'; |
30 | 30 | import { |
31 | 31 | EmbeddedFlowExecuteRequestConfig, |
32 | 32 | EmbeddedFlowExecuteRequestPayload, |
@@ -237,7 +237,7 @@ class AsgardeoJavaScriptClient<T = Config> implements AsgardeoClient<T> { |
237 | 237 | public async getOBOToken(agentConfig: AgentConfig, authCodeResponse: AuthCodeResponse): Promise<TokenResponse> { |
238 | 238 | const agentToken: TokenResponse = await this.getAgentToken(agentConfig); |
239 | 239 |
|
240 | | - const tokenRequestConfig: { params: { actor_token: string } } = { |
| 240 | + const tokenRequestConfig: {params: {actor_token: string}} = { |
241 | 241 | params: { |
242 | 242 | actor_token: agentToken.accessToken, |
243 | 243 | }, |
|
0 commit comments