@lottiefiles/dotlottie-web
Advanced tools
Comparing version 0.12.3 to 0.12.4
@@ -24,3 +24,3 @@ import { loadFromArrayBuffer, getManifest, getAnimation } from '@dotlottie/dotlottie-js'; | ||
let animationJSON; | ||
if (contentType?.includes("application/json")) { | ||
if (contentType?.includes("application/json") || contentType?.includes("text/plain")) { | ||
animationJSON = await response.text(); | ||
@@ -27,0 +27,0 @@ } else { |
{ | ||
"name": "@lottiefiles/dotlottie-web", | ||
"version": "0.12.3", | ||
"version": "0.12.4", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Lottie and DotLottie player for the web", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
723202