Passed allowCrossOriginAuthentication to typed-rest-client. Bumped version
This commit is contained in:
Родитель
dcf730b142
Коммит
20ac11bc3f
|
@ -47,8 +47,8 @@ const isBrowser: boolean = typeof window !== 'undefined';
|
|||
* Methods to return handler objects (see handlers folder)
|
||||
*/
|
||||
|
||||
export function getBasicHandler(username: string, password: string): VsoBaseInterfaces.IRequestHandler {
|
||||
return new basicm.BasicCredentialHandler(username, password);
|
||||
export function getBasicHandler(username: string, password: string, allowCrossOriginAuthentication?: boolean): VsoBaseInterfaces.IRequestHandler {
|
||||
return new basicm.BasicCredentialHandler(username, password, allowCrossOriginAuthentication);
|
||||
}
|
||||
|
||||
export function getNtlmHandler(username: string, password: string, workstation?: string, domain?: string): VsoBaseInterfaces.IRequestHandler {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-devops-node-api",
|
||||
"version": "10.1.1",
|
||||
"version": "10.1.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "azure-devops-node-api",
|
||||
"description": "Node client for Azure DevOps and TFS REST APIs",
|
||||
"version": "10.1.1",
|
||||
"version": "10.1.2",
|
||||
"main": "./WebApi.js",
|
||||
"types": "./WebApi.d.ts",
|
||||
"scripts": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче