@ekolabs/iframily
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@ekolabs/iframily", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "postMessage made simple & safe", | ||
@@ -5,0 +5,0 @@ "main": "dist/iframily.min.js", |
@@ -107,5 +107,5 @@ <img src="https://s3.amazonaws.com/eko.com/s/iframily/iframily_logo.png" alt="Iframily" width="200"/> | ||
#### `Iframily.initParent(id, targetOrigin, msgHandler, options) -> iframily instance` | ||
#### 🔵 `Iframily.initParent(id, targetOrigin, msgHandler, options) -> iframily instance` | ||
#### `Iframily.initChild(id, targetOrigin, msgHandler, options) -> iframily instance` | ||
#### 🔵 `Iframily.initChild(id, targetOrigin, msgHandler, options) -> iframily instance` | ||
@@ -123,3 +123,3 @@ Creates a parent/child [iframily instance](#----iframily-instance----) respectively (to be used in the parent/child frame) and returns it, if successful. | ||
#### `Iframily.isIframilyMessage(event) -> boolean` | ||
#### 🔵 `Iframily.isIframilyMessage(event) -> boolean` | ||
@@ -146,3 +146,3 @@ If you manually listen to messages using the window ["message" event](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage#The_dispatched_event) you will also receive internal iframily messages. This method will return `true` for this events so you can easily identify them. | ||
#### `f.sendMessage(msg) -> Promise` | ||
#### 🟢 `f.sendMessage(msg) -> Promise` | ||
@@ -157,3 +157,3 @@ | Param | Type | Description | | ||
#### `f.dispose()` | ||
#### 🟢 `f.dispose()` | ||
@@ -167,7 +167,7 @@ Dispose of the iframily instance, making it obsolete. | ||
#### `f.isDisposed -> boolean (read only)` | ||
#### 🟢 `f.isDisposed -> boolean (read only)` | ||
Returns `true` if this iframily instance has been disposed. | ||
#### `f.id -> string (read only)` | ||
#### 🟢 `f.id -> string (read only)` | ||
@@ -174,0 +174,0 @@ Returns the id that this iframily was initialized with. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26569