-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: auth aka sign 2.5 #4331
feat: auth aka sign 2.5 #4331
Conversation
# Conflicts: # packages/sign-client/src/controllers/engine.ts # packages/types/src/sign-client/engine.ts # packages/utils/src/uri.ts
… 15m & general cleanup
# Conflicts: # package-lock.json # packages/sign-client/src/constants/client.ts # packages/types/src/sign-client/client.ts
# Conflicts: # package-lock.json
# Conflicts: # packages/sign-client/src/constants/engine.ts # packages/sign-client/src/controllers/engine.ts
# Conflicts: # package-lock.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very impressive stuff going on here 💪
I'm almost half way through the PR, I'll try to come back at it later this week.
…ential actions with parallel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Posting initial batch of notes, will come back to this after interview calls/throughout the day
}; | ||
|
||
public removeListener: IWeb3Wallet["removeListener"] = (name, listener) => { | ||
return this.events.removeListener(name, listener); | ||
return this.engine.removeListener(name, listener); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Context? Event listeners are being merged into the core to avoid web3wallet
client having its own set?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is done in order to make sure we're handling session_authenticate
requests only when wallet is subscribed for it, otherwise fallback to session_propose
); | ||
|
||
// handle fallback session proposal response | ||
const onSessionConnect = async ({ error, session }: any) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
} | ||
}; | ||
// handle session authenticate response | ||
const onAuthenticate = async (payload: any) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
|
||
const { chains, statement = "", uri, domain, nonce, type, exp, nbf, methods = [] } = params; | ||
// reassign resources to remove reference as the array is modified and might cause side effects | ||
const resources = [...(params.resources || [])]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, spread operator works for primitive types like strings and numbers at the root level of the object-to-be-cloned, but any nested object types (array, object etc) are shallow reference copies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Current implementation should be fine as resources
by spec are an array of text values aka strings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still going 🏃
|
||
const { chains, statement = "", uri, domain, nonce, type, exp, nbf, methods = [] } = params; | ||
// reassign resources to remove reference as the array is modified and might cause side effects | ||
const resources = [...(params.resources || [])]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, spread operator works for primitive types like strings and numbers at the root level of the object-to-be-cloned, but any nested object types (array, object etc) are shallow reference copies.
[...new Set(approvedMethods)], | ||
[...new Set(approvedAccounts)], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 💯
Huge seeing this reach the finish line. Thank you for your continued efforts on this Gancho 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
# Conflicts: # packages/sign-client/src/controllers/engine.ts
….12.1 (#5228) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@walletconnect/react-native-compat](https://togithub.com/walletconnect/walletconnect-monorepo) | [`^2.11.3` -> `^2.12.1`](https://renovatebot.com/diffs/npm/@walletconnect%2freact-native-compat/2.11.3/2.12.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>walletconnect/walletconnect-monorepo (@​walletconnect/react-native-compat)</summary> ### [`v2.12.1`](https://togithub.com/WalletConnect/walletconnect-monorepo/releases/tag/2.12.1) [Compare Source](https://togithub.com/walletconnect/walletconnect-monorepo/compare/2.12.0...2.12.1) ##### What's Changed - chore: prep for `2.12.0` release by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4392](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4392) - fix: fallback event listener cleanup by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4403](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4403) - fix: handle `loadPersistedSession` exceptions by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4404](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4404) **Full Changelog**: WalletConnect/walletconnect-monorepo@2.12.0...2.12.1 ### [`v2.12.0`](https://togithub.com/WalletConnect/walletconnect-monorepo/releases/tag/2.12.0) [Compare Source](https://togithub.com/walletconnect/walletconnect-monorepo/compare/2.11.3...2.12.0) ##### What's Changed - feat: add visionOS support by [@​thiagobrez](https://togithub.com/thiagobrez) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4340](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4340) - chore: prep for 2.11.3 release by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4343](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4343) - fix: optimize cleanup by [@​chris13524](https://togithub.com/chris13524) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4351](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4351) - chore: add code to for chunk logging by [@​devceline](https://togithub.com/devceline) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4342](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4342) - fix: adds `http://` support for deeplinks by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4349](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4349) - feat: optionally disable deeplinks by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4373](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4373) - chore: fix some comments by [@​kaifulee](https://togithub.com/kaifulee) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4325](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4325) - feat: updates session without waiting for an ack from the peer by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4346](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4346) - chore(deps): update actions/add-to-project action to v0.6.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4354](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4354) - chore(deps): update actions/add-to-project action to v1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4380](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4380) - feat: auth aka sign 2.5 by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4331](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4331) ##### New Contributors - [@​thiagobrez](https://togithub.com/thiagobrez) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4340](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4340) - [@​chris13524](https://togithub.com/chris13524) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4351](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4351) - [@​kaifulee](https://togithub.com/kaifulee) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4325](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4325) **Full Changelog**: WalletConnect/walletconnect-monorepo@2.11.3...2.12.0 </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**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/valora-inc/wallet). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: valora-bot <valorabot@valoraapp.com>
….12.1 (#5228) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@walletconnect/react-native-compat](https://togithub.com/walletconnect/walletconnect-monorepo) | [`^2.11.3` -> `^2.12.1`](https://renovatebot.com/diffs/npm/@walletconnect%2freact-native-compat/2.11.3/2.12.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>walletconnect/walletconnect-monorepo (@​walletconnect/react-native-compat)</summary> ### [`v2.12.1`](https://togithub.com/WalletConnect/walletconnect-monorepo/releases/tag/2.12.1) [Compare Source](https://togithub.com/walletconnect/walletconnect-monorepo/compare/2.12.0...2.12.1) ##### What's Changed - chore: prep for `2.12.0` release by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4392](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4392) - fix: fallback event listener cleanup by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4403](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4403) - fix: handle `loadPersistedSession` exceptions by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4404](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4404) **Full Changelog**: WalletConnect/walletconnect-monorepo@2.12.0...2.12.1 ### [`v2.12.0`](https://togithub.com/WalletConnect/walletconnect-monorepo/releases/tag/2.12.0) [Compare Source](https://togithub.com/walletconnect/walletconnect-monorepo/compare/2.11.3...2.12.0) ##### What's Changed - feat: add visionOS support by [@​thiagobrez](https://togithub.com/thiagobrez) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4340](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4340) - chore: prep for 2.11.3 release by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4343](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4343) - fix: optimize cleanup by [@​chris13524](https://togithub.com/chris13524) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4351](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4351) - chore: add code to for chunk logging by [@​devceline](https://togithub.com/devceline) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4342](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4342) - fix: adds `http://` support for deeplinks by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4349](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4349) - feat: optionally disable deeplinks by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4373](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4373) - chore: fix some comments by [@​kaifulee](https://togithub.com/kaifulee) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4325](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4325) - feat: updates session without waiting for an ack from the peer by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4346](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4346) - chore(deps): update actions/add-to-project action to v0.6.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4354](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4354) - chore(deps): update actions/add-to-project action to v1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4380](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4380) - feat: auth aka sign 2.5 by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4331](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4331) ##### New Contributors - [@​thiagobrez](https://togithub.com/thiagobrez) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4340](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4340) - [@​chris13524](https://togithub.com/chris13524) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4351](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4351) - [@​kaifulee](https://togithub.com/kaifulee) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4325](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4325) **Full Changelog**: WalletConnect/walletconnect-monorepo@2.11.3...2.12.0 </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**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/valora-inc/wallet). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: valora-bot <valorabot@valoraapp.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@walletconnect/utils](https://togithub.com/walletconnect/walletconnect-monorepo) | [`^2.11.3` -> `^2.12.1`](https://renovatebot.com/diffs/npm/@walletconnect%2futils/2.11.3/2.12.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>walletconnect/walletconnect-monorepo (@​walletconnect/utils)</summary> ### [`v2.12.1`](https://togithub.com/WalletConnect/walletconnect-monorepo/releases/tag/2.12.1) [Compare Source](https://togithub.com/walletconnect/walletconnect-monorepo/compare/2.12.0...2.12.1) #### What's Changed - chore: prep for `2.12.0` release by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4392](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4392) - fix: fallback event listener cleanup by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4403](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4403) - fix: handle `loadPersistedSession` exceptions by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4404](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4404) **Full Changelog**: WalletConnect/walletconnect-monorepo@2.12.0...2.12.1 ### [`v2.12.0`](https://togithub.com/WalletConnect/walletconnect-monorepo/releases/tag/2.12.0) [Compare Source](https://togithub.com/walletconnect/walletconnect-monorepo/compare/2.11.3...2.12.0) ##### What's Changed - feat: add visionOS support by [@​thiagobrez](https://togithub.com/thiagobrez) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4340](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4340) - chore: prep for 2.11.3 release by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4343](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4343) - fix: optimize cleanup by [@​chris13524](https://togithub.com/chris13524) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4351](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4351) - chore: add code to for chunk logging by [@​devceline](https://togithub.com/devceline) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4342](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4342) - fix: adds `http://` support for deeplinks by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4349](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4349) - feat: optionally disable deeplinks by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4373](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4373) - chore: fix some comments by [@​kaifulee](https://togithub.com/kaifulee) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4325](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4325) - feat: updates session without waiting for an ack from the peer by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4346](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4346) - chore(deps): update actions/add-to-project action to v0.6.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4354](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4354) - chore(deps): update actions/add-to-project action to v1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4380](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4380) - feat: auth aka sign 2.5 by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4331](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4331) ##### New Contributors - [@​thiagobrez](https://togithub.com/thiagobrez) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4340](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4340) - [@​chris13524](https://togithub.com/chris13524) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4351](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4351) - [@​kaifulee](https://togithub.com/kaifulee) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4325](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4325) **Full Changelog**: WalletConnect/walletconnect-monorepo@2.11.3...2.12.0 </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**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/valora-inc/wallet). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Satish Ravi <satish.ravi@valoraapp.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@walletconnect/utils](https://togithub.com/walletconnect/walletconnect-monorepo) | [`^2.11.3` -> `^2.12.1`](https://renovatebot.com/diffs/npm/@walletconnect%2futils/2.11.3/2.12.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>walletconnect/walletconnect-monorepo (@​walletconnect/utils)</summary> ### [`v2.12.1`](https://togithub.com/WalletConnect/walletconnect-monorepo/releases/tag/2.12.1) [Compare Source](https://togithub.com/walletconnect/walletconnect-monorepo/compare/2.12.0...2.12.1) #### What's Changed - chore: prep for `2.12.0` release by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4392](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4392) - fix: fallback event listener cleanup by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4403](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4403) - fix: handle `loadPersistedSession` exceptions by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4404](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4404) **Full Changelog**: WalletConnect/walletconnect-monorepo@2.12.0...2.12.1 ### [`v2.12.0`](https://togithub.com/WalletConnect/walletconnect-monorepo/releases/tag/2.12.0) [Compare Source](https://togithub.com/walletconnect/walletconnect-monorepo/compare/2.11.3...2.12.0) ##### What's Changed - feat: add visionOS support by [@​thiagobrez](https://togithub.com/thiagobrez) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4340](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4340) - chore: prep for 2.11.3 release by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4343](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4343) - fix: optimize cleanup by [@​chris13524](https://togithub.com/chris13524) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4351](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4351) - chore: add code to for chunk logging by [@​devceline](https://togithub.com/devceline) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4342](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4342) - fix: adds `http://` support for deeplinks by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4349](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4349) - feat: optionally disable deeplinks by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4373](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4373) - chore: fix some comments by [@​kaifulee](https://togithub.com/kaifulee) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4325](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4325) - feat: updates session without waiting for an ack from the peer by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4346](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4346) - chore(deps): update actions/add-to-project action to v0.6.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4354](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4354) - chore(deps): update actions/add-to-project action to v1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4380](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4380) - feat: auth aka sign 2.5 by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4331](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4331) ##### New Contributors - [@​thiagobrez](https://togithub.com/thiagobrez) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4340](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4340) - [@​chris13524](https://togithub.com/chris13524) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4351](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4351) - [@​kaifulee](https://togithub.com/kaifulee) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4325](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4325) **Full Changelog**: WalletConnect/walletconnect-monorepo@2.11.3...2.12.0 </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**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/valora-inc/wallet). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Satish Ravi <satish.ravi@valoraapp.com>
….12.1 (valora-inc#5228) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@walletconnect/react-native-compat](https://togithub.com/walletconnect/walletconnect-monorepo) | [`^2.11.3` -> `^2.12.1`](https://renovatebot.com/diffs/npm/@walletconnect%2freact-native-compat/2.11.3/2.12.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>walletconnect/walletconnect-monorepo (@​walletconnect/react-native-compat)</summary> ### [`v2.12.1`](https://togithub.com/WalletConnect/walletconnect-monorepo/releases/tag/2.12.1) [Compare Source](https://togithub.com/walletconnect/walletconnect-monorepo/compare/2.12.0...2.12.1) ##### What's Changed - chore: prep for `2.12.0` release by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4392](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4392) - fix: fallback event listener cleanup by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4403](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4403) - fix: handle `loadPersistedSession` exceptions by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4404](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4404) **Full Changelog**: WalletConnect/walletconnect-monorepo@2.12.0...2.12.1 ### [`v2.12.0`](https://togithub.com/WalletConnect/walletconnect-monorepo/releases/tag/2.12.0) [Compare Source](https://togithub.com/walletconnect/walletconnect-monorepo/compare/2.11.3...2.12.0) ##### What's Changed - feat: add visionOS support by [@​thiagobrez](https://togithub.com/thiagobrez) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4340](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4340) - chore: prep for 2.11.3 release by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4343](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4343) - fix: optimize cleanup by [@​chris13524](https://togithub.com/chris13524) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4351](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4351) - chore: add code to for chunk logging by [@​devceline](https://togithub.com/devceline) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4342](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4342) - fix: adds `http://` support for deeplinks by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4349](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4349) - feat: optionally disable deeplinks by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4373](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4373) - chore: fix some comments by [@​kaifulee](https://togithub.com/kaifulee) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4325](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4325) - feat: updates session without waiting for an ack from the peer by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4346](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4346) - chore(deps): update actions/add-to-project action to v0.6.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4354](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4354) - chore(deps): update actions/add-to-project action to v1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4380](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4380) - feat: auth aka sign 2.5 by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4331](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4331) ##### New Contributors - [@​thiagobrez](https://togithub.com/thiagobrez) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4340](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4340) - [@​chris13524](https://togithub.com/chris13524) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4351](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4351) - [@​kaifulee](https://togithub.com/kaifulee) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4325](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4325) **Full Changelog**: WalletConnect/walletconnect-monorepo@2.11.3...2.12.0 </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**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/valora-inc/wallet). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: valora-bot <valorabot@valoraapp.com>
…inc#5229) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@walletconnect/utils](https://togithub.com/walletconnect/walletconnect-monorepo) | [`^2.11.3` -> `^2.12.1`](https://renovatebot.com/diffs/npm/@walletconnect%2futils/2.11.3/2.12.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>walletconnect/walletconnect-monorepo (@​walletconnect/utils)</summary> ### [`v2.12.1`](https://togithub.com/WalletConnect/walletconnect-monorepo/releases/tag/2.12.1) [Compare Source](https://togithub.com/walletconnect/walletconnect-monorepo/compare/2.12.0...2.12.1) #### What's Changed - chore: prep for `2.12.0` release by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4392](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4392) - fix: fallback event listener cleanup by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4403](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4403) - fix: handle `loadPersistedSession` exceptions by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4404](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4404) **Full Changelog**: WalletConnect/walletconnect-monorepo@2.12.0...2.12.1 ### [`v2.12.0`](https://togithub.com/WalletConnect/walletconnect-monorepo/releases/tag/2.12.0) [Compare Source](https://togithub.com/walletconnect/walletconnect-monorepo/compare/2.11.3...2.12.0) ##### What's Changed - feat: add visionOS support by [@​thiagobrez](https://togithub.com/thiagobrez) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4340](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4340) - chore: prep for 2.11.3 release by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4343](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4343) - fix: optimize cleanup by [@​chris13524](https://togithub.com/chris13524) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4351](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4351) - chore: add code to for chunk logging by [@​devceline](https://togithub.com/devceline) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4342](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4342) - fix: adds `http://` support for deeplinks by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4349](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4349) - feat: optionally disable deeplinks by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4373](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4373) - chore: fix some comments by [@​kaifulee](https://togithub.com/kaifulee) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4325](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4325) - feat: updates session without waiting for an ack from the peer by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4346](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4346) - chore(deps): update actions/add-to-project action to v0.6.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4354](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4354) - chore(deps): update actions/add-to-project action to v1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4380](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4380) - feat: auth aka sign 2.5 by [@​ganchoradkov](https://togithub.com/ganchoradkov) in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4331](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4331) ##### New Contributors - [@​thiagobrez](https://togithub.com/thiagobrez) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4340](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4340) - [@​chris13524](https://togithub.com/chris13524) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4351](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4351) - [@​kaifulee](https://togithub.com/kaifulee) made their first contribution in [https://github.com/WalletConnect/walletconnect-monorepo/pull/4325](https://togithub.com/WalletConnect/walletconnect-monorepo/pull/4325) **Full Changelog**: WalletConnect/walletconnect-monorepo@2.11.3...2.12.0 </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**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/valora-inc/wallet). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Satish Ravi <satish.ravi@valoraapp.com>
Description
Full Sign 2.5 implementation according to specs WalletConnect/walletconnect-specs#171
authenticate
method where dapps can request One Client Authentication as per https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-222.mdType of change
How has this been tested?
tests
Checklist
Additional Information (Optional)
Please include any additional information that may be useful for the reviewer.