web-manager 3.2.31 → 3.2.33

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/lib/account.js +2 -5
  2. package/package.json +2 -2
package/lib/account.js CHANGED
@@ -322,11 +322,8 @@ Account.prototype._resolveAccount = function (firebaseUser, account, options) {
322
322
 
323
323
  // Resolve oAuth2
324
324
  account.oauth2 = account.oauth2 || {};
325
- account.oauth2.updated = account.oauth2.updated || {};
326
- account.oauth2.updated.timestamp = account.oauth2.updated.timestamp || timestampOld;
327
- account.oauth2.updated.timestampUNIX = account.oauth2.updated.timestampUNIX || timestampUNIXOld;
325
+ // account.oauth2.google = account.oauth2.google || {};
328
326
  // account.oauth2.discord = account.oauth2.discord || {};
329
- // account.oauth2.discord.user = account.oauth2.discord.user || {};
330
327
 
331
328
  // Resolve roles
332
329
  account.roles = account.roles || {};
@@ -410,7 +407,7 @@ Account.prototype._resolveAccount = function (firebaseUser, account, options) {
410
407
  // Set UI elements
411
408
  // In a try/catch because this lib is used in node sometimes
412
409
  try {
413
- var cancelURL = isDevelopment ? 'http://localhost:4001/cancel' : 'https://itwcreativeworks.com/portal/account/manage';
410
+ var cancelURL = isDevelopment ? 'http://localhost:4001/cancel' : 'https://itwcreativeworks.com/portal/account/payment/manage';
414
411
 
415
412
  var billingSubscribeBtn = self.dom.select('.auth-billing-subscribe-btn');
416
413
  var billingUpdateBtn = self.dom.select('.auth-billing-update-btn');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.2.31",
3
+ "version": "3.2.33",
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
+ }