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

@workadventure/iframe-api-typings

Package Overview
Dependencies
Maintainers
1
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@workadventure/iframe-api-typings - npm Package Compare versions

Comparing version

to
1.4.5

16

iframe_api.d.ts

@@ -0,1 +1,2 @@

import SoundConfig = Phaser.Types.Sound.SoundConfig;
interface WorkAdventureApi {

@@ -9,8 +10,9 @@ sendChatMessage(message: string, author: string): void;

goToPage(url: string): void;
openCoWebSite(url: string): void;
openCoWebSite(url: string, allowApi: boolean, allowPolicy: string): void;
closeCoWebSite(): void;
disablePlayerControl(): void;
restorePlayerControl(): void;
disablePlayerControls(): void;
restorePlayerControls(): void;
displayBubble(): void;
removeBubble(): void;
loadSound(url: string): Sound;
}

@@ -35,3 +37,3 @@ declare global {

}
declare class Popup {
export declare class Popup {
private id;

@@ -44,2 +46,8 @@ constructor(id: number);

}
export declare class Sound {
private url;
constructor(url: string);
play(config: SoundConfig): string;
stop(): string;
}
export {};
{
"name": "@workadventure/iframe-api-typings",
"version": "v1.3.15",
"version": "v1.4.5",
"description": "Typescript typings for WorkAdventure iFrame API",

@@ -5,0 +5,0 @@ "main": "iframe_api.js",