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

@integration-app/sdk

Package Overview
Dependencies
Maintainers
1
Versions
444
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@integration-app/sdk - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

2

package.json
{
"name": "@integration-app/sdk",
"version": "0.0.8",
"version": "0.0.9",
"description": "JavaScript SDK for Integration.app",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -20,3 +20,3 @@ import { connectToChild } from 'penpal'

*/
export async function openIframe(uri: string, callbacks: Callbacks) {
export async function openIframe(uri: string, callbacks: Callbacks = {}) {
if (!initialized) {

@@ -23,0 +23,0 @@ initialized = true

@@ -27,2 +27,10 @@ import { openIframe } from './iframe'

export function openNewFlow(options: NewFlowOptions) {
const uri = getEmbedUri('flows/new', options, {
blueprintKey: options.blueprintKey,
flowConfig: JSON.stringify(options.flowConfig),
})
openIframe(uri)
}
function getEmbedUri(page: string, options: InitOptions, params?: any) {

@@ -64,1 +72,6 @@ const key = appKey || options.appKey

}
interface NewFlowOptions extends InitOptions {
blueprintKey: string
flowConfig: any
}
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