diff --git a/CHANGELOG.md b/CHANGELOG.md index e9bf245d1..d4e80599c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## [v2.35.1](https://github.com/auth0/node-auth0/tree/v2.35.1) (2021-06-21) + +**Fixed** + +- Update `setUniversalLoginTemplate` example to correctly reflect documentation [\#624](https://github.com/auth0/node-auth0/pull/624) ([mendhak](https://github.com/mendhak)) +- Use id instead of action_id as per the mgmt api. [\#622](https://github.com/auth0/node-auth0/pull/622) ([stevezau](https://github.com/stevezau)) + +[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.35.0...v2.35.1) + ## [v2.35.0](https://github.com/auth0/node-auth0/tree/v2.35.0) (2021-05-17) **Added** diff --git a/docs/RetryRestClient.js.html b/docs/RetryRestClient.js.html index 1e3c3e5fd..4908d8632 100644 --- a/docs/RetryRestClient.js.html +++ b/docs/RetryRestClient.js.html @@ -159,7 +159,7 @@
The types for this library are currently maintained by the community at Definitely Typed. The team is planning taking ownership of this library as discussed in https://github.com/auth0/node-auth0/issues/572. After the team has taken ownership we will remove this net from the Readme.
Auth0 helps you to:
action_id
id
var params = { action_id: ACTION_ID };
+ var params = { id: ACTION_ID };
management.actions.createActionVersion(params, data, function (err, actionVersion) {
if (err) {
// Handle error.
@@ -1066,7 +1066,7 @@ deleteSource:
@@ -1163,7 +1163,7 @@ Parameters:
- action_id
+ id
@@ -1275,7 +1275,7 @@ Returns:
Example
- management.actions.delete({ action_id: ACTION_ID }, function (err) {
+ management.actions.delete({ id: ACTION_ID }, function (err) {
if (err) {
// Handle error.
}
@@ -1336,7 +1336,7 @@ deploySource:
@@ -1433,7 +1433,7 @@ Parameters:
- action_id
+ id
@@ -1545,7 +1545,7 @@ Returns:
Example
- var params = { action_id: ACTION_ID};
+ var params = { id: ACTION_ID};
mangement.actions.deploy(params, function (err, actionVersion) {
if (err) {
// Handle error.
@@ -1604,7 +1604,7 @@ deployVe
- Source:
@@ -1701,7 +1701,7 @@ Parameters:
- action_id
+ id
@@ -1839,7 +1839,7 @@ Returns:
Example
- var params = { action_id: ACTION_ID, version_id: VERSION_ID };
+ var params = { id: ACTION_ID, version_id: VERSION_ID };
management.actions.deployVersion(params, function (err, actionVersion) {
if (err) {
// Handle error.
@@ -1995,7 +1995,7 @@ Parameters:
- action_id
+ id
@@ -2107,7 +2107,7 @@ Returns:
Example
- management.actions.get({ action_id: ACTION_ID }, function (err, action) {
+ management.actions.get({ id: ACTION_ID }, function (err, action) {
if (err) {
// Handle error.
}
@@ -3167,7 +3167,7 @@ getVersion<
- Source:
@@ -3264,7 +3264,7 @@ Parameters:
- action_id
+ id
@@ -3402,7 +3402,7 @@ Returns:
Example
- var params = { action_id: ACTION_ID, version_id: VERSION_ID };
+ var params = { id: ACTION_ID, version_id: VERSION_ID };
management.actions.getVersion(params, function (err, actionVersion) {
if (err) {
// Handle error.
@@ -3461,7 +3461,7 @@ getVersion
- Source:
@@ -3634,7 +3634,7 @@ Parameters:
- action_id
+ id
@@ -3768,7 +3768,7 @@ Example
page: 0
};
-management.actions.getVersions({ action_id: ACTION_ID }, function (err, actionVersions) {
+management.actions.getVersions({ id: ACTION_ID }, function (err, actionVersions) {
console.log(actionVersions.length);
});
@@ -3824,7 +3824,7 @@ testSource:
@@ -3921,7 +3921,7 @@ Parameters:
- action_id
+ id
@@ -4067,7 +4067,7 @@ Returns:
Example
- var params = { action_id: ACTION_ID};
+ var params = { id: ACTION_ID};
management.actions.testAction(params, payload, function (err) {
if (err) {
// Handle error.
@@ -4428,7 +4428,7 @@ updateSource:
@@ -4525,7 +4525,7 @@ Parameters:
- action_id
+ id
@@ -4672,7 +4672,7 @@ Returns:
Example
var data = { name: 'new-name' };
-var params = { action_id: ACTION_ID };
+var params = { id: ACTION_ID };
// Using auth0 instance.
management.updateAction(params, data, function (err, action) {
@@ -5020,7 +5020,7 @@ Example
diff --git a/docs/module-management.BlacklistedTokensManager.html b/docs/module-management.BlacklistedTokensManager.html
index 000020c30..3bb68573a 100644
--- a/docs/module-management.BlacklistedTokensManager.html
+++ b/docs/module-management.BlacklistedTokensManager.html
@@ -991,7 +991,7 @@ Example
diff --git a/docs/module-management.BrandingManager.html b/docs/module-management.BrandingManager.html
index 026844873..40d356233 100644
--- a/docs/module-management.BrandingManager.html
+++ b/docs/module-management.BrandingManager.html
@@ -1490,7 +1490,7 @@ Returns:
Example
- management.branding.setUniversalLoginTemplate({ template: "a template" }, function (err) {
+ management.branding.setUniversalLoginTemplate(params, data, function (err) {
if (err) {
// Handle error.
}
@@ -1619,7 +1619,7 @@ Parameters:
- Branding parameters.
+ Branding parameters (leavy empty).
@@ -1740,7 +1740,7 @@ Returns:
Example
- management.branding.updateSettings(data, function (err, branding) {
+ management.branding.updateSettings(params, data, function (err, branding) {
if (err) {
// Handle error.
}
@@ -1770,7 +1770,7 @@ Example
diff --git a/docs/module-management.ClientGrantsManager.html b/docs/module-management.ClientGrantsManager.html
index 32635dc9c..f16ac67de 100644
--- a/docs/module-management.ClientGrantsManager.html
+++ b/docs/module-management.ClientGrantsManager.html
@@ -1636,7 +1636,7 @@ Example
diff --git a/docs/module-management.ClientsManager.html b/docs/module-management.ClientsManager.html
index a649f44ad..b98711c55 100644
--- a/docs/module-management.ClientsManager.html
+++ b/docs/module-management.ClientsManager.html
@@ -1904,7 +1904,7 @@ Example
diff --git a/docs/module-management.ConnectionsManager.html b/docs/module-management.ConnectionsManager.html
index efac0a1d3..83ad67c5e 100644
--- a/docs/module-management.ConnectionsManager.html
+++ b/docs/module-management.ConnectionsManager.html
@@ -2269,7 +2269,7 @@ Example
diff --git a/docs/module-management.CustomDomainsManager.html b/docs/module-management.CustomDomainsManager.html
index 57e993be3..712721e40 100644
--- a/docs/module-management.CustomDomainsManager.html
+++ b/docs/module-management.CustomDomainsManager.html
@@ -1731,7 +1731,7 @@ Example
diff --git a/docs/module-management.DeviceCredentialsManager.html b/docs/module-management.DeviceCredentialsManager.html
index 75d508b69..91b7480a2 100644
--- a/docs/module-management.DeviceCredentialsManager.html
+++ b/docs/module-management.DeviceCredentialsManager.html
@@ -1215,7 +1215,7 @@ Example
diff --git a/docs/module-management.EmailProviderManager.html b/docs/module-management.EmailProviderManager.html
index 6d8cae25a..666f39f13 100644
--- a/docs/module-management.EmailProviderManager.html
+++ b/docs/module-management.EmailProviderManager.html
@@ -1480,7 +1480,7 @@ Example
diff --git a/docs/module-management.EmailTemplatesManager.html b/docs/module-management.EmailTemplatesManager.html
index b34963bf9..39771709d 100644
--- a/docs/module-management.EmailTemplatesManager.html
+++ b/docs/module-management.EmailTemplatesManager.html
@@ -1304,7 +1304,7 @@ Example
diff --git a/docs/module-management.GrantsManager.html b/docs/module-management.GrantsManager.html
index 60bfc1fa6..2f322ac2a 100644
--- a/docs/module-management.GrantsManager.html
+++ b/docs/module-management.GrantsManager.html
@@ -1515,7 +1515,7 @@ Example
diff --git a/docs/module-management.GuardianManager.html b/docs/module-management.GuardianManager.html
index 18fc21ad4..91d4a33db 100644
--- a/docs/module-management.GuardianManager.html
+++ b/docs/module-management.GuardianManager.html
@@ -4920,7 +4920,7 @@ Example
diff --git a/docs/module-management.HooksManager.html b/docs/module-management.HooksManager.html
index cf6bb7c51..c5da26680 100644
--- a/docs/module-management.HooksManager.html
+++ b/docs/module-management.HooksManager.html
@@ -3099,7 +3099,7 @@ Example
diff --git a/docs/module-management.JobsManager.html b/docs/module-management.JobsManager.html
index 6b23a57f8..e20a551f3 100644
--- a/docs/module-management.JobsManager.html
+++ b/docs/module-management.JobsManager.html
@@ -3145,7 +3145,7 @@ Example
diff --git a/docs/module-management.LogStreamsManager.html b/docs/module-management.LogStreamsManager.html
index d11fbdada..31a3098be 100644
--- a/docs/module-management.LogStreamsManager.html
+++ b/docs/module-management.LogStreamsManager.html
@@ -1763,7 +1763,7 @@ Example
diff --git a/docs/module-management.LogsManager.html b/docs/module-management.LogsManager.html
index b39ee103f..78ace7cc6 100644
--- a/docs/module-management.LogsManager.html
+++ b/docs/module-management.LogsManager.html
@@ -1286,7 +1286,7 @@ Example
diff --git a/docs/module-management.ManagementClient.html b/docs/module-management.ManagementClient.html
index deab88551..df5ae0c28 100644
--- a/docs/module-management.ManagementClient.html
+++ b/docs/module-management.ManagementClient.html
@@ -39875,7 +39875,7 @@ Example
diff --git a/docs/module-management.ManagementTokenProvider.html b/docs/module-management.ManagementTokenProvider.html
index 169bb15fe..aaa16d5ba 100644
--- a/docs/module-management.ManagementTokenProvider.html
+++ b/docs/module-management.ManagementTokenProvider.html
@@ -673,7 +673,7 @@ Returns:
diff --git a/docs/module-management.MigrationsManager.html b/docs/module-management.MigrationsManager.html
index 754d13bab..1c720300a 100644
--- a/docs/module-management.MigrationsManager.html
+++ b/docs/module-management.MigrationsManager.html
@@ -885,7 +885,7 @@ Example
diff --git a/docs/module-management.OrganizationsManager.html b/docs/module-management.OrganizationsManager.html
index be4f814dc..5a7f18a85 100644
--- a/docs/module-management.OrganizationsManager.html
+++ b/docs/module-management.OrganizationsManager.html
@@ -6641,7 +6641,7 @@ Example
diff --git a/docs/module-management.PromptsManager.html b/docs/module-management.PromptsManager.html
index 081fb74eb..36f62b05b 100644
--- a/docs/module-management.PromptsManager.html
+++ b/docs/module-management.PromptsManager.html
@@ -2219,7 +2219,7 @@ Returns:
Example
- management.prompts.updateSettings(data, function (err, prompts) {
+ management.prompts.updateSettings(params, data, function (err, prompts) {
if (err) {
// Handle error.
}
@@ -2249,7 +2249,7 @@ Example
diff --git a/docs/module-management.ResourceServersManager.html b/docs/module-management.ResourceServersManager.html
index cd660291d..86411eb71 100644
--- a/docs/module-management.ResourceServersManager.html
+++ b/docs/module-management.ResourceServersManager.html
@@ -1904,7 +1904,7 @@ Example
diff --git a/docs/module-management.RetryRestClient.html b/docs/module-management.RetryRestClient.html
index ebc6219a5..895be80ac 100644
--- a/docs/module-management.RetryRestClient.html
+++ b/docs/module-management.RetryRestClient.html
@@ -417,7 +417,7 @@ Parameters:
diff --git a/docs/module-management.RolesManager.html b/docs/module-management.RolesManager.html
index f2b8db6ba..cb01932b2 100644
--- a/docs/module-management.RolesManager.html
+++ b/docs/module-management.RolesManager.html
@@ -4365,7 +4365,7 @@ Example
diff --git a/docs/module-management.RulesConfigsManager.html b/docs/module-management.RulesConfigsManager.html
index 29b09a046..645d9c4bf 100644
--- a/docs/module-management.RulesConfigsManager.html
+++ b/docs/module-management.RulesConfigsManager.html
@@ -1317,7 +1317,7 @@ Example
diff --git a/docs/module-management.RulesManager.html b/docs/module-management.RulesManager.html
index ffa6ce6ef..a546e9564 100644
--- a/docs/module-management.RulesManager.html
+++ b/docs/module-management.RulesManager.html
@@ -1910,7 +1910,7 @@ Example
diff --git a/docs/module-management.StatsManager.html b/docs/module-management.StatsManager.html
index 889d12191..d4316e74b 100644
--- a/docs/module-management.StatsManager.html
+++ b/docs/module-management.StatsManager.html
@@ -919,7 +919,7 @@ Example
diff --git a/docs/module-management.TenantManager.html b/docs/module-management.TenantManager.html
index 7e10509a6..3c4545636 100644
--- a/docs/module-management.TenantManager.html
+++ b/docs/module-management.TenantManager.html
@@ -871,7 +871,7 @@ Example
diff --git a/docs/module-management.TicketsManager.html b/docs/module-management.TicketsManager.html
index 5e72da804..5abbe9c32 100644
--- a/docs/module-management.TicketsManager.html
+++ b/docs/module-management.TicketsManager.html
@@ -1578,7 +1578,7 @@ Example
diff --git a/docs/module-management.UserBlocksManager.html b/docs/module-management.UserBlocksManager.html
index 29cd36422..150a10f21 100644
--- a/docs/module-management.UserBlocksManager.html
+++ b/docs/module-management.UserBlocksManager.html
@@ -1432,7 +1432,7 @@ Example
diff --git a/docs/module-management.UsersManager.html b/docs/module-management.UsersManager.html
index cf6c06110..b22b4e0df 100644
--- a/docs/module-management.UsersManager.html
+++ b/docs/module-management.UsersManager.html
@@ -6548,7 +6548,7 @@ Example
diff --git a/docs/module-management.html b/docs/module-management.html
index a5f150d75..d31b5bf94 100644
--- a/docs/module-management.html
+++ b/docs/module-management.html
@@ -180,7 +180,7 @@ Classes
diff --git a/docs/module-utils.html b/docs/module-utils.html
index eb10cb325..308cfcaf0 100644
--- a/docs/module-utils.html
+++ b/docs/module-utils.html
@@ -363,7 +363,7 @@ (static)
diff --git a/docs/utils.js.html b/docs/utils.js.html
index 4449139aa..856bb1556 100644
--- a/docs/utils.js.html
+++ b/docs/utils.js.html
@@ -140,7 +140,7 @@ utils.js
diff --git a/package.json b/package.json
index 4f56cf4f9..9852c5723 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "auth0",
- "version": "2.35.0",
+ "version": "2.35.1",
"description": "SDK for Auth0 API v2",
"main": "src/index.js",
"files": [