Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ekolabs/iframily

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ekolabs/iframily - npm Package Compare versions

Comparing version 1.0.0-temp.6 to 1.0.0-temp.10

2

package.json
{
"name": "@ekolabs/iframily",
"version": "1.0.0-temp.6",
"version": "1.0.0-temp.10",
"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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc