New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fmg-rock-paper-scissors

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fmg-rock-paper-scissors - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

4

package.json
{
"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;
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc