@salesforcedevs/dw-components 1.2.17-canary.1 → 1.2.17-canary.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dw-components",
3
- "version": "1.2.17-canary.1",
3
+ "version": "1.2.17-canary.2",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -103,7 +103,7 @@
103
103
  <ul>
104
104
  <li class="login-list-item">
105
105
  <a
106
- href="https://www.salesforce.com"
106
+ href="https://login.salesforce.com/"
107
107
  class="login-link"
108
108
  target="_blank"
109
109
  rel="noopener"
@@ -126,7 +126,7 @@
126
126
  </li>
127
127
  <li class="login-list-item">
128
128
  <a
129
- href={marketingCloudUrl}
129
+ href="https://mc.exacttarget.com/"
130
130
  class="login-link"
131
131
  target="_blank"
132
132
  rel="noopener"
@@ -2,8 +2,6 @@ import { LightningElement } from "lwc";
2
2
  import { track } from "dxUtils/analytics";
3
3
  import TbidAvatarButton from "dx/tbidAvatarButton";
4
4
 
5
- const DSC_BASE_URL = process.env.BASE_URL || "https://developer.salesforce.com";
6
-
7
5
  interface UserInfo {
8
6
  avatarImgSrc?: string;
9
7
  company?: string;
@@ -37,9 +35,6 @@ export default class TbidLoginMenu extends LightningElement {
37
35
  private settingsUrl = `${this.tbidBaseUrl}/settings`;
38
36
  private profileUrl = `${this.tbidBaseUrl}/id`;
39
37
  private logoutUrl = `${this.tbidApiBaseUrl}/logout`;
40
- private get marketingCloudUrl() {
41
- return `${DSC_BASE_URL}/developer-centers/marketing-cloud`;
42
- }
43
38
  private get loginUrl() {
44
39
  return `${this.tbidApiBaseUrl}/dologin?startURL=${encodeURIComponent(
45
40
  window.location.href