Update baseline swiftinterface files for pallares/paywall-components-public#6743
Merged
Conversation
ajpallares
approved these changes
May 7, 2026
ae03732
into
pallares/paywall-components-public
5 checks passed
ajpallares
added a commit
that referenced
this pull request
May 13, 2026
* Make `Offering.PaywallComponents` and `paywallComponents` public Removes the `@_spi(Internal)` marker from the `Offering.PaywallComponents` struct, the `Offering.paywallComponents` property, and the convenience initializer that accepts paywall components. The internal-only details of `PaywallComponents` (its stored properties and initializer) remain `@_spi(Internal)` since they expose types that are still SPI. This allows external consumers to read `paywallComponents` from an existing `Offering` and pass it back into a new `Offering`, enabling lossless re-creation of an `Offering` value. Also extends the Swift API tester to cover the newly public surface. Co-authored-by: Cursor <cursoragent@cursor.com> * Update baseline swiftinterface files (#6743) --------- Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: RevenueCat Git Bot <72824662+RCGitBot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by @ajpallares for pallares/paywall-components-public
Note
Low Risk
Additive public API surface changes only (new
Offering.paywallComponentsand related initializer/type) with no logic changes; primary risk is downstream compile impact for consumers relying on exact generated interface baselines.Overview
Updates the generated Swift interface baselines across Apple platforms to expose a new
RevenueCat.Offering.PaywallComponentstype and optionalOffering.paywallComponentsproperty.Also adds a new
Offeringconvenience initializer that acceptspaywallComponents(alongsidepaywall) and marksPaywallComponentsasSendable.Reviewed by Cursor Bugbot for commit 4617552. Bugbot is set up for automated code reviews on this repo. Configure here.