@aibee/crc-bmap 0.13.8 → 0.13.9

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/lib/meta.json CHANGED
@@ -4495,7 +4495,7 @@
4495
4495
  "format": "esm"
4496
4496
  },
4497
4497
  "../lib/src/context/renderer.js": {
4498
- "bytes": 1946,
4498
+ "bytes": 2027,
4499
4499
  "imports": [
4500
4500
  {
4501
4501
  "path": "../../../node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers/esm/_extends.js",
@@ -4585,7 +4585,7 @@
4585
4585
  "format": "esm"
4586
4586
  },
4587
4587
  "../lib/src/context/context.js": {
4588
- "bytes": 17321,
4588
+ "bytes": 17333,
4589
4589
  "imports": [
4590
4590
  {
4591
4591
  "path": "core-js/modules/web.dom-collections.iterator.js",
@@ -4656,7 +4656,7 @@
4656
4656
  "format": "esm"
4657
4657
  },
4658
4658
  "../lib/src/config.js": {
4659
- "bytes": 1897,
4659
+ "bytes": 1910,
4660
4660
  "imports": [
4661
4661
  {
4662
4662
  "path": "lodash",
@@ -9241,7 +9241,7 @@
9241
9241
  "bytesInOutput": 10933
9242
9242
  },
9243
9243
  "../lib/src/context/context.js": {
9244
- "bytesInOutput": 8691
9244
+ "bytesInOutput": 8697
9245
9245
  },
9246
9246
  "../lib/src/utils/timer.js": {
9247
9247
  "bytesInOutput": 1783
@@ -9544,7 +9544,7 @@
9544
9544
  "bytesInOutput": 13546
9545
9545
  },
9546
9546
  "../lib/src/context/renderer.js": {
9547
- "bytesInOutput": 955
9547
+ "bytesInOutput": 997
9548
9548
  },
9549
9549
  "../lib/src/context/scene.js": {
9550
9550
  "bytesInOutput": 202
@@ -9559,7 +9559,7 @@
9559
9559
  "bytesInOutput": 2618
9560
9560
  },
9561
9561
  "../lib/src/config.js": {
9562
- "bytesInOutput": 1079
9562
+ "bytesInOutput": 1086
9563
9563
  },
9564
9564
  "../lib/src/loader/AibeeLoader/index.js": {
9565
9565
  "bytesInOutput": 8825
@@ -9697,7 +9697,7 @@
9697
9697
  "bytesInOutput": 433
9698
9698
  }
9699
9699
  },
9700
- "bytes": 401071
9700
+ "bytes": 401126
9701
9701
  }
9702
9702
  }
9703
9703
  }
@@ -1,6 +1,7 @@
1
1
  import { HeatmapConfiguration } from '@mars3d/heatmap.js';
2
2
  export interface Config {
3
3
  placeId: string | number;
4
+ fps: number;
4
5
  apiDomain: string;
5
6
  apiInfo: RequestInit;
6
7
  apiPath: {
@@ -2,16 +2,18 @@ import { EventDispatcher, WebGLRenderer, WebGLRendererParameters, EventListener
2
2
  import { ContextScene } from "./scene";
3
3
  import { ContextCamera } from "./camera";
4
4
  import { Timer } from "../utils";
5
+ import { Context } from "./context";
5
6
  interface RendererEventMap {
6
7
  update: {};
7
8
  }
8
9
  export declare class Renderer extends WebGLRenderer {
10
+ context: Context;
9
11
  event: EventDispatcher<RendererEventMap>;
10
12
  scene?: ContextScene;
11
13
  camera?: ContextCamera;
12
14
  enable: boolean;
13
15
  timer: Timer;
14
- constructor(options?: WebGLRendererParameters & {
16
+ constructor(context: Context, options?: WebGLRendererParameters & {
15
17
  backgroundColor: string | number;
16
18
  });
17
19
  setCameraAndScene(scene: ContextScene, camera: ContextCamera): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aibee/crc-bmap",
3
- "version": "0.13.8",
3
+ "version": "0.13.9",
4
4
  "description": "",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.esm.min.js",