Closed MikeZeDev closed 3 days ago
npm run checks now gives errors because Common.GetTypedData wants STRICT ArrayBuffer as parameter.
Common.GetTypedData
ArrayBuffer
This appends when
Uint8Array
return Common.GetTypedData(decrypted_Uint8Array)
I.e : NicoNicoSeiga.
Its stupid to convert decrypted_Uint8Array to an ArrayBuffer AGAIN because GetTypedData will convert it to Uint8Array anyway.
decrypted_Uint8Array
GetTypedData
Superseded by https://github.com/manga-download/haruneko/commit/07be4b49b50d7fb338150695f9676ac04a3d8eac
npm run checks now gives errors because
Common.GetTypedData
wants STRICTArrayBuffer
as parameter.This appends when
ArrayBuffer
, create anUint8Array
from it, decrypt the picture using thatUint8Array
.return Common.GetTypedData(decrypted_Uint8Array)
I.e : NicoNicoSeiga.
Its stupid to convert
decrypted_Uint8Array
to an ArrayBuffer AGAIN becauseGetTypedData
will convert it toUint8Array
anyway.