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 3.4.0 to 3.5.0

8

CHANGELOG.md
# Change Log
## [v3.5.0](https://github.com/auth0/node-auth0/tree/v3.5.0) (2023-06-26)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v3.4.0...v3.5.0)
**Added**
- Add option to pass x-request-language header for passwordless [\#873](https://github.com/auth0/node-auth0/pull/873) ([adamjmcgrath](https://github.com/adamjmcgrath))
## [v3.4.0](https://github.com/auth0/node-auth0/tree/v3.4.0) (2023-05-05)

@@ -4,0 +12,0 @@

2

package.json
{
"name": "auth0",
"version": "3.4.0",
"version": "3.5.0",
"description": "SDK for Auth0 API v2",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -66,2 +66,4 @@ ![Node.js client library for Auth0](https://cdn.auth0.com/website/sdks/banner/node-auth0-banner.png)

> Note: The domain should not include `https://` the ManagementClient will prepend that to the string.
For other examples see the [EXAMPLES.md](https://github.com/auth0/node-auth0/blob/master/EXAMPLES.md) document.

@@ -68,0 +70,0 @@

@@ -11,5 +11,6 @@ const { ArgumentError } = require('rest-facade');

}
if (options.forwardedFor) {
if (options.forwardedFor || options.requestLanguage) {
params._requestCustomizer = function (req) {
req.set('auth0-forwarded-for', options.forwardedFor);
options.forwardedFor && req.set('auth0-forwarded-for', options.forwardedFor);
options.requestLanguage && req.set('x-request-language', options.requestLanguage);
};

@@ -218,2 +219,3 @@ }

* @param {string} [options.forwardedFor] Value to be used for auth0-forwarded-for header
* @param {string} [options.requestLanguage] Specify a language for the message area.
* @param {Function} [cb] Method callback.

@@ -275,2 +277,3 @@ * @returns {Promise|undefined}

* @param {string} [options.forwardedFor] Value to be used for auth0-forwarded-for header
* @param {string} [options.requestLanguage] Specify a language for the message area.
* @param {Function} [cb] Method callback.

@@ -277,0 +280,0 @@ * @returns {Promise|undefined}

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