From a9844988ee15fe40a2e7ba2b38f6c49fbe31b5a8 Mon Sep 17 00:00:00 2001 From: Praful Koppalkar <126236898+prafulkoppalkar@users.noreply.github.com> Date: Fri, 7 Jun 2024 18:42:15 +0530 Subject: [PATCH 1/2] fix: redirect issue (#432) --- src/orca-loader/Hyper.res | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/orca-loader/Hyper.res b/src/orca-loader/Hyper.res index 7adabb05c..22349cf94 100644 --- a/src/orca-loader/Hyper.res +++ b/src/orca-loader/Hyper.res @@ -277,11 +277,7 @@ let make = (publishableKey, options: option, analyticsInfo: optionOption.flatMap(x => x->Dict.get("confirmParams")) ->Option.getOr(Dict.make()->JSON.Encode.object) - let redirect = - payload - ->getDictFromJson - ->getDictfromDict("confirmParams") - ->getString("redirect", "if_required") + let redirect = payload->getDictFromJson->getString("redirect", "if_required") let url = confirmParams From 904a7ba207b266afd0d76972d66dbde82a41c332 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 7 Jun 2024 13:13:49 +0000 Subject: [PATCH 2/2] chore(release): 0.61.2 [skip ci] ## [0.61.2](https://github.com/juspay/hyperswitch-web/compare/v0.61.1...v0.61.2) (2024-06-07) ### Bug Fixes * redirect issue ([#432](https://github.com/juspay/hyperswitch-web/issues/432)) ([a984498](https://github.com/juspay/hyperswitch-web/commit/a9844988ee15fe40a2e7ba2b38f6c49fbe31b5a8)) --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e6dc95bf..9c042c90e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [0.61.2](https://github.com/juspay/hyperswitch-web/compare/v0.61.1...v0.61.2) (2024-06-07) + + +### Bug Fixes + +* redirect issue ([#432](https://github.com/juspay/hyperswitch-web/issues/432)) ([a984498](https://github.com/juspay/hyperswitch-web/commit/a9844988ee15fe40a2e7ba2b38f6c49fbe31b5a8)) + ## [0.61.1](https://github.com/juspay/hyperswitch-web/compare/v0.61.0...v0.61.1) (2024-06-07) # [0.61.0](https://github.com/juspay/hyperswitch-web/compare/v0.60.0...v0.61.0) (2024-06-07) diff --git a/package-lock.json b/package-lock.json index 475a2c172..e32e6f424 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "orca-payment-page", - "version": "0.61.1", + "version": "0.61.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "orca-payment-page", - "version": "0.61.1", + "version": "0.61.2", "hasInstallScript": true, "dependencies": { "@aws-sdk/client-cloudfront": "^3.414.0", diff --git a/package.json b/package.json index c1c4dc087..6950ca73a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orca-payment-page", - "version": "0.61.1", + "version": "0.61.2", "main": "index.js", "private": true, "dependencies": {