web-manager 3.1.47 → 3.1.48

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +2 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -262,19 +262,18 @@ function Manager() {
262
262
  function _authHandle_in(This, user) {
263
263
  // This.log('_authHandle_in', user);
264
264
  // if (This.properties.page.status.didSignUp) {
265
- var didSignUp = 'auth.didSignUp';
266
265
  var done;
267
266
  var hoursSinceCreation = Math.abs(new Date() - new Date(+user.metadata.createdAt)) / 36e5;
268
267
 
269
268
  function _done() {
270
269
  if (!done) {
271
270
  done = true;
272
- store.set(didSignUp, true)
271
+ store.set('didSignUp', true)
273
272
  _authHandle_in_normal(This, user);
274
273
  }
275
274
  }
276
275
 
277
- if (!store.get(didSignUp) && hoursSinceCreation < 0.5) {
276
+ if (!store.get('didSignUp') && hoursSinceCreation < 0.5) {
278
277
  user.getIdToken(false)
279
278
  .then(function(token) {
280
279
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.1.47",
3
+ "version": "3.1.48",
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
+ }