Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gaia-project/site-lib

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gaia-project/site-lib - npm Package Compare versions

Comparing version 1.5.3 to 2.0.0

19

dist/game.js

@@ -30,10 +30,13 @@ "use strict";

},
currentPlayer: {
type: mongoose_1.Schema.Types.ObjectId,
ref: "User"
},
nextMoveDeadline: {
type: Date,
sparse: true
},
currentPlayer: [{
_id: {
type: mongoose_1.Schema.Types.ObjectId,
ref: "User",
index: true
},
deadline: {
type: Date,
index: true
}
}],
lastMove: {

@@ -40,0 +43,0 @@ type: Date,

@@ -14,5 +14,8 @@ export interface PlayerInfo<T = string> {

creator: T;
currentPlayer: T;
nextMoveDeadline: Date;
currentPlayer: Array <{
_id: T,
timerStart: Date,
deadline: Date
}>;

@@ -56,5 +59,5 @@ /** Game data */

lastMove: Date;
updatedAt: Date;
createdAt: Date;
lastMove: Date;
}

@@ -61,0 +64,0 @@

@@ -14,3 +14,3 @@ {

},
"version": "1.5.3",
"version": "2.0.0",
"description": "Shared typedefs & schemas",

@@ -17,0 +17,0 @@ "main": "index.ts",

@@ -30,10 +30,13 @@ import { Schema } from "mongoose";

},
currentPlayer: {
type: Schema.Types.ObjectId,
ref: "User"
},
nextMoveDeadline: {
type: Date,
sparse: true
},
currentPlayer: [{
_id: {
type: Schema.Types.ObjectId,
ref: "User",
index: true
},
deadline: {
type: Date,
index: true
}
}],
lastMove: {

@@ -40,0 +43,0 @@ type: Date,

Sorry, the diff of this file is not supported yet

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