Skip to content

Commit a3ddc09

Browse files
Release v9.28.0 (#1470)
1 parent 26a8a89 commit a3ddc09

27 files changed

+62
-72
lines changed

.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v9.27.0
1+
v9.28.0

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## [v9.28.0](https://github.com/auth0/auth0.js/tree/v9.28.0) (2024-10-21)
4+
[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.27.0...v9.28.0)
5+
6+
**Fixed**
7+
- Ensure done callback is correctly fired on captcha reload [\#1469](https://github.com/auth0/auth0.js/pull/1469) ([srijonsaha](https://github.com/srijonsaha))
8+
39
## [v9.27.0](https://github.com/auth0/auth0.js/tree/v9.27.0) (2024-09-27)
410
[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.26.1...v9.27.0)
511

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ From CDN:
2323

2424
```html
2525
<!-- Latest patch release -->
26-
<script src="https://cdn.auth0.com/js/auth0/9.27.0/auth0.min.js"></script>
26+
<script src="https://cdn.auth0.com/js/auth0/9.28.0/auth0.min.js"></script>
2727
```
2828

2929
From [npm](https://npmjs.org):

dist/auth0.js

+14-34
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* auth0-js v9.27.0
2+
* auth0-js v9.28.0
33
* Author: Auth0
4-
* Date: 2024-10-11
4+
* Date: 2024-10-21
55
* License: MIT
66
*/
77

@@ -176,13 +176,17 @@
176176
};
177177

178178
var test = {
179+
__proto__: null,
179180
foo: {}
180181
};
181182

182183
var $Object = Object;
183184

185+
/** @type {import('.')} */
184186
var hasProto = function hasProto() {
185-
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
187+
// @ts-expect-error: TS errors on an inherited property for some reason
188+
return { __proto__: test }.foo === test.foo
189+
&& !(test instanceof $Object);
186190
};
187191

188192
/* eslint no-invalid-this: 1 */
@@ -274,7 +278,7 @@
274278
var $hasOwn = Object.prototype.hasOwnProperty;
275279

276280

277-
/** @type {(o: {}, p: PropertyKey) => p is keyof o} */
281+
/** @type {import('.')} */
278282
var hasown = functionBind.call(call, $hasOwn);
279283

280284
var undefined$1;
@@ -3403,7 +3407,7 @@
34033407

34043408
if (typeof value === 'boolean') {
34053409
value = String(value);
3406-
} //fix https://github.com/visionmedia/superagent/issues/1680
3410+
} // fix https://github.com/visionmedia/superagent/issues/1680
34073411

34083412

34093413
if (options) this._getFormData().append(name, value, options);else this._getFormData().append(name, value);
@@ -3982,34 +3986,10 @@
39823986
*/
39833987

39843988
request.getXHR = function () {
3985-
if (root.XMLHttpRequest && (!root.location || root.location.protocol !== 'file:' || !root.ActiveXObject)) {
3989+
if (root.XMLHttpRequest && (!root.location || root.location.protocol !== 'file:')) {
39863990
return new XMLHttpRequest();
39873991
}
39883992

3989-
try {
3990-
return new ActiveXObject('Microsoft.XMLHTTP');
3991-
} catch (_unused) {
3992-
/**/
3993-
}
3994-
3995-
try {
3996-
return new ActiveXObject('Msxml2.XMLHTTP.6.0');
3997-
} catch (_unused2) {
3998-
/**/
3999-
}
4000-
4001-
try {
4002-
return new ActiveXObject('Msxml2.XMLHTTP.3.0');
4003-
} catch (_unused3) {
4004-
/**/
4005-
}
4006-
4007-
try {
4008-
return new ActiveXObject('Msxml2.XMLHTTP');
4009-
} catch (_unused4) {
4010-
/**/
4011-
}
4012-
40133993
throw new Error('Browser-only version of superagent could not find XHR');
40143994
};
40153995
/**
@@ -4395,7 +4375,7 @@
43954375
if (new_error) {
43964376
new_error.original = error;
43974377
new_error.response = res;
4398-
new_error.status = res.status;
4378+
new_error.status = new_error.status || res.status;
43994379
self.callback(new_error, res);
44004380
} else {
44014381
self.callback(null, res);
@@ -4683,7 +4663,7 @@
46834663

46844664
try {
46854665
status = xhr.status;
4686-
} catch (_unused5) {
4666+
} catch (_unused) {
46874667
status = 0;
46884668
}
46894669

@@ -4715,7 +4695,7 @@
47154695
if (xhr.upload) {
47164696
xhr.upload.addEventListener('progress', handleProgress.bind(null, 'upload'));
47174697
}
4718-
} catch (_unused6) {// Accessing xhr.upload fails in IE from a web worker, so just pretend it doesn't exist.
4698+
} catch (_unused2) {// Accessing xhr.upload fails in IE from a web worker, so just pretend it doesn't exist.
47194699
// Reported here:
47204700
// https://connect.microsoft.com/IE/feedback/details/837245/xmlhttprequest-upload-throws-invalid-argument-when-used-from-web-worker-context
47214701
}
@@ -5163,7 +5143,7 @@
51635143
decode: decode$1
51645144
};
51655145

5166-
var version = { raw: '9.27.0' };
5146+
var version = { raw: '9.28.0' };
51675147

51685148
var toString = Object.prototype.toString;
51695149

dist/auth0.min.esm.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/auth0.min.esm.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/auth0.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/auth0.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cordova-auth0-plugin.js

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* auth0-js v9.27.0
2+
* auth0-js v9.28.0
33
* Author: Auth0
4-
* Date: 2024-10-11
4+
* Date: 2024-10-21
55
* License: MIT
66
*/
77

@@ -11,7 +11,7 @@
1111
(global = global || self, global.CordovaAuth0Plugin = factory());
1212
}(this, (function () { 'use strict';
1313

14-
var version = { raw: '9.27.0' };
14+
var version = { raw: '9.28.0' };
1515

1616
var toString = Object.prototype.toString;
1717

@@ -526,13 +526,17 @@
526526
};
527527

528528
var test = {
529+
__proto__: null,
529530
foo: {}
530531
};
531532

532533
var $Object = Object;
533534

535+
/** @type {import('.')} */
534536
var hasProto = function hasProto() {
535-
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
537+
// @ts-expect-error: TS errors on an inherited property for some reason
538+
return { __proto__: test }.foo === test.foo
539+
&& !(test instanceof $Object);
536540
};
537541

538542
/* eslint no-invalid-this: 1 */
@@ -624,7 +628,7 @@
624628
var $hasOwn = Object.prototype.hasOwnProperty;
625629

626630

627-
/** @type {(o: {}, p: PropertyKey) => p is keyof o} */
631+
/** @type {import('.')} */
628632
var hasown = functionBind.call(call, $hasOwn);
629633

630634
var undefined$1;

dist/cordova-auth0-plugin.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cordova-auth0-plugin.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/Authentication.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4202,7 +4202,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
42024202
<br class="clear">
42034203

42044204
<footer>
4205-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Sep 27 2024 12:46:21 GMT+0530 (India Standard Time)
4205+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Oct 21 2024 20:40:25 GMT+0530 (India Standard Time)
42064206
</footer>
42074207

42084208
<script> prettyPrint(); </script>

docs/Management.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
12051205
<br class="clear">
12061206

12071207
<footer>
1208-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Sep 27 2024 12:46:21 GMT+0530 (India Standard Time)
1208+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Oct 21 2024 20:40:25 GMT+0530 (India Standard Time)
12091209
</footer>
12101210

12111211
<script> prettyPrint(); </script>

docs/Popup.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
19951995
<br class="clear">
19961996

19971997
<footer>
1998-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Sep 27 2024 12:46:21 GMT+0530 (India Standard Time)
1998+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Oct 21 2024 20:40:25 GMT+0530 (India Standard Time)
19991999
</footer>
20002000

20012001
<script> prettyPrint(); </script>

docs/Redirect.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
791791
<br class="clear">
792792

793793
<footer>
794-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Sep 27 2024 12:46:21 GMT+0530 (India Standard Time)
794+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Oct 21 2024 20:40:25 GMT+0530 (India Standard Time)
795795
</footer>
796796

797797
<script> prettyPrint(); </script>

docs/WebAuth.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8570,7 +8570,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
85708570
<br class="clear">
85718571

85728572
<footer>
8573-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Sep 27 2024 12:46:21 GMT+0530 (India Standard Time)
8573+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Oct 21 2024 20:40:25 GMT+0530 (India Standard Time)
85748574
</footer>
85758575

85768576
<script> prettyPrint(); </script>

docs/authentication_index.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
696696
<br class="clear">
697697

698698
<footer>
699-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Sep 27 2024 12:46:21 GMT+0530 (India Standard Time)
699+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Oct 21 2024 20:40:25 GMT+0530 (India Standard Time)
700700
</footer>
701701

702702
<script> prettyPrint(); </script>

docs/authentication_passwordless-authentication.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
289289
<br class="clear">
290290

291291
<footer>
292-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Sep 27 2024 12:46:21 GMT+0530 (India Standard Time)
292+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Oct 21 2024 20:40:25 GMT+0530 (India Standard Time)
293293
</footer>
294294

295295
<script> prettyPrint(); </script>

docs/global.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
10811081
<br class="clear">
10821082

10831083
<footer>
1084-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Sep 27 2024 12:46:21 GMT+0530 (India Standard Time)
1084+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Oct 21 2024 20:40:25 GMT+0530 (India Standard Time)
10851085
</footer>
10861086

10871087
<script> prettyPrint(); </script>

docs/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h1 class="page-title">Home</h1>
2626

2727

2828

29-
<h3>auth0-js 9.27.0</h3>
29+
<h3>auth0-js 9.28.0</h3>
3030

3131

3232

@@ -61,7 +61,7 @@ <h2>Getting started</h2>
6161
<h3>Installation</h3>
6262
<p>From CDN:</p>
6363
<pre class="prettyprint source lang-html"><code>&lt;!-- Latest patch release -->
64-
&lt;script src=&quot;https://cdn.auth0.com/js/auth0/9.27.0/auth0.min.js&quot;>&lt;/script>
64+
&lt;script src=&quot;https://cdn.auth0.com/js/auth0/9.28.0/auth0.min.js&quot;>&lt;/script>
6565
</code></pre>
6666
<p>From <a href="https://npmjs.org">npm</a>:</p>
6767
<pre class="prettyprint source lang-sh"><code>npm install auth0-js
@@ -167,7 +167,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
167167
<br class="clear">
168168

169169
<footer>
170-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Sep 27 2024 12:46:21 GMT+0530 (India Standard Time)
170+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Oct 21 2024 20:40:25 GMT+0530 (India Standard Time)
171171
</footer>
172172

173173
<script> prettyPrint(); </script>

docs/management_index.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
217217
<br class="clear">
218218

219219
<footer>
220-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Sep 27 2024 12:46:21 GMT+0530 (India Standard Time)
220+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Oct 21 2024 20:40:25 GMT+0530 (India Standard Time)
221221
</footer>
222222

223223
<script> prettyPrint(); </script>

docs/web-auth_index.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1293,7 +1293,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
12931293
<br class="clear">
12941294

12951295
<footer>
1296-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Sep 27 2024 12:46:21 GMT+0530 (India Standard Time)
1296+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Oct 21 2024 20:40:25 GMT+0530 (India Standard Time)
12971297
</footer>
12981298

12991299
<script> prettyPrint(); </script>

docs/web-auth_popup.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
374374
<br class="clear">
375375

376376
<footer>
377-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Sep 27 2024 12:46:21 GMT+0530 (India Standard Time)
377+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Oct 21 2024 20:40:25 GMT+0530 (India Standard Time)
378378
</footer>
379379

380380
<script> prettyPrint(); </script>

docs/web-auth_redirect.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
113113
<br class="clear">
114114

115115
<footer>
116-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Fri Sep 27 2024 12:46:21 GMT+0530 (India Standard Time)
116+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Mon Oct 21 2024 20:40:25 GMT+0530 (India Standard Time)
117117
</footer>
118118

119119
<script> prettyPrint(); </script>

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "auth0-js",
3-
"version": "9.27.0",
3+
"version": "9.28.0",
44
"description": "Auth0 headless browser sdk",
55
"author": "Auth0",
66
"license": "MIT",

src/version.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = { raw: '9.27.0' };
1+
module.exports = { raw: '9.28.0' };

0 commit comments

Comments
 (0)