@xviewer.js/core 1.0.2 → 1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xviewer.js/core",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -2,7 +2,6 @@ import { Object3D } from "three";
2
2
  import { Viewer } from "./Viewer";
3
3
  import { ComponentManager } from "./ComponentManager";
4
4
  import { ObjectInstance } from "./ObjectInstance";
5
- import { __C, __P } from "./types";
6
5
  export declare class Component<T extends Object3D = Object3D> extends ObjectInstance {
7
6
  private _enabled;
8
7
  node: T;
@@ -35,7 +34,4 @@ export declare class Component<T extends Object3D = Object3D> extends ObjectInst
35
34
  unscheduleAll(): void;
36
35
  destroy(): boolean;
37
36
  destroyImmediate(): void;
38
- apply<K extends __C<this>>(props: __P<this, K>): this & {
39
- copy?: Function;
40
- };
41
37
  }
package/types/Viewer.d.ts CHANGED
@@ -8,11 +8,6 @@ import { __C, __P } from "./types";
8
8
  import { Component } from "./Component";
9
9
  import { Task } from "./Task";
10
10
  import { Mount } from "./Mount";
11
- declare module 'three' {
12
- interface Object3D {
13
- apply<K extends __C<this>>(props: __P<this, K>): this;
14
- }
15
- }
16
11
  export declare class Viewer extends EventEmitter {
17
12
  static __target: Vector3;
18
13
  static __worldPos: Vector3;