0.2.0
This release breaks up the StoreService protocol into multiple protocols.
This is done to simplify implementing custom services, mocking in unit tests etc.
✨ Features
StandardProductServiceis a new service that takes care of fetching products.StandardPurchaseServiceis a new service that takes care of purchasing products and restoring purchases.StoreServicehas been split up into three protocols:StoreProductService,StorePurchaseServiceandStoreSyncService.StoreContexthas a newproduct(withId:)function.
💡 Behavior changes
StoreServicenow inheritsStoreProductService,StorePurchaseServiceandStoreSyncService.StandardStoreServicenow implementsStoreProductService,StorePurchaseServiceandStoreSyncService.StandardStoreServicenow uses nested service implementations to make its own logic easier to overview.