Skip to content

Commit

Permalink
Merge branch 'main' into react-useeffect-changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja authored Mar 19, 2024
2 parents f971327 + fa0d522 commit 58451a7
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 124 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [0.33.8](https://github.com/juspay/hyperswitch-web/compare/v0.33.7...v0.33.8) (2024-03-18)


### Bug Fixes

* **applepay:** added logger instance for ApplePay intent calls ([#218](https://github.com/juspay/hyperswitch-web/issues/218)) ([1512f4f](https://github.com/juspay/hyperswitch-web/commit/1512f4f11790469bf2401fb01731c9c07b324aa3))

## [0.33.7](https://github.com/juspay/hyperswitch-web/compare/v0.33.6...v0.33.7) (2024-03-14)

## [0.33.6](https://github.com/juspay/hyperswitch-web/compare/v0.33.5...v0.33.6) (2024-03-14)
Expand Down
179 changes: 58 additions & 121 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "orca-payment-page",
"version": "0.33.7",
"version": "0.33.8",
"main": "index.js",
"private": true,
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/Payments/ApplePay.res
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ let make = (
let setIsShowOrPayUsing = Recoil.useSetRecoilState(RecoilAtoms.isShowOrPayUsing)
let (showApplePay, setShowApplePay) = React.useState(() => false)
let (showApplePayLoader, setShowApplePayLoader) = React.useState(() => false)
let intent = PaymentHelpers.usePaymentIntent(None, Applepay)
let sync = PaymentHelpers.usePaymentSync(None, Applepay)
let intent = PaymentHelpers.usePaymentIntent(Some(loggerState), Applepay)
let sync = PaymentHelpers.usePaymentSync(Some(loggerState), Applepay)
let options = Recoil.useRecoilValueFromAtom(RecoilAtoms.optionAtom)
let (applePayClicked, setApplePayClicked) = React.useState(_ => false)
let isApplePaySDKFlow = sessionObj->Option.isSome
Expand Down

0 comments on commit 58451a7

Please sign in to comment.