auth0 2.38.0 → 2.38.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,14 +1,17 @@
1
1
  # Change Log
2
2
 
3
- ## [v2.38.0](https://github.com/auth0/node-auth0/tree/v2.38.0) (2022-01-26)
3
+ ## [v2.38.1](https://github.com/auth0/node-auth0/tree/v2.38.1) (2022-01-27)
4
4
 
5
- [Full Changelog](https://github.com/auth0/node-auth0/compare/v2.37.0...v2.38.0)
5
+ [Full Changelog](https://github.com/auth0/node-auth0/compare/v2.38.0...v2.38.1)
6
6
 
7
- **Added**
7
+ **Fixed**
8
8
 
9
- - [CAUTH-1274]: feat(attack protection): add breached password detection endpoints [\#676](https://github.com/auth0/node-auth0/pull/676) ([sdwvit](https://github.com/sdwvit))
10
- - [CAUTH-1272]: feat(attack protection): add suspicious IP throttling endpoints support [\#672](https://github.com/auth0/node-auth0/pull/672) ([sdwvit](https://github.com/sdwvit))
11
- - [CAUTH-1270]: feat(attack protection): add brute-force-protection endpoints support [\#666](https://github.com/auth0/node-auth0/pull/666) ([sdwvit](https://github.com/sdwvit))
9
+ - Fix wrong property in `assignRolestoUser` [\#700](https://github.com/auth0/node-auth0/pull/700) ([adamjmcgrath](https://github.com/adamjmcgrath))
10
+ - signIn method should provide using audience prop in userData [\#699](https://github.com/auth0/node-auth0/pull/699) ([maxism](https://github.com/maxism))
11
+
12
+ ## [v2.38.0](https://github.com/auth0/node-auth0/tree/v2.38.0) (2022-01-26)
13
+
14
+ [Full Changelog](https://github.com/auth0/node-auth0/compare/v2.37.0...v2.38.0)
12
15
 
13
16
  **Changed**
14
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auth0",
3
- "version": "2.38.0",
3
+ "version": "2.38.1",
4
4
  "description": "SDK for Auth0 API v2",
5
5
  "main": "src/index.js",
6
6
  "sideEffects": false,
@@ -104,6 +104,7 @@ class PasswordlessAuthenticator {
104
104
  * @param {object} userData User credentials object.
105
105
  * @param {string} userData.username The user's phone number if realm=sms, or the user's email if realm=email
106
106
  * @param {string} userData.otp The user's verification code. Required
107
+ * @param {string} [userData.audience] API Identifier of the API for which you want to get an Access Token.
107
108
  * @param {string} [userData.realm=sms] Realm string: "sms" or "email".
108
109
  * @param {string} [userData.password] [DEPRECATED] Password required if using legacy /oauth/ro endpoint
109
110
  * @param {string} [userData.connection=sms] [DEPRECATED] Connection string: "sms" or "email".
@@ -231,7 +231,7 @@ class ManagementClient {
231
231
  * Simple abstraction for performing CRUD operations on the
232
232
  * blacklisted tokens endpoint.
233
233
  *
234
- * @type {BlacklistedtokensManager}
234
+ * @type {BlacklistedTokensManager}
235
235
  */
236
236
  this.blacklistedTokens = new BlacklistedTokensManager(managerOptions);
237
237
 
@@ -328,7 +328,7 @@ class ManagementClient {
328
328
  * Simple abstraction for performing CRUD operations on the
329
329
  * branding endpoint.
330
330
  *
331
- * @type {HooksManager}
331
+ * @type {BrandingManager}
332
332
  */
333
333
  this.branding = new BrandingManager(managerOptions);
334
334
 
@@ -1287,7 +1287,7 @@ class ManagementClient {
1287
1287
  * @returns {Promise|undefined}
1288
1288
  */
1289
1289
  assignRolestoUser(...args) {
1290
- return this.roles.assignRoles(...args);
1290
+ return this.users.assignRoles(...args);
1291
1291
  }
1292
1292
 
1293
1293
  /**