You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-unity-webgl

Package Overview
Dependencies
Maintainers
1
Versions
127
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

to
9.9.0

6

distribution/hooks/use-unity-loader.js

@@ -20,3 +20,3 @@ "use strict";

if (is_browser_environment_1.isBrowserEnvironment === false) {
return;
return undefined;
}

@@ -26,3 +26,3 @@ // If the script's source is null, we'll reset the status to idle.

setStatus(unity_loader_status_1.UnityLoaderStatus.Idle);
return;
return undefined;
}

@@ -78,3 +78,3 @@ /**

script.removeEventListener("error", setStateFromEvent);
window.document.body.removeChild(script);
script.remove();
}

@@ -81,0 +81,0 @@ };

@@ -7,3 +7,3 @@ import { UnityArguments } from "./unity-arguments";

*/
type ConfigurableUnityArguments = Pick<UnityArguments, "dataUrl" | "frameworkUrl" | "codeUrl" | "workerUrl" | "streamingAssetsUrl" | "memoryUrl" | "symbolsUrl" | "companyName" | "productName" | "productVersion" | "webglContextAttributes" | "cacheControl">;
type ConfigurableUnityArguments = Pick<UnityArguments, "dataUrl" | "frameworkUrl" | "codeUrl" | "workerUrl" | "streamingAssetsUrl" | "memoryUrl" | "symbolsUrl" | "companyName" | "productName" | "productVersion" | "webglContextAttributes" | "cacheControl" | "autoSyncPersistentDataPath">;
/**

@@ -10,0 +10,0 @@ * The Unity config is provided when instantiating a Unity context. This config

{
"name": "react-unity-webgl",
"version": "9.8.0",
"version": "9.9.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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.