Added
nativeToScVal
now supports encoding Keypair
s as addresses (#794).
- Within
authorizeEntry
, the SigningCallback
callback function should now return an object containing both the signature and the identity of the signer. In multi-signature situations, it isn't necessarily the case that the address within the authorization entry is the one that actually signs that entry. Thus, the callback now takes the following form, where the original Promise<BufferLike>
option is preserved for backwards compatibility and should be considered deprecated (#783):
export type SigningCallback = (
preimage: xdr.HashIdPreimage
) => Promise<
BufferLike |
{ signature: BufferLike, publicKey: string }
>;
Fixed
scValToNative
will decode addresses more efficiently and reliably (#794).