@bloume/id 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +42 -17
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,13 +1,21 @@
1
- # `@bloume/id`
1
+ <h1 align="center">BloumeID SDK (<code>@bloume/id</code>)</h1>
2
2
 
3
- Official, zero-dependency browser & server SDK for **BloumeID** — open-source device intelligence, anti-spoofing, and fraud prevention.
3
+ <p align="center">
4
+ Official zero-dependency JavaScript/TypeScript SDK for <a href="https://github.com/BloumeSAS/BloumeID">BloumeID</a> — open-source device intelligence, anti-spoofing, and fraud prevention with Dual-API compatibility (ThumbmarkJS &amp; Fingerprint.com).
5
+ </p>
4
6
 
5
- - **104 deterministic signals** (Canvas, WebGL2, WebGPU, OfflineAudioContext, Fonts, Math, Screen/HDR, Anti-Hook)
6
- - **Zero runtime dependencies** (`dependencies: {}`)
7
- - **Dual-API drop-in compatibility** with **ThumbmarkJS** and **Fingerprint.com (FingerprintJS Pro)**
8
- - **ESM, CJS, UMD (`window.BloumeID`)** + full TypeScript types
7
+ <p align="center">
8
+ <a href="https://www.npmjs.com/package/@bloume/id"><img src="https://img.shields.io/npm/v/@bloume/id.svg" alt="NPM Version" /></a>
9
+ <a href="https://www.npmjs.com/package/@bloume/id"><img src="https://img.shields.io/npm/dm/@bloume/id.svg" alt="NPM Downloads" /></a>
10
+ <a href="https://github.com/BloumeSAS/bloumeid-sdk/actions/workflows/publish.yml"><img src="https://github.com/BloumeSAS/bloumeid-sdk/actions/workflows/publish.yml/badge.svg" alt="Publish" /></a>
11
+ <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT" /></a>
12
+ <br/><br/>
13
+ <a href="https://www.buymeacoffee.com/bloumesas"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=☕&slug=bloumesas&button_colour=BD5FFF&font_colour=ffffff&font_family=Cookie&outline_colour=000000&coffee_colour=FFDD00" /></a>
14
+ </p>
9
15
 
10
- ## Installation
16
+ ---
17
+
18
+ ## 🚀 Getting Started
11
19
 
12
20
  ```bash
13
21
  npm install @bloume/id
@@ -15,9 +23,32 @@ npm install @bloume/id
15
23
  pnpm add @bloume/id
16
24
  ```
17
25
 
18
- ## Quick Start (Browser)
26
+ ---
27
+
28
+ ## 🔒 Provenance & Supply Chain Security
29
+
30
+ Every published version of `@bloume/id` is **built and signed on GitHub Actions**.
31
+
32
+ | | |
33
+ |---|---|
34
+ | **Built and signed on** | ✅ GitHub Actions |
35
+ | **Source Commit** | [github.com/BloumeSAS/bloumeid-sdk](https://github.com/BloumeSAS/bloumeid-sdk/commits/main) |
36
+ | **Build File** | [`.github/workflows/publish.yml`](.github/workflows/publish.yml) |
37
+
38
+ ---
39
+
40
+ ## 🌟 Key Features
41
+ - **⚡ 104 Deterministic Signals**: Canvas, WebGL2, WebGPU, OfflineAudioContext, Fonts, Math, Screen/HDR, and Anti-Hook detection.
42
+ - **🪶 Zero Runtime Dependencies**: `dependencies: {}` — tiny UMD, ESM, and CJS bundles.
43
+ - **🔄 Dual-API Drop-in Compatibility**: Works seamlessly with **ThumbmarkJS** and **Fingerprint.com (FingerprintJS Pro)** schemas.
44
+ - **🛡️ Full TypeScript Support**: Strict types (`BloumeIDResult`, `BloumeIDServer`) out of the box.
19
45
 
20
- ```ts
46
+ ---
47
+
48
+ ## ✍️ Example
49
+
50
+ ### Browser
51
+ ```typescript
21
52
  import { BloumeID } from "@bloume/id";
22
53
 
23
54
  const client = new BloumeID({
@@ -29,9 +60,8 @@ const result = await client.get({ tag: "checkout" });
29
60
  console.log(result.visitorId, result.thumbmark, result.info.dangerLevel);
30
61
  ```
31
62
 
32
- ## Server Verification (`@bloume/id/server`)
33
-
34
- ```ts
63
+ ### Server Verification (`@bloume/id/server`)
64
+ ```typescript
35
65
  import { BloumeIDServer } from "@bloume/id/server";
36
66
 
37
67
  const server = new BloumeIDServer({
@@ -44,8 +74,3 @@ if (verified.info.isBot || verified.info.dangerLevel >= 3) {
44
74
  // Block or challenge request
45
75
  }
46
76
  ```
47
-
48
- ## Repository & License
49
-
50
- - Source: [BloumeSAS/bloumeid-sdk](https://github.com/BloumeSAS/bloumeid-sdk) (synced from [BloumeSAS/BloumeID](https://github.com/BloumeSAS/BloumeID))
51
- - License: MIT © 2026 Bloume SAS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloume/id",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Self-hosted browser fingerprinting, anti-spoofing and visitor identity SDK by Bloume SAS",
5
5
  "license": "MIT",
6
6
  "author": "Bloume SAS",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "git+https://github.com/bloume-sas/bloumeid.git",
13
+ "url": "git+https://github.com/bloumesas/bloumeid-sdk.git",
14
14
  "directory": "packages/bloumeid"
15
15
  },
16
16
  "type": "module",
@@ -67,4 +67,4 @@
67
67
  "typescript": "^5.6.3",
68
68
  "vitest": "^2.1.5"
69
69
  }
70
- }
70
+ }