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

auth0

Package Overview
Dependencies
Maintainers
46
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auth0 - npm Package Compare versions

Comparing version 2.35.1 to 2.36.0

9

package.json
{
"name": "auth0",
"version": "2.35.1",
"version": "2.36.0",
"description": "SDK for Auth0 API v2",
"main": "src/index.js",
"sideEffects": false,
"files": [

@@ -35,8 +36,8 @@ "src"

"es6-promisify": "^6.1.1",
"form-data": "^3.0.0",
"form-data": "^3.0.1",
"jsonwebtoken": "^8.5.1",
"jwks-rsa": "^1.12.1",
"lru-memoizer": "^2.1.0",
"lru-memoizer": "^2.1.4",
"rest-facade": "^1.13.0",
"retry": "^0.12.0"
"retry": "^0.13.1"
},

@@ -43,0 +44,0 @@ "devDependencies": {

@@ -90,9 +90,2 @@ var ArgumentError = require('rest-facade').ArgumentError;

var triggersTestRestClient = new Auth0RestClient(
options.baseUrl + '/actions/triggers/:trigger_id/test',
clientOptions,
options.tokenProvider
);
this.triggersTest = new RetryRestClient(triggersTestRestClient, options.retry);
var executionsRestClient = new Auth0RestClient(

@@ -195,35 +188,2 @@ options.baseUrl + '/actions/executions/:execution_id',

/**
* test an Trigger.
*
* @method testTrigger
* @memberOf module:management.ActionsManager.prototype
*
* @example
* var params = { trigger_id: TRIGGER_ID};
* auth0.actions.testTrigger(params, payload, function (err) {
* if (err) {
* // Handle error.
* }
* });
*
* @param {Object} params Action parameters.
* @param {String} params.trigger_id Trigger ID.
* @param {Object} payload Payload represents the entire structure necessary to test a particular trigger
* @param {Function} [cb] Callback function.
*
* @return {Promise|undefined}
*/
ActionsManager.prototype.testTrigger = function(params, payload, cb) {
params = params || {};
payload = payload || {};
if (cb && cb instanceof Function) {
return this.triggersTest.create(params, payload, cb);
}
return this.triggersTest.create(params, payload);
};
/**
* Get the actions bound to a trigger .

@@ -448,3 +408,3 @@ *

* var params = { id: ACTION_ID};
* management.actions.testAction(params, payload, function (err) {
* management.actions.test(params, payload, function (err) {
* if (err) {

@@ -451,0 +411,0 @@ * // Handle error.

@@ -85,2 +85,4 @@ var ArgumentError = require('rest-facade').ArgumentError;

* @param {Boolean} [params.include_totals] true if a query summary must be included in the result, false otherwise. Default false
* @param {String} [params.from] For checkpoint pagination, log event Id from which to start selection from.
* @param {Number} [params.take] When using the `from` parameter, the number of entries to retrieve. Default 50, max 100.
* @param {Function} [cb] Callback function.

@@ -87,0 +89,0 @@ *

@@ -143,2 +143,4 @@ var ArgumentError = require('rest-facade').ArgumentError;

* @param {Number} [params.page] Page number, zero indexed.
* @param {String} [params.from] For checkpoint pagination, the Id from which to start selection from.
* @param {Number} [params.take] For checkpoint pagination, the number of entries to retrieve. Default 50.
* @param {Function} [cb] Callback function.

@@ -459,2 +461,4 @@ *

* @param {String} [params.id] Organization ID
* @param {String} [params.from] For checkpoint pagination, the Id from which to start selection from.
* @param {Number} [params.take] For checkpoint pagination, the number of entries to retrieve. Default 50.
* @param {Function} [cb] Callback function.

@@ -461,0 +465,0 @@ *

@@ -354,4 +354,4 @@ var ArgumentError = require('rest-facade').ArgumentError;

* @param {Number} [params.page] Page number, zero indexed.
* @param {String} [params.from] Optional id from which to start selection.
* @param {Number} [params.take] The total amount of entries to retrieve when using the from parameter. Defaults to 50.
* @param {String} [params.from] For checkpoint pagination, the Id from which to start selection from.
* @param {Number} [params.take] For checkpoint pagination, the number of entries to retrieve. Default 50.
* @param {Function} [cb] Callback function.

@@ -358,0 +358,0 @@ *

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