fmg-rock-paper-scissors
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "fmg-rock-paper-scissors", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Rock-paper-scissors as a force-move game", | ||
@@ -16,3 +16,3 @@ "directories": { | ||
"dependencies": { | ||
"fmg-core": "^0.0.4", | ||
"fmg-core": "^0.0.5", | ||
"sha3": "^1.2.2", | ||
@@ -19,0 +19,0 @@ "web3-utils": "^1.0.0-beta.30" |
@@ -79,3 +79,3 @@ import { Channel, State, toHex32, padBytes32 } from 'fmg-core'; | ||
super(...arguments); | ||
this.stateType = State.StateTypes.PREFUNDSETUP; | ||
this.stateType = State.StateType.PreFundSetup; | ||
this.positionType = RpsGame.PositionTypes.RESTING; | ||
@@ -88,3 +88,3 @@ } | ||
super(...arguments); | ||
this.stateType = State.StateTypes.POSTFUNDSETUP; | ||
this.stateType = State.StateType.PostFundSetup; | ||
this.positionType = RpsGame.PositionTypes.RESTING; | ||
@@ -97,3 +97,3 @@ } | ||
super(...arguments); | ||
this.stateType = State.StateTypes.GAME; | ||
this.stateType = State.StateType.Game; | ||
this.positionType = RpsGame.PositionTypes.ROUNDPROPOSED; | ||
@@ -107,3 +107,3 @@ this.preCommit = this.constructor.hashCommitment(aPlay, salt); | ||
super(...arguments); | ||
this.stateType = State.StateTypes.GAME; | ||
this.stateType = State.StateType.Game; | ||
this.positionType = RpsGame.PositionTypes.ROUNDACCEPTED; | ||
@@ -116,3 +116,3 @@ } | ||
super(...arguments); | ||
this.stateType = State.StateTypes.GAME; | ||
this.stateType = State.StateType.Game; | ||
this.positionType = RpsGame.PositionTypes.REVEAL; | ||
@@ -126,3 +126,3 @@ } | ||
super(...arguments); | ||
this.stateType = State.StateTypes.GAME; | ||
this.stateType = State.StateType.Game; | ||
this.positionType = RpsGame.PositionTypes.RESTING; | ||
@@ -136,5 +136,5 @@ } | ||
super(...arguments); | ||
this.stateType = State.StateTypes.CONCLUDE; | ||
this.stateType = State.StateType.Conclude; | ||
this.positionType = RpsGame.PositionTypes.RESTING; | ||
} | ||
} |
42149
+ Added@types/mocha@5.2.7(transitive)
+ Addedfmg-core@0.0.5(transitive)
- Removedesm@3.2.25(transitive)
- Removedfmg-core@0.0.4(transitive)
Updatedfmg-core@^0.0.5