@atxp/server 0.10.2 → 0.10.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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as vitest from 'vitest';
|
|
2
|
+
import * as _vitest_spy from '@vitest/spy';
|
|
2
3
|
import { IncomingHttpHeaders, IncomingMessage, ServerResponse } from 'http';
|
|
3
4
|
import { JSONRPCRequest } from '@modelcontextprotocol/sdk/types.js';
|
|
4
5
|
import { PaymentRequest, PaymentDestination, Currency, AuthorizationServerUrl, UrlString, Logger, OAuthDb, OAuthResourceClient, TokenData, Account, Network } from '@atxp/common';
|
|
@@ -93,8 +94,8 @@ declare const zeroCharge: Charge;
|
|
|
93
94
|
declare function logger(): Logger;
|
|
94
95
|
declare function config(args?: Partial<ATXPConfig>): ATXPConfig;
|
|
95
96
|
declare function paymentServer({ charge, createPaymentRequest }?: {
|
|
96
|
-
charge?: vitest.Mock<
|
|
97
|
-
createPaymentRequest?: vitest.Mock<
|
|
97
|
+
charge?: vitest.Mock<_vitest_spy.Procedure> | undefined;
|
|
98
|
+
createPaymentRequest?: vitest.Mock<_vitest_spy.Procedure> | undefined;
|
|
98
99
|
}): PaymentServer;
|
|
99
100
|
declare function mcpRequest({ method, params, id }?: {
|
|
100
101
|
method?: McpMethod;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atxp/server",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.4",
|
|
4
4
|
"description": "ATXP Server - MCP server implementation with payment processing capabilities",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,21 +38,21 @@
|
|
|
38
38
|
"pack:dry": "npm pack --dry-run"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@atxp/common": "0.10.
|
|
41
|
+
"@atxp/common": "0.10.4",
|
|
42
42
|
"@modelcontextprotocol/sdk": "^1.15.0",
|
|
43
43
|
"bignumber.js": "^9.3.0",
|
|
44
|
-
"oauth4webapi": "^3.
|
|
44
|
+
"oauth4webapi": "^3.8.3"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"content-type": "^1.0.5"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@types/node": "^
|
|
51
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
52
|
-
"@typescript-eslint/parser": "^8.
|
|
50
|
+
"@types/node": "^25.0.3",
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "^8.51.0",
|
|
52
|
+
"@typescript-eslint/parser": "^8.51.0",
|
|
53
53
|
"eslint": "^9.32.0",
|
|
54
54
|
"node-mocks-http": "^1.17.2",
|
|
55
55
|
"typescript": "^5.7.3",
|
|
56
|
-
"vitest": "^
|
|
56
|
+
"vitest": "^4.0.16"
|
|
57
57
|
}
|
|
58
58
|
}
|