@magda/external-ui-plugin-sdk 5.2.0 → 5.3.0-alpha.2

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.d.ts +10 -0
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -853,6 +853,16 @@ export declare interface ConfigDataType {
853
853
  * @memberof ConfigDataType
854
854
  */
855
855
  sqlConsoleCacheExpiration: number;
856
+
857
+ /**
858
+ * [When Magda UI send messages to opener](https://github.com/magda-io/magda/issues/3603), this will be the target origin.
859
+ * i.e. only opener with same origin as the target origin specified here will receive the message.
860
+ * By default, its value is empty string. Magda UI's origin will be the target origin.
861
+ *
862
+ * @type {string}
863
+ * @memberof ConfigDataType
864
+ */
865
+ postMessageTargetOrigin: string;
856
866
  }
857
867
 
858
868
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@magda/external-ui-plugin-sdk",
3
3
  "description": "MAGDA external UI plugin SDK",
4
- "version": "5.2.0",
4
+ "version": "5.3.0-alpha.2",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf dist tsconfig.tsbuildinfo",
7
7
  "build": "api-extractor run -l",
@@ -18,7 +18,7 @@
18
18
  "directory": "packages/external-ui-plugin-sdk"
19
19
  },
20
20
  "devDependencies": {
21
- "@magda/web-client": "^5.2.0",
21
+ "@magda/web-client": "^5.3.0-alpha.2",
22
22
  "typescript": "~5.3.3"
23
23
  },
24
24
  "peerDependencies": {