lorica-sdk 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # lorica-sdk (npm alias)
2
+
3
+ This package is an **alias of [`lorica-node`](https://www.npmjs.com/package/lorica-node)** —
4
+ the Node.js SDK for the Lorica biometric verification API. It exists because
5
+ the Python SDK is published on PyPI as `lorica-sdk`, and both install lines
6
+ should work on both registries:
7
+
8
+ ```bash
9
+ npm install lorica-node # canonical Node package
10
+ npm install lorica-sdk # same thing, via this alias
11
+ pip install lorica-sdk # Python SDK
12
+ ```
13
+
14
+ ```js
15
+ import { LoricaClient } from 'lorica-sdk'; // identical to 'lorica-node'
16
+ ```
17
+
18
+ Docs: https://loricaapi.com/docs
package/index.cjs ADDED
@@ -0,0 +1,3 @@
1
+ // lorica-sdk is an alias of lorica-node: the same package under the name the
2
+ // Python SDK uses on PyPI, so `npm install lorica-sdk` never 404s.
3
+ module.exports = require('lorica-node');
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from 'lorica-node';
package/index.mjs ADDED
@@ -0,0 +1,3 @@
1
+ // lorica-sdk is an alias of lorica-node: the same package under the name the
2
+ // Python SDK uses on PyPI, so `npm install lorica-sdk` never 404s.
3
+ export * from 'lorica-node';
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "lorica-sdk",
3
+ "version": "0.1.4",
4
+ "description": "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.)",
5
+ "license": "MIT",
6
+ "homepage": "https://loricaapi.com/docs",
7
+ "keywords": [
8
+ "attest",
9
+ "attestation",
10
+ "biometric",
11
+ "audit",
12
+ "receipt",
13
+ "jwt",
14
+ "compliance"
15
+ ],
16
+ "type": "module",
17
+ "main": "./index.cjs",
18
+ "module": "./index.mjs",
19
+ "types": "./index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "import": {
23
+ "types": "./index.d.ts",
24
+ "default": "./index.mjs"
25
+ },
26
+ "require": {
27
+ "types": "./index.d.ts",
28
+ "default": "./index.cjs"
29
+ }
30
+ }
31
+ },
32
+ "files": [
33
+ "index.mjs",
34
+ "index.cjs",
35
+ "index.d.ts",
36
+ "README.md"
37
+ ],
38
+ "engines": {
39
+ "node": ">=20.0.0"
40
+ },
41
+ "dependencies": {
42
+ "lorica-node": "^0.1.4"
43
+ }
44
+ }