@t402/axios 2.3.1 → 2.5.0
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 +8 -1
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# t402
|
|
1
|
+
# @t402/axios
|
|
2
2
|
|
|
3
3
|
A utility package that extends Axios to automatically handle 402 Payment Required responses using the t402 payment protocol v2. This package enables seamless integration of payment functionality into your applications when making HTTP requests.
|
|
4
4
|
|
|
@@ -195,3 +195,10 @@ const api = wrapAxiosWithPaymentFromConfig(axios.create(), {
|
|
|
195
195
|
});
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
+
## Related Packages
|
|
199
|
+
|
|
200
|
+
- `@t402/core` - Core protocol types and client
|
|
201
|
+
- `@t402/fetch` - Fetch wrapper with automatic payment handling
|
|
202
|
+
- `@t402/evm` - EVM mechanism implementation
|
|
203
|
+
- `@t402/svm` - Solana mechanism implementation
|
|
204
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t402/axios",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"main": "./dist/cjs/index.js",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -10,27 +10,27 @@
|
|
|
10
10
|
"repository": "https://github.com/t402-io/t402",
|
|
11
11
|
"description": "t402 Payment Protocol",
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@eslint/js": "^9.
|
|
14
|
-
"@types/node": "^
|
|
15
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
16
|
-
"@typescript-eslint/parser": "^8.
|
|
13
|
+
"@eslint/js": "^9.39.2",
|
|
14
|
+
"@types/node": "^25.2.2",
|
|
15
|
+
"@typescript-eslint/eslint-plugin": "^8.55.0",
|
|
16
|
+
"@typescript-eslint/parser": "^8.55.0",
|
|
17
17
|
"eslint": "^9.24.0",
|
|
18
18
|
"eslint-plugin-import": "^2.31.0",
|
|
19
|
-
"eslint-plugin-jsdoc": "^
|
|
20
|
-
"eslint-plugin-prettier": "^5.
|
|
19
|
+
"eslint-plugin-jsdoc": "^62.5.4",
|
|
20
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
21
21
|
"glob": "^13.0.0",
|
|
22
|
-
"prettier": "3.
|
|
23
|
-
"tsup": "^8.
|
|
22
|
+
"prettier": "3.8.1",
|
|
23
|
+
"tsup": "^8.5.1",
|
|
24
24
|
"tsx": "^4.21.0",
|
|
25
|
-
"typescript": "^5.
|
|
25
|
+
"typescript": "^5.9.3",
|
|
26
26
|
"vite": "^7.3.1",
|
|
27
|
-
"vite-tsconfig-paths": "^
|
|
27
|
+
"vite-tsconfig-paths": "^6.1.0",
|
|
28
28
|
"vitest": "^3.2.4"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"axios": "^1.
|
|
31
|
+
"axios": "^1.13.5",
|
|
32
32
|
"zod": "^3.24.2",
|
|
33
|
-
"@t402/core": "2.
|
|
33
|
+
"@t402/core": "2.5.0"
|
|
34
34
|
},
|
|
35
35
|
"exports": {
|
|
36
36
|
".": {
|