Support anonymous web purchase redemptions (#4439)

Co-authored-by: RevenueCat Git Bot <72824662+RCGitBot@users.noreply.github.com>
Co-authored-by: andy boedo <andresboedo@gmail.com>
Co-authored-by: Cesar de la Vega <cesarvegaro@gmail.com>
This commit is contained in:
authored and GitHub committed 2024-11-25 16:14:32 +01:00
1 parent 1281f2993c
commit 98e4a33225
70 files changed
+2146 -27

No files matched your search

@@ -23,6 +23,7 @@ enum HTTPStatusCode {
case temporaryRedirect
case invalidRequest
case unauthorized
case forbidden
case notFoundError
case tooManyRequests
case internalServerError
@@ -38,6 +39,7 @@ enum HTTPStatusCode {
.temporaryRedirect,
.invalidRequest,
.unauthorized,
.forbidden,
.notFoundError,
.internalServerError,
.networkConnectTimeoutError
@@ -60,6 +62,7 @@ extension HTTPStatusCode: RawRepresentable {
case .temporaryRedirect: return 307
case .invalidRequest: return 400
case .unauthorized: return 401
case .forbidden: return 403
case .notFoundError: return 404
case .tooManyRequests: return 429
case .internalServerError: return 500