Skip to content

Commit

Permalink
fix: Fix bugs with TokenCredential refresh in RestApiClient and servi…
Browse files Browse the repository at this point in the history
…ce Amqp transport (#1009)

* chore: update sinon depedency and refresh package-locks

* fix(azure-iot-hub): fix issue where TokenCredentials weren't being renewed in AMQP transport

* test(azure-iothub): test checking the behvior if getToken fails

* fix(azure-iot-http-base): fix bug in TokenCredential expiry check

* test(azure-iothub): disconnect amqp client to avoid hanging tests

* fix(azure-iothub): ensure minimum renewal time
  • Loading branch information
vishnureddy17 authored Aug 10, 2021
1 parent 86bb2a4 commit 07ee31d
Show file tree
Hide file tree
Showing 62 changed files with 13,478 additions and 97,817 deletions.
1,831 changes: 982 additions & 849 deletions build/tools/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
"pem": "^1.14.2",
"yargs": "^15.3.1"
}
}
}
2,985 changes: 55 additions & 2,930 deletions common/core/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions common/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"chai": "^4.3.3",
"mocha": "^7.1.1",
"nyc": "^15.0.0",
"sinon": "^7.4.1",
"sinon": "^11.1.2",
"source-map-support": "^0.5.16",
"ts-node": "^8.6.2",
"tslint": "^6.1.3",
Expand Down Expand Up @@ -78,4 +78,4 @@
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
},
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
}
}
Loading

0 comments on commit 07ee31d

Please sign in to comment.