opened
vorticalbox
username_0
**Question**
version 1.6.1 types for .send were

```
send(messages: string | string[] | ProducerMessage | ProducerMessage[], cb: ProducerCallback<void>): void;
```

this has been changed to 

```
send(messages: string | string[]): Promise<SendMessageBatchResultEntryList>;
```
does this mean to old format of

```
{
  id: string;
  body: string;
  messageAttributes?: { [key: string]: ProducerMessageAttribute };
  delaySeconds?: number;
  groupId?: string;
  deduplicationId?: string;
}
```

is no longer supported or is it just missing types?
chnages to send types
issue
created
jeanrauwers
username_1
You are welcome to send a PR with the fix!
comment
closed
jeanrauwers
username_1
issue