@levrbet/shared 0.4.6 → 0.4.8

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.6",
3
+ "version": "0.4.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -355,7 +355,7 @@ model Referral {
355
355
  referralCode String
356
356
  referralSource String? // e.g. campaign or link source
357
357
  status ReferralStatus @default(Active)
358
- greylistStatus GreylistStatus @default(Flagged) // Denormalized flag for fast filtering in fee computation
358
+ greylistStatus GreylistStatus @default(None) // Denormalized flag for fast filtering in fee computation
359
359
 
360
360
  // Relations
361
361
  referrer User @relation("ReferrerRelations", fields: [referrerId], references: [objectId])
@@ -518,7 +518,7 @@ model TransactionHistory {
518
518
  model GreylistEntry {
519
519
  objectId String @id @default(auto()) @map("_id") @db.ObjectId
520
520
  walletAddress String // The greylisted wallet (referrer OR referee)
521
- status GreylistStatus @default(Flagged)
521
+ status GreylistStatus @default(None)
522
522
  reason String // Why flagged (e.g. "velocity anomaly", "wallet clustering", "manual flag")
523
523
  source String // What triggered it: "admin", "system:velocity", "system:clustering"
524
524
  flaggedBy String? // Admin userId who flagged (null if system-flagged)