2.0.0-beta1
github-actions
released this
20 Nov 18:47
·
0 commits
to 02487973233905e81e22f725814bf6729a499c31
since this release
- Breaking Changes
- PayPalNativePayments
- Remove entire PayPalNativePayments module
- PayPalWebPayments
- Replace delegate pattern with completion handlers and Swift concurrency
- Remove
PayPalWebCheckoutDelegate
andPayPalVaultDelegate
- Remove
start(request:)
method that uses delegate callbacks - Remove
vault(vaultRequest:)
method that uses delegate callbacks - Add
start(request:completion(PayPalWebCheckoutResult?, CoreSDKError?) -> Void)
toPayPalWebCheckoutClient
- Add
vault(vaultRequest:completion(PayPalVaultResult?, CoreSDKError?) -> Void)
toPayPalWebCheckoutClient
- Add
start(request:) async throws -> PayPalCheckoutResult
- Add
vault(vaultRequest:) async throws -> PayPalVaultResult
- Remove
- Replace delegate pattern with completion handlers and Swift concurrency
- CardPayments
- Replace delegate pattern with completion handlers and Swift concurrency
- Remove
CardDelegate
andCardVaultDelegate
- Remove
approveOrder(request:)
method that uses delegate callbacks - Remove
vault(vaultRequest:)
method that uses delegate callbacks - Add
approveOrder(request:completion:(CardResult?, CoreSDKError?) -> Void)
toCardClient
- Add
vault(request:completion:(CardVaultResult?, CoreSDKError?) -> Void)
toCardClient
- Add
approveOrder(request:) async throws -> CardResult
- Add
vault(vaultRequest:) async throws -> CardVaultResult
- Remove
- Replace delegate pattern with completion handlers and Swift concurrency
- PayPalNativePayments
- PayPalWebPayments
- Rename
PayPalWebCheckoutClientError
toPayPalError
- Add
.checkoutCanceledError
andvaultCanceledError
toPayPalError
- Add public static functions
isCheckoutCanceled(Error)
andisVaultCanceled(Error)
toPayPalError
to distinguish cancellation errors in PayPal flows. - Make
PayPalError
public to expose cancellation error handling helpers
- Rename
- CardPayments
- Rename
CardClientError
toCardError
- Add
threeDSecureCanceledError
toCardError
- Add public static function
isThreeDSecureCanceled(Error)
toCardError
to distinguish cancellation error from threeDSecure verification - Make
CardError
public to expose cancellation error handling helper
- Rename