@bulwark-ai/gateway 0.1.1 → 0.1.3
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 +153 -8
- package/dist/index.d.ts +76 -20
- package/dist/index.js +410 -133
- package/dist/index.mjs +411 -132
- package/package.json +21 -31
- package/bulwark-ai-gateway-0.1.0.tgz +0 -0
- package/dist/index.d.mts +0 -1490
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bulwark-ai/gateway",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Enterprise AI governance gateway — PII detection, budget control, audit logging, RAG, multi-tenant
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "Enterprise AI governance gateway — PII detection, prompt injection guard, budget control, audit logging, RAG, multi-tenant. Drop into any Node.js app.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
@@ -9,16 +9,12 @@
|
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
10
10
|
"import": "./dist/index.mjs",
|
|
11
11
|
"require": "./dist/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./admin": {
|
|
14
|
-
"types": "./dist/admin/index.d.ts",
|
|
15
|
-
"import": "./dist/admin/index.mjs",
|
|
16
|
-
"require": "./dist/admin/index.js"
|
|
17
12
|
}
|
|
18
13
|
},
|
|
14
|
+
"files": ["dist", "README.md", "LICENSE"],
|
|
19
15
|
"scripts": {
|
|
20
|
-
"build": "tsup
|
|
21
|
-
"dev": "tsup
|
|
16
|
+
"build": "tsup",
|
|
17
|
+
"dev": "tsup --watch",
|
|
22
18
|
"test": "vitest run",
|
|
23
19
|
"test:watch": "vitest",
|
|
24
20
|
"lint": "tsc --noEmit"
|
|
@@ -26,28 +22,16 @@
|
|
|
26
22
|
"keywords": [
|
|
27
23
|
"ai",
|
|
28
24
|
"gateway",
|
|
29
|
-
"llm",
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"openai",
|
|
35
|
-
"anthropic",
|
|
36
|
-
"multi-tenant",
|
|
37
|
-
"rag",
|
|
38
|
-
"enterprise",
|
|
39
|
-
"budget",
|
|
40
|
-
"compliance",
|
|
41
|
-
"security",
|
|
42
|
-
"admin"
|
|
25
|
+
"ai", "llm", "gateway", "governance",
|
|
26
|
+
"pii", "prompt-injection", "gdpr", "soc2", "hipaa", "ccpa",
|
|
27
|
+
"audit", "openai", "anthropic", "mistral", "google", "ollama",
|
|
28
|
+
"multi-tenant", "rag", "enterprise", "budget", "compliance",
|
|
29
|
+
"security", "streaming", "rate-limit", "cost-tracking", "admin"
|
|
43
30
|
],
|
|
44
31
|
"author": "Bulwark AI",
|
|
45
|
-
"license": "
|
|
32
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
46
33
|
"dependencies": {
|
|
47
|
-
"@anthropic-ai/sdk": "^0.39.0",
|
|
48
34
|
"better-sqlite3": "^11.0.0",
|
|
49
|
-
"express": "^5.2.1",
|
|
50
|
-
"openai": "^4.80.0",
|
|
51
35
|
"uuid": "^11.0.0"
|
|
52
36
|
},
|
|
53
37
|
"devDependencies": {
|
|
@@ -62,12 +46,18 @@
|
|
|
62
46
|
"vitest": "^3.0.0"
|
|
63
47
|
},
|
|
64
48
|
"peerDependencies": {
|
|
65
|
-
"
|
|
49
|
+
"openai": "^4.0.0",
|
|
50
|
+
"@anthropic-ai/sdk": "^0.30.0",
|
|
51
|
+
"express": "^4.0.0 || ^5.0.0",
|
|
52
|
+
"pg": "^8.0.0",
|
|
53
|
+
"ioredis": "^5.0.0"
|
|
66
54
|
},
|
|
67
55
|
"peerDependenciesMeta": {
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
}
|
|
56
|
+
"openai": { "optional": true },
|
|
57
|
+
"@anthropic-ai/sdk": { "optional": true },
|
|
58
|
+
"express": { "optional": true },
|
|
59
|
+
"pg": { "optional": true },
|
|
60
|
+
"ioredis": { "optional": true }
|
|
71
61
|
},
|
|
72
62
|
"engines": {
|
|
73
63
|
"node": ">=18"
|
|
Binary file
|