This commit is contained in:
Feruz 2018-09-16 16:13:41 +03:00
parent c273a22195
commit dec5ac115b
3 changed files with 12 additions and 4 deletions

1
.gitignore vendored
View File

@ -36,6 +36,7 @@ node_modules/
npm-debug.log
yarn-error.log
config.js
!src/screens/steem-connect/config.js
# BUCK
buck-out/

8
package-lock.json generated
View File

@ -2455,7 +2455,7 @@
},
"buffer": {
"version": "3.6.0",
"resolved": "http://registry.npmjs.org/buffer/-/buffer-3.6.0.tgz",
"resolved": "https://registry.npmjs.org/buffer/-/buffer-3.6.0.tgz",
"integrity": "sha1-pyyTb3e5a/UvX357RnGAYoVR3vs=",
"requires": {
"base64-js": "0.0.8",
@ -9935,8 +9935,8 @@
"resolved": "https://registry.npmjs.org/sc2-sdk/-/sc2-sdk-1.0.2.tgz",
"integrity": "sha512-QADFzQYCsm6OOQE3cxd/NEhSTEtcohzJ6KQN4E5YaEO/bl2WgWy1Dgz4SFRhjIwTh5luzad2TqfUN7uF4IL8xg==",
"requires": {
"cross-fetch": "^1.1.1",
"debug": "^2.2.0"
"cross-fetch": "1.1.1",
"debug": "2.6.9"
}
},
"secp256k1": {
@ -9964,7 +9964,7 @@
"dependencies": {
"commander": {
"version": "2.8.1",
"resolved": "http://registry.npmjs.org/commander/-/commander-2.8.1.tgz",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz",
"integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=",
"requires": {
"graceful-readlink": "1.0.1"

View File

@ -0,0 +1,7 @@
export const steemConnectOptions = {
base_url: "https://steemconnect.com/oauth2/authorize",
client_id: "esteem-app",
redirect_uri: "http%3A%2F%2F127.0.0.1%3A3415%2F", // http://127.0.0.1:3415
scope:
"vote%2Ccomment%2Cdelete_comment%2Ccomment_options%2Ccustom_json%2Cclaim_reward_balance",
};