Socket
Socket
Sign inDemoInstall

auth0-lock

Package Overview
Dependencies
Maintainers
37
Versions
338
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auth0-lock - npm Package Compare versions

Comparing version 11.24.5 to 11.25.0

lib/__tests__/connection/enterprise/quick_auth_screen.js

6

lib/connection/enterprise/quick_auth_screen.js

@@ -56,12 +56,12 @@ 'use strict';

);
var theme = (0, _index2.authButtonsTheme)(model);
var connection = (0, _enterprise.quickAuthConnection)(model);
var connectionName = connection.getIn(['name']);
var connectionDomain = connection.getIn(['domains', 0]);
var connectionDisplayName = connection.getIn(['displayName']) || null;
var preferConnectionDisplayName = l.ui.preferConnectionDisplayName(model);
var buttonTheme = theme.get(connection.get('name'));
var buttonLabel = buttonTheme && buttonTheme.get('displayName') || connectionDomain && i18n.str('loginAtLabel', connectionDomain) || i18n.str('loginAtLabel', connectionName);
var buttonLabel = buttonTheme && buttonTheme.get('displayName') || connectionDomain && i18n.str('loginAtLabel', preferConnectionDisplayName && connectionDisplayName ? connectionDisplayName : connectionDomain) || i18n.str('loginAtLabel', connectionName);

@@ -68,0 +68,0 @@ var primaryColor = buttonTheme && buttonTheme.get('primaryColor');

@@ -146,3 +146,4 @@ 'use strict';

strategy: strategyName,
type: connectionType
type: connectionType,
displayName: connection.display_name
};

@@ -149,0 +150,0 @@

@@ -293,2 +293,3 @@ 'use strict';

allowAutocomplete: !!options.allowAutocomplete,
preferConnectionDisplayName: !!options.preferConnectionDisplayName,
authButtonsTheme: (typeof authButtons === 'undefined' ? 'undefined' : _typeof(authButtons)) === 'object' ? authButtons : {},

@@ -365,2 +366,5 @@ allowShowPassword: !!options.allowShowPassword,

},
preferConnectionDisplayName: function preferConnectionDisplayName(lock) {
return getUIAttribute(lock, 'preferConnectionDisplayName');
},
rememberLastLogin: function rememberLastLogin(m) {

@@ -367,0 +371,0 @@ return tget(m, 'rememberLastLogin', getUIAttribute(m, 'rememberLastLogin'));

@@ -179,3 +179,3 @@ 'use strict';

function getVersion() {
return '11.24.5';
return '11.25.0';
}

@@ -119,3 +119,3 @@ 'use strict';

method: 'registerLanguageDictionary',
url: l.languageBaseUrl(m) + '/js/lock/' + '11.24.5' + '/' + language + '.js',
url: l.languageBaseUrl(m) + '/js/lock/' + '11.25.0' + '/' + language + '.js',
check: function check(str) {

@@ -122,0 +122,0 @@ return str && str === language;

@@ -45,3 +45,3 @@ 'use strict';

exports.default = Auth0Lock;
Auth0Lock.version = '11.24.5';
Auth0Lock.version = '11.25.0';

@@ -48,0 +48,0 @@ // TODO: should we have different telemetry for classic/passwordless?

@@ -44,2 +44,2 @@ 'use strict';

Auth0LockPasswordless.version = '11.24.5';
Auth0LockPasswordless.version = '11.25.0';
{
"name": "auth0-lock",
"version": "11.24.5",
"version": "11.25.0",
"description": "Auth0 Lock",

@@ -5,0 +5,0 @@ "author": "Auth0 <support@auth0.com> (http://auth0.com)",

@@ -26,3 +26,3 @@ [![NPM version][npm-image]][npm-url]

<!-- Latest patch release (recommended for production) -->
<script src="https://cdn.auth0.com/js/lock/11.24.5/lock.min.js"></script>
<script src="https://cdn.auth0.com/js/lock/11.25.0/lock.min.js"></script>
```

@@ -267,2 +267,3 @@

- **allowPasswordAutocomplete {Boolean}**: Determines whether the password field will allow autocomplete; setting this to `true` is required for password manager support and to avoid many cases of adverse behavior. Defaults to `false`.
- **preferConnectionDisplayName {Boolean}**: If true, Lock will try to use the connection display name as configured in the manage dashboard, if available.

@@ -269,0 +270,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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