2.2.0 • Published 7 months ago

@truv/bridge v2.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

Truv Bridge npm version

Library for integrating with the Truv Bridge

Install

With npm:

npm install @truv/bridge --save

With yarn

yarn add -S @truv/bridge

Usage

import TruvBridge from '@truv/bridge'

const bridge = TruvBridge.init({
  bridgeToken: '<previously generated bridge token>', // more info https://docs.truv.com/reference/bridge-tokens_create
  onSuccess: (publicToken, metaData) => {
    console.log(publicToken, metaData);
  },
});

// when the widget needs to be opened
bridge.open();
2.2.0

7 months ago

2.1.0

1 year ago

2.1.0-rc.1

1 year ago

2.0.2

3 years ago