Skip to content

Commit

Permalink
chore(release): pull hotfix-release/v1.34.1 into main (#2347)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsSudip authored Jul 7, 2023
2 parents cb22676 + 4df00db commit 8066390
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.34.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.34.0...v1.34.1) (2023-07-07)


### Bug Fixes

* **iterable:** fix metadata format while batching ([#2345](https://github.com/rudderlabs/rudder-transformer/issues/2345)) ([256cb7e](https://github.com/rudderlabs/rudder-transformer/commit/256cb7ea042678443a6243d93d28c8bbaccacf32))

## [1.34.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.33.0...v1.34.0) (2023-06-30)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rudder-transformer",
"version": "1.34.0",
"version": "1.34.1",
"description": "",
"homepage": "https://github.com/rudderlabs/rudder-transformer#readme",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion src/v0/destinations/iterable/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ function getEventChunks(event, identifyEventChunks, trackEventChunks, eventRespo
const { message, metadata, destination } = event;
const endpoint = get(message, 'endpoint');
if (Array.isArray(message)) {
eventResponseList.push(getSuccessRespEvents(message, metadata, destination));
eventResponseList.push(getSuccessRespEvents(message, [metadata], destination));
} else {
const batchedResponse = defaultBatchRequestConfig();
batchedResponse.batchedRequest.headers = message.headers;
Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/data/iterable_router_output.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
"files": {}
}
],
"metadata": { "jobId": 5 },
"metadata": [{ "jobId": 5 }],
"batched": false,
"statusCode": 200,
"destination": {
Expand Down

0 comments on commit 8066390

Please sign in to comment.