*Wrap arrayBuffer in Uint8Array to standardize receiveUpdate input
This commit is contained in:
parent
bb8a5e5ac6
commit
abc7a31e80
|
@ -319,7 +319,7 @@ export default class IpfsProvider extends BaseProvider {
|
|||
// @ts-ignore
|
||||
cachedPage.data.arrayBuffer().then((data: ArrayBuffer) => {
|
||||
// @ts-ignore
|
||||
receiveUpdate(data)?.then(() => {
|
||||
receiveUpdate(new Uint8Array(data))?.then(() => {
|
||||
handleBuffer();
|
||||
filterPromise.then(() => filter.close());
|
||||
});
|
||||
|
|
Reference in New Issue