@levrbet/shared 0.4.5 → 0.4.7

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levrbet/shared",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -342,6 +342,7 @@ enum ReferralStatus {
342
342
  }
343
343
 
344
344
  enum GreylistStatus {
345
+ None // Not flagged — included in Merkle
345
346
  Flagged // Active greylist — excluded from Merkle
346
347
  Cleared // Admin-cleared — re-included in future epochs
347
348
  Confirmed // Admin-confirmed fraud — permanently excluded
@@ -517,7 +518,7 @@ model TransactionHistory {
517
518
  model GreylistEntry {
518
519
  objectId String @id @default(auto()) @map("_id") @db.ObjectId
519
520
  walletAddress String // The greylisted wallet (referrer OR referee)
520
- status GreylistStatus @default(Flagged)
521
+ status GreylistStatus @default(None)
521
522
  reason String // Why flagged (e.g. "velocity anomaly", "wallet clustering", "manual flag")
522
523
  source String // What triggered it: "admin", "system:velocity", "system:clustering"
523
524
  flaggedBy String? // Admin userId who flagged (null if system-flagged)