jmapcloud-ng-core-types 1.0.0 → 1.0.1

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/package.json +1 -1
  2. package/public/core.d.ts +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-core-types",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "JMap Cloud specific version of JMap Cloud NG Core types and interfaces",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/public/core.d.ts CHANGED
@@ -12178,13 +12178,17 @@ declare namespace JMap {
12178
12178
  *
12179
12179
  * Parameters initialWidth and initialHeight are in pixels.
12180
12180
  *
12181
+ * Embedding a page that sets the `X-Frame-Options` or `Content-Security-Policy: frame-ancestors` headers in an incompatible way may cause the display of the page to fail.
12182
+ *
12183
+ * See {@linkcode https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options here} and {@linkcode https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors here} for details
12184
+ *
12181
12185
  * @throws Error if invalid parameters are passed
12182
12186
  * @param params parameters needed to open the iframe popup
12183
12187
  * @example ```ts
12184
12188
  *
12185
12189
  * // Open an embedded popup of k2geospatial website
12186
12190
  * JMap.UI.openIFramePopup({
12187
- * src: "https://k2geospatial.com/",
12191
+ * src: "https://my.web.site.com/",
12188
12192
  * initialPosition: { x: 400, y: 250 },
12189
12193
  * initialWidth: 400,
12190
12194
  * initialHeight: 250,