@fraud-intercept/sdk 0.1.0 → 0.1.1
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 +2 -1
- package/package.json +13 -1
package/README.md
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Typed Node.js client for the Fraud Intercept **Submit Event** API (`POST /api/v1/events`).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Published on npm as [`@fraud-intercept/sdk`](https://www.npmjs.com/package/@fraud-intercept/sdk). API reference: [fraud-intercept.com/api-docs](https://fraud-intercept.com/api-docs/introduction).
|
|
6
6
|
|
|
7
7
|
## Requirements
|
|
8
8
|
|
|
9
9
|
- Node.js 18+ (uses global `fetch`)
|
|
10
|
+
- A Fraud Intercept API key from your brand dashboard (see [authentication](https://fraud-intercept.com/api-docs/authentication))
|
|
10
11
|
|
|
11
12
|
## Install
|
|
12
13
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fraud-intercept/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Fraud Intercept SDK for real-time Digital Trust event scoring",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
"test": "vitest run",
|
|
11
11
|
"prepublishOnly": "npm run build"
|
|
12
12
|
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/petrovpetkov01-web/fraud-intercept.git",
|
|
16
|
+
"directory": "packages/sdk"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://fraud-intercept.com/api-docs/introduction",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/petrovpetkov01-web/fraud-intercept/issues"
|
|
21
|
+
},
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
13
25
|
"keywords": ["fraud", "digital-trust", "risk-scoring", "device-intelligence"],
|
|
14
26
|
"license": "MIT",
|
|
15
27
|
"devDependencies": {
|