Remove requestOptions2GotOptions compatibility layer (#7270)

* gzip --> decompress

* strictSSL --> https.rejectUnauthorized

* auth --> username/password

* qs --> searchParams

* fix base service auth docs

* completely remove requestOptions2GotOptions layer

* update the docs

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
chris48s
2021-11-15 19:56:08 +00:00
committed by GitHub
parent 42b0033bc8
commit c73072deed
99 changed files with 204 additions and 254 deletions

View File

@@ -58,7 +58,7 @@ export default class KeybaseBTC extends KeybaseProfile {
async handle({ username }) {
const options = {
qs: {
searchParams: {
usernames: username,
fields: 'cryptocurrency_addresses',
},

View File

@@ -51,7 +51,7 @@ export default class KeybasePGP extends KeybaseProfile {
async handle({ username }) {
const options = {
qs: {
searchParams: {
usernames: username,
fields: 'public_keys',
},

View File

@@ -56,7 +56,7 @@ export default class KeybaseXLM extends KeybaseProfile {
async handle({ username }) {
const options = {
qs: {
searchParams: {
usernames: username,
fields: 'stellar',
},

View File

@@ -58,7 +58,7 @@ export default class KeybaseZEC extends KeybaseProfile {
async handle({ username }) {
const options = {
qs: {
searchParams: {
usernames: username,
fields: 'cryptocurrency_addresses',
},