vis-core 0.21.21 → 0.21.23

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/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "0.21.21";
1
+ declare const _default: "0.21.23";
2
2
  export default _default;
@@ -5,7 +5,6 @@ import type { PickFunctionsItem } from 'gl-draw/dist/plugins/Draw';
5
5
  import { Node } from 'gl-draw/dist/objects';
6
6
  import { RoomEnvironment } from 'three/examples/jsm/environments/RoomEnvironment';
7
7
  import * as THREE from 'three';
8
- import { Timer } from 'esus-lite';
9
8
  import Event from "./event";
10
9
  import Editor from "../../editor";
11
10
  export interface BaseOptions {
@@ -67,7 +66,6 @@ export default class Base extends Event {
67
66
  re: RoomEnvironment | null;
68
67
  roomEnvMap?: THREE.Texture;
69
68
  visName: string;
70
- checkDprTimer: Timer;
71
69
  editor?: Editor;
72
70
  constructor(options: BaseOptions);
73
71
  setOptions(options: Record<string, any>): void;
@@ -78,9 +76,6 @@ export default class Base extends Event {
78
76
  (uuid: string): BaseObject;
79
77
  };
80
78
  get getDataURL(): () => string;
81
- devicePixelRatio: number;
82
- getDevicePixelRatio(): number;
83
- setDevicePixelRatio(dpr: number): void;
84
79
  loaderAdd(...args: any): void;
85
80
  initMaterial(...args: any): Promise<void>;
86
81
  initVis(...args: any): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vis-core",
3
- "version": "0.21.21",
3
+ "version": "0.21.23",
4
4
  "scripts": {
5
5
  "start": "npm run version && PORT=5173 bundler-dev",
6
6
  "build:site": "npm run version &&PUBLIC_EXCLUDE=public/city bundler",
@@ -50,7 +50,7 @@
50
50
  "prettier-config-bundler": "^0.4.3",
51
51
  "stylelint-config-bundler": "^0.4.5",
52
52
  "tailwind-config-bundler": "^0.4.6",
53
- "three": "^0.169.0",
53
+ "three": "^0.170.0",
54
54
  "vite-plugin-javascript-obfuscator": "^3.1.0",
55
55
  "vite-plugin-markdown": "^2.2.0",
56
56
  "vue": "^3.5.11",
@@ -66,7 +66,7 @@
66
66
  "esus-lite": "^0.2.2",
67
67
  "events": "^3.3.0",
68
68
  "geojson-cn": "^0.1.29",
69
- "gl-draw": "0.11.14",
69
+ "gl-draw": "0.11.18",
70
70
  "jsrsasign": "^11.1.0",
71
71
  "lodash-es": "^4.17.21"
72
72
  },