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 9.1.0 to 9.2.0

1

distribution/hooks/use-unity-context.js

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

isLoaded: isLoaded,
UNSAFE__unityInstance: unityInstance,
requestFullscreen: requestFullscreen,

@@ -217,0 +218,0 @@ requestPointerLock: requestPointerLock,

@@ -28,2 +28,14 @@ import { IUnityProvider } from "../interfaces/unity-provider";

/**
* A reference to the internal Unity Instance. This Unity Instance is the
* object that is exposed by the Unity Loader is meant to be used only
* internally by the module. In the event that you need to access the Unity
* Instance when for example using a third-party library, that requires access
* to the Unity Instance, you can use this variable.
*
* Warning! Please make sure that any changes made to, or events bound to the
* Unity Instance are not reflected inside of the module. This could lead to
* unexpected behaviour.
*/
readonly UNSAFE__unityInstance: UnityInstance | null;
/**
* Enables or disabled the Fullscreen mode of the Unity Instance.

@@ -30,0 +42,0 @@ * @param enabled Defines whether Unity should be in fullscreen.

2

package.json
{
"name": "react-unity-webgl",
"version": "9.1.0",
"version": "9.2.0",
"description": "React Unity WebGL provides a modern solution for embedding Unity WebGL builds in your React Application while providing advanced APIs for two way communication and interaction between Unity and React.",

@@ -5,0 +5,0 @@ "keywords": [

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