sales-frontend-bridge 0.0.40 → 0.0.41
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/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1710,7 +1710,8 @@ var NativeBridgeCore = class extends CommonBridgeCore {
|
|
|
1710
1710
|
return;
|
|
1711
1711
|
}
|
|
1712
1712
|
if (platform === "ios-webview") {
|
|
1713
|
-
|
|
1713
|
+
const message = salesFrontendUtils.isFpPlannerApp() ? { ...command, service: "native" } : command;
|
|
1714
|
+
window.webkit?.messageHandlers?.[this.callBridgeName]?.postMessage(JSON.stringify(message));
|
|
1714
1715
|
return;
|
|
1715
1716
|
}
|
|
1716
1717
|
console.warn(
|