Skip to content

Commit 14fe6aa

Browse files
authored
[event-hubs] prepare 5.3.1 release (Azure#12336)
* [event-hubs] fix samples compilation * [event-hubs] update changelog release date for 5.3.1
1 parent e3356a6 commit 14fe6aa

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

sdk/eventhub/event-hubs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 5.3.1 (Unreleased)
3+
## 5.3.1 (2020-11-09)
44

55
- Fixes issue [#12278](https://github.com/Azure/azure-sdk-for-js/issues/12278)
66
where the `processEvents` handler could ignore the `maxWaitTimeInSeconds`

sdk/eventhub/event-hubs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
"downlevel-dts": "~0.4.0",
135135
"eslint": "^6.1.0",
136136
"esm": "^3.2.18",
137+
"https-proxy-agent": "^5.0.0",
137138
"karma": "^5.1.0",
138139
"karma-chrome-launcher": "^3.0.0",
139140
"karma-coverage": "^2.0.0",

sdk/eventhub/event-hubs/samples/javascript/iothubConnectionString.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async function main() {
131131
}
132132
},
133133
processError: async (err, context) => {
134-
console.log(`Error : ${err}`);
134+
console.log(`Error on partition "${context.partitionId}" : ${err}`);
135135
}
136136
},
137137
{ startPosition: earliestEventPosition }

sdk/eventhub/event-hubs/samples/javascript/receiveEvents.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async function main() {
4848
}
4949
},
5050
processError: async (err, context) => {
51-
console.log(`Error : ${err}`);
51+
console.log(`Error on partition "${context.partitionId}": ${err}`);
5252
}
5353
},
5454
{ startPosition: earliestEventPosition }

sdk/eventhub/event-hubs/samples/typescript/src/iothubConnectionString.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async function convertIotHubToEventHubsConnectionString(connectionString: string
131131
});
132132
}
133133

134-
async function main() {
134+
export async function main() {
135135
console.log(`Running iothubConnectionString sample`);
136136

137137
const eventHubsConnectionString = await convertIotHubToEventHubsConnectionString(
@@ -151,7 +151,7 @@ async function main() {
151151
}
152152
},
153153
processError: async (err, context) => {
154-
console.log(`Error : ${err}`);
154+
console.log(`Error on partition "${context.partitionId}" : ${err}`);
155155
}
156156
},
157157
{ startPosition: earliestEventPosition }

sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export async function main() {
4949
}
5050
},
5151
processError: async (err, context) => {
52-
console.log(`Error : ${err}`);
52+
console.log(`Error on partition "${context.partitionId}": ${err}`);
5353
}
5454
},
5555
{ startPosition: earliestEventPosition }

0 commit comments

Comments
 (0)