Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency react-native-auth0 to v3 (#6006)
There was one breaking change (requiring new callback urls for android), This was updated in auth0. @joe and @satish-ravi tested manually by ensuring backup on old version is restorable on new version on both iOS and android This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-native-auth0](https://redirect.github.com/auth0/react-native-auth0) | [`^2.17.4` -> `^3.2.1`](https://renovatebot.com/diffs/npm/react-native-auth0/2.17.4/3.2.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-auth0/3.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-auth0/3.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-auth0/2.17.4/3.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-auth0/2.17.4/3.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>auth0/react-native-auth0 (react-native-auth0)</summary> ### [`v3.2.1`](https://redirect.github.com/auth0/react-native-auth0/blob/HEAD/CHANGELOG.md#v321-2024-05-09) [Compare Source](https://redirect.github.com/auth0/react-native-auth0/compare/v3.2.0...v3.2.1) [Full Changelog](https://redirect.github.com/auth0/react-native-auth0/compare/v3.2.0...v3.2.1) **Fixed** - chore: upgraded dependency on Auth0.swift to 2.7.2 [#​895](https://redirect.github.com/auth0/react-native-auth0/pull/895) ([desusai7](https://redirect.github.com/desusai7)) **Security** - chore(deps-dev): bump expo from 50.0.17 to 50.0.18 [#​902](https://redirect.github.com/auth0/react-native-auth0/pull/902) ([dependabot\[bot\]](https://redirect.github.com/apps/dependabot)) - chore(deps-dev): bump [@​types/jest](https://redirect.github.com/types/jest) from 29.5.11 to 29.5.12 [#​901](https://redirect.github.com/auth0/react-native-auth0/pull/901) ([dependabot\[bot\]](https://redirect.github.com/apps/dependabot)) - chore(deps-dev): bump [@​testing-library/react](https://redirect.github.com/testing-library/react) from 14.1.2 to 14.3.1 [#​900](https://redirect.github.com/auth0/react-native-auth0/pull/900) ([dependabot\[bot\]](https://redirect.github.com/apps/dependabot)) - chore(deps-dev): bump pod-install from 0.1.39 to 0.2.2 [#​899](https://redirect.github.com/auth0/react-native-auth0/pull/899) ([dependabot\[bot\]](https://redirect.github.com/apps/dependabot)) - chore(deps-dev): bump [@​types/react-native](https://redirect.github.com/types/react-native) from 0.72.8 to 0.73.0 [#​898](https://redirect.github.com/auth0/react-native-auth0/pull/898) ([dependabot\[bot\]](https://redirect.github.com/apps/dependabot)) - feat: bumped up react-native version to 0.74.1 and expo to 50.0.0 [#​889](https://redirect.github.com/auth0/react-native-auth0/pull/889) ([desusai7](https://redirect.github.com/desusai7)) ### [`v3.2.0`](https://redirect.github.com/auth0/react-native-auth0/blob/HEAD/CHANGELOG.md#v320-2024-04-26) [Compare Source](https://redirect.github.com/auth0/react-native-auth0/compare/v3.1.0...v3.2.0) [Full Changelog](https://redirect.github.com/auth0/react-native-auth0/compare/v3.1.0...v3.2.0) **Added** - Support for Apple's Privacy Manifest [#​887](https://redirect.github.com/auth0/react-native-auth0/pull/887) ([poovamraj](https://redirect.github.com/poovamraj)) - chore(deps-dev): bump [@​types/react](https://redirect.github.com/types/react) from 17.0.71 to 17.0.73 [#​831](https://redirect.github.com/auth0/react-native-auth0/pull/831) ([dependabot\[bot\]](https://redirect.github.com/apps/dependabot)) - chore(deps-dev): bump react-native from 0.72.7 to 0.73.0 [#​823](https://redirect.github.com/auth0/react-native-auth0/pull/823) ([dependabot\[bot\]](https://redirect.github.com/apps/dependabot)) ### [`v3.1.0`](https://redirect.github.com/auth0/react-native-auth0/blob/HEAD/CHANGELOG.md#v310-2023-12-05) [Compare Source](https://redirect.github.com/auth0/react-native-auth0/compare/v3.0.2...v3.1.0) [Full Changelog](https://redirect.github.com/auth0/react-native-auth0/compare/v3.0.2...v3.1.0) **Added** - Provide option to pass custom redirect url [#​813](https://redirect.github.com/auth0/react-native-auth0/pull/813) ([poovamraj](https://redirect.github.com/poovamraj)) - Support SFSafariViewController [#​800](https://redirect.github.com/auth0/react-native-auth0/pull/800) ([poovamraj](https://redirect.github.com/poovamraj)) - Support additional parameters for forceRefresh in iOS [#​801](https://redirect.github.com/auth0/react-native-auth0/pull/801) ([poovamraj](https://redirect.github.com/poovamraj)) **Fixed** - Handle incomplete promise in web authentication [#​798](https://redirect.github.com/auth0/react-native-auth0/pull/798) ([poovamraj](https://redirect.github.com/poovamraj)) - Fix metadata type in `CreateUserOptions` [#​789](https://redirect.github.com/auth0/react-native-auth0/pull/789) ([poovamraj](https://redirect.github.com/poovamraj)) ### [`v3.0.2`](https://redirect.github.com/auth0/react-native-auth0/blob/HEAD/CHANGELOG.md#v302-2023-10-06) [Compare Source](https://redirect.github.com/auth0/react-native-auth0/compare/v3.0.1...v3.0.2) [Full Changelog](https://redirect.github.com/auth0/react-native-auth0/compare/v3.0.1...v3.0.2) **Fixed** - \[ESD-30932] Improve error handling [#​720](https://redirect.github.com/auth0/react-native-auth0/pull/720) ([poovamraj](https://redirect.github.com/poovamraj)) **Security** - Update Auth0.Android to resolve CVE-2023-3635 [#​750](https://redirect.github.com/auth0/react-native-auth0/pull/750) ([poovamraj](https://redirect.github.com/poovamraj)) ### [`v3.0.1`](https://redirect.github.com/auth0/react-native-auth0/blob/HEAD/CHANGELOG.md#v301-2023-08-16) [Compare Source](https://redirect.github.com/auth0/react-native-auth0/compare/v3.0.0...v3.0.1) [Full Changelog](https://redirect.github.com/auth0/react-native-auth0/compare/v3.0.0...v3.0.1) **Fixed** - Make `authorize` and `clearSession` parameters optional [#​701](https://redirect.github.com/auth0/react-native-auth0/pull/701) ([poovamraj](https://redirect.github.com/poovamraj)) **Security** - chore(deps): bump semver from 5.7.1 to 5.7.2 in /example [#​692](https://redirect.github.com/auth0/react-native-auth0/pull/692) ([dependabot\[bot\]](https://redirect.github.com/apps/dependabot)) - chore(deps): bump fast-xml-parser from 4.2.4 to 4.2.7 in /example [#​693](https://redirect.github.com/auth0/react-native-auth0/pull/693) ([dependabot\[bot\]](https://redirect.github.com/apps/dependabot)) ### [`v3.0.0`](https://redirect.github.com/auth0/react-native-auth0/blob/HEAD/CHANGELOG.md#v300-2023-08-10) [Compare Source](https://redirect.github.com/auth0/react-native-auth0/compare/v2.17.4...v3.0.0) [Full Changelog](https://redirect.github.com/auth0/react-native-auth0/compare/v2.17.4...v3.0.0) 💡 Check the [Migration Guide](MIGRATION_GUIDE.md) to understand the changes required to migrate your application to v3. **Added** - Credentials are returned as part of authorize methods in hooks - Support for organizations name in login - Added sample app in the repository - Expo plugin is updated to latest version - Added 'openid profile email' as mandatory scopes - Option to `forceRefresh` is added in `getCredentials` - Added `hasValidCredentials` to hooks - More options to authorize using Hooks - `authorizeWithSMS` - `authorizeWithEmail` - `authorizeWithOOB` - `authorizeWithOTP` - `authorizeWithRecoveryCode` **Changed** - Custom Scheme is now optional in Expo - Migrated the codebase to Typescript - Use Native SDKs ([Auth0.Android](https://redirect.github.com/auth0/Auth0.Android/) and [Auth0.Swift](https://redirect.github.com/auth0/Auth0.Swift)) for Web Authentication - `Credentials` object in Android will return `expiresIn` instead of `expiresAt` - `max_age` parameter is changed to `maxAge` in `WebAuth.authorize()` - `customScheme` is now part of `ClearSessionOptions` instead of `ClearSessionParameters` in `clearSession` - Minimum supported version for iOS is bumped to 13 - Revoke Token and Change Password now return `void` instead of an empty object **Removed** - Removed the `type` property returned in the `Credentials` object in Android. Use `tokenType` instead. - `skipLegacyListener` has been removed in `authorize` and `clearSession` **Security** - chore(deps): bump word-wrap from 1.2.3 to 1.2.4 [#​682](https://redirect.github.com/auth0/react-native-auth0/pull/682) ([dependabot\[bot\]](https://redirect.github.com/apps/dependabot)) - chore: Expand `.semgrepignore` exclusions to tests [#​679](https://redirect.github.com/auth0/react-native-auth0/pull/679) ([evansims](https://redirect.github.com/evansims)) - chore(deps-dev): bump semver from 6.3.0 to 7.5.2 [#​657](https://redirect.github.com/auth0/react-native-auth0/pull/657) ([dependabot\[bot\]](https://redirect.github.com/apps/dependabot)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone America/Los_Angeles. 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/valora-inc/wallet). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsibnBtIiwicmVub3ZhdGUiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Satish Ravi <satish.ravi@valoraapp.com>
- Loading branch information