@mpgd/platform 0.24.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -164,6 +164,11 @@ export type PromotionRewardResult = {
164
164
  * and receipt finalization remain server responsibilities.
165
165
  */
166
166
  export interface PromotionRewardAdapter {
167
+ /** Read cached/provider-confirmed results only. Must never authorize or start a native payout. */
168
+ recoverReward?(input: {
169
+ readonly campaignId: string;
170
+ readonly idempotencyKey: string;
171
+ }): Promise<PromotionRewardResult>;
167
172
  getAvailability(input: {
168
173
  readonly campaignId: string;
169
174
  }): Promise<PromotionRewardAvailability>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpgd/platform",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Shared platform gateway, monetization, ads, leaderboard, identity, lifecycle, and storage contracts for mpgd games.",
5
5
  "license": "MIT",
6
6
  "repository": {