@salesforce/sdk-view 1.123.0 → 1.126.0

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/dist/index.js +5 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { getSurface as d, Surface as a, McpAppsSession as m } from "@salesforce/sdk-core";
2
- function p(s) {
1
+ import { getSurface as d, Surface as a, McpAppsSession as p } from "@salesforce/sdk-core";
2
+ function m(s) {
3
3
  switch (s) {
4
4
  case "info":
5
5
  return "ℹ️";
@@ -14,7 +14,7 @@ function p(s) {
14
14
  }
15
15
  }
16
16
  function c(s, e) {
17
- return `${p(e)} ${s}`;
17
+ return `${m(e)} ${s}`;
18
18
  }
19
19
  function l(s, e) {
20
20
  const t = s.trim();
@@ -111,14 +111,14 @@ async function h(s) {
111
111
  switch (d(s?.surface)) {
112
112
  case a.OpenAI:
113
113
  return new w();
114
- case a.UIBundle:
114
+ case a.WebApp:
115
115
  case a.Mosaic:
116
116
  return {};
117
117
  case a.SalesforceACC:
118
118
  return {};
119
119
  case a.MicroFrontend:
120
120
  case a.MCPApps: {
121
- const t = await m.getInstance(s?.mcpApps);
121
+ const t = await p.getInstance(s?.mcpApps);
122
122
  return t.handshakeSucceeded ? new f(t) : {};
123
123
  }
124
124
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/sdk-view",
3
- "version": "1.123.0",
3
+ "version": "1.126.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "test:coverage": "vitest run --coverage"
27
27
  },
28
28
  "dependencies": {
29
- "@salesforce/sdk-core": "^1.123.0"
29
+ "@salesforce/sdk-core": "^1.126.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "vite": "^7.3.1",