web-manager 3.1.49 → 3.1.50

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 +1 -3
  2. package/package.json +1 -1
package/lib/account.js CHANGED
@@ -408,9 +408,7 @@ Account.prototype._resolveAccount = function (firebaseUser, account, options) {
408
408
  referralURL.searchParams.set('aff', account.affiliate.code)
409
409
 
410
410
  authCreatedEl.setInnerHTML(
411
- new Date(
412
- parseInt(self.utilities.get(firebaseUser, 'metadata.a', '0'))
413
- )
411
+ new Date(+self.utilities.get(firebaseUser, 'metadata.createdAt', '0'))
414
412
  .toLocaleString(undefined, {
415
413
  weekday: 'long', year: 'numeric', month: 'long', day: 'numeric',
416
414
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.1.49",
3
+ "version": "3.1.50",
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": {