web-manager 3.2.27 → 3.2.28

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 +0 -9
  2. package/package.json +2 -2
package/lib/account.js CHANGED
@@ -106,8 +106,6 @@ Account.prototype.resolve = function (account, options) {
106
106
  options = options || {};
107
107
  options.fetchNewAccount = typeof options.fetchNewAccount === 'undefined' ? true : options.fetchNewAccount;
108
108
 
109
- console.log('account.resolve():', currentUser, options);
110
-
111
109
  // If there is no user logged in or we choose not to fetch the account, resolve a default account
112
110
  if (!currentUser || !currentUser.uid || !options.fetchNewAccount) {
113
111
  return resolve(
@@ -151,14 +149,9 @@ Account.prototype.handleAccount = function (account) {
151
149
  function handlePlanVisibility(planId) {
152
150
  var elements = document.querySelectorAll('[data-plan-id][data-plan-visibility]');
153
151
 
154
- // Log
155
- console.log('account.handlePlanVisibility(): planId', planId);
156
- console.log('account.handlePlanVisibility(): elements', elements);
157
-
158
152
  // Initially hide all elements
159
153
  elements.forEach(function($el) {
160
154
  $el.setAttribute('hidden', true);
161
- console.log('account.handlePlanVisibility(): hiding', $el);
162
155
  });
163
156
 
164
157
  // Toggle visibility based on plan
@@ -179,8 +172,6 @@ function handlePlanVisibility(planId) {
179
172
  ? visibility === 'hidden'
180
173
  : visibility === 'visible';
181
174
 
182
- console.log('account.handlePlanVisibility(): setting', shouldHide, $el);
183
-
184
175
  if (shouldHide) {
185
176
  $el.setAttribute('hidden', true);
186
177
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.2.27",
3
+ "version": "3.2.28",
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": {
@@ -36,4 +36,4 @@
36
36
  "firebase": "^9.23.0",
37
37
  "lazysizes": "^5.3.2"
38
38
  }
39
- }
39
+ }