You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It specifies that the return type is an ArrayBuffer but it is actually a Uint8Array. Until such a time as @dfinity/candid is updated to reflect the correct types any time that we want to get an ArrayBuffer from IDL.encode we have to get the buffer property from the result. This causes out typechecking to break since ArrayBuffer doesn't have a buffer property. As a result in all the places where this happens (Though I can only think of one in the reply API) we need to ignore the error
It specifies that the return type is an ArrayBuffer but it is actually a Uint8Array. Until such a time as @dfinity/candid is updated to reflect the correct types any time that we want to get an ArrayBuffer from IDL.encode we have to get the
buffer
property from the result. This causes out typechecking to break since ArrayBuffer doesn't have abuffer
property. As a result in all the places where this happens (Though I can only think of one in the reply API) we need to ignore the errordfinity/agent-js#950
The text was updated successfully, but these errors were encountered: