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

@boozybats/shared

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boozybats/shared - npm Package Compare versions

Comparing version 1.5.15 to 1.5.17

lib/types/admin.type.js

14

index.d.ts

@@ -12,2 +12,8 @@ import { Document as Document_2 } from 'mongoose';

export declare interface AdminInfo {
isAdmin: boolean;
isSuper: boolean;
updatedAt: number;
}
export declare type AmityInteraction = (typeof amityInteractions)[number];

@@ -72,2 +78,3 @@

};
bidsAmount: number;
gameOptions: GameOptions;

@@ -102,2 +109,3 @@ mineInfo: {

continueOnRestart: boolean;
minBid: number;
messageLimit: number;

@@ -167,6 +175,3 @@ invitesLimit: number;

};
adminInfo: {
isAdmin: boolean;
updatedAt: number;
};
adminInfo: AdminInfo;
banInfo: BanInfo;

@@ -290,2 +295,3 @@ inDemo: number;

state: GameState;
minBid: number;
messageLimit: number;

@@ -292,0 +298,0 @@ invitesLimit: number;

@@ -139,3 +139,2 @@ "use strict";

required: false,
default: {},
type: {

@@ -213,2 +212,7 @@ updatedAt: {

},
bidsAmount: {
required: false,
default: 0,
type: Number,
},
gameOptions: {

@@ -218,2 +222,3 @@ required: false,

state: 'none',
minBid: 0,
messageLimit: 0,

@@ -243,2 +248,6 @@ invitesLimit: 0,

},
minBid: {
required: true,
type: Number,
},
messageLimit: {

@@ -411,2 +420,3 @@ required: true,

banOnlyGames: true,
minBid: 0,
messageLimit: 0,

@@ -437,2 +447,7 @@ invitesLimit: 0,

},
minBid: {
required: false,
default: 0,
type: Number,
},
messageLimit: {

@@ -439,0 +454,0 @@ required: false,

@@ -41,2 +41,3 @@ import { Document } from 'mongoose';

};
bidsAmount: number;
gameOptions: GameOptions;

@@ -71,2 +72,3 @@ mineInfo: {

continueOnRestart: boolean;
minBid: number;
messageLimit: number;

@@ -73,0 +75,0 @@ invitesLimit: number;

@@ -156,2 +156,7 @@ "use strict";

},
isSuper: {
required: false,
default: false,
type: Boolean,
},
updateAt: {

@@ -158,0 +163,0 @@ required: false,

import { Document } from 'mongoose';
import { BanInfo, PaginationInfo, MenuContext, Horse } from '../../types';
import { AdminInfo } from '../../types/admin.type';
export interface BotToUserInfo extends Document {

@@ -25,6 +26,3 @@ token: string;

};
adminInfo: {
isAdmin: boolean;
updatedAt: number;
};
adminInfo: AdminInfo;
banInfo: BanInfo;

@@ -31,0 +29,0 @@ inDemo: number;

@@ -19,2 +19,3 @@ "use strict";

__exportStar(require("./ban.type"), exports);
__exportStar(require("./admin.type"), exports);
__exportStar(require("./pagination.type"), exports);

@@ -21,0 +22,0 @@ __exportStar(require("./stack.type"), exports);

{
"name": "@boozybats/shared",
"version": "1.5.15",
"version": "1.5.17",
"description": "private shared package",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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