@galacean/engine-spine 1.0.0-test.4 → 1.1.0-beta.0
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/browser.js +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +1 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/package.json +14 -13
- package/types/spine-core/AssetManager.d.ts +5 -5
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.1.0-beta.0",
|
|
3
3
|
"description": "galacean spine runtime",
|
|
4
4
|
"name": "@galacean/engine-spine",
|
|
5
5
|
"main": "dist/main.js",
|
|
@@ -7,38 +7,39 @@
|
|
|
7
7
|
"module": "dist/module.js",
|
|
8
8
|
"dependencies": {},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@galacean/engine": ">=1.0.0"
|
|
10
|
+
"@galacean/engine": ">=1.1.0-beta.0"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
+
"@babel/core": "^7.22.5",
|
|
13
14
|
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
14
15
|
"@babel/plugin-proposal-decorators": "^7.12.1",
|
|
15
16
|
"@babel/plugin-proposal-optional-chaining": "^7.12.1",
|
|
16
17
|
"@babel/plugin-transform-object-assign": "^7.12.1",
|
|
17
18
|
"@babel/preset-env": "^7.12.1",
|
|
18
19
|
"@babel/preset-typescript": "^7.12.1",
|
|
19
|
-
"@
|
|
20
|
-
"@
|
|
21
|
-
"@swc/helpers": "^0.5",
|
|
22
|
-
"@galacean/engine": "1.0.0-beta.15",
|
|
23
|
-
"@galacean/engine-toolkit": "^1.0.0-alpha.18",
|
|
24
|
-
"@rollup/plugin-terser": "^0.4.3",
|
|
25
|
-
"@rollup/plugin-inject": "^4.0.2",
|
|
20
|
+
"@galacean/engine": "^1.1.0-beta.11",
|
|
21
|
+
"@galacean/engine-toolkit": "^1.1.0-beta.0",
|
|
26
22
|
"@rollup/plugin-babel": "^5.2.1",
|
|
27
23
|
"@rollup/plugin-commonjs": "^16.0.0",
|
|
24
|
+
"@rollup/plugin-inject": "^4.0.2",
|
|
28
25
|
"@rollup/plugin-node-resolve": "^10.0.0",
|
|
29
26
|
"@rollup/plugin-replace": "^2.3.4",
|
|
27
|
+
"@rollup/plugin-terser": "^0.4.3",
|
|
28
|
+
"@swc/core": "^1.3.32",
|
|
29
|
+
"@swc/helpers": "^0.5",
|
|
30
|
+
"cross-env": "^5.2.0",
|
|
31
|
+
"dat.gui": "^0.7.9",
|
|
30
32
|
"react": "^16.14.0",
|
|
31
33
|
"react-dom": "^16.14.0",
|
|
32
34
|
"rollup": "^2.32.0",
|
|
33
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
34
|
-
"rollup-plugin-version-injector": "^1.3.3",
|
|
35
35
|
"rollup-plugin-glslify": "^1.2.0",
|
|
36
36
|
"rollup-plugin-modify": "^3.0.0",
|
|
37
37
|
"rollup-plugin-serve": "^1.1.0",
|
|
38
38
|
"rollup-plugin-swc3": "^0.8.0",
|
|
39
|
-
"
|
|
39
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
40
|
+
"rollup-plugin-version-injector": "^1.3.3",
|
|
40
41
|
"typescript": "^4.8.4",
|
|
41
|
-
"
|
|
42
|
+
"vite": "^4.3.9"
|
|
42
43
|
},
|
|
43
44
|
"ci": {
|
|
44
45
|
"type": "aci",
|
|
@@ -14,11 +14,11 @@ export declare class AssetManager implements Disposable {
|
|
|
14
14
|
private downloadText;
|
|
15
15
|
protected downloadBinary(url: string, success: (data: Uint8Array) => void, error: (status: number, responseText: string) => void): void;
|
|
16
16
|
setRawDataURI(path: string, data: string): void;
|
|
17
|
-
loadBinary(path: string, success?: (path: string, binary: Uint8Array) => void, error?: (
|
|
18
|
-
loadText(path: string, success?: (path: string, text: string) => void, error?: (
|
|
19
|
-
loadImage(path: string, success?: (path: string, image: HTMLImageElement) => void, error?: (
|
|
20
|
-
loadTexture(path: string, success?: (path: string, texture: AdaptiveTexture) => void, error?: (
|
|
21
|
-
loadTextureAtlas(path: string, success?: (path: string, atlas: TextureAtlas) => void, error?: (
|
|
17
|
+
loadBinary(path: string, success?: (path: string, binary: Uint8Array) => void, error?: (error: string) => void): void;
|
|
18
|
+
loadText(path: string, success?: (path: string, text: string) => void, error?: (error: string) => void): void;
|
|
19
|
+
loadImage(path: string, success?: (path: string, image: HTMLImageElement) => void, error?: (error: string) => void): void;
|
|
20
|
+
loadTexture(path: string, success?: (path: string, texture: AdaptiveTexture) => void, error?: (error: string) => void): void;
|
|
21
|
+
loadTextureAtlas(path: string, success?: (path: string, atlas: TextureAtlas) => void, error?: (error: string) => void): void;
|
|
22
22
|
get(path: string): any;
|
|
23
23
|
remove(path: string): void;
|
|
24
24
|
removeAll(): void;
|