web-manager 3.0.8 → 3.0.9

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -265,6 +265,7 @@ The Firebase login system works like charm out of the box without you having to
265
265
  * `.auth-signout-all-btn`: Add to a button to handle the signout process
266
266
  * `.auth-email-element`: Add to any element to display the user's email
267
267
  * `.auth-terms-input`: Add to a checkbox to require a TOS agreement before signup occurs
268
+ * `.auth-newsletter-input`: Add to a checkbox to opt-in the user to newsletters upon signup
268
269
  * `.auth-uid-element`: Add to any element to display the user's uid
269
270
  * `.auth-signedin-true-element`: Add to any element and it will be hidden if the user *is* signed in
270
271
  * `.auth-signedin-false-element`: Add to any element and it will be hidden if the user *is not* signed in
package/lib/account.js CHANGED
@@ -323,7 +323,7 @@ Account.prototype._resolveAccount = function (currentUser, account, options) {
323
323
 
324
324
  _setAuthItem('.auth-apikey-element', utilities.get(account, 'api.privateKey', 'n/a'))
325
325
  } catch (e) {
326
- console.error('Unable to set DOM elements', e);
326
+ // console.error('Unable to set DOM elements', e);
327
327
  }
328
328
  self.properties = account;
329
329
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.0.8",
3
+ "version": "3.0.9",
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": {
@@ -28,4 +28,4 @@
28
28
  "firebase": "^8.10.1",
29
29
  "lazysizes": "^5.3.2"
30
30
  }
31
- }
31
+ }