@ringozz/godot 4.7.2-592 → 4.7.2-597
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/package.json +4 -4
- package/src/assets.d.ts +2 -2
- package/src/web-image.ts +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ringozz/godot",
|
|
3
3
|
"author": "Vladimir Davidovich",
|
|
4
|
-
"version": "4.7.2-
|
|
4
|
+
"version": "4.7.2-597",
|
|
5
5
|
"description": "Node-API bindings for Godot Engine — call Godot classes from JavaScript",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"precision": "single"
|
|
59
59
|
},
|
|
60
60
|
"optionalDependencies": {
|
|
61
|
-
"@ringozz/godot-macos-arm64": "^4.7.2-
|
|
62
|
-
"@ringozz/godot-windows-x86_64": "^4.7.2-
|
|
63
|
-
"@ringozz/godot-web-wasm32": "^4.7.2-
|
|
61
|
+
"@ringozz/godot-macos-arm64": "^4.7.2-597",
|
|
62
|
+
"@ringozz/godot-windows-x86_64": "^4.7.2-597",
|
|
63
|
+
"@ringozz/godot-web-wasm32": "^4.7.2-597"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@types/bun": "*"
|
package/src/assets.d.ts
CHANGED
|
@@ -74,8 +74,8 @@ declare module '*.webp' {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
declare module '*.svg' {
|
|
77
|
-
import type {
|
|
78
|
-
const asset: Promise<
|
|
77
|
+
import type { CompressedTexture2D } from '@ringozz/godot/CompressedTexture2D';
|
|
78
|
+
const asset: Promise<CompressedTexture2D>;
|
|
79
79
|
export default asset;
|
|
80
80
|
export const materialize: Promise<unknown>;
|
|
81
81
|
}
|
package/src/web-image.ts
CHANGED
|
@@ -29,7 +29,6 @@ interface DecodedBitmap {
|
|
|
29
29
|
|
|
30
30
|
async function decodeWebBitmap(blob: Uint8Array<ArrayBuffer>, type: string): Promise<DecodedBitmap> {
|
|
31
31
|
const bmp = await createImageBitmap(new Blob([blob], { type }), {
|
|
32
|
-
imageOrientation: 'none',
|
|
33
32
|
colorSpaceConversion: 'none',
|
|
34
33
|
premultiplyAlpha: 'none',
|
|
35
34
|
});
|