What's Changed
- Restored
grantReward(key:operationId:)on the SDK after it had been dropped:Referrals.grantReward(...)async + completion-based public methods- Mirrored on
ReferralsObservableObjectwith a newgrantRewardState(.none / .loading / .success / .failure) andisLoading / isSuccess / isFailure / errorObjectsaccessors, matchingclaimCodeState/withdrawCreditsState - Note: this endpoint is only accessible when
Referralsis configured with a secret API key — calls made with a public key will be rejected by the server. Currently only granting of credit rewards is supported.
Full Changelog: 0.9.0...0.10.0