auth0-lock 11.34.1 → 11.34.2
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 +6 -0
- package/README.md +2 -2
- package/lib/core/web_api/helper.js +1 -1
- package/lib/engine/classic/sign_up_screen.js +1 -1
- package/lib/i18n.js +1 -1
- package/lib/lock.js +1 -1
- package/lib/passwordless.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v11.34.2](https://github.com/auth0/lock/tree/v11.34.2) (2022-10-10)
|
|
4
|
+
[Full Changelog](https://github.com/auth0/lock/compare/v11.34.1...v11.34.2)
|
|
5
|
+
|
|
6
|
+
**Fixed**
|
|
7
|
+
- [SDK-3657] Render sign up confirmation before sign in [\#2180](https://github.com/auth0/lock/pull/2180) ([ewanharris](https://github.com/ewanharris))
|
|
8
|
+
|
|
3
9
|
## [v11.34.1](https://github.com/auth0/lock/tree/v11.34.1) (2022-09-29)
|
|
4
10
|
[Full Changelog](https://github.com/auth0/lock/compare/v11.34.0...v11.34.1)
|
|
5
11
|
|
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ From CDN
|
|
|
25
25
|
|
|
26
26
|
```html
|
|
27
27
|
<!-- Latest patch release (recommended for production) -->
|
|
28
|
-
<script src="https://cdn.auth0.com/js/lock/11.34.
|
|
28
|
+
<script src="https://cdn.auth0.com/js/lock/11.34.2/lock.min.js"></script>
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
From [npm](https://npmjs.org)
|
|
@@ -490,7 +490,7 @@ Extra input fields can be added to the sign up screen with the `additionalSignUp
|
|
|
490
490
|
|
|
491
491
|
Additional sign up fields are rendered below the default fields in the order they are provided.
|
|
492
492
|
|
|
493
|
-
:warning: **Note**: From `11.34.
|
|
493
|
+
:warning: **Note**: From `11.34.2` onwards, all HTML tags are stripped from user input into custom signup fields.
|
|
494
494
|
|
|
495
495
|
##### Text field
|
|
496
496
|
|
|
@@ -153,7 +153,7 @@ var SignUp = function (_Screen) {
|
|
|
153
153
|
};
|
|
154
154
|
|
|
155
155
|
SignUp.prototype.renderAuxiliaryPane = function renderAuxiliaryPane(lock) {
|
|
156
|
-
return (0,
|
|
156
|
+
return (0, _signed_up_confirmation.renderSignedUpConfirmation)(lock) || (0, _signed_in_confirmation.renderSignedInConfirmation)(lock) || (0, _index2.renderOptionSelection)(lock);
|
|
157
157
|
};
|
|
158
158
|
|
|
159
159
|
SignUp.prototype.renderTabs = function renderTabs() {
|
package/lib/i18n.js
CHANGED
|
@@ -125,7 +125,7 @@ function assertLanguage(m, language, base) {
|
|
|
125
125
|
function syncLang(m, language, _cb) {
|
|
126
126
|
(0, _cdn_utils.load)({
|
|
127
127
|
method: 'registerLanguageDictionary',
|
|
128
|
-
url: l.languageBaseUrl(m) + '/js/lock/' + '11.34.
|
|
128
|
+
url: l.languageBaseUrl(m) + '/js/lock/' + '11.34.2' + '/' + language + '.js',
|
|
129
129
|
check: function check(str) {
|
|
130
130
|
return str && str === language;
|
|
131
131
|
},
|
package/lib/lock.js
CHANGED
|
@@ -42,7 +42,7 @@ var Auth0Lock = function (_Core) {
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
exports.default = Auth0Lock;
|
|
45
|
-
Auth0Lock.version = '11.34.
|
|
45
|
+
Auth0Lock.version = '11.34.2';
|
|
46
46
|
|
|
47
47
|
// TODO: should we have different telemetry for classic/passwordless?
|
|
48
48
|
// TODO: should we set telemetry info before each request?
|
package/lib/passwordless.js
CHANGED