0.0.3 • Published 6 years ago

@wiredcraft/omni-qr-lib v0.0.3

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
6 years ago

@wiredcraft/omni-qr-lib

Libs for omni qr lib.

Usage

const Qrcode = require('@wiredcraft/omni-qr-lib');

const qr = new Qrcode({
  baseUrl: 'https://127.0.0.1',
  timeout: 10000,  // ms
  env: {
    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json'
    }
  },
  logger   // bunyan-logger instance
});

Supported Endpoints

  • getQrcodeById({ transactionId, id, opt })
  • getQrcodesByTagId({ transactionId, tagId, offset, limit, opt })
0.0.3

6 years ago

0.0.2

6 years ago