promogame-player 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@ import { jsx as es, Fragment as ed } from "react/jsx-runtime";
|
|
|
2
2
|
import * as ts from "react";
|
|
3
3
|
import td, { useMemo as ns, useEffect as rs } from "react";
|
|
4
4
|
import { graphql as Eo } from "../../gql/gql.js";
|
|
5
|
-
import {
|
|
5
|
+
import { PromogamePlayer as nd } from "./promogame-player.js";
|
|
6
6
|
function rd(t, e) {
|
|
7
7
|
for (var n = 0; n < e.length; n++) {
|
|
8
8
|
const r = e[n];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface PromogamePlayerProps extends React.RefAttributes<HTMLCanvasElement> {
|
|
3
|
+
gameLink?: string;
|
|
4
|
+
loadingComponent?: React.ComponentType<{
|
|
5
|
+
progress: number;
|
|
6
|
+
}>;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const PromogamePlayer: React.ForwardRefExoticComponent<Omit<PromogamePlayerProps, "ref"> & React.RefAttributes<HTMLCanvasElement>>;
|
|
@@ -25,14 +25,14 @@ function Y() {
|
|
|
25
25
|
c.Idle = "Idle", c.Loading = "Loading", c.Loaded = "Loaded", c.Error = "Error";
|
|
26
26
|
}(l || (p.UnityLoaderStatus = l = {})), p;
|
|
27
27
|
}
|
|
28
|
-
var q = {},
|
|
28
|
+
var q = {}, T;
|
|
29
29
|
function R() {
|
|
30
|
-
return
|
|
30
|
+
return T || (T = 1, Object.defineProperty(q, "__esModule", { value: !0 }), q.isBrowserEnvironment = void 0, q.isBrowserEnvironment = typeof window < "u" && typeof document < "u"), q;
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var G;
|
|
33
33
|
function fe() {
|
|
34
|
-
if (
|
|
35
|
-
|
|
34
|
+
if (G) return w;
|
|
35
|
+
G = 1;
|
|
36
36
|
var l = w && w.__awaiter || function(U, u, n, e) {
|
|
37
37
|
function s(r) {
|
|
38
38
|
return r instanceof n ? r : new n(function(t) {
|
|
@@ -653,5 +653,5 @@ const Ce = le.forwardRef(
|
|
|
653
653
|
}
|
|
654
654
|
);
|
|
655
655
|
export {
|
|
656
|
-
Ce as
|
|
656
|
+
Ce as PromogamePlayer
|
|
657
657
|
};
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface UnityGameProps extends React.RefAttributes<HTMLCanvasElement> {
|
|
3
|
-
gameLink?: string;
|
|
4
|
-
loadingComponent?: React.ComponentType<{
|
|
5
|
-
progress: number;
|
|
6
|
-
}>;
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const UnityGame: React.ForwardRefExoticComponent<Omit<UnityGameProps, "ref"> & React.RefAttributes<HTMLCanvasElement>>;
|