Skip to content

Latest commit

 

History

History
104 lines (80 loc) · 4.27 KB

README.md

File metadata and controls

104 lines (80 loc) · 4.27 KB

Build Status Codacy Badge

Trust1Connector JavaScript Library

🎊 🎊 🎊 🎉 🎉 🎉 Trust1Connector v3 🎉 🎉 🎉 🎊 🎊 🎊

You can find the repository for the Trust1Connector v3 Javascript SDK via the following link: Trust1Connector v3

Trust1Connector v2

The Trust1Connector library (T1C-Lib), is a javascript library to communicate with the Trust1Connector. The library simplifies the execution to the connector and works asynchronously.

This is version 2 of the library, and is intended to be used with Trust1Connector v2+.

When the Trust1Connector isn’t installed the library will return an uninitialised client which can be used to download a client installer.

$ npm i trust1connector@2.4.3

(currently v2.4.3 is the latest version compatible with T1C v2)

Community

We're present on Gitter in the following room: Trust1Connector-gitter

Installation - OSX Only

Make sure you have NodeJS installed on your machine. Use of Yarn is recommended but not required.

Webpack

Webpack is needed to build the Javascript library

$ npm install --global webpack

Dependencies

Navigate to the root directory and use Yarn to download and the necessary dependencies

$ yarn
OR

Use npm install

$ npm install

Release

Prerequisite

Build and package

To build the TypeScript and JavaScript library, compressed:

$ yarn build-ts
$ yarn build-prod

License

This file is part of the Trust1Team(R) sarl project.
 Copyright (c) 2014 Trust1Team sarl
 Authors: Trust1Team development

 
This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Affero General Public License version 3
 as published by the Free Software Foundation with the addition of the
 following permission added to Section 15 as permitted in Section 7(a):
 FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY Trust1T,
 Trust1T DISCLAIMS THE WARRANTY OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.

 This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 See the GNU Affero General Public License for more details.
 You should have received a copy of the GNU Affero General Public License
 along with this program; if not, see http://www.gnu.org/licenses or write to
 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 Boston, MA, 02110-1301 USA.

 The interactive user interfaces in modified source and object code versions
 of this program must display Appropriate Legal Notices, as required under
 Section 5 of the GNU Affero General Public License.

 
You can be released from the requirements of the Affero General Public License
 by purchasing
 a commercial license. Buying such a license is mandatory if you wish to develop commercial activities involving the Trust1T software without
 disclosing the source code of your own applications.
 Examples of such activities include: offering paid services to customers as an ASP,
 Signing PDFs on the fly in a web application, shipping OCS with a closed
 source product...
Irrespective of your choice of license, the T1T logo as depicted below may not be removed from this file, or from any software or other product or service to which it is applied, without the express prior written permission of Trust1Team sarl. The T1T logo is an EU Registered Trademark (n° 12943131).