From 246393462ae8d52d2b78873b1a261f18a03708d4 Mon Sep 17 00:00:00 2001 From: Andrea Bizzotto Date: Sat, 16 Dec 2017 13:29:49 +0000 Subject: [PATCH 1/2] Add transactionDate to PaymentTransaction --- SwiftyStoreKit/SwiftyStoreKit+Types.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/SwiftyStoreKit/SwiftyStoreKit+Types.swift b/SwiftyStoreKit/SwiftyStoreKit+Types.swift index f4c3a526..86262219 100644 --- a/SwiftyStoreKit/SwiftyStoreKit+Types.swift +++ b/SwiftyStoreKit/SwiftyStoreKit+Types.swift @@ -50,6 +50,7 @@ public protocol ReceiptValidator { // Payment transaction public protocol PaymentTransaction { + var transactionDate: Date? { get } var transactionState: SKPaymentTransactionState { get } var transactionIdentifier: String? { get } } From 26a29795dd49c5f10f47faaff69653db4da4edca Mon Sep 17 00:00:00 2001 From: Andrea Bizzotto Date: Sat, 16 Dec 2017 13:34:56 +0000 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e57cfeb..b48d31e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## [0.11.1](https://github.com/bizz84/SwiftyStoreKit/releases/tag/0.11.1) Add `transactionDate` to `PaymentTransaction` + +* Add `transactionDate` to `PaymentTransaction` ([#316](https://github.com/bizz84/SwiftyStoreKit/pull/316), see [#312](https://github.com/bizz84/SwiftyStoreKit/issues/312)). + ## [0.11.0](https://github.com/bizz84/SwiftyStoreKit/releases/tag/0.11.0) Add `fetchReceipt` method + update `verifyReceipt` and `ReceiptValidator` protocol * Add `fetchReceipt` method. Update `verifyReceipt` to use it ([#278](https://github.com/bizz84/SwiftyStoreKit/pull/278), related issues: [#272](https://github.com/bizz84/SwiftyStoreKit/issues/272), [#223](https://github.com/bizz84/SwiftyStoreKit/issues/223)).