Open yoni12ab opened 1 year ago
when using in CSP header the unsafe-eval property Lottie fail to load see: https://github.com/airbnb/lottie-web/issues/2927 so this pr lets you send in 'animationData' x property function not only a string function as today
example for using the function: https://stackblitz.com/edit/typescript-xm1gpw?file=lottie.ts added an npm library with the change @sentinel-one/lottie-web-no-eval
when using in CSP header the unsafe-eval property Lottie fail to load see: https://github.com/airbnb/lottie-web/issues/2927 so this pr lets you send in 'animationData' x property function not only a string function as today
example for using the function: https://stackblitz.com/edit/typescript-xm1gpw?file=lottie.ts added an npm library with the change @sentinel-one/lottie-web-no-eval