heartraite 1.0.198 → 1.0.199

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.
@@ -3,7 +3,7 @@ name: Publish to npm
3
3
  on:
4
4
  push:
5
5
  branches:
6
- - main
6
+ - master
7
7
 
8
8
  jobs:
9
9
  publish:
@@ -2,5 +2,6 @@ export declare enum MatchmakingMode {
2
2
  ACTIVE = "active",
3
3
  PAUSED = "paused",
4
4
  DISABLED = "disabled",
5
- IN_EVENT = "in_event"
5
+ IN_EVENT = "in_event",
6
+ PENDING = "pending"
6
7
  }
@@ -7,4 +7,7 @@ var MatchmakingMode;
7
7
  MatchmakingMode["PAUSED"] = "paused";
8
8
  MatchmakingMode["DISABLED"] = "disabled";
9
9
  MatchmakingMode["IN_EVENT"] = "in_event";
10
+ // Set at signup: a new user is NOT match-visible until an admin approves their profile
11
+ // (photo review flips PENDING -> ACTIVE). Excluded from the feed exactly like PAUSED/DISABLED.
12
+ MatchmakingMode["PENDING"] = "pending";
10
13
  })(MatchmakingMode || (exports.MatchmakingMode = MatchmakingMode = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.198",
3
+ "version": "1.0.199",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -3,4 +3,7 @@ export enum MatchmakingMode {
3
3
  PAUSED = "paused",
4
4
  DISABLED = "disabled",
5
5
  IN_EVENT = "in_event",
6
+ // Set at signup: a new user is NOT match-visible until an admin approves their profile
7
+ // (photo review flips PENDING -> ACTIVE). Excluded from the feed exactly like PAUSED/DISABLED.
8
+ PENDING = "pending",
6
9
  }