JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q38550F
  • License Apache-2.0

Take the photo of the QRCode and do the verification of equality. If the verification is a successes the coperation will continue, if not user will be asked to resubmit the image.

Package Exports

  • @sensio/op-sn-take-photo-and-upload-qrcode

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sensio/op-sn-take-photo-and-upload-qrcode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@sensio/op-sn-take-photo-and-upload-qrcode

Blockchain Version bafy2bzacedtcdvuykc4jencdnm5zymadzutm7yzvpughbgjotxmgpyglzhqpc

Description

Take the photo of the QRCode and do the verification of equality. If the verification is a successes the coperation will continue, if not user will be asked to resubmit the image. The photo taken MUST NOT BE MODIFIED, RESIZED AND MUST BE IN JPG OR JPEG. Medium or low size is better than large 10MB files. You can choose that in the camera settings

Install

# install latest version
yarn add @sensio/op-sn-take-photo-and-upload-qrcode

# or specific version
yarn add @sensio/op-sn-take-photo-and-upload-qrcode@0.1.0

Usage

import snTakePhotoAndUploadQrcode from '@sensio/op-sn-take-photo-and-upload-qrcode'

const dataAsUintArray = new U8intArray(7)
const dataAsBuffer = Buffer.from(7)
await snTakePhotoAndUploadQrcode([{data: dataAsUintArray, decode: ()=> dataAsBuffer}])

Contributing

PRs accepted.

License

Longer version is in LICENSE file

Apache-2.0 © Sensio Group