web-manager 3.1.25 → 3.1.26

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 +1 -5
  2. package/package.json +1 -1
package/lib/account.js CHANGED
@@ -398,13 +398,9 @@ Account.prototype._resolveAccount = function (firebaseUser, account, options) {
398
398
  billingUpdateBtn.setAttribute('hidden', true);
399
399
 
400
400
  if (planIsActive) {
401
- updateURL.searchParams.set('appName', utilities.get(self.Manager, 'properties.global.brand.name', 'Unknown'));
402
- updateURL.searchParams.set('supportUrl', currentURL.origin + '/support');
403
- updateURL.searchParams.set('supportEmail', utilities.get(self.Manager, 'properties.contact.emailSupport', 'unknown@email.com'));
404
- updateURL.searchParams.set('userEmail', firebaseUser.email);
405
- updateURL.searchParams.set('userId', firebaseUser.uid);
406
401
  updateURL.searchParams.set('orderId', account.plan.payment.orderId);
407
402
  updateURL.searchParams.set('resourceId', account.plan.payment.resourceId);
403
+
408
404
  billingUpdateBtn.removeAttribute('hidden').setAttribute('href', updateURL.toString());
409
405
  } else {
410
406
  billingSubscribeBtn.removeAttribute('hidden');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.1.25",
3
+ "version": "3.1.26",
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": {