Skip to content

Commit

Permalink
Update all samples to use Identity v2 (#18463)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a authored Nov 1, 2021
1 parent 583150d commit 290a6e4
Show file tree
Hide file tree
Showing 58 changed files with 58 additions and 58 deletions.
2 changes: 1 addition & 1 deletion samples/cors/ts/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@azure/identity": "^1.2.0",
"@azure/identity": "^2.0.1",
"@azure/keyvault-secrets": "^4.1.0",
"@types/node": "^14.14.19",
"axios": "^0.21.1",
Expand Down
2 changes: 1 addition & 1 deletion samples/frameworks/electron/ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"webpack": "^5.6.0"
},
"dependencies": {
"@azure/identity": "^1.2.0",
"@azure/identity": "^2.0.1",
"@azure/logger": "^1.0.0",
"@azure/service-bus": "^7.0.0",
"@azure/storage-blob": "^12.3.0",
Expand Down
2 changes: 1 addition & 1 deletion samples/frameworks/react/ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"dependencies": {
"@azure/event-hubs": "^5.3.1",
"@azure/identity": "^1.2.0",
"@azure/identity": "^2.0.1",
"@azure/storage-blob": "^12.3.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"dependencies": {
"@azure-rest/agrifood-farming": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@azure-rest/agrifood-farming": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"@azure/app-configuration": "latest",
"dotenv": "latest",
"@azure/keyvault-secrets": "^4.2.0",
"@azure/identity": "2.0.0-beta.6"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@azure/app-configuration": "latest",
"dotenv": "latest",
"@azure/keyvault-secrets": "^4.2.0",
"@azure/identity": "2.0.0-beta.6"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"dependencies": {
"@azure/communication-identity": "next",
"dotenv": "latest",
"@azure/identity": "2.0.0-beta.6"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"@azure/communication-identity": "next",
"dotenv": "latest",
"@azure/identity": "2.0.0-beta.6"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"dotenv": "latest",
"@azure/communication-common": "^1.1.0",
"@azure/core-http": "^2.0.0",
"@azure/identity": "2.0.0-beta.6"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"dotenv": "latest",
"@azure/communication-common": "^1.1.0",
"@azure/core-http": "^2.0.0",
"@azure/identity": "2.0.0-beta.6"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"dependencies": {
"@azure-rest/confidential-ledger": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@azure-rest/confidential-ledger": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"dependencies": {
"@azure/container-registry": "next",
"dotenv": "latest",
"@azure/identity": "^1.3.0"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"@azure/container-registry": "next",
"dotenv": "latest",
"@azure/identity": "^1.3.0"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmosdb/cosmos/samples/v3/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"dependencies": {
"@azure/cosmos": "latest",
"dotenv": "latest",
"@azure/identity": "^1.1.0",
"@azure/identity": "^2.0.1",
"uuid": "^8.3.0"
}
}
2 changes: 1 addition & 1 deletion sdk/cosmosdb/cosmos/samples/v3/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"dependencies": {
"@azure/cosmos": "latest",
"dotenv": "latest",
"@azure/identity": "^1.1.0",
"@azure/identity": "^2.0.1",
"uuid": "^8.3.0"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"dependencies": {
"@azure/iot-device-update": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@azure/iot-device-update": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"dependencies": {
"@azure/digital-twins-core": "latest",
"dotenv": "latest",
"@azure/identity": "^1.1.0",
"@azure/identity": "^2.0.1",
"uuid": "^8.3.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"dependencies": {
"@azure/digital-twins-core": "latest",
"dotenv": "latest",
"@azure/identity": "^1.1.0",
"@azure/identity": "^2.0.1",
"uuid": "^8.3.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhub/event-hubs/samples-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"sideEffects": false,
"dependencies": {
"@azure/event-hubs": "^5.0.0",
"@azure/identity": "^1.0.2"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"http-server": "^0.12.1",
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhub/event-hubs/samples/v5/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"sideEffects": false,
"dependencies": {
"@azure/event-hubs": "^5.0.0",
"@azure/identity": "^1.0.2"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"http-server": "^0.12.1",
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhub/event-hubs/samples/v5/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@azure/event-hubs": "latest",
"dotenv": "latest",
"rhea-promise": "^2.1.0",
"@azure/identity": "^1.5.1",
"@azure/identity": "^2.0.1",
"ws": "^7.1.1",
"https-proxy-agent": "^5.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhub/event-hubs/samples/v5/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@azure/event-hubs": "latest",
"dotenv": "latest",
"rhea-promise": "^2.1.0",
"@azure/identity": "^1.5.1",
"@azure/identity": "^2.0.1",
"ws": "^7.1.1",
"https-proxy-agent": "^5.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"dependencies": {
"@azure/ai-form-recognizer": "latest",
"dotenv": "latest",
"@azure/identity": "2.0.0-beta.5"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@azure/ai-form-recognizer": "latest",
"dotenv": "latest",
"@azure/identity": "2.0.0-beta.5"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/identity/identity/samples/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"homepage": "https://github.com/Azure/azure-sdk-for-js#readme",
"sideEffects": false,
"dependencies": {
"@azure/identity": "2.0.0-beta.5",
"@azure/identity": "^2.0.1",
"@azure/keyvault-keys": "4.1.0",
"@azure/keyvault-secrets": "4.2.0",
"@azure/keyvault-certificates": "4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@azure/keyvault-admin": "next",
"dotenv": "latest",
"@azure/identity": "2.0.0-beta.5",
"@azure/identity": "^2.0.1",
"uuid": "^8.3.0",
"@azure/keyvault-keys": "^4.2.1"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@azure/keyvault-admin": "next",
"dotenv": "latest",
"@azure/identity": "2.0.0-beta.5",
"@azure/identity": "^2.0.1",
"uuid": "^8.3.0",
"@azure/keyvault-keys": "^4.2.1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"dependencies": {
"@azure/keyvault-certificates": "next",
"dotenv": "latest",
"@azure/identity": "2.0.0-beta.6"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@azure/keyvault-certificates": "next",
"dotenv": "latest",
"@azure/identity": "2.0.0-beta.6"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"dependencies": {
"@azure/keyvault-keys": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@azure/keyvault-keys": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"dependencies": {
"@azure/keyvault-secrets": "next",
"dotenv": "latest",
"@azure/identity": "2.0.0-beta.6"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@azure/keyvault-secrets": "next",
"dotenv": "latest",
"@azure/identity": "2.0.0-beta.6"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"dependencies": {
"@azure-rest/purview-account": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@azure-rest/purview-account": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"dependencies": {
"@azure-rest/purview-administration": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@azure-rest/purview-administration": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"dependencies": {
"@azure-rest/purview-catalog": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@azure-rest/purview-catalog": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"@azure-rest/purview-scanning": "next",
"dotenv": "latest",
"@azure/core-paging": "^1.1.1",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@azure-rest/purview-scanning": "next",
"dotenv": "latest",
"@azure/core-paging": "^1.1.1",
"@azure/identity": "^1.1.0"
"@azure/identity": "^2.0.1"
},
"devDependencies": {
"typescript": "~4.4.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/quantum/quantum-jobs/samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"dependencies": {
"@azure/core-http": "latest",
"@azure/storage-blob": "latest",
"@azure/identity": "2.0.0-beta.5"
"@azure/identity": "^2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"@azure/schema-registry-avro": "next",
"dotenv": "latest",
"@azure/identity": "2.0.0-beta.6",
"@azure/identity": "^2.0.1",
"@azure/schema-registry": "1.0.0-beta.3"
}
}
Loading

0 comments on commit 290a6e4

Please sign in to comment.