File tree 3 files changed +2701
-2222
lines changed
3 files changed +2701
-2222
lines changed Original file line number Diff line number Diff line change 25
25
},
26
26
"dependencies" : {
27
27
"gotrue-js" : " ^0.9.25" ,
28
- "tsdx" : " ^0.6.0 "
28
+ "tsdx" : " ^0.12.3 "
29
29
},
30
30
"peerDependencies" : {
31
31
"react" : " ^15.0.0 || ^16.0.0" ,
43
43
"trailingComma" : " es5"
44
44
},
45
45
"devDependencies" : {
46
- "@svgr/rollup" : " ^4.2.0 " ,
47
- "@types/jest" : " ^23.1.5 " ,
48
- "@types/react" : " ^16.7.13 " ,
49
- "@types/react-dom" : " ^16.0.11 " ,
50
- "auto-changelog" : " ^1.13.0 " ,
46
+ "@svgr/rollup" : " ^5.0.1 " ,
47
+ "@types/jest" : " ^24.0.25 " ,
48
+ "@types/react" : " ^16.9.17 " ,
49
+ "@types/react-dom" : " ^16.9.4 " ,
50
+ "auto-changelog" : " ^1.16.2 " ,
51
51
"gh-release" : " ^3.5.0" ,
52
- "husky" : " ^2.3.0 " ,
53
- "prettier" : " ^1.17 .1" ,
54
- "pretty-quick" : " ^1.11.0 " ,
55
- "react" : " ^16.8.6 " ,
56
- "react-dom" : " ^16.8.6 " ,
57
- "typescript" : " ^3.5.1 "
52
+ "husky" : " ^4.0.9 " ,
53
+ "prettier" : " ^1.19 .1" ,
54
+ "pretty-quick" : " ^2.0.1 " ,
55
+ "react" : " ^16.12.0 " ,
56
+ "react-dom" : " ^16.12.0 " ,
57
+ "typescript" : " ^3.7.4 "
58
58
},
59
59
"files" : [
60
60
" dist"
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
- import GoTrue , { User , Settings } from 'gotrue-js' ;
3
+ import GoTrue , {
4
+ User as GoTrueUser ,
5
+ Settings as GoTrueSettings ,
6
+ } from 'gotrue-js' ;
4
7
import { runRoutes } from './runRoutes' ;
5
8
6
9
type authChangeParam = ( user ?: User ) => string | void ;
7
10
8
- export type Settings = Settings ;
9
- export type User = User ;
11
+ export type Settings = GoTrueSettings ;
12
+ export type User = GoTrueUser ;
10
13
11
14
const defaultSettings = {
12
15
autoconfirm : false ,
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments