web-manager 3.0.8 → 3.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
+ }