New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@hyperplay/browser-sdk

Package Overview
Dependencies
Maintainers
9
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperplay/browser-sdk

SDK for browser projects integrating with HyperPlay's Browser Platform.

latest
npmnpm
Version
0.0.5
Version published
Weekly downloads
4
100%
Maintainers
9
Weekly downloads
 
Created
Source

HyperPlay Browser SDK

SDK for browser projects integrating with HyperPlay's Browser Platform.

Installation

npm install @hyperplay/browser-sdk

Integration

The following code snippet can be tested with the browser-sdk-demo project.

import { requestFullscreen } from '@hyperplay/browser-sdk'

...

  <button onClick={() => {requestFullscreen({ elementId: 'gameCanvas', setStyle: true })}}>Request Fullscreen</button>
  ...
  <div id="gameCanvas">Some Content</div>

Note that requestFullscreen will call Element.requestFullscreen by default if your project is not being rendered in the HyperPlay Store.

FAQs

Package last updated on 17 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts