Skip to content

Commit 805e0d5

Browse files
authored
[cosmos] use TokenCredential from core-auth instead of identity (Azure#14245)
* [cosmos] use TokenCredential from core-auth instead of identity * [cosmos] update cosmos.api.md file
1 parent 26a9dbe commit 805e0d5

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

sdk/cosmosdb/cosmos/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release History
22

3+
## 3.10.3 (Unreleased)
4+
5+
- BUGFIX: Removes direct dependency on @azure/identity while retaining compatibility.
6+
37
## 3.10.2 (2021-03-11)
48

59
- BUGFIX: Fixes @azure/identity dependency in dev deps.

sdk/cosmosdb/cosmos/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
},
8888
"dependencies": {
8989
"@azure/core-auth": "^1.2.0",
90-
"@azure/identity": "^1.1.0",
9190
"debug": "^4.1.1",
9291
"fast-json-stable-stringify": "^2.0.0",
9392
"jsbi": "^3.1.3",
@@ -102,6 +101,7 @@
102101
"devDependencies": {
103102
"@azure/dev-tool": "^1.0.0",
104103
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
104+
"@azure/identity": "^1.1.0",
105105
"@microsoft/api-extractor": "7.7.11",
106106
"@rollup/plugin-json": "^4.0.0",
107107
"@rollup/plugin-multi-entry": "^3.0.0",

sdk/cosmosdb/cosmos/review/cosmos.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
```ts
66

7-
import { TokenCredential } from '@azure/identity';
7+
import { TokenCredential } from '@azure/core-auth';
88

99
// @public (undocumented)
1010
export interface Agent {

sdk/cosmosdb/cosmos/src/CosmosClientOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT license.
3-
import { TokenCredential } from "@azure/identity";
3+
import { TokenCredential } from "@azure/core-auth";
44
import { TokenProvider } from "./auth";
55
import { PermissionDefinition } from "./client";
66
import { ConnectionPolicy, ConsistencyLevel } from "./documents";

0 commit comments

Comments
 (0)