Skip to content

Commit

Permalink
Release v2.16.0 (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
poovamraj authored Nov 16, 2022
1 parent efa954a commit e293391
Show file tree
Hide file tree
Showing 17 changed files with 52 additions and 32 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Change Log

## [v2.16.0](https://github.com/auth0/react-native-auth0/tree/v2.16.0) (2022-11-16)

[Full Changelog](https://github.com/auth0/react-native-auth0/compare/v2.15.0...v2.16.0)

**Added**

- Enable custom params for login methods [\#557](https://github.com/auth0/react-native-auth0/pull/557) ([poovamraj](https://github.com/poovamraj))
- Add support for static linking on iOS [\#555](https://github.com/auth0/react-native-auth0/pull/555) ([Widcket](https://github.com/Widcket))

**Fixed**

- Return a unix timestamp for expiresIn [\#551](https://github.com/auth0/react-native-auth0/pull/551) ([cranberyxl](https://github.com/cranberyxl))

## [v2.15.0](https://github.com/auth0/react-native-auth0/tree/v2.15.0) (2022-11-07)

[Full Changelog](https://github.com/auth0/react-native-auth0/compare/v2.14.1...v2.15.0)
Expand Down
24 changes: 12 additions & 12 deletions docs/Auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ <h4 class="name" id="createUser">
<ul class="dummy">
<li>
<a href="auth_index.js.html">auth/index.js</a>,
<a href="auth_index.js.html#line583">line 583</a>
<a href="auth_index.js.html#line590">line 590</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1014,7 +1014,7 @@ <h4 class="name" id="loginWithEmail">
<ul class="dummy">
<li>
<a href="auth_index.js.html">auth/index.js</a>,
<a href="auth_index.js.html#line278">line 278</a>
<a href="auth_index.js.html#line280">line 280</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1155,7 +1155,7 @@ <h4 class="name" id="loginWithOOB">
<ul class="dummy">
<li>
<a href="auth_index.js.html">auth/index.js</a>,
<a href="auth_index.js.html#line377">line 377</a>
<a href="auth_index.js.html#line382">line 382</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1295,7 +1295,7 @@ <h4 class="name" id="loginWithOTP">
<ul class="dummy">
<li>
<a href="auth_index.js.html">auth/index.js</a>,
<a href="auth_index.js.html#line344">line 344</a>
<a href="auth_index.js.html#line348">line 348</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1419,7 +1419,7 @@ <h4 class="name" id="loginWithRecoveryCode">
<ul class="dummy">
<li>
<a href="auth_index.js.html">auth/index.js</a>,
<a href="auth_index.js.html#line409">line 409</a>
<a href="auth_index.js.html#line415">line 415</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1527,7 +1527,7 @@ <h4 class="name" id="loginWithSMS">
<ul class="dummy">
<li>
<a href="auth_index.js.html">auth/index.js</a>,
<a href="auth_index.js.html#line310">line 310</a>
<a href="auth_index.js.html#line313">line 313</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1811,7 +1811,7 @@ <h4 class="name" id="multifactorChallenge">
<ul class="dummy">
<li>
<a href="auth_index.js.html">auth/index.js</a>,
<a href="auth_index.js.html#line441">line 441</a>
<a href="auth_index.js.html#line448">line 448</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -2055,7 +2055,7 @@ <h4 class="name" id="passwordlessWithSMS">
<ul class="dummy">
<li>
<a href="auth_index.js.html">auth/index.js</a>,
<a href="auth_index.js.html#line248">line 248</a>
<a href="auth_index.js.html#line249">line 249</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -2453,7 +2453,7 @@ <h4 class="name" id="resetPassword">
<ul class="dummy">
<li>
<a href="auth_index.js.html">auth/index.js</a>,
<a href="auth_index.js.html#line544">line 544</a>
<a href="auth_index.js.html#line551">line 551</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -2556,7 +2556,7 @@ <h4 class="name" id="revoke">
<ul class="dummy">
<li>
<a href="auth_index.js.html">auth/index.js</a>,
<a href="auth_index.js.html#line467">line 467</a>
<a href="auth_index.js.html#line474">line 474</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -2648,7 +2648,7 @@ <h4 class="name" id="userInfo">
<ul class="dummy">
<li>
<a href="auth_index.js.html">auth/index.js</a>,
<a href="auth_index.js.html#line496">line 496</a>
<a href="auth_index.js.html#line503">line 503</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -2729,7 +2729,7 @@ <h5>Returns:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/Auth0.html
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ <h5>Returns:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/CredentialsManager.html
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ <h5>Returns:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/Users.html
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ <h5>Returns:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/WebAuth.html
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ <h5>Returns:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/auth0.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ <h1 class="page-title">auth0.js</h1>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
9 changes: 8 additions & 1 deletion docs/auth_index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ <h1 class="page-title">auth/index.js</h1>
send: {required: false},
authParams: {required: false},
},
whitelist: false,
},
parameters,
);
Expand Down Expand Up @@ -516,6 +517,7 @@ <h1 class="page-title">auth/index.js</h1>
send: {required: false},
authParams: {required: false},
},
whitelist: false,
},
parameters,
);
Expand Down Expand Up @@ -547,6 +549,7 @@ <h1 class="page-title">auth/index.js</h1>
audience: {required: false},
scope: {required: false},
},
whitelist: false,
},
parameters,
);
Expand Down Expand Up @@ -579,6 +582,7 @@ <h1 class="page-title">auth/index.js</h1>
audience: {required: false},
scope: {required: false},
},
whitelist: false,
},
parameters,
);
Expand Down Expand Up @@ -611,6 +615,7 @@ <h1 class="page-title">auth/index.js</h1>
mfaToken: {required: true, toName: 'mfa_token'},
otp: {required: true, toName: 'otp'},
},
whitelist: false,
},
parameters,
);
Expand Down Expand Up @@ -645,6 +650,7 @@ <h1 class="page-title">auth/index.js</h1>
oobCode: {required: true, toName: 'oob_code'},
bindingCode: {required: false, toName: 'binding_code'},
},
whitelist: false,
},
parameters,
);
Expand Down Expand Up @@ -676,6 +682,7 @@ <h1 class="page-title">auth/index.js</h1>
mfaToken: {required: true, toName: 'mfa_token'},
recoveryCode: {required: true, toName: 'recovery_code'},
},
whitelist: false,
},
parameters,
);
Expand Down Expand Up @@ -886,7 +893,7 @@ <h1 class="page-title">auth/index.js</h1>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/credentials-manager_index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ <h1 class="page-title">credentials-manager/index.js</h1>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ <h5>Type:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
12 changes: 6 additions & 6 deletions docs/hooks_auth0-provider.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -325,18 +325,18 @@ <h1 class="page-title">hooks/auth0-provider.js</h1>
const authorize = useCallback(
async (...options) => {
try {
const opts = options.length ? options[0] : {};
const params = options.length > 1 ? options[1] : {};
const params = options.length ? options[0] : {};
const opts = options.length > 1 ? options[1] : {};
const specifiedScopes =
opts?.scope?.split(' ').map(s => s.trim()) || [];
params?.scope?.split(' ').map(s => s.trim()) || [];
const scopeSet = new Set([
...specifiedScopes,
...['openid', 'profile', 'email'],
]);

opts.scope = Array.from(scopeSet).join(' ');
params.scope = Array.from(scopeSet).join(' ');

const credentials = await client.webAuth.authorize(opts, params);
const credentials = await client.webAuth.authorize(params, opts);
const user = getIdTokenProfileClaims(credentials.idToken);

await client.credentialsManager.saveCredentials(credentials);
Expand Down Expand Up @@ -436,7 +436,7 @@ <h1 class="page-title">hooks/auth0-provider.js</h1>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/hooks_use-auth0.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ <h1 class="page-title">hooks/use-auth0.js</h1>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ <h3>Vulnerability Reporting</h3>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/management_users.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ <h1 class="page-title">management/users.js</h1>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/webauth_index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ <h1 class="page-title">webauth/index.js</h1>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on
Mon Nov 07 2022 10:47:52 GMT+0100 (Central European Standard Time) using
Wed Nov 16 2022 17:11:26 GMT+0100 (Central European Standard Time) using
the Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-auth0",
"title": "React Native Auth0",
"version": "2.15.0",
"version": "2.16.0",
"description": "React Native toolkit for Auth0 API",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/networking/telemetry.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = {name: 'react-native-auth0', version: '2.15.0'};
module.exports = {name: 'react-native-auth0', version: '2.16.0'};

0 comments on commit e293391

Please sign in to comment.