heartraite 1.0.92 → 1.0.94

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.
@@ -16,6 +16,7 @@ export type MatchableUser = {
16
16
  export type MatchStatus = {
17
17
  isMatch: boolean;
18
18
  likeType?: LikeType;
19
+ hasAMConsent: boolean;
19
20
  };
20
21
  export type MatchCompatibility = {
21
22
  categoryPercentages: Record<string, number>;
@@ -12,6 +12,7 @@ export type User = {
12
12
  };
13
13
  export type UserConsents = {
14
14
  am: Consent;
15
+ ca: Consent;
15
16
  };
16
17
  export type Consent = {
17
18
  given: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.92",
3
+ "version": "1.0.94",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,6 +19,7 @@ export type MatchableUser = {
19
19
  export type MatchStatus = {
20
20
  isMatch: boolean;
21
21
  likeType?: LikeType;
22
+ hasAMConsent: boolean;
22
23
  };
23
24
 
24
25
  export type MatchCompatibility = {
@@ -20,6 +20,7 @@ export type User = {
20
20
 
21
21
  export type UserConsents = {
22
22
  am: Consent;
23
+ ca: Consent;
23
24
  // add others as needed
24
25
  };
25
26