@outlinerisk/auth0-tools
Advanced tools
Comparing version 0.1.16 to 0.1.17
@@ -44,4 +44,6 @@ import { logger } from '../../logger.js'; | ||
this.actions.forEach((action) => { | ||
// prepare action name | ||
const name = this.prefixName(action.name); | ||
action.supported_triggers.forEach((trigger) => { | ||
this.createBinding(action.name, trigger.id); | ||
this.createBinding(name, trigger.id); | ||
}); | ||
@@ -223,4 +225,2 @@ }); | ||
createBinding = (name, triggerId) => { | ||
// prepare action name | ||
name = this.prefixName(name); | ||
const newBinding = { | ||
@@ -245,2 +245,3 @@ display_name: name, | ||
} | ||
console.log(this.bindings); | ||
}; | ||
@@ -254,4 +255,2 @@ /** | ||
deleteBinding = (name, triggerId) => { | ||
// prepare action name | ||
name = this.prefixName(name); | ||
this.bindings[triggerId] = this.bindings[triggerId].filter((binding) => { | ||
@@ -258,0 +257,0 @@ return binding.ref.value !== name; |
{ | ||
"name": "@outlinerisk/auth0-tools", | ||
"version": "0.1.16", | ||
"version": "0.1.17", | ||
"description": "Pathpoint's internal Auth0 tooling.", | ||
@@ -5,0 +5,0 @@ "author": "Pathpoint", |
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
61361
1253