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

react-unity-webgl

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-unity-webgl - npm Package Compare versions

Comparing version 8.1.3 to 8.1.4

distribution/interfaces/unity-context-event-map.d.ts

4

distribution/models/unity-context.d.ts
import "../declarations/global";
import IUnityConfig from "../interfaces/unity-config";
import UnityComponent from "../components/unity";
import IUnityContextEventMap from "../interfaces/unity-context-event-map";
/**

@@ -57,4 +58,5 @@ * The Unity Context.

* @returns {any} The Function
*
*/
on(eventName: string, eventListener: Function): void;
on<MapKey extends keyof IUnityContextEventMap | (string & {})>(eventName: keyof IUnityContextEventMap | (MapKey & {}), eventListener: (parameter: MapKey extends keyof IUnityContextEventMap ? IUnityContextEventMap[MapKey] : any) => void): void;
/**

@@ -61,0 +63,0 @@ * Invokes an event listener that has been registered using the on function.

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

* @returns {any} The Function
*
*/

@@ -69,0 +70,0 @@ UnityContext.prototype.on = function (eventName, eventListener) {

{
"name": "react-unity-webgl",
"version": "8.1.3",
"version": "8.1.4",
"description": "React Unity WebGL provides an easy solution for embedding Unity WebGL builds in your React application, with two-way communication between your React and Unity application with advanced API's.",

@@ -5,0 +5,0 @@ "main": "./distribution/exports.js",

@@ -11,4 +11,5 @@ <div align="center">

<br/>
[![npm](https://img.shields.io/github/stars/elraccoone/react-unity-webgl.svg?style=for-the-badge)]()
[![npm](https://img.shields.io/github/stars/elraccoone/react-unity-webgl.svg?style=for-the-badge&color=fe8523)]()
[![npm](https://img.shields.io/npm/dt/react-unity-webgl.svg?style=for-the-badge)]()
[![npm](https://img.shields.io/bundlephobia/minzip/react-unity-webgl?style=for-the-badge&label=size)]()

@@ -15,0 +16,0 @@ When building content for the web, you might need to communicate with elements on a webpage. Or you might want to implement functionality using Web APIs which Unity does not currently expose by default. In both cases, you need to directly interface with the browser’s JavaScript engine. React Unity WebGL provides an easy solution for embedding Unity WebGL builds in your React application, with two-way communication between your React and Unity application with advanced API's.

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