@fyul/embed-sdk 2.5.0 → 2.5.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.
@@ -72,8 +72,10 @@ class EmbedCommunicator {
72
72
  this.handleBroadcastEvent(event);
73
73
  return;
74
74
  }
75
+ // Some browser extensions will attach themselves to iframes and will call postMessage
76
+ // If no identification from our side is found, just ignore it
75
77
  if (!event.correlationId) {
76
- throw new Error(`Fail [handleInboundEvent (${event.name})]: correlationId missing`);
78
+ return;
77
79
  }
78
80
  // Result event gets inbound ONLY if there's nothing wrong.
79
81
  // Otherwise it's a notification.
@@ -1 +1 @@
1
- export declare const VERSION: "2.5.0";
1
+ export declare const VERSION: "2.5.1";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // AUTO-GENERATED
5
- exports.VERSION = '2.5.0';
5
+ exports.VERSION = '2.5.1';
@@ -69,8 +69,10 @@ export class EmbedCommunicator {
69
69
  this.handleBroadcastEvent(event);
70
70
  return;
71
71
  }
72
+ // Some browser extensions will attach themselves to iframes and will call postMessage
73
+ // If no identification from our side is found, just ignore it
72
74
  if (!event.correlationId) {
73
- throw new Error(`Fail [handleInboundEvent (${event.name})]: correlationId missing`);
75
+ return;
74
76
  }
75
77
  // Result event gets inbound ONLY if there's nothing wrong.
76
78
  // Otherwise it's a notification.
@@ -1 +1 @@
1
- export declare const VERSION: "2.5.0";
1
+ export declare const VERSION: "2.5.1";
@@ -1,2 +1,2 @@
1
1
  // AUTO-GENERATED
2
- export const VERSION = '2.5.0';
2
+ export const VERSION = '2.5.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fyul/embed-sdk",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",