hof 21.0.14-axios-beta → 21.0.15-axios-beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/model/index.js +2 -4
  2. package/package.json +1 -1
package/model/index.js CHANGED
@@ -105,15 +105,13 @@ module.exports = class Model extends EventEmitter {
105
105
  if (typeof authVal === 'string') {
106
106
  const auth = authVal.split(':');
107
107
  authVal = {
108
- user: auth.shift(),
109
- pass: auth.join(':'),
110
- sendImmediately: true
108
+ username: auth.shift(),
109
+ password: auth.join(':')
111
110
  };
112
111
  }
113
112
  if(authVal) {
114
113
  settings.headers = Object.assign({}, settings.headers, {Authorization: `Bearer ${authVal.bearer}`});
115
114
  }
116
- settings.auth = undefined;
117
115
  console.log("SETTINGS ************")
118
116
  console.log(settings)
119
117
  console.log("SETTINGS ************")
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "21.0.14-axios-beta",
4
+ "version": "21.0.15-axios-beta",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",