skinview3d
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -22,2 +22,3 @@ import { ModelType, RemoteImage, TextureSource } from "skinview-utils"; | ||
skin?: RemoteImage | TextureSource; | ||
model?: ModelType | "auto-detect"; | ||
cape?: RemoteImage | TextureSource; | ||
@@ -24,0 +25,0 @@ /** |
@@ -37,3 +37,3 @@ import { inferModelType, isTextureSource, loadCapeToCanvas, loadImage, loadSkinToCanvas } from "skinview-utils"; | ||
if (options.skin !== undefined) { | ||
this.loadSkin(options.skin); | ||
this.loadSkin(options.skin, options.model); | ||
} | ||
@@ -40,0 +40,0 @@ if (options.cape !== undefined) { |
{ | ||
"name": "skinview3d", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Three.js powered Minecraft skin viewer", | ||
@@ -41,19 +41,20 @@ "main": "libs/skinview3d.js", | ||
"dependencies": { | ||
"@types/three": "^0.128.0", | ||
"skinview-utils": "^0.6.0", | ||
"three": "^0.125.2" | ||
"three": "^0.128.0" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-node-resolve": "^11.2.0", | ||
"@rollup/plugin-typescript": "^8.2.0", | ||
"@typescript-eslint/eslint-plugin": "^4.15.1", | ||
"@typescript-eslint/parser": "^4.15.1", | ||
"@rollup/plugin-node-resolve": "^13.0.0", | ||
"@rollup/plugin-typescript": "^8.2.1", | ||
"@typescript-eslint/eslint-plugin": "^4.24.0", | ||
"@typescript-eslint/parser": "^4.24.0", | ||
"@yushijinhun/three-minifier-rollup": "^0.2.0", | ||
"eslint": "^7.20.0", | ||
"eslint": "^7.26.0", | ||
"local-web-server": "^4.2.1", | ||
"npm-run-all": "^4.1.5", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.39.0", | ||
"rollup": "^2.48.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"typescript": "^4.1.5" | ||
"typescript": "^4.2.4" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1231582
3
2385
+ Added@types/three@^0.128.0
+ Added@types/three@0.128.0(transitive)
+ Addedthree@0.128.0(transitive)
- Removedthree@0.125.2(transitive)
Updatedthree@^0.128.0