@flowio/browser-bundle
v2.0.26
Published
Browser Bundle service
Downloads
36
Readme
@flowio/browser-bundle
Module to provide a service to interface with Flow's browser bundle, designed to be consumed by flowjs.
Caches the response it receives, unless force
option is passed. All parameters are optional,
however if session
is not passed, browserBundle.applySession(...)
must be called first.
Usage
// commonjs require
const browserBundle = require('@flowio/browser-bundle');
// es6 import
import browserBundle from '@flowio/browser-bundle';
browserBundle.fetch({
session: sessionObj,
options: {
force: false
},
});