@soonspacejs/plugin-cps-soonmanager 2.13.1 → 2.13.2
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/License/types.d.ts +2 -2
- package/dist/constants.d.ts +0 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +4 -4
- package/dist/types.d.ts +4 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +9 -6
package/dist/License/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import NodeRSA from 'node-rsa';
|
|
2
|
-
import {
|
|
2
|
+
import { IInnerTreeData, TLicense } from '../types';
|
|
3
3
|
export interface EncryptInfo {
|
|
4
4
|
verifyKey: string;
|
|
5
5
|
debugKey: string;
|
|
6
6
|
key: string;
|
|
7
7
|
}
|
|
8
|
-
export type Decrypt = (license: TLicense, nodeRsa: NodeRSA) =>
|
|
8
|
+
export type Decrypt = (license: TLicense, nodeRsa: NodeRSA) => IInnerTreeData[];
|
package/dist/constants.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import AtmospherePlugin from '@soonspacejs/plugin-atmosphere';
|
|
|
6
6
|
import SoonFlow from '@soonflow/core';
|
|
7
7
|
import { AnimationPlayer } from 'umanager-animation-parser';
|
|
8
8
|
import { EventDispatcher } from 'three';
|
|
9
|
-
import { IMetadata, ITreeData, IPoiData, ITopologyPath, ILoadSceneOptions, TPropertiesMap, TAnimationsMap, IPlayAnimationByIdOptions, TModelVisionsMap, IPresetEffectsOptions, TSpacesMap, ConstructorOptions, ISpaces, IFlatData, IProgress, IProgressEventMap } from './types';
|
|
9
|
+
import { IMetadata, ITreeData, IInnerTreeData, IPoiData, ITopologyPath, ILoadSceneOptions, TPropertiesMap, TAnimationsMap, IPlayAnimationByIdOptions, TModelVisionsMap, IPresetEffectsOptions, TSpacesMap, ConstructorOptions, ISpaces, IFlatData, IProgress, IProgressEventMap } from './types';
|
|
10
10
|
declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
|
|
11
11
|
#private;
|
|
12
12
|
readonly ssp: SoonSpace;
|
|
@@ -89,7 +89,7 @@ declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
|
|
|
89
89
|
* 获取场景树(旧版资源包使用)
|
|
90
90
|
* @returns
|
|
91
91
|
*/
|
|
92
|
-
fetchTreeData(): Promise<
|
|
92
|
+
fetchTreeData(): Promise<IInnerTreeData[]>;
|
|
93
93
|
fetchFlatData(): Promise<IFlatData[]>;
|
|
94
94
|
/**
|
|
95
95
|
* 获取 Poi 数据
|