Skip to content

0.9.0

Choose a tag to compare

@endore8 endore8 released this 30 Apr 09:36
· 3 commits to main since this release

What's Changed

  • Mirrored the public Referrals API on ReferralsObservableObject so SwiftUI consumers can drive the SDK directly from the observable object:
    • syncTransactions(), refresh(), reset()
    • withdrawCredits(key:amount:) plus a new withdrawCreditsState (.none / .loading / .success / .failure) with isLoading / isSuccess / isFailure / errorObjects accessors, mirroring claimCodeState
    • User property setters: set(appUserId:), set(isPremium:), set(isTrial:), set(firstSeenAt:), set(metadata:), set(stripeCustomerId:)

Full Changelog: 0.8.1...0.9.0