Skip to content

Commit 20ac11b

Browse files
author
Anatolii Bolshakov (Akvelon INC)
committed
Passed allowCrossOriginAuthentication to typed-rest-client. Bumped version
1 parent dcf730b commit 20ac11b

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

api/WebApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ const isBrowser: boolean = typeof window !== 'undefined';
4747
* Methods to return handler objects (see handlers folder)
4848
*/
4949

50-
export function getBasicHandler(username: string, password: string): VsoBaseInterfaces.IRequestHandler {
51-
return new basicm.BasicCredentialHandler(username, password);
50+
export function getBasicHandler(username: string, password: string, allowCrossOriginAuthentication?: boolean): VsoBaseInterfaces.IRequestHandler {
51+
return new basicm.BasicCredentialHandler(username, password, allowCrossOriginAuthentication);
5252
}
5353

5454
export function getNtlmHandler(username: string, password: string, workstation?: string, domain?: string): VsoBaseInterfaces.IRequestHandler {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "azure-devops-node-api",
33
"description": "Node client for Azure DevOps and TFS REST APIs",
4-
"version": "10.1.1",
4+
"version": "10.1.2",
55
"main": "./WebApi.js",
66
"types": "./WebApi.d.ts",
77
"scripts": {

0 commit comments

Comments
 (0)