Skip to content

Commit

Permalink
Fixed a minor issue with browser app-key auth
Browse files Browse the repository at this point in the history
  • Loading branch information
verifalia committed Sep 30, 2021
1 parent 6ac3615 commit 93125ef
Show file tree
Hide file tree
Showing 16 changed files with 816 additions and 24 deletions.
4 changes: 2 additions & 2 deletions browser/amd/verifalia.js
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ define('verifalia', ['exports', 'tslib'], function (exports, tslib) { 'use stric
}());

// generated by genversion
var version = '3.0.1';
var version = '3.0.2';

/**
* A factory of MultiplexedRestClient instances, used to issue REST commands against the Verifalia API.
Expand Down Expand Up @@ -1300,7 +1300,7 @@ define('verifalia', ['exports', 'tslib'], function (exports, tslib) { 'use stric
throw Error('username is null or empty: please visit https://verifalia.com/client-area to set up a new user or a new browser app, if you don\'t have one.');
}
this._username = username;
this._password = password;
this._password = password || '';
}
UsernamePasswordAuthenticator.prototype.decorateRequest = function (restClient, requestInit) {
requestInit.headers = tslib.__assign(tslib.__assign({}, requestInit.headers), { 'Authorization': 'Basic ' +
Expand Down
4 changes: 2 additions & 2 deletions browser/cjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ var MultiplexedRestClient = /** @class */ (function () {
}());

// generated by genversion
var version = '3.0.1';
var version = '3.0.2';

/**
* A factory of MultiplexedRestClient instances, used to issue REST commands against the Verifalia API.
Expand Down Expand Up @@ -1304,7 +1304,7 @@ var UsernamePasswordAuthenticator = /** @class */ (function () {
throw Error('username is null or empty: please visit https://verifalia.com/client-area to set up a new user or a new browser app, if you don\'t have one.');
}
this._username = username;
this._password = password;
this._password = password || '';
}
UsernamePasswordAuthenticator.prototype.decorateRequest = function (restClient, requestInit) {
requestInit.headers = tslib.__assign(tslib.__assign({}, requestInit.headers), { 'Authorization': 'Basic ' +
Expand Down
392 changes: 392 additions & 0 deletions browser/esm/index-010aed60.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions browser/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ class MultiplexedRestClient {
}

// generated by genversion
const version = '3.0.1';
const version = '3.0.2';

/**
* A factory of MultiplexedRestClient instances, used to issue REST commands against the Verifalia API.
Expand Down Expand Up @@ -458,7 +458,7 @@ class UsernamePasswordAuthenticator {
throw Error('username is null or empty: please visit https://verifalia.com/client-area to set up a new user or a new browser app, if you don\'t have one.');
}
this._username = username;
this._password = password;
this._password = password || '';
}
decorateRequest(restClient, requestInit) {
requestInit.headers = Object.assign(Object.assign({}, requestInit.headers), { 'Authorization': 'Basic ' +
Expand Down
2 changes: 1 addition & 1 deletion browser/esm/version.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export declare const version = "3.0.1";
export declare const version = "3.0.2";
//# sourceMappingURL=version.d.ts.map
4 changes: 2 additions & 2 deletions browser/iife/verifalia.js
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ var Verifalia = (function (exports) {
}());

// generated by genversion
var version = '3.0.1';
var version = '3.0.2';

/**
* A factory of MultiplexedRestClient instances, used to issue REST commands against the Verifalia API.
Expand Down Expand Up @@ -1402,7 +1402,7 @@ var Verifalia = (function (exports) {
throw Error('username is null or empty: please visit https://verifalia.com/client-area to set up a new user or a new browser app, if you don\'t have one.');
}
this._username = username;
this._password = password;
this._password = password || '';
}
UsernamePasswordAuthenticator.prototype.decorateRequest = function (restClient, requestInit) {
requestInit.headers = __assign(__assign({}, requestInit.headers), { 'Authorization': 'Basic ' +
Expand Down
2 changes: 1 addition & 1 deletion browser/iife/verifalia.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions browser/system/verifalia.js
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ System.register('verifalia', ['tslib'], function (exports) {
}());

// generated by genversion
var version = '3.0.1';
var version = '3.0.2';

/**
* A factory of MultiplexedRestClient instances, used to issue REST commands against the Verifalia API.
Expand Down Expand Up @@ -1322,7 +1322,7 @@ System.register('verifalia', ['tslib'], function (exports) {
throw Error('username is null or empty: please visit https://verifalia.com/client-area to set up a new user or a new browser app, if you don\'t have one.');
}
this._username = username;
this._password = password;
this._password = password || '';
}
UsernamePasswordAuthenticator.prototype.decorateRequest = function (restClient, requestInit) {
requestInit.headers = __assign(__assign({}, requestInit.headers), { 'Authorization': 'Basic ' +
Expand Down
4 changes: 2 additions & 2 deletions browser/umd/verifalia.js
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@
}());

// generated by genversion
var version = '3.0.1';
var version = '3.0.2';

/**
* A factory of MultiplexedRestClient instances, used to issue REST commands against the Verifalia API.
Expand Down Expand Up @@ -1304,7 +1304,7 @@
throw Error('username is null or empty: please visit https://verifalia.com/client-area to set up a new user or a new browser app, if you don\'t have one.');
}
this._username = username;
this._password = password;
this._password = password || '';
}
UsernamePasswordAuthenticator.prototype.decorateRequest = function (restClient, requestInit) {
requestInit.headers = tslib.__assign(tslib.__assign({}, requestInit.headers), { 'Authorization': 'Basic ' +
Expand Down
4 changes: 2 additions & 2 deletions node/cjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3861,7 +3861,7 @@ var MultiplexedRestClient = /** @class */ (function () {
}());

// generated by genversion
var version = '3.0.1';
var version = '3.0.2';

/**
* A factory of MultiplexedRestClient instances, used to issue REST commands against the Verifalia API.
Expand Down Expand Up @@ -3922,7 +3922,7 @@ var UsernamePasswordAuthenticator = /** @class */ (function () {
throw Error('username is null or empty: please visit https://verifalia.com/client-area to set up a new user or a new browser app, if you don\'t have one.');
}
this._username = username;
this._password = password;
this._password = password || '';
}
UsernamePasswordAuthenticator.prototype.decorateRequest = function (restClient, requestInit) {
requestInit.headers = tslib.__assign(tslib.__assign({}, requestInit.headers), { 'Authorization': 'Basic ' +
Expand Down
Loading

0 comments on commit 93125ef

Please sign in to comment.