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

playroomkit

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

playroomkit - npm Package Compare versions

Comparing version 0.0.46 to 0.0.47

2

package.json
{
"name": "playroomkit",
"version": "0.0.46",
"version": "0.0.47",
"homepage": "https://joinplayroom.com",

@@ -5,0 +5,0 @@ "main": "./multiplayer.mjs",

@@ -92,3 +92,6 @@ export interface InitOptions {

export declare function getRoomCode(): string | undefined;
export declare function insertCoin(options?: InitOptions): Promise<void>;
export declare function insertCoin(
options?: InitOptions,
callbackOnLaunch?: () => void
): Promise<void>;
export declare function getState(key: string): any;

@@ -107,6 +110,10 @@ export declare function setState(

export declare function me(): PlayerState;
export declare function waitForState<T>(stateKey: string): Promise<T>;
export declare function waitForState<T>(
stateKey: string,
callbackOnState?: (stateValue: T) => void
): Promise<T>;
export declare function waitForPlayerState<T>(
player: PlayerState,
stateKey: string
stateKey: string,
callbackOnState?: (stateValue: T) => void
): Promise<T>;

@@ -113,0 +120,0 @@ export declare class Joystick {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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