1.2.3 • Published 6 years ago

@fastintegration/controller v1.2.3

Weekly downloads
-
License
GPL-2.0
Repository
gitlab
Last release
6 years ago

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

License

GPL-2.0