react-native-iap 12.8.0 → 12.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -138,11 +138,11 @@ func serialize(_ ot: Product.SubscriptionOffer.OfferType?) -> String? {
138
138
  }
139
139
  @available(iOS 15.0, tvOS 15.0, *)
140
140
  func serialize(_ t: Transaction) -> [String: Any?] {
141
- return ["appAccountToken": t.appAccountToken,
141
+ return ["appAccountToken": t.appAccountToken?.uuidString,
142
142
  "appBundleID": t.appBundleID,
143
143
  "debugDescription": serializeDebug(t.debugDescription),
144
144
  "deviceVerification": t.deviceVerification,
145
- "deviceVerificationNonce": t.deviceVerificationNonce,
145
+ "deviceVerificationNonce": t.deviceVerificationNonce.uuidString,
146
146
  "expirationDate": t.expirationDate?.millisecondsSince1970,
147
147
  "id": t.id,
148
148
  "isUpgraded": t.isUpgraded,
@@ -433,7 +433,6 @@ class RNIapIosSk2iOS15: Sk2Delegate {
433
433
  self.sendEvent = sendEvent
434
434
  products = [String: Product]()
435
435
  transactions = [String: Transaction]()
436
- addTransactionObserver()
437
436
  }
438
437
 
439
438
  deinit {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-iap",
3
- "version": "12.8.0",
3
+ "version": "12.8.2",
4
4
  "description": "React Native In App Purchase Module.",
5
5
  "repository": "https://github.com/dooboolab/react-native-iap",
6
6
  "author": "dooboolab <support@dooboolab.com> (https://github.com/dooboolab)",