@neuraltrust/trustguard-sdk 0.1.3 → 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 +14 -0
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# TrustGuard Node.js SDK
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@neuraltrust/trustguard-sdk)
|
|
4
|
+
[Documentation](https://docs.neuraltrust.ai/sdks/trustguard/node) · [Python package](https://pypi.org/project/trustguard-sdk/) · [Go module](https://pkg.go.dev/github.com/NeuralTrust/trustguard-sdk/go) · [GitHub](https://github.com/NeuralTrust/trustguard-sdk)
|
|
5
|
+
|
|
3
6
|
Official Node.js / TypeScript client for the TrustGuard runtime evaluate API (`POST /v1/evaluate`). Configure a base URL and an API key, send the payload you want evaluated, and act on the verdict: TrustGuard detects, you enforce.
|
|
4
7
|
|
|
5
8
|
## Install
|
|
@@ -75,6 +78,17 @@ try {
|
|
|
75
78
|
}
|
|
76
79
|
```
|
|
77
80
|
|
|
81
|
+
## Documentation
|
|
82
|
+
|
|
83
|
+
The full guide is at [docs.neuraltrust.ai](https://docs.neuraltrust.ai/sdks/trustguard/node): setting up the collector
|
|
84
|
+
and its key, guarding input and output, configuration, the attributes
|
|
85
|
+
an evaluation carries, and troubleshooting. The [Evaluate API](https://docs.neuraltrust.ai/trustguard/api/evaluate)
|
|
86
|
+
is the contract every SDK wraps, and [SDKs](https://docs.neuraltrust.ai/sdks/overview) says when to reach
|
|
87
|
+
for TrustGuard and when for TrustGate.
|
|
88
|
+
|
|
89
|
+
The same client in other languages: [Python](https://pypi.org/project/trustguard-sdk/), [Go](https://pkg.go.dev/github.com/NeuralTrust/trustguard-sdk/go). Source, examples and issues:
|
|
90
|
+
[github.com/NeuralTrust/trustguard-sdk](https://github.com/NeuralTrust/trustguard-sdk).
|
|
91
|
+
|
|
78
92
|
## Development
|
|
79
93
|
|
|
80
94
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neuraltrust/trustguard-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Official Node.js SDK for the TrustGuard runtime evaluate API (POST /v1/evaluate)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "NeuralTrust",
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
"url": "git+https://github.com/NeuralTrust/trustguard-sdk.git",
|
|
10
10
|
"directory": "node"
|
|
11
11
|
},
|
|
12
|
+
"homepage": "https://docs.neuraltrust.ai/sdks/trustguard/node",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/NeuralTrust/trustguard-sdk/issues"
|
|
15
|
+
},
|
|
12
16
|
"keywords": [
|
|
13
17
|
"neuraltrust",
|
|
14
18
|
"trustguard",
|