@ixon-cdk/iframe-adapter 1.3.0-next.1 → 1.3.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.
- package/index.js +3 -3
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -505,7 +505,7 @@ export function connect({ iframe, context }) {
|
|
|
505
505
|
let client = _adapterMessageHandler._clients.get(clientId);
|
|
506
506
|
if (client && !client._destroyed) {
|
|
507
507
|
client.query(query, results => {
|
|
508
|
-
if (
|
|
508
|
+
if (!client._destroyed) {
|
|
509
509
|
iframe.contentWindow.postMessage(
|
|
510
510
|
{
|
|
511
511
|
type: EVENTS.ResourceDataClientQueryResult,
|
|
@@ -515,7 +515,7 @@ export function connect({ iframe, context }) {
|
|
|
515
515
|
);
|
|
516
516
|
}
|
|
517
517
|
});
|
|
518
|
-
|
|
518
|
+
}
|
|
519
519
|
break;
|
|
520
520
|
}
|
|
521
521
|
case EVENTS.ResourceDataClientRender: {
|
|
@@ -523,7 +523,7 @@ export function connect({ iframe, context }) {
|
|
|
523
523
|
let client = _adapterMessageHandler._clients.get(clientId);
|
|
524
524
|
if (client && !client._destroyed) {
|
|
525
525
|
client.render(query, results => {
|
|
526
|
-
if (
|
|
526
|
+
if (!client._destroyed) {
|
|
527
527
|
iframe.contentWindow.postMessage(
|
|
528
528
|
{
|
|
529
529
|
type: EVENTS.ResourceDataClientRenderResult,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ixon-cdk/iframe-adapter",
|
|
3
|
-
"version": "1.3.0
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "",
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
"index.d.ts"
|
|
11
11
|
],
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@ixon-cdk/types": "^1.3.0
|
|
13
|
+
"@ixon-cdk/types": "^1.3.0"
|
|
14
14
|
}
|
|
15
15
|
}
|