PurchasesStoreTransaction type missing purchaseDateMillis, revenueCatId
Hello!
The SDK returns purchaseDateMillis and revenueCatId in the nonSubscriptionPurchases property of the CustomerInfo object. However, these are not included in the typescript type.
https://github.com/RevenueCat/react-native-purchases/blob/fd8f869d91f99858da58b8e98c45e31add01ba7c/src/customerInfo.ts#L143-L156
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
Hello @olofholmlund!
This is intentional as we recommend using transactionIdentifier and purchaseDate. Is there any use case you want to implement not covered by the exposed fields?
Hi @MarkVillacampa !
Ok I see, no I could solve it using purchaseDate instead. I also noticed that PurchasesStoreProduct-interface is missing productType prop, is this also intentional?