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

@partygame.show/types

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@partygame.show/types - npm Package Compare versions

Comparing version 1.0.0-beta.9 to 1.0.0-beta.10

17

index.d.ts

@@ -13,3 +13,2 @@ /**

import { Observable } from "rxjs";
import { Elements } from "savagedom";

@@ -52,3 +51,3 @@ declare namespace PartyGameShow {

readonly base: ContentPack;
readonly extra: ReadonlyArray<ContentPack>;
readonly extra: readonly ContentPack[];
}

@@ -59,3 +58,4 @@ interface HostLogic {

readonly error: false;
prepare(root: Elements.Renderables.Group, players: ReadonlyArray<App.HostGamePlayer>, content: Content): Promise<void>;
prepare(players: readonly App.HostGamePlayer[], content: Content): Promise<void>;
attach<CONTEXT>(ctx: CONTEXT): Promise<CONTEXT>;
run(): Promise<Map<UserID, number>>;

@@ -67,3 +67,4 @@ }

readonly error: false;
prepare(root: Elements.Renderables.Group, user: User): Promise<void>;
prepare(user: User): Promise<void>;
attach<CONTEXT>(ctx: CONTEXT): Promise<CONTEXT>;
onStateChange(state: PLAYER_STATE | null): Promise<void>;

@@ -126,4 +127,4 @@ onMessage(message: App.PlayerMessage<Messages.Payload, Messages.ReplyPayload>): Promise<void>;

interface Games {
readonly all: ReadonlyArray<Game.Metadata>;
readonly owned: ReadonlyArray<Game.Metadata>;
readonly all: readonly Game.Metadata[];
readonly owned: readonly Game.Metadata[];
}

@@ -140,3 +141,3 @@ }

readonly lobbyCode: LobbyCode;
availableGames(): Promise<ReadonlyArray<Game.Loader>>;
availableGames(): Promise<readonly Game.Loader[]>;
lobbyOccupants(): Observable<User>;

@@ -149,3 +150,3 @@ addUser(userID: UserID): void;

endGame(): void;
getPlayers(): Promise<ReadonlyArray<HostGamePlayer>>;
getPlayers(): Promise<readonly HostGamePlayer[]>;
}

@@ -152,0 +153,0 @@ interface HostGamePlayer<PLAYER_STATE extends {} = object> extends Readonly<User> {

{
"name": "@partygame.show/types",
"version": "1.0.0-beta.9",
"version": "1.0.0-beta.10",
"description": "TypeScript type definitions for the main API for PartyGame.Show",

@@ -17,4 +17,3 @@ "typings": "index.d.ts",

"peerDependencies": {
"rxjs": "^6.4.0",
"savagedom": "1.4.3"
"rxjs": "^6.4.0"
},

@@ -25,5 +24,4 @@ "devDependencies": {

"dependencies": {
"rxjs": "^6.4.0",
"savagedom": "1.4.3"
"rxjs": "^6.4.0"
}
}
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