Skip to content

Commit

Permalink
Release v9.26.0 (#1432)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehobbsdev committed Apr 30, 2024
1 parent e4c0e95 commit a9fd053
Show file tree
Hide file tree
Showing 27 changed files with 800 additions and 215 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v9.25.0
v9.26.0
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,76 +1,110 @@
# Change Log

## [v9.26.0](https://github.com/auth0/auth0.js/tree/v9.26.0) (2024-04-30)

[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.25.0...v9.26.0)

**Changed**

- Update endpoint and add API to get password reset challenge [\#1431](https://github.com/auth0/auth0.js/pull/1431) ([srijonsaha](https://github.com/srijonsaha))

**Note:** PR #1431 is a breaking change for a newly-added, WIP, undocumented feature.

## [v9.25.0](https://github.com/auth0/auth0.js/tree/v9.25.0) (2024-04-25)

[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.24.1...v9.25.0)

**Added**

- Add APIs to get captcha challenge for reset password [\#1426](https://github.com/auth0/auth0.js/pull/1426) ([srijonsaha](https://github.com/srijonsaha))

## [v9.24.1](https://github.com/auth0/auth0.js/tree/v9.24.1) (2024-01-04)

[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.24.0...v9.24.1)

**Changed**

- [IAMRISK-3011] Auth0 V2 Captcha failOpen support [\#1382](https://github.com/auth0/auth0.js/pull/1382) ([alexkoumarianos-okta](https://github.com/alexkoumarianos-okta))

## [v9.24.0](https://github.com/auth0/auth0.js/tree/v9.24.0) (2023-12-13)

[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.23.3...v9.24.0)

**Added**

- [IAMRISK-2915] Added support for Auth0 v2 captcha provider [\#1368](https://github.com/auth0/auth0.js/pull/1368) ([alexkoumarianos-okta](https://github.com/alexkoumarianos-okta))

## [v9.23.3](https://github.com/auth0/auth0.js/tree/v9.23.3) (2023-11-13)

[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.23.2...v9.23.3)

**Security**

- Bump idtoken-verifier from 2.2.2 to 2.2.4 [\#1362](https://github.com/auth0/auth0.js/pull/1362) ([cgetzen](https://github.com/cgetzen))

## [v9.23.2](https://github.com/auth0/auth0.js/tree/v9.23.2) (2023-10-27)

[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.23.1...v9.23.2)

**Security**

- Bump crypto-js from 4.1.1 to 4.2.0 [\#1354](https://github.com/auth0/auth0.js/pull/1354) ([dependabot[bot]](https://github.com/apps/dependabot))

## [v9.23.1](https://github.com/auth0/auth0.js/tree/v9.23.1) (2023-10-19)

[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.23.0...v9.23.1)

**Changed**

- [IAMRISK-2817] Update API for Arkose to use a callback based API [\#1349](https://github.com/auth0/auth0.js/pull/1349) ([srijonsaha](https://github.com/srijonsaha))

## [v9.23.0](https://github.com/auth0/auth0.js/tree/v9.23.0) (2023-10-06)

[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.22.1...v9.23.0)

**Added**

- [IAMRISK-2602] Add support for Arkose [\#1341](https://github.com/auth0/auth0.js/pull/1341) ([srijonsaha](https://github.com/srijonsaha))

## [v9.22.1](https://github.com/auth0/auth0.js/tree/v9.22.1) (2023-07-18)

[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.22.0...v9.22.1)

**Changed**

- Do not lowercase org_name claim [\#1315](https://github.com/auth0/auth0.js/pull/1315) ([frederikprijck](https://github.com/frederikprijck))

## [v9.22.0](https://github.com/auth0/auth0.js/tree/v9.22.0) (2023-07-13)

[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.21.0...v9.22.0)

**Added**

- Added support for hCaptcha and Friendly Captcha [\#1312](https://github.com/auth0/auth0.js/pull/1312) ([DominickBattistini](https://github.com/DominickBattistini))
- Support Organization Name [\#1313](https://github.com/auth0/auth0.js/pull/1313) ([frederikprijck](https://github.com/frederikprijck))

**Security**

- Security: Update Dependencies [\#1310](https://github.com/auth0/auth0.js/pull/1310) ([evansims](https://github.com/evansims))

## [v9.21.0](https://github.com/auth0/auth0.js/tree/v9.21.0) (2023-05-24)

[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.20.2...v9.21.0)

**Added**

- Add cookieDomain option [\#1304](https://github.com/auth0/auth0.js/pull/1304) ([telmaantunes](https://github.com/telmaantunes))

## [v9.20.2](https://github.com/auth0/auth0.js/tree/v9.20.2) (2023-02-28)

[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.20.1...v9.20.2)

**Fixed**

- fix(docs): document `error()` option for `renderCaptcha()` [\#1290](https://github.com/auth0/auth0.js/pull/1290) ([pmalouin](https://github.com/pmalouin))

**Security**

- chore: update superagent to 7.1.5 [\#1296](https://github.com/auth0/auth0.js/pull/1296) ([stevehobbsdev](https://github.com/stevehobbsdev))

## [v9.20.1](https://github.com/auth0/auth0.js/tree/v9.20.1) (2023-01-12)
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.25.0/auth0.min.js"></script>
<script src="https://cdn.auth0.com/js/auth0/9.26.0/auth0.min.js"></script>
```

From [npm](https://npmjs.org):
Expand Down
132 changes: 44 additions & 88 deletions dist/auth0.js

Large diffs are not rendered by default.

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.

124 changes: 40 additions & 84 deletions dist/cordova-auth0-plugin.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* auth0-js v9.25.0
* auth0-js v9.26.0
* Author: Auth0
* Date: 2024-04-29
* Date: 2024-04-30
* License: MIT
*/

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

var version = { raw: '9.25.0' };
var version = { raw: '9.26.0' };

var toString = Object.prototype.toString;

Expand Down Expand Up @@ -504,88 +504,46 @@
return shams();
};

var test = {
foo: {}
};

var $Object = Object;

var hasProto = function hasProto() {
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
};

/* eslint no-invalid-this: 1 */

var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
var slice = Array.prototype.slice;
var toStr = Object.prototype.toString;
var max = Math.max;
var funcType = '[object Function]';

var concatty = function concatty(a, b) {
var arr = [];

for (var i = 0; i < a.length; i += 1) {
arr[i] = a[i];
}
for (var j = 0; j < b.length; j += 1) {
arr[j + a.length] = b[j];
}

return arr;
};

var slicy = function slicy(arrLike, offset) {
var arr = [];
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
arr[j] = arrLike[i];
}
return arr;
};

var joiny = function (arr, joiner) {
var str = '';
for (var i = 0; i < arr.length; i += 1) {
str += arr[i];
if (i + 1 < arr.length) {
str += joiner;
}
}
return str;
};

var implementation = function bind(that) {
var target = this;
if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
if (typeof target !== 'function' || toStr.call(target) !== funcType) {
throw new TypeError(ERROR_MESSAGE + target);
}
var args = slicy(arguments, 1);
var args = slice.call(arguments, 1);

var bound;
var binder = function () {
if (this instanceof bound) {
var result = target.apply(
this,
concatty(args, arguments)
args.concat(slice.call(arguments))
);
if (Object(result) === result) {
return result;
}
return this;
} else {
return target.apply(
that,
args.concat(slice.call(arguments))
);
}
return target.apply(
that,
concatty(args, arguments)
);

};

var boundLength = max(0, target.length - args.length);
var boundLength = Math.max(0, target.length - args.length);
var boundArgs = [];
for (var i = 0; i < boundLength; i++) {
boundArgs[i] = '$' + i;
boundArgs.push('$' + i);
}

bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);

if (target.prototype) {
var Empty = function Empty() {};
Expand Down Expand Up @@ -644,23 +602,18 @@
: throwTypeError;

var hasSymbols$1 = hasSymbols();
var hasProto$1 = hasProto();

var getProto = Object.getPrototypeOf || (
hasProto$1
? function (x) { return x.__proto__; } // eslint-disable-line no-proto
: null
);
var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto

var needsEval = {};

var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined$1 : getProto(Uint8Array);
var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);

var INTRINSICS = {
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
'%Array%': Array,
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
'%ArrayIteratorPrototype%': hasSymbols$1 && getProto ? getProto([][Symbol.iterator]()) : undefined$1,
'%ArrayIteratorPrototype%': hasSymbols$1 ? getProto([][Symbol.iterator]()) : undefined$1,
'%AsyncFromSyncIteratorPrototype%': undefined$1,
'%AsyncFunction%': needsEval,
'%AsyncGenerator%': needsEval,
Expand Down Expand Up @@ -690,10 +643,10 @@
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
'%isFinite%': isFinite,
'%isNaN%': isNaN,
'%IteratorPrototype%': hasSymbols$1 && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
'%IteratorPrototype%': hasSymbols$1 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$1 || !getProto ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$1 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
'%Math%': Math,
'%Number%': Number,
'%Object%': Object,
Expand All @@ -706,10 +659,10 @@
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
'%RegExp%': RegExp,
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$1 || !getProto ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$1 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
'%String%': String,
'%StringIteratorPrototype%': hasSymbols$1 && getProto ? getProto(''[Symbol.iterator]()) : undefined$1,
'%StringIteratorPrototype%': hasSymbols$1 ? getProto(''[Symbol.iterator]()) : undefined$1,
'%Symbol%': hasSymbols$1 ? Symbol : undefined$1,
'%SyntaxError%': $SyntaxError,
'%ThrowTypeError%': ThrowTypeError,
Expand All @@ -725,14 +678,12 @@
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
};

if (getProto) {
try {
null.error; // eslint-disable-line no-unused-expressions
} catch (e) {
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
var errorProto = getProto(getProto(e));
INTRINSICS['%Error.prototype%'] = errorProto;
}
try {
null.error; // eslint-disable-line no-unused-expressions
} catch (e) {
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
var errorProto = getProto(getProto(e));
INTRINSICS['%Error.prototype%'] = errorProto;
}

var doEval = function doEval(name) {
Expand All @@ -750,7 +701,7 @@
}
} else if (name === '%AsyncIteratorPrototype%') {
var gen = doEval('%AsyncGenerator%');
if (gen && getProto) {
if (gen) {
value = getProto(gen.prototype);
}
}
Expand Down Expand Up @@ -1943,6 +1894,7 @@
};

var isArray$3 = Array.isArray;
var split = String.prototype.split;
var push = Array.prototype.push;
var pushToArray = function (arr, valueOrArray) {
push.apply(arr, isArray$3(valueOrArray) ? valueOrArray : [valueOrArray]);
Expand Down Expand Up @@ -2044,6 +1996,14 @@
if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
if (encoder) {
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
if (generateArrayPrefix === 'comma' && encodeValuesOnly) {
var valuesArray = split.call(String(obj), ',');
var valuesJoined = '';
for (var i = 0; i < valuesArray.length; ++i) {
valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));
}
return [formatter(keyValue) + (commaRoundTrip && isArray$3(obj) && valuesArray.length === 1 ? '[]' : '') + '=' + valuesJoined];
}
return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
}
return [formatter(prefix) + '=' + formatter(String(obj))];
Expand All @@ -2058,9 +2018,6 @@
var objKeys;
if (generateArrayPrefix === 'comma' && isArray$3(obj)) {
// we need to join elements in
if (encodeValuesOnly && encoder) {
obj = utils.maybeMap(obj, encoder);
}
objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
} else if (isArray$3(filter)) {
objKeys = filter;
Expand Down Expand Up @@ -2093,7 +2050,7 @@
commaRoundTrip,
strictNullHandling,
skipNulls,
generateArrayPrefix === 'comma' && encodeValuesOnly && isArray$3(obj) ? null : encoder,
encoder,
filter,
sort,
allowDots,
Expand Down Expand Up @@ -2290,8 +2247,7 @@
var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')

var parseValues = function parseQueryStringValues(str, options) {
var obj = { __proto__: null };

var obj = {};
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
var parts = cleanStr.split(options.delimiter, limit);
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 Thu Apr 25 2024 11:57:15 GMT+0100 (British Summer Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Tue Apr 30 2024 13:51:03 GMT+0100 (British Summer 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 Thu Apr 25 2024 11:57:15 GMT+0100 (British Summer Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Tue Apr 30 2024 13:51:03 GMT+0100 (British Summer Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
Loading

0 comments on commit a9fd053

Please sign in to comment.