@levrbet/shared 0.5.54 → 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.54",
3
+ "version": "0.5.55",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -607,15 +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?
614
- amount BigInt @default(0)
613
+ proof Json?
614
+ amount BigInt @default(0)
615
+ nonce Int @default(0)
616
+ spent Boolean @default(false)
617
+ paused Boolean @default(false)
615
618
 
616
619
  campaign FreeBetCampaign @relation(fields: [merkleRoot], references: [merkleRoot])
617
620
 
618
- @@unique([merkleRoot, ethAddress])
621
+ @@unique([merkleRoot, ethAddress, nonce])
619
622
  @@index([ethAddress])
620
623
  }
621
624