mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-11 22:55:55 +05:45
* Add `isLoadShedderResponse` and `isFallbackURLResponse` properties to `VerifiedHTTPResponse` Keeps the values also when returned by the ETagManager * lint * Add some tests for ETagManager * Rename `isFallbackURLResponse` to `isFallbackUrlResponse` to prevent decoding issues * Add tests for actual source of original cached response of ETagManager * Add tests to HTTPClientTests regarding the new booleans * lint * Add `originalSource` to `CustomerInfo` * Adds `isLoadedFromCache` boolean to CustomerInfo * Add docs * Unit tests for new customer info properties * Make `OriginalSource.CustomerInfo` a `String` enum * Add decoding tests for Customer Info with new original source field * Add `.loadShedder` check for Customer Info obtained in Load Shedder integration tests * Update fixture * improve internal docs * Fix test * Fix lint * Use enum for `HTTPResponseSource` * Update tests * Adapt to changes in `VerifiedHTTPResponse` * Lint * update tests * Add log when a request to the fallback URL was handled by load shedder (which should never happen) * rename `HTTPResponseSource` to `HTTPResponseOriginalSource` * Adapt to changes * fix lint * Fix CustomerInfo's OriginalSource implementation + fix unit test