@liveroom-tech/react-immersive 4.3.0 → 4.3.1
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.
- package/dist/hosted.d.mts +6 -6
- package/dist/hosted.d.ts +6 -6
- package/dist/hosted.js +2 -2
- package/dist/hosted.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-GYB4BOVW.mjs → chunk-IUALYWYG.mjs} +0 -0
package/dist/hosted.d.mts
CHANGED
|
@@ -12,7 +12,7 @@ import '@react-three/fiber';
|
|
|
12
12
|
* editor passes, through the "/hosted" entry. The published ModelViewer
|
|
13
13
|
* (PublicModelViewer.tsx) drops the rest; publicProps.ts lists them.
|
|
14
14
|
*/
|
|
15
|
-
type
|
|
15
|
+
type ProjectModelViewerProps = ModelViewerProps & {
|
|
16
16
|
/**
|
|
17
17
|
* Validates the licence against this deployment's own API rather than the
|
|
18
18
|
* licence service. The response must carry a grant signed by the licence
|
|
@@ -22,7 +22,7 @@ type HostedModelViewerProps = ModelViewerProps & {
|
|
|
22
22
|
/** Reports transform-gizmo edit leases for collaborative hosts. */
|
|
23
23
|
onObjectEditLeaseChange?: (binding: ObjectBinding, editing: boolean) => void;
|
|
24
24
|
};
|
|
25
|
-
declare function
|
|
25
|
+
declare function ProjectModelViewer(props: ProjectModelViewerProps): react_jsx_runtime.JSX.Element;
|
|
26
26
|
|
|
27
27
|
type BindingBuilderProjectModel = {
|
|
28
28
|
url: string;
|
|
@@ -55,9 +55,9 @@ type BindingBuilderProjectChangeOrigin = "local" | "remote";
|
|
|
55
55
|
/**
|
|
56
56
|
* The full editor's props: the public ones plus those only Liveroom's project
|
|
57
57
|
* editor passes, through the "/hosted" entry. The published BindingBuilder
|
|
58
|
-
* (
|
|
58
|
+
* (BindingBuilder.tsx) neither declares nor forwards the rest.
|
|
59
59
|
*/
|
|
60
|
-
type
|
|
60
|
+
type ProjectBindingBuilderProps = BindingBuilderProps & {
|
|
61
61
|
/**
|
|
62
62
|
* Validates the licence against this deployment's own API rather than the
|
|
63
63
|
* licence service, so the public demo licence works on local and preview
|
|
@@ -92,6 +92,6 @@ type HostedBindingBuilderProps = BindingBuilderProps & {
|
|
|
92
92
|
*/
|
|
93
93
|
allowModelChange?: boolean;
|
|
94
94
|
};
|
|
95
|
-
declare function
|
|
95
|
+
declare function ProjectBindingBuilder({ licenseKey, licenseValidationUrl, dracoDecoderPath, ktx2TranscoderPath, meshopt, project, onProjectChange, projectChangeDebounceMs, onModelUpload, onEditLeaseChange, allowModelChange, }: ProjectBindingBuilderProps): react_jsx_runtime.JSX.Element;
|
|
96
96
|
|
|
97
|
-
export { type BindingBuilderProject, type BindingBuilderProjectChangeOrigin, type BindingBuilderProjectModel, type BindingBuilderProjectSnapshot,
|
|
97
|
+
export { type BindingBuilderProject, type BindingBuilderProjectChangeOrigin, type BindingBuilderProjectModel, type BindingBuilderProjectSnapshot, ProjectBindingBuilder, type ProjectBindingBuilderProps, ProjectModelViewer, type ProjectModelViewerProps };
|
package/dist/hosted.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import '@react-three/fiber';
|
|
|
12
12
|
* editor passes, through the "/hosted" entry. The published ModelViewer
|
|
13
13
|
* (PublicModelViewer.tsx) drops the rest; publicProps.ts lists them.
|
|
14
14
|
*/
|
|
15
|
-
type
|
|
15
|
+
type ProjectModelViewerProps = ModelViewerProps & {
|
|
16
16
|
/**
|
|
17
17
|
* Validates the licence against this deployment's own API rather than the
|
|
18
18
|
* licence service. The response must carry a grant signed by the licence
|
|
@@ -22,7 +22,7 @@ type HostedModelViewerProps = ModelViewerProps & {
|
|
|
22
22
|
/** Reports transform-gizmo edit leases for collaborative hosts. */
|
|
23
23
|
onObjectEditLeaseChange?: (binding: ObjectBinding, editing: boolean) => void;
|
|
24
24
|
};
|
|
25
|
-
declare function
|
|
25
|
+
declare function ProjectModelViewer(props: ProjectModelViewerProps): react_jsx_runtime.JSX.Element;
|
|
26
26
|
|
|
27
27
|
type BindingBuilderProjectModel = {
|
|
28
28
|
url: string;
|
|
@@ -55,9 +55,9 @@ type BindingBuilderProjectChangeOrigin = "local" | "remote";
|
|
|
55
55
|
/**
|
|
56
56
|
* The full editor's props: the public ones plus those only Liveroom's project
|
|
57
57
|
* editor passes, through the "/hosted" entry. The published BindingBuilder
|
|
58
|
-
* (
|
|
58
|
+
* (BindingBuilder.tsx) neither declares nor forwards the rest.
|
|
59
59
|
*/
|
|
60
|
-
type
|
|
60
|
+
type ProjectBindingBuilderProps = BindingBuilderProps & {
|
|
61
61
|
/**
|
|
62
62
|
* Validates the licence against this deployment's own API rather than the
|
|
63
63
|
* licence service, so the public demo licence works on local and preview
|
|
@@ -92,6 +92,6 @@ type HostedBindingBuilderProps = BindingBuilderProps & {
|
|
|
92
92
|
*/
|
|
93
93
|
allowModelChange?: boolean;
|
|
94
94
|
};
|
|
95
|
-
declare function
|
|
95
|
+
declare function ProjectBindingBuilder({ licenseKey, licenseValidationUrl, dracoDecoderPath, ktx2TranscoderPath, meshopt, project, onProjectChange, projectChangeDebounceMs, onModelUpload, onEditLeaseChange, allowModelChange, }: ProjectBindingBuilderProps): react_jsx_runtime.JSX.Element;
|
|
96
96
|
|
|
97
|
-
export { type BindingBuilderProject, type BindingBuilderProjectChangeOrigin, type BindingBuilderProjectModel, type BindingBuilderProjectSnapshot,
|
|
97
|
+
export { type BindingBuilderProject, type BindingBuilderProjectChangeOrigin, type BindingBuilderProjectModel, type BindingBuilderProjectSnapshot, ProjectBindingBuilder, type ProjectBindingBuilderProps, ProjectModelViewer, type ProjectModelViewerProps };
|