1.0.11 • Published 3 days ago

@woflowinc/link v1.0.11

Weekly downloads
-
License
-
Repository
-
Last release
3 days ago

@woflowinc/link

Install

npm i @woflowinc/link

Getting started

Make sure you have your JWT token and public key

Embed woflow link

Use the following code to embed your Portal into your app:

import { WoflowLink } from "@woflowinc/link";

const options = {
    jwt: token,
    publicKey: publicKey,
    linkConfigurationId: linkConfigurationId,
    theme: {
      width: 600 // 400 (default), 600, 800
    }
  }

// To initialize pass JWT token and public key - authenticate platform
const woflow = new WoflowLink(options);

// use this wherever you need to trigger an import
woflow.openIframe({
    onData: (data) => {
      console.log(`Data returned from Woflow`)
      console.log({data})
    },
    onClose: () => {
      console.log("Woflow SDK has been closed")
    }
  })
1.0.11

3 days ago

1.0.10

10 days ago

1.0.9

22 days ago

1.0.8

2 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago