connect-kit
connect-kit copied to clipboard
Why don't use integrity attribute of script element?
Why don't use integrity attribute of script element https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity ?
like script.integrity = <original script sha> and place it after this line
https://github.com/LedgerHQ/connect-kit/blob/c58c838b0db16fada4daa68e091a13b47b79fbb5/packages/connect-kit-loader/src/index.ts#L99
Originally posted by @NikolayKash in https://github.com/LedgerHQ/connect-kit/issues/29#issuecomment-1860357856