@betorigami/games 1.4.1 → 1.4.2

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.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -5
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -2099,7 +2099,7 @@ var as=Object.create;var{getPrototypeOf:is,defineProperty:Vr,getOwnPropertyNames
2099
2099
  ?isGameActive=${this.isGameActive}
2100
2100
  ?disabled=${this.inputsDisabled}
2101
2101
  @bet-amount-validity-change=${(b)=>{this.isBetAmountValid=b.detail.isValid}}
2102
- @bet-amount-input-error-change=${(b)=>{this.showDepositButton=b.detail.invalidReason==="BET_AMOUNT_ABOVE_BALANCE"}}
2102
+ @bet-amount-input-error-change=${(b)=>{if(this.gameData?.depositUrl)this.showDepositButton=b.detail.invalidReason==="BET_AMOUNT_ABOVE_BALANCE"}}
2103
2103
  ></origami-bet-amount-input>
2104
2104
  ${this.isGameActive?q`
2105
2105
  <div class="grid-two-cells in-game-stats">
@@ -2315,7 +2315,7 @@ var as=Object.create;var{getPrototypeOf:is,defineProperty:Vr,getOwnPropertyNames
2315
2315
  >
2316
2316
  <origami-bet-amount-input
2317
2317
  @bet-amount-validity-change=${(i)=>{this.isBetAmountValid=i.detail.isValid}}
2318
- @bet-amount-input-error-change=${(i)=>{this.showDepositButton=i.detail.invalidReason==="BET_AMOUNT_ABOVE_BALANCE"}}
2318
+ @bet-amount-input-error-change=${(i)=>{if(this.gameData?.depositUrl)this.showDepositButton=i.detail.invalidReason==="BET_AMOUNT_ABOVE_BALANCE"}}
2319
2319
  ?isGameActive=${this.autobetInProgress}
2320
2320
  ?disabled=${this.inputsDisabled}
2321
2321
  .betMaxMultiplier=${this.betMaxMultiplier}
@@ -6878,7 +6878,7 @@ var as=Object.create;var{getPrototypeOf:is,defineProperty:Vr,getOwnPropertyNames
6878
6878
  ?disabled=${this.inputsDisabled}
6879
6879
  .betMaxMultiplier=${this.betMaxMultiplier}
6880
6880
  @bet-amount-validity-change=${(i)=>{this.isBetAmountValid=i.detail.isValid}}
6881
- @bet-amount-input-error-change=${(i)=>{this.showDepositButton=i.detail.invalidReason==="BET_AMOUNT_ABOVE_BALANCE"}}
6881
+ @bet-amount-input-error-change=${(i)=>{if(this.gameData?.depositUrl)this.showDepositButton=i.detail.invalidReason==="BET_AMOUNT_ABOVE_BALANCE"}}
6882
6882
  ></origami-bet-amount-input>
6883
6883
 
6884
6884
  <origami-raw-currency-input
@@ -7288,7 +7288,7 @@ var as=Object.create;var{getPrototypeOf:is,defineProperty:Vr,getOwnPropertyNames
7288
7288
  .betMaxMultiplier=${this.betMaxMultiplier}
7289
7289
  ?disabled=${this.inputsDisabled}
7290
7290
  @bet-amount-validity-change=${(i)=>{this.isBetAmountValid=i.detail.isValid}}
7291
- @bet-amount-input-error-change=${(i)=>{this.showDepositButton=i.detail.invalidReason==="BET_AMOUNT_ABOVE_BALANCE"}}
7291
+ @bet-amount-input-error-change=${(i)=>{if(this.gameData?.depositUrl)this.showDepositButton=i.detail.invalidReason==="BET_AMOUNT_ABOVE_BALANCE"}}
7292
7292
  ></origami-bet-amount-input>
7293
7293
  <div class="mobile-action-buttons hide-on-desktop">
7294
7294
  <origami-button
@@ -7885,7 +7885,7 @@ var as=Object.create;var{getPrototypeOf:is,defineProperty:Vr,getOwnPropertyNames
7885
7885
  <origami-bet-amount-input
7886
7886
  ?disabled=${this.inputsDisabled}
7887
7887
  @bet-amount-validity-change=${(i)=>{this.isBetAmountValid=i.detail.isValid}}
7888
- @bet-amount-input-error-change=${(i)=>{this.showDepositButton=i.detail.invalidReason==="BET_AMOUNT_ABOVE_BALANCE"}}
7888
+ @bet-amount-input-error-change=${(i)=>{if(this.gameData?.depositUrl)this.showDepositButton=i.detail.invalidReason==="BET_AMOUNT_ABOVE_BALANCE"}}
7889
7889
  .betMaxMultiplier=${this.betMaxMultiplier}
7890
7890
  ></origami-bet-amount-input>
7891
7891
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betorigami/games",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "",