File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,7 @@ export default class App extends Component<{}, State> {
58
58
59
59
refresh = async ( ) = > {
60
60
try {
61
- const authState = await refresh ( {
62
- ...config ,
61
+ const authState = await refresh ( config , {
63
62
refreshToken : this . state . refreshToken
64
63
} ) ;
65
64
console . log ( 'refresh result ' , authState ) ;
@@ -77,8 +76,7 @@ export default class App extends Component<{}, State> {
77
76
78
77
revoke = async ( ) = > {
79
78
try {
80
- await revoke ( {
81
- ...config ,
79
+ await revoke ( config , {
82
80
tokenToRevoke : this . state . accessToken ,
83
81
sendClientId : true
84
82
} ) ;
Original file line number Diff line number Diff line change 9
9
"dependencies" : {
10
10
"react" : " 16.0.0" ,
11
11
"react-native" : " 0.50.3" ,
12
- "react-native-app-auth" : " git+https://git@github.com/FormidableLabs/react-native-app-auth.git#96f57eab7f0b2388bb2f3c87897ff3decaeebef6 " ,
12
+ "react-native-app-auth" : " git+https://git@github.com/FormidableLabs/react-native-app-auth.git#b4a33ba178bddf1528066d1b5198d7d01d8693ad " ,
13
13
"styled-components" : " ^2.2.3"
14
14
},
15
15
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -3399,9 +3399,9 @@ react-devtools-core@^2.5.0:
3399
3399
shell-quote "^1.6.1"
3400
3400
ws "^2.0.3"
3401
3401
3402
- " react-native-app-auth@git+https://git@github.com/FormidableLabs/react-native-app-auth.git#96f57eab7f0b2388bb2f3c87897ff3decaeebef6 " :
3402
+ " react-native-app-auth@git+https://git@github.com/FormidableLabs/react-native-app-auth.git#b4a33ba178bddf1528066d1b5198d7d01d8693ad " :
3403
3403
version "1.0.1"
3404
- resolved "git+https://git@github.com/FormidableLabs/react-native-app-auth.git#96f57eab7f0b2388bb2f3c87897ff3decaeebef6 "
3404
+ resolved "git+https://git@github.com/FormidableLabs/react-native-app-auth.git#b4a33ba178bddf1528066d1b5198d7d01d8693ad "
3405
3405
3406
3406
react-native@0.50.3 :
3407
3407
version "0.50.3"
You can’t perform that action at this time.
0 commit comments