enyadeliver

1.0.6 • Public • Published

EnyaDeliver

EnyaDeliver provides an API and SDK for securely delivering contents to a phone.

Getting Started

npm module for Enya.ai JavaScript SDK

npm install enyadeliver --save

TypeScript

Install via NPM. GetResult() takes a data payload from the enya API and downloads and stores the result on the phone. The data remain encrypted until needed:

import * as EnyaDeliver from 'enyadeliver';
 
EnyaDeliver.GetResult(result)
EnyaDeliver.DecryptResult()

Generally, DecryptResult() will be used like this

EnyaDeliver.DecryptResult().then(decrypted64 => {
  //do something with the cleartext base64 string, such as display it...
  this.setState({
    base64String: 'data:application/pdf;base64,' + decrypted64,
    cryptoState: 'display',
  });
})

V1.0.0(DEC 25, 2019)

  • v1.0.0 release

V1.0.1(JAN 15, 2020)

  • updated contact information

Package Sidebar

Install

npm i enyadeliver

Homepage

enya.ai

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

37.7 kB

Total Files

6

Last publish

Collaborators

  • enyaai