@people.io/ppl-api-client-js
Advanced tools
Comparing version 1.2.0 to 2.0.0
const client = require('./lib/httpClient'); | ||
const userAuthUrl = 'https://api.people.io/v1/auth/grant/'; | ||
const userAuthUrl = 'https://accounts.people.io/'; | ||
@@ -4,0 +4,0 @@ async function getAudiences(name, { limit = 100, page = 0, token, apiKey, clientId } = {}) { |
{ | ||
"name": "@people.io/ppl-api-client-js", | ||
"version": "1.2.0", | ||
"version": "2.0.0", | ||
"description": "Simple client for people.io api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,3 +21,3 @@ # ppl-api-client-js | ||
// If left blank, the user will be shown an HTML page containing the token. | ||
const destination = "https://myserver.io/tokenCapture"; | ||
const destination = 'https://myserver.io/tokenCapture'; | ||
const state = 'calculate-your-state-hash' | ||
@@ -44,3 +44,3 @@ | ||
// touching the others. You can call it without any param to obtain the current conf state. | ||
const updateConfig = client.configure(testConf); | ||
const updateConfig = client.configure(myConfiguration); | ||
console.log('ppl-api-client config: ', { updateConfig }); | ||
@@ -47,0 +47,0 @@ ``` |
@@ -16,5 +16,5 @@ const configErrors = { | ||
module.exports = { | ||
userAuthUrl: 'https://api.people.io/v1/auth/grant/?client_id=test-client-id&redirect_uri=http%3A%2F%2Fserver.io%2FcaptureToken&scope=test%20scope&state=test-state-string', | ||
userAuthUrl: 'https://accounts.people.io/?client_id=test-client-id&redirect_uri=http%3A%2F%2Fserver.io%2FcaptureToken&scope=test%20scope&state=test-state-string', | ||
configErrors, | ||
apiResponses | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17461