Skip to content

0.10.0

Latest

Choose a tag to compare

@endore8 endore8 released this 05 May 16:58

What's Changed

  • Restored grantReward(key:operationId:) on the SDK after it had been dropped:
    • Referrals.grantReward(...) async + completion-based public methods
    • Mirrored on ReferralsObservableObject with a new grantRewardState (.none / .loading / .success / .failure) and isLoading / isSuccess / isFailure / errorObjects accessors, matching claimCodeState / withdrawCreditsState
    • Note: this endpoint is only accessible when Referrals is 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