@stackedapp/types 1.14.4 → 1.14.5

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.
@@ -795,8 +795,10 @@ type ConditionDetail = {
795
795
  text: string;
796
796
  };
797
797
  type ConditionResult = {
798
+ /** same as isComplete */
798
799
  isValid: boolean;
799
- canClaim: boolean;
800
+ /** same as isValid */
801
+ isComplete: boolean;
800
802
  percentCompleted: number;
801
803
  conditionData?: Array<ConditionDetail>;
802
804
  availableClaimsNow: number;
@@ -806,13 +808,13 @@ type StackedOfferHelpers = {
806
808
  getLinkedProgress?: () => Array<TeamProgress>;
807
809
  getSiblingProgress?: () => Array<TeamProgress>;
808
810
  getProgressPercent?: () => number;
809
- canClaim?: () => boolean;
811
+ isComplete?: () => boolean;
810
812
  };
811
813
  type TeamProgress = {
812
814
  playerId: string;
813
815
  username: string;
814
816
  percentCompleted: number;
815
- canClaim: boolean;
817
+ isComplete: boolean;
816
818
  };
817
819
 
818
820
  type StackedRewardKind = RewardKind;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackedapp/types",
3
- "version": "1.14.4",
3
+ "version": "1.14.5",
4
4
  "description": "Public types for Stacked platform SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/stacked-types.d.ts",