diff --git a/Sources/Mercato/Mercato+Types.swift b/Sources/Mercato/Mercato+Types.swift index 7034192..3324894 100644 --- a/Sources/Mercato/Mercato+Types.swift +++ b/Sources/Mercato/Mercato+Types.swift @@ -18,17 +18,17 @@ public struct Purchase extension Purchase { - var productId: String + public var productId: String { transaction.productID } - var quantity: Int + public var quantity: Int { transaction.purchasedQuantity } - func finish() async + public func finish() async { await transaction.finish() }