lorica-sdk
v0.1.7
Published
Alias for lorica-node — the Node.js SDK for the Lorica biometric verification API. (lorica-sdk is the Python package name on PyPI; this npm alias re-exports lorica-node so both names work.)
Maintainers
Readme
lorica-sdk (npm alias)
This package is an alias of lorica-node —
the Node.js SDK for the Lorica biometric verification API. It exists because
the Python SDK is published on PyPI as lorica-sdk, and both install lines
should work on both registries:
npm install lorica-node # canonical Node package
npm install lorica-sdk # same thing, via this alias
pip install lorica-sdk # Python SDKimport { LoricaClient } from 'lorica-sdk'; // identical to 'lorica-node'Payload numbers must be JSON-stable. Use integers (
{ amount: 50000 }) or decimal strings ({ amount: "50000.00" }) for numeric payload fields — never floats. A whole-number float like50000.0serializes as50000.0in Python but50000in JavaScript, so the SDKs and server reject it to guarantee your receipt verifies in any language. NaN and Infinity are rejected for the same reason.
Docs: https://loricaapi.com/docs
