@arionpay/mcp 1.0.0 → 1.0.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/CHANGELOG.md +6 -0
- package/dist/server.d.ts +2 -1
- package/dist/server.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
- Listed in the official MCP Registry as `io.github.ArionPay-Dev/arionpay-mcp` (published from GitHub Actions).
|
|
6
|
+
- Published from GitHub with npm trusted publishing (staged: each version is approved by a maintainer with 2FA) and provenance.
|
|
7
|
+
- The server version is read from package.json.
|
|
8
|
+
|
|
3
9
|
## 1.0.0
|
|
4
10
|
|
|
5
11
|
First release.
|
package/dist/server.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
2
2
|
import { ArionPayClient } from "./client.js";
|
|
3
3
|
import type { Config } from "./config.js";
|
|
4
4
|
import { type DocsSnapshot } from "./docs.js";
|
|
5
|
-
|
|
5
|
+
/** From package.json, so the version is written in one place (server.json is checked against it by the tests). */
|
|
6
|
+
export declare const VERSION: string;
|
|
6
7
|
export declare const SCENARIOS: readonly ["detected", "confirm", "exact", "underpaid_1pct", "underpaid_5pct", "overpaid", "partial_half", "late"];
|
|
7
8
|
export declare const EVENTS: readonly ["invoice.paid", "invoice.pending", "invoice.partial", "invoice.expired", "invoice.needs_review"];
|
|
8
9
|
export interface ServerDeps {
|
package/dist/server.js
CHANGED
|
@@ -14,11 +14,13 @@
|
|
|
14
14
|
* another address); there is no tool for wallets, secrets, payouts or marking an invoice paid.
|
|
15
15
|
*/
|
|
16
16
|
import { randomBytes } from "node:crypto";
|
|
17
|
+
import { readFileSync } from "node:fs";
|
|
17
18
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
18
19
|
import { z } from "zod";
|
|
19
20
|
import { ArionPayApiError, ArionPayClient } from "./client.js";
|
|
20
21
|
import { DocsIndex, loadSnapshot, pageText } from "./docs.js";
|
|
21
|
-
|
|
22
|
+
/** From package.json, so the version is written in one place (server.json is checked against it by the tests). */
|
|
23
|
+
export const VERSION = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8")).version;
|
|
22
24
|
export const SCENARIOS = ["detected", "confirm", "exact", "underpaid_1pct", "underpaid_5pct", "overpaid", "partial_half", "late"];
|
|
23
25
|
export const EVENTS = ["invoice.paid", "invoice.pending", "invoice.partial", "invoice.expired", "invoice.needs_review"];
|
|
24
26
|
const STATUSES = ["new", "pending", "paid_partial", "paid", "expired", "cancelled"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arionpay/mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"mcpName": "io.github.ArionPay-Dev/arionpay-mcp",
|
|
5
5
|
"description": "Official ArionPay MCP server: let AI assistants (Claude, Cursor, VS Code and others) search the ArionPay docs, and create and check crypto invoices for your store. Payments go straight to your own wallet.",
|
|
6
6
|
"keywords": [
|