@salesforce/platform-sdk 10.24.0 → 11.1.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.
- package/dist/analytics/analytics.d.ts.map +1 -1
- package/dist/analytics/index.js +1 -1
- package/dist/analytics-ygoSv0Cj.js +157 -0
- package/dist/{capabilities-DtUMG0oZ.js → capabilities-CBmOyHnc.js} +1 -1
- package/dist/chat/index.d.ts +13 -6
- package/dist/chat/index.d.ts.map +1 -1
- package/dist/chat/index.js +24 -25
- package/dist/core/index.d.ts +3 -2
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +11 -9
- package/dist/core/mcpapps-session.d.ts +15 -1
- package/dist/core/mcpapps-session.d.ts.map +1 -1
- package/dist/core/surface.d.ts +79 -4
- package/dist/core/surface.d.ts.map +1 -1
- package/dist/data/index.d.ts.map +1 -1
- package/dist/data/index.js +22 -18
- package/dist/index.js +36 -34
- package/dist/lightning/index.d.ts.map +1 -1
- package/dist/lightning/index.js +22 -16
- package/dist/sf-embedding/index.js +1 -1
- package/dist/surface-CEErnCgI.js +144 -0
- package/dist/view/index.d.ts +13 -6
- package/dist/view/index.d.ts.map +1 -1
- package/dist/view/index.js +53 -50
- package/package.json +2 -2
- package/dist/analytics-Cgt83u0I.js +0 -146
- package/dist/mcpapps-session-BThDrfRw.js +0 -83
- package/dist/surface-DX5JCZPQ.js +0 -24
package/dist/surface-DX5JCZPQ.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { readHostMetaData as e } from "@sf-embedding/sf-embedding-bridge";
|
|
2
|
-
var r = /* @__PURE__ */ ((n) => (n.WebApp = "WebApp", n.MicroFrontend = "Micro-Frontend", n.OpenAI = "OpenAI", n.MCPApps = "MCP-Apps", n.Mosaic = "Mosaic", n))(r || {});
|
|
3
|
-
const t = i();
|
|
4
|
-
function i() {
|
|
5
|
-
return typeof window > "u" ? "Mosaic" : window.openai ? "OpenAI" : o() ? "Micro-Frontend" : "WebApp";
|
|
6
|
-
}
|
|
7
|
-
function o() {
|
|
8
|
-
if (typeof window > "u") return !1;
|
|
9
|
-
try {
|
|
10
|
-
if (window.parent === window) return !1;
|
|
11
|
-
} catch {
|
|
12
|
-
return !1;
|
|
13
|
-
}
|
|
14
|
-
const n = window.location?.search;
|
|
15
|
-
return typeof n != "string" ? !1 : e(n) !== null;
|
|
16
|
-
}
|
|
17
|
-
function f(n) {
|
|
18
|
-
return n ?? t;
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
r as S,
|
|
22
|
-
f as g,
|
|
23
|
-
o as i
|
|
24
|
-
};
|