1.2.8 • Published 4 years ago

@haventec/common-web-sdk v1.2.8

Weekly downloads
42
License
-
Repository
github
Last release
4 years ago

Haventec Common Web SDK

A common collection of javascript functions to facilitate client-side interaction.

Installation

npm install @haventec/common-web-sdk

General Usage

The common-web-sdk is exported as a default export and call be directly consumed by Javascript/Typescript file.

import haventecCommon from '@haventec/common-web-sdk' 
let haventecCommon = require ('@haventec/common-web-sdk' ) 

However, the implementation requires window object (browser) and wouldn't function in a node.js environment.

Methods

  • hashPin: It returns the hashed pin.

  • getDeviceInfo: It returns the information about device including the fingerprint.

  • generateSalt: It returns the salt to be used while hashing.

Development

To build and publish locally, clone the project and run the following:

npm install
npm pack / npm publish

License

This code is available under the MIT license. A copy of the license can be found in the LICENSE file included with the distribution.

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago