Skip to content

Commit

Permalink
Merge pull request Azure#165 from amarzavery/component
Browse files Browse the repository at this point in the history
export `EventHubConnectionConfig` from the library.
  • Loading branch information
amarzavery authored Oct 5, 2018
2 parents 448a0ea + b153ade commit edfdffb
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
3 changes: 3 additions & 0 deletions client/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 2018-10-01 1.0.6
- export `EventHubConnectionConfig` from the library.

### 2018-10-01 1.0.5
- Moved `lib/amqp-common` to `"@azure/amqp-common"` package and took a dependency on it.
- Moved `lib/rhea-promise` to `"rhea-promise"` package and took a dependency on it.
Expand Down
2 changes: 1 addition & 1 deletion client/lib/eventHubClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class EventHubClient {
* Instantiates a client pointing to the Event Hub given by this configuration.
*
* @constructor
* @param {ConnectionConfig} config - The connection configuration to create the EventHub Client.
* @param {EventHubConnectionConfig} config - The connection configuration to create the EventHub Client.
* @param {ClientOptions} options - The optional parameters that can be provided to the EventHub
* Client constructor.
*/
Expand Down
4 changes: 2 additions & 2 deletions client/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ export {
delay, Timeout, EventHubConnectionStringModel, parseConnectionString,
IotHubConnectionStringModel, StorageConnectionStringModel, isIotHubConnectionString,
ErrorNameConditionMapper, ConditionStatusMapper, ConditionErrorNameMapper, MessagingError,
DataTransformer, DefaultDataTransformer, ConnectionConfig, TokenType, TokenProvider, TokenInfo,
AadTokenProvider, SasTokenProvider
DataTransformer, DefaultDataTransformer, TokenType, TokenProvider, TokenInfo, AadTokenProvider,
SasTokenProvider, ConnectionConfig, EventHubConnectionConfig
} from "@azure/amqp-common";
11 changes: 10 additions & 1 deletion client/package-lock.json

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

4 changes: 3 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/event-hubs",
"version": "1.0.5",
"version": "1.0.6",
"description": "Azure Event Hubs SDK for JS.",
"author": "Microsoft Corporation",
"license": "MIT",
Expand Down Expand Up @@ -31,13 +31,15 @@
"dotenv": "^6.0.0",
"mocha": "^5.2.0",
"nyc": "^12.0.2",
"rimraf": "^2.6.2",
"ts-node": "^5.0.1",
"tslint": "^5.11.0",
"typescript": "^3.0.1"
},
"scripts": {
"tslint": "tslint -p . -c tslint.json --exclude examples/**/*.ts --exclude tests/**/*.ts",
"tsc": "tsc",
"prebuild": "rimraf dist && rimraf typings",
"build": "npm run tslint && npm run tsc",
"test": "npm run build",
"unit": "nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 ./tests/**/*.spec.ts --exit",
Expand Down

0 comments on commit edfdffb

Please sign in to comment.