@lark-apaas/miaoda-inspector 0.1.0-alpha.7 → 1.0.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.
@@ -560,7 +560,7 @@ function MiaodaInspector(props) {
560
560
  postMessage({
561
561
  type: "PageMounted",
562
562
  data: {
563
- version: "0.1.0-alpha.7",
563
+ version: "1.0.0",
564
564
  feature: {
565
565
  selectParent: true,
566
566
  reverseSelect: true
@@ -1,10 +1,10 @@
1
1
  import "../chunk-I4E63NIC.mjs";
2
2
  function getPreviewParentOrigin() {
3
3
  const { origin } = window.location;
4
- if (origin.includes("feishuapp.cn")) {
4
+ if (origin.includes("feishuapp.cn") || origin.includes("miaoda.feishuapp.net")) {
5
5
  return "https://miaoda.feishu.cn";
6
6
  }
7
- if (origin.includes("fsapp.kundou.cn")) {
7
+ if (origin.includes("fsapp.kundou.cn") || origin.includes("miaoda-pre.feishuapp.net")) {
8
8
  return "https://miaoda.feishu-pre.cn";
9
9
  }
10
10
  return "https://miaoda.feishu-boe.cn";
@@ -577,7 +577,7 @@ function MiaodaInspector(props) {
577
577
  (0, import_utils2.postMessage)({
578
578
  type: "PageMounted",
579
579
  data: {
580
- version: "0.1.0-alpha.7",
580
+ version: "1.0.0",
581
581
  feature: {
582
582
  selectParent: true,
583
583
  reverseSelect: true
@@ -26,10 +26,10 @@ __export(origin_exports, {
26
26
  module.exports = __toCommonJS(origin_exports);
27
27
  function getPreviewParentOrigin() {
28
28
  const { origin } = window.location;
29
- if (origin.includes("feishuapp.cn")) {
29
+ if (origin.includes("feishuapp.cn") || origin.includes("miaoda.feishuapp.net")) {
30
30
  return "https://miaoda.feishu.cn";
31
31
  }
32
- if (origin.includes("fsapp.kundou.cn")) {
32
+ if (origin.includes("fsapp.kundou.cn") || origin.includes("miaoda-pre.feishuapp.net")) {
33
33
  return "https://miaoda.feishu-pre.cn";
34
34
  }
35
35
  return "https://miaoda.feishu-boe.cn";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/miaoda-inspector",
3
- "version": "0.1.0-alpha.7",
3
+ "version": "1.0.0",
4
4
  "description": "Inspector for Lark Apaas",
5
5
  "sideEffects": [
6
6
  "*.css"