qsh-webview-sdk 2.3.5 → 2.3.6

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.
@@ -3835,7 +3835,7 @@ function Ot(t, e = "share") {
3835
3835
  const r = typeof window != "undefined" && window.wx && window.wx.miniProgram;
3836
3836
  if (!r || typeof r.postMessage != "function")
3837
3837
  throw { errMsg: `当前微信小程序容器未注入 postMessage 能力,无法发起 ${e}`, code: "MINIPROGRAM_BRIDGE_UNAVAILABLE" };
3838
- r.postMessage({ data: [t] });
3838
+ r.postMessage({ data: t });
3839
3839
  }
3840
3840
  function Zn(t) {
3841
3841
  return { type: "qsh_api_call", api: "shareDirected", params: { miniProgramShare: Hn(t) }, timestamp: Date.now() };