Skip to content

Commit

Permalink
2.29.0-beta.6 (#1080)
Browse files Browse the repository at this point in the history
* Tm/feature/cross-window-2FA-signing (#1077)

* Added guard cancel action

* 2.29.0-beta.5

* Update CHANGELOG

* Fix web wallet URL construction on logout action (#1079)

* fix web wallet url construction on logout action

* update changelog

* 2.29.0-beta.6

* update changelog

* merge main

---------

Co-authored-by: Tudor Morar <tudor.morar@multiversx.com>
  • Loading branch information
CiprianDraghici and arhtudormorar authored Mar 14, 2024
1 parent c9143b4 commit 04e8b01
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [[v2.29.0-beta.6]](https://github.com/multiversx/mx-sdk-dapp/pull/1080)] - 2024-03-14
- [Fix web wallet URL construction on logout action](https://github.com/multiversx/mx-sdk-dapp/pull/1079)

## [[v2.29.0-beta.5]](https://github.com/multiversx/mx-sdk-dapp/pull/1078)] - 2024-03-14
- [Added 2FA signing cancel action](https://github.com/multiversx/mx-sdk-dapp/pull/1077)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@multiversx/sdk-dapp",
"version": "2.29.0-beta.5",
"version": "2.29.0-beta.6",
"description": "A library to hold the main logic for a dapp on the MultiversX blockchain",
"author": "MultiversX",
"license": "GPL-3.0-or-later",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/logout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export async function logout(

const url = addOriginToLocationPath(callbackUrl);
const location = getWindowLocation();
const callbackPathname = new URL(url).pathname;
const callbackPathname = new URL(decodeURIComponent(url)).pathname;

// Prevent page redirect if the logout callbackURL is equal to the current URL
// or if is wallet provider
Expand Down

0 comments on commit 04e8b01

Please sign in to comment.