@correntelabs/x402-trust 0.5.91

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Walter D. Hawkins
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,49 @@
1
+ # @corrente-labs/x402-trust
2
+
3
+ **The Corporate & Enterprise Trust Layer for Autonomous AI Agents and Machine Payments.**
4
+
5
+ Authored by **Corrente Labs, Inc.** — Powered by the **Ashlar Blue** Protocol.
6
+
7
+ ---
8
+
9
+ ## 🏛️ Seamless Institutional Distribution
10
+
11
+ `@corrente-labs/x402-trust` is the official enterprise distribution of the Ashlar Blue trust suite. It seamlessly wraps and re-exports [`@ashlar-blue/x402-trust`](https://www.npmjs.com/package/@ashlar-blue/x402-trust), ensuring unified cryptographic execution, Model Context Protocol (MCP) tooling, ISDA CDM securities settlement, and Intel TDX enclave quote verification across both corporate and decentralized environments.
12
+
13
+ ```bash
14
+ npm install @corrente-labs/x402-trust
15
+ ```
16
+
17
+ ---
18
+
19
+ ## ⚡ Unified API
20
+
21
+ Importing from `@corrente-labs/x402-trust` gives you immediate, type-safe access to all Ashlar Blue primitives:
22
+
23
+ ```typescript
24
+ import {
25
+ checkService,
26
+ resolveX402,
27
+ verifyReceipt,
28
+ parseIsdaCdmEvent,
29
+ buildIsdaX402Challenge,
30
+ buildIsdaScittStatement
31
+ } from '@corrente-labs/x402-trust';
32
+
33
+ // 1. Resolve facilitator via DNS discovery
34
+ const service = await resolveX402('ashlar.blue');
35
+
36
+ // 2. Perform ISDA CDM financial lifecycle processing
37
+ const isdaEvent = parseIsdaCdmEvent(payload);
38
+ const statement = buildIsdaScittStatement(isdaEvent);
39
+ ```
40
+
41
+ ---
42
+
43
+ ## 📜 Specifications & Intellectual Property
44
+
45
+ * **Corporate Entity**: Corrente Labs, Inc. (Delaware C-Corp)
46
+ * **Flagship Trust Platform**: [ashlar.blue](https://ashlar.blue)
47
+ * **Patents Pending**: US Patent Pending (App Nos. 64/143,781, 64/146,264, & 64/146,275)
48
+ * **Standards Tracks**: IETF SCITT · x402 Foundation · XRPL XLS-68/85
49
+ * **License**: MIT
package/dist/cli.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * @corrente-labs/x402-trust CLI Wrapper
4
+ */
5
+ import '@ashlar-blue/x402-trust/cli';
package/dist/cli.js ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * @corrente-labs/x402-trust CLI Wrapper
4
+ */
5
+ import '@ashlar-blue/x402-trust/cli';
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @corrente-labs/x402-trust
3
+ *
4
+ * Corrente Labs, Inc. Enterprise Trust & Settlement SDK.
5
+ * Seamlessly resolves and re-exports the canonical Ashlar Blue engine (@ashlar-blue/x402-trust).
6
+ *
7
+ * Copyright (c) 2026 Corrente Labs, Inc.
8
+ * Licensed under the MIT License.
9
+ */
10
+ export * from '@ashlar-blue/x402-trust';
package/dist/index.js ADDED
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @corrente-labs/x402-trust
3
+ *
4
+ * Corrente Labs, Inc. Enterprise Trust & Settlement SDK.
5
+ * Seamlessly resolves and re-exports the canonical Ashlar Blue engine (@ashlar-blue/x402-trust).
6
+ *
7
+ * Copyright (c) 2026 Corrente Labs, Inc.
8
+ * Licensed under the MIT License.
9
+ */
10
+ export * from '@ashlar-blue/x402-trust';
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@correntelabs/x402-trust",
3
+ "version": "0.5.91",
4
+ "description": "Corrente Labs, Inc. enterprise distribution for the Ashlar Blue x402 trust and settlement engine. Seamlessly resolves and delegates to @ashlar-blue/x402-trust.",
5
+ "keywords": [
6
+ "corrente-labs",
7
+ "ashlar-blue",
8
+ "x402",
9
+ "mcp",
10
+ "model-context-protocol",
11
+ "agents",
12
+ "payments",
13
+ "attestation",
14
+ "tee",
15
+ "discovery",
16
+ "scitt",
17
+ "flare",
18
+ "xrpl",
19
+ "isda",
20
+ "isda-cdm",
21
+ "derivatives",
22
+ "securities",
23
+ "clearing"
24
+ ],
25
+ "author": "Corrente Labs, Inc. <contact@correntelabs.com>",
26
+ "license": "MIT",
27
+ "type": "module",
28
+ "main": "./dist/index.js",
29
+ "types": "./dist/index.d.ts",
30
+ "bin": {
31
+ "x402-trust": "dist/cli.js",
32
+ "x402-mcp": "dist/cli.js"
33
+ },
34
+ "exports": {
35
+ ".": {
36
+ "types": "./dist/index.d.ts",
37
+ "default": "./dist/index.js"
38
+ }
39
+ },
40
+ "files": [
41
+ "dist",
42
+ "README.md",
43
+ "LICENSE"
44
+ ],
45
+ "sideEffects": false,
46
+ "engines": {
47
+ "node": ">=20"
48
+ },
49
+ "scripts": {
50
+ "build": "tsc -p tsconfig.json"
51
+ },
52
+ "dependencies": {
53
+ "@ashlar-blue/x402-trust": "^0.5.91"
54
+ },
55
+ "devDependencies": {
56
+ "typescript": "^5.6.0"
57
+ },
58
+ "repository": {
59
+ "type": "git",
60
+ "url": "git+https://github.com/correntelabs/ashlar-blue.git"
61
+ },
62
+ "homepage": "https://correntelabs.com",
63
+ "bugs": {
64
+ "url": "https://github.com/correntelabs/ashlar-blue/issues"
65
+ }
66
+ }