fastintegration-controller@1.2.3
BIPBOP integration services, backend client.
TL;DR
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.9.0/firebase.js"></script>
<script src="/node_modules/@fastintegration/controller/browser.js"></script>
document.body.addEventListener('fastintegration.authentication'); // Pedido de autenticação
/** global firebase */
document.body.dispatchEvent(new CustomEvent('fastintegration.authentication.required' { detail : { firebase.auth().currentUser } }));
var fast = new FastintegrationController.JuristekIntegration({
token: "token",
username: "username"
});
fast.authentication().then(function () {
return fast.cnjPromise('10879641520178260100');
});
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install fastintegration-controller --save --registry https://npm.bipbop.com.br/
This package is provided in these module formats:
- CommonJS
Dependencies
- es6-error: Easily-extendable error for use with ES6 classes
- firebase: Firebase JavaScript library for web and Node.js
- human-interval: Human readable time measurements
- superoverload: Function overload for JavaScript
- lodash
- escape-firebase
- p-timeout
- unfetch
Dev Dependencies
- eslint-config-airbnb-base: Airbnb's base JS ESLint config, following our styleguide
- eslint-config-airbnb-es5: Unofficial Airbnb ESLint config, following their ES5 style guide
- eslint-plugin-import: Import with sanity.
- eslint-plugin-react: React specific linting rules for ESLint
- gulp-jsdoc3: gulp integration for jsdoc3 cli
- karma: Spectacular Test Runner for JavaScript.
- karma-mocha: A Karma plugin. Adapter for Mocha testing framework.
- karma-phantomjs2-launcher: A Karma plugin. Launcher for PhantomJS 2. Slightly changed karma-phantomjs-launcher plugin.ß
- mocha: simple, flexible, fun test framework
- rollup-plugin-istanbul: Seamless integration between Rollup and Istanbul.
- rollup-plugin-license: Rollup plugin to add license banner to the final bundle and output third party licenses
- rollup-plugin-buble
- rollup-plugin-commonjs
- rollup-plugin-json
- rollup-plugin-node-resolve
- rollup
- uglify-js
- eslint
- gulp
- gulp-gh-pages