@levrbet/shared 0.5.53 → 0.5.55

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.5.53",
3
+ "version": "0.5.55",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -607,14 +607,18 @@ model FreeBetCampaign {
607
607
  }
608
608
 
609
609
  model FreeBetCampaignEntry {
610
- objectId String @id @default(auto()) @map("_id") @db.ObjectId
610
+ objectId String @id @default(auto()) @map("_id") @db.ObjectId
611
611
  merkleRoot String
612
612
  ethAddress String
613
- proof Json?
613
+ proof Json?
614
+ amount BigInt @default(0)
615
+ nonce Int @default(0)
616
+ spent Boolean @default(false)
617
+ paused Boolean @default(false)
614
618
 
615
619
  campaign FreeBetCampaign @relation(fields: [merkleRoot], references: [merkleRoot])
616
620
 
617
- @@unique([merkleRoot, ethAddress])
621
+ @@unique([merkleRoot, ethAddress, nonce])
618
622
  @@index([ethAddress])
619
623
  }
620
624