@vinaystwt/xmpp-payment-adapters 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 +42 -0
- package/package.json +9 -6
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# @vinaystwt/xmpp-payment-adapters
|
|
2
|
+
|
|
3
|
+
xMPP Payment Adapters is the settlement layer behind xMPP route execution.
|
|
4
|
+
|
|
5
|
+
It contains the adapter implementations for:
|
|
6
|
+
|
|
7
|
+
- `x402`
|
|
8
|
+
- `mpp-charge`
|
|
9
|
+
- `mpp-session-open`
|
|
10
|
+
- `mpp-session-reuse`
|
|
11
|
+
|
|
12
|
+
## Position In The Package Family
|
|
13
|
+
|
|
14
|
+
Most builders should start with:
|
|
15
|
+
|
|
16
|
+
- `@vinaystwt/xmpp-core`
|
|
17
|
+
- `@vinaystwt/xmpp-mcp`
|
|
18
|
+
|
|
19
|
+
Use `@vinaystwt/xmpp-payment-adapters` directly only if you need low-level control over settlement execution in a custom xMPP service.
|
|
20
|
+
|
|
21
|
+
## Install
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm install @vinaystwt/xmpp-payment-adapters
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Best For
|
|
28
|
+
|
|
29
|
+
- custom settlement execution
|
|
30
|
+
- adapter-level testing
|
|
31
|
+
- embedding x402 and MPP execution into your own payment pipeline
|
|
32
|
+
|
|
33
|
+
## Related Packages
|
|
34
|
+
|
|
35
|
+
- `@vinaystwt/xmpp-http-interceptor`
|
|
36
|
+
- `@vinaystwt/xmpp-wallet`
|
|
37
|
+
- `@vinaystwt/xmpp-router`
|
|
38
|
+
|
|
39
|
+
## Docs
|
|
40
|
+
|
|
41
|
+
- repo:
|
|
42
|
+
- https://github.com/Vinaystwt/xMPP
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinaystwt/xmpp-payment-adapters",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Advanced payment adapter package for x402, MPP charge, and MPP session execution on Stellar.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/payment-adapters/src/index.js",
|
|
8
8
|
"types": "dist/payment-adapters/src/index.d.ts",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
|
+
"README.md",
|
|
11
12
|
"LICENSE"
|
|
12
13
|
],
|
|
13
14
|
"sideEffects": false,
|
|
@@ -25,7 +26,9 @@
|
|
|
25
26
|
"stellar",
|
|
26
27
|
"x402",
|
|
27
28
|
"mpp",
|
|
28
|
-
"payments"
|
|
29
|
+
"payments",
|
|
30
|
+
"adapters",
|
|
31
|
+
"sessions"
|
|
29
32
|
],
|
|
30
33
|
"exports": {
|
|
31
34
|
".": {
|
|
@@ -50,9 +53,9 @@
|
|
|
50
53
|
"@x402/core": "^2.8.0",
|
|
51
54
|
"@x402/fetch": "^2.8.0",
|
|
52
55
|
"@x402/stellar": "^2.8.0",
|
|
53
|
-
"@vinaystwt/xmpp-config": "0.1.
|
|
54
|
-
"@vinaystwt/xmpp-types": "0.1.
|
|
55
|
-
"@vinaystwt/xmpp-wallet": "0.1.
|
|
56
|
+
"@vinaystwt/xmpp-config": "0.1.1",
|
|
57
|
+
"@vinaystwt/xmpp-types": "0.1.1",
|
|
58
|
+
"@vinaystwt/xmpp-wallet": "0.1.1",
|
|
56
59
|
"mppx": "^0.4.11"
|
|
57
60
|
}
|
|
58
61
|
}
|