ironchip-fraud-detection-web-sdk
v0.1.4
Published
Our Location Fraud Detection system analyzes environmental signals and detects fraudulent behaviors like phishing, sim swapping or synthetic identity with unspoofable location.
Downloads
4
Keywords
Readme
Ironchip Fraud Detection Web SDK
Our Location Fraud Detection system analyzes environmental signals and detects fraudulent behaviors like phishing, sim swapping or synthetic identity with unspoofable location.
Getting started?
Add Node.js package:
npm i https://github.com/Ironchip-Security/Ironchip-Fraud-Detection-Web-SDK/releases/download/{VERSION}/ironchip-fraud-detection-web-sdk-{VERSION}.tgz
Usage
Then you just have to import the package with:
//import the lbfraud_sdk library
import { LBFraudSDK,LBFraudSDKEnvironment } from 'ironchip-fraud-detection-web-sdk';
In order to send transaction, you must first initialize the sdk by providing a valid api key.
//Initialize the client the available environments are Development, Testing and Production(default)
const client = new LBFraudSDK({
apiKey: 'api-key',
environment: LBFraudSDKEnvironment.Testing,
});
Once the service has been initialized, you can now perform transactions:
//TransactionID (required,unique): transaction identifier request for fraud results
//UserID (required): User identifier
client.sendTransaction("transaction-id","user-id").then(() => {});
change /resources/models/version.d.ts and src/resources/models/version.ts
export declare const VERSION = "0.1.4";
build js npm run build create tgz npm pack