Skip to content

Commit

Permalink
Release v9.28.0 (#1470)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyaneshgouraw-okta authored Oct 21, 2024
1 parent 26a8a89 commit a3ddc09
Show file tree
Hide file tree
Showing 27 changed files with 62 additions and 72 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v9.27.0
v9.28.0
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## [v9.28.0](https://github.com/auth0/auth0.js/tree/v9.28.0) (2024-10-21)
[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.27.0...v9.28.0)

**Fixed**
- Ensure done callback is correctly fired on captcha reload [\#1469](https://github.com/auth0/auth0.js/pull/1469) ([srijonsaha](https://github.com/srijonsaha))

## [v9.27.0](https://github.com/auth0/auth0.js/tree/v9.27.0) (2024-09-27)
[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.26.1...v9.27.0)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ From CDN:

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

From [npm](https://npmjs.org):
Expand Down
48 changes: 14 additions & 34 deletions dist/auth0.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* auth0-js v9.27.0
* auth0-js v9.28.0
* Author: Auth0
* Date: 2024-10-11
* Date: 2024-10-21
* License: MIT
*/

Expand Down Expand Up @@ -176,13 +176,17 @@
};

var test = {
__proto__: null,
foo: {}
};

var $Object = Object;

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

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


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

var undefined$1;
Expand Down Expand Up @@ -3403,7 +3407,7 @@

if (typeof value === 'boolean') {
value = String(value);
} //fix https://github.com/visionmedia/superagent/issues/1680
} // fix https://github.com/visionmedia/superagent/issues/1680


if (options) this._getFormData().append(name, value, options);else this._getFormData().append(name, value);
Expand Down Expand Up @@ -3982,34 +3986,10 @@
*/

request.getXHR = function () {
if (root.XMLHttpRequest && (!root.location || root.location.protocol !== 'file:' || !root.ActiveXObject)) {
if (root.XMLHttpRequest && (!root.location || root.location.protocol !== 'file:')) {
return new XMLHttpRequest();
}

try {
return new ActiveXObject('Microsoft.XMLHTTP');
} catch (_unused) {
/**/
}

try {
return new ActiveXObject('Msxml2.XMLHTTP.6.0');
} catch (_unused2) {
/**/
}

try {
return new ActiveXObject('Msxml2.XMLHTTP.3.0');
} catch (_unused3) {
/**/
}

try {
return new ActiveXObject('Msxml2.XMLHTTP');
} catch (_unused4) {
/**/
}

throw new Error('Browser-only version of superagent could not find XHR');
};
/**
Expand Down Expand Up @@ -4395,7 +4375,7 @@
if (new_error) {
new_error.original = error;
new_error.response = res;
new_error.status = res.status;
new_error.status = new_error.status || res.status;
self.callback(new_error, res);
} else {
self.callback(null, res);
Expand Down Expand Up @@ -4683,7 +4663,7 @@

try {
status = xhr.status;
} catch (_unused5) {
} catch (_unused) {
status = 0;
}

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

var version = { raw: '9.27.0' };
var version = { raw: '9.28.0' };

var toString = Object.prototype.toString;

Expand Down
6 changes: 3 additions & 3 deletions dist/auth0.min.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/auth0.min.esm.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/auth0.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/auth0.min.js.map

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions dist/cordova-auth0-plugin.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* auth0-js v9.27.0
* auth0-js v9.28.0
* Author: Auth0
* Date: 2024-10-11
* Date: 2024-10-21
* License: MIT
*/

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

var version = { raw: '9.27.0' };
var version = { raw: '9.28.0' };

var toString = Object.prototype.toString;

Expand Down Expand Up @@ -526,13 +526,17 @@
};

var test = {
__proto__: null,
foo: {}
};

var $Object = Object;

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

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


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

var undefined$1;
Expand Down
6 changes: 3 additions & 3 deletions dist/cordova-auth0-plugin.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cordova-auth0-plugin.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Authentication.html
Original file line number Diff line number Diff line change
Expand Up @@ -4202,7 +4202,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
<br class="clear">

<footer>
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)
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)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Management.html
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
<br class="clear">

<footer>
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)
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)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -1995,7 +1995,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
<br class="clear">

<footer>
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)
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)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
<br class="clear">

<footer>
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)
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)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/WebAuth.html
Original file line number Diff line number Diff line change
Expand Up @@ -8570,7 +8570,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
<br class="clear">

<footer>
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)
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)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/authentication_index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
<br class="clear">

<footer>
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)
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)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/authentication_passwordless-authentication.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
<br class="clear">

<footer>
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)
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)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
<br class="clear">

<footer>
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)
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)
</footer>

<script> prettyPrint(); </script>
Expand Down
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1 class="page-title">Home</h1>



<h3>auth0-js 9.27.0</h3>
<h3>auth0-js 9.28.0</h3>



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

<footer>
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)
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)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/management_index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
<br class="clear">

<footer>
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)
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)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/web-auth_index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
<br class="clear">

<footer>
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)
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)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/web-auth_popup.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
<br class="clear">

<footer>
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)
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)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/web-auth_redirect.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Authentic
<br class="clear">

<footer>
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)
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)
</footer>

<script> prettyPrint(); </script>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth0-js",
"version": "9.27.0",
"version": "9.28.0",
"description": "Auth0 headless browser sdk",
"author": "Auth0",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = { raw: '9.27.0' };
module.exports = { raw: '9.28.0' };

0 comments on commit a3ddc09

Please sign in to comment.