Skip to content

Commit

Permalink
Update communication-common dependency to 2.0.0
Browse files Browse the repository at this point in the history
Fix package-name property in autorest configuration
  • Loading branch information
danielortega-msft committed Mar 8, 2022
1 parent d41a4c3 commit b4fbfbd
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 6 deletions.
23 changes: 22 additions & 1 deletion common/config/rush/pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion sdk/communication/communication-short-codes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
"dependencies": {
"@azure/abort-controller": "^1.0.0",
"@azure/communication-common": "^1.1.0",
"@azure/communication-common": "^2.0.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-client": "^1.3.2",
"@azure/core-lro": "^2.2.0",
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Configuration

```yaml
package-name: azure-communication-short-codes
package-name: "@azure/communication-short-codes"
description: Short code acquiring and management client
package-version: 1.0.0-beta.2
generate-metadata: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe("ShortCodesClient - headers", function () {
const userAgentHeader = isNode ? "user-agent" : "x-ms-useragent";
assert.match(
request.headers.get(userAgentHeader) as string,
new RegExp(`azsdk-js-azure-communication-short-codes/${SDK_VERSION}`, "g")
new RegExp(`azsdk-js-communication-short-codes/${SDK_VERSION}`, "g")
);
});

Expand Down Expand Up @@ -117,7 +117,7 @@ describe("ShortCodesClient - headers", function () {
assert.match(
request.headers.get(userAgentHeader) as string,
new RegExp(
`shortcodesclient-headers-test azsdk-js-azure-communication-short-codes/${SDK_VERSION}`,
`shortcodesclient-headers-test azsdk-js-communication-short-codes/${SDK_VERSION}`,
"g"
)
);
Expand Down

0 comments on commit b4fbfbd

Please sign in to comment.