Xcode is warning me that 'contentURL' was deprecated in iOS 16.0: Hosted content is no longer supported and x'transaction' was deprecated in iOS 16.0: Hosted content is no longer supported...how can rewrite this SwiftyStoreKit block to silence the warning?
SwiftyStoreKit.updatedDownloadsHandler = { downloads in
// contentURL is not nil if downloadState == .finished
let contentURLs = downloads.compactMap { $0.contentURL }
if contentURLs.count == downloads.count {
print("Saving: \(contentURLs)")
SwiftyStoreKit.finishTransaction(downloads[0].transaction)
}
}