Skip to content
Prev Previous commit
Next Next commit
ci
  • Loading branch information
LongCatIsLooong committed Jul 15, 2025
commit 80e704bc5ac174d00eeb00c5b5d74475bb9f42c7
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.4.4

* Adds a new case `.unverified` to enum `SK2ProductPurchaseResult`
* Fixes the StoreKit2 implementation throwing `PlatformException`s instead of returning the corresponding
`SK2ProductPurchaseResult` when a purchase is cancelled / unverified / pending.

## 0.4.3

* Adds **Introductory Offer Eligibility** support for StoreKit2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ private func nilOrValue<T>(_ value: Any?) -> T? {
return value as! T?
}

// swift-format-ignore: AlwaysUseLowerCamelCase
func deepEqualssk2_pigeon(_ lhs: Any?, _ rhs: Any?) -> Bool {
let cleanLhs = nilOrValue(lhs) as Any?
let cleanRhs = nilOrValue(rhs) as Any?
Expand Down Expand Up @@ -114,6 +115,7 @@ func deepEqualssk2_pigeon(_ lhs: Any?, _ rhs: Any?) -> Bool {
}
}

// swift-format-ignore: AlwaysUseLowerCamelCase
func deepHashsk2_pigeon(value: Any?, hasher: inout Hasher) {
if let valueList = value as? [AnyHashable] {
for item in valueList { deepHashsk2_pigeon(value: item, hasher: &hasher) }
Expand Down