Properly prepare, await and hand response for sync message send

This commit is contained in:
Scott Nonnenberg 2020-10-24 08:11:18 -07:00
parent 89d29b49a3
commit 5c0fcad6b1
3 changed files with 44 additions and 19 deletions

View file

@ -14,6 +14,7 @@ import {
CallbackResultType,
SendMetadataType,
SendOptionsType,
CustomError,
} from './SendMessage';
import {
OutgoingIdentityKeyError,
@ -44,7 +45,7 @@ export default class OutgoingMessage {
identifiersCompleted: number;
errors: Array<unknown>;
errors: Array<CustomError>;
successfulIdentifiers: Array<unknown>;