File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ export const verifierMap = {
54
54
[ TELEGRAM ] : {
55
55
name : "Telegram" ,
56
56
typeOfLogin : "telegram" ,
57
- clientId : "7974448012 " ,
58
- verifier : "test-telegram-2 " ,
57
+ clientId : "7696397063 " ,
58
+ verifier : "test-telegram-4 " ,
59
59
} ,
60
60
[ EMAIL_PASSWORD ] : {
61
61
name : "Email Password" ,
Original file line number Diff line number Diff line change 2
2
* User will be redirected to this page in redirect uxMode
3
3
*/
4
4
import React from "react" ;
5
- import { CustomAuth } from "@toruslabs/customauth" ;
5
+ import { CustomAuth , RedirectResult } from "@toruslabs/customauth" ;
6
6
import dynamic from "next/dynamic" ;
7
7
8
8
let ReactJsonView ;
@@ -11,7 +11,7 @@ if (typeof window === "object") {
11
11
}
12
12
13
13
interface IState {
14
- loginDetails ?: any | null ;
14
+ loginDetails ?: RedirectResult | null ;
15
15
}
16
16
17
17
interface IProps { }
Original file line number Diff line number Diff line change 1
1
/* eslint-disable class-methods-use-this */
2
2
import React from "react" ;
3
3
import Link from "next/link" ;
4
- import { CustomAuth } from "@toruslabs/customauth" ;
4
+ import { CustomAuth , TorusLoginResponse } from "@toruslabs/customauth" ;
5
5
import dynamic from "next/dynamic" ;
6
6
7
7
import {
@@ -27,9 +27,9 @@ if (typeof window === "object") {
27
27
28
28
interface IState {
29
29
selectedVerifier : string ;
30
- torusdirectsdk : any | null ;
30
+ torusdirectsdk : CustomAuth | null ;
31
31
loginHint : string ;
32
- loginResponse ?: any | null ;
32
+ loginResponse ?: TorusLoginResponse | null ;
33
33
}
34
34
35
35
interface IProps { }
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import { CustomAuth } from "@toruslabs/customauth" ;
2
+ import { CustomAuth , TorusLoginResponse } from "@toruslabs/customauth" ;
3
3
import dynamic from "next/dynamic" ;
4
4
import {
5
5
verifierMap ,
@@ -27,9 +27,9 @@ if (typeof window === "object") {
27
27
28
28
interface IState {
29
29
selectedVerifier : string ;
30
- torusdirectsdk : any | null ;
30
+ torusdirectsdk : CustomAuth | null ;
31
31
loginHint : string ;
32
- loginDetails ?: any | null ;
32
+ loginDetails ?: TorusLoginResponse | null ;
33
33
}
34
34
35
35
interface IProps { }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import {
22
22
23
23
interface IState {
24
24
selectedVerifier : string ;
25
- torusdirectsdk : any | null ;
25
+ torusdirectsdk : CustomAuth | null ;
26
26
loginHint : string ;
27
27
consoleText ?: string ;
28
28
}
You can’t perform that action at this time.
0 commit comments