Skip to content

Update baseline swiftinterface files for pallares/paywall-components-public#6743

Merged
ajpallares merged 1 commit into
pallares/paywall-components-publicfrom
generated_swiftinterface/pallares/paywall-components-public-557368
May 7, 2026
Merged

Update baseline swiftinterface files for pallares/paywall-components-public#6743
ajpallares merged 1 commit into
pallares/paywall-components-publicfrom
generated_swiftinterface/pallares/paywall-components-public-557368

Conversation

@RCGitBot

@RCGitBot RCGitBot commented May 7, 2026

Copy link
Copy Markdown
Contributor

Requested by @ajpallares for pallares/paywall-components-public


Note

Low Risk
Additive public API surface changes only (new Offering.paywallComponents and 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.PaywallComponents type and optional Offering.paywallComponents property.

Also adds a new Offering convenience initializer that accepts paywallComponents (alongside paywall) and marks PaywallComponents as Sendable.

Reviewed by Cursor Bugbot for commit 4617552. Bugbot is set up for automated code reviews on this repo. Configure here.

@RCGitBot RCGitBot requested a review from a team as a code owner May 7, 2026 07:28
@ajpallares ajpallares merged commit ae03732 into pallares/paywall-components-public May 7, 2026
5 checks passed
@ajpallares ajpallares deleted the generated_swiftinterface/pallares/paywall-components-public-557368 branch May 7, 2026 08:00
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants