web-manager 2.1.35 → 2.1.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/lib/account.js +3 -2
  2. package/package.json +1 -1
package/lib/account.js CHANGED
@@ -277,8 +277,9 @@ Account.prototype._resolveAccount = function (currentUser, account, options) {
277
277
  account.activity.created.timestampUNIX = account.activity.created.timestampUNIX || 0;
278
278
 
279
279
  // Api
280
- account.clientId = account.clientId || 'unknown';
281
- account.privateKey = account.privateKey || 'unknown';
280
+ account.api = account.api || {};
281
+ account.api.clientId = account.api.clientId || 'unknown';
282
+ account.api.privateKey = account.api.privateKey || 'unknown';
282
283
 
283
284
  // Set UI elements
284
285
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "2.1.35",
3
+ "version": "2.1.36",
4
4
  "description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
5
5
  "main": "index.js",
6
6
  "scripts": {