diff --git a/.gitignore b/.gitignore index 630a3d51c..9bd1e0c28 100644 --- a/.gitignore +++ b/.gitignore @@ -36,6 +36,7 @@ node_modules/ npm-debug.log yarn-error.log config.js +!src/screens/steem-connect/config.js # BUCK buck-out/ diff --git a/package-lock.json b/package-lock.json index 9e01fb0bb..96684fb65 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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" diff --git a/src/screens/steem-connect/config.js b/src/screens/steem-connect/config.js new file mode 100644 index 000000000..12e834431 --- /dev/null +++ b/src/screens/steem-connect/config.js @@ -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", +};