Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@people.io/ppl-api-client-js

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@people.io/ppl-api-client-js - npm Package Compare versions

Comparing version 1.2.0 to 2.0.0

2

index.js
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
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc