web-manager 3.1.45 → 3.1.46

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -264,7 +264,7 @@ function Manager() {
264
264
  // if (This.properties.page.status.didSignUp) {
265
265
  var didSignUp = 'auth.didSignUp';
266
266
  var done;
267
- var hoursSinceCreation = Math.abs(new Date() - new Date(+user.metadata.a)) / 36e5;
267
+ var hoursSinceCreation = Math.abs(new Date() - new Date(+user.metadata.createdAt)) / 36e5;
268
268
 
269
269
  function _done() {
270
270
  if (!done) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.1.45",
3
+ "version": "3.1.46",
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
+ }