@soonspacejs/plugin-cps-soonmanager 2.11.14 → 2.11.16

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/types.d.ts CHANGED
@@ -37,6 +37,7 @@ export interface ITreeData {
37
37
  radius: number;
38
38
  points?: PlaneIVector2[];
39
39
  };
40
+ boundingBox?: number[];
40
41
  }
41
42
  export declare enum PoiContentTypeEnum {
42
43
  PANEL = "PANEL",
package/dist/utils.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import SoonSpace from 'soonspacejs';
2
+ import { ITreeData } from './types';
1
3
  /**
2
4
  * 解码
3
5
  * @param encodedStr
@@ -11,3 +13,4 @@ export declare function decodeString(encodedStr: string): string;
11
13
  * @returns Map
12
14
  */
13
15
  export declare function groupBy<T extends Record<string, any>, V>(list: T[], key: keyof T): Map<V, T[]>;
16
+ export declare function createRoom(ssp: SoonSpace, node: ITreeData): import("../../../soonspacejs/src/Library/Group").Group | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soonspacejs/plugin-cps-soonmanager",
3
3
  "pluginName": "CpsSoonmanagerPlugin",
4
- "version": "2.11.14",
4
+ "version": "2.11.16",
5
5
  "description": "Sync cps soonmanager data plugin for SoonSpace.js",
6
6
  "main": "dist/index.esm.js",
7
7
  "module": "dist/index.esm.js",
@@ -13,7 +13,7 @@
13
13
  ],
14
14
  "author": "xunwei",
15
15
  "license": "UNLICENSED",
16
- "gitHead": "963b094e48abbe2a9e02a0906625aec3b43db8a6",
16
+ "gitHead": "45cee79841d791d07ec64f1e9086fda5ca5dfa1d",
17
17
  "dependentPlugins": [
18
18
  "plugin-poi-renderer"
19
19
  ],
@@ -27,7 +27,7 @@
27
27
  "socket.io-client": "^4.7.2"
28
28
  },
29
29
  "peerDependencies": {
30
- "@soonspacejs/plugin-poi-renderer": "2.11.14",
31
- "soonspacejs": "2.11.14"
30
+ "@soonspacejs/plugin-poi-renderer": "2.11.16",
31
+ "soonspacejs": "2.11.16"
32
32
  }
33
33
  }