chore: bump v

This commit is contained in:
gzuuus
2025-03-26 22:55:22 +01:00
parent b238d38c5a
commit 1c5f09678a
5 changed files with 10 additions and 12 deletions

View File

@@ -12,7 +12,7 @@
},
"packages/dvmcp-bridge": {
"name": "@dvmcp/bridge",
"version": "0.1.19",
"version": "0.1.20",
"bin": {
"dvmcp-bridge": "./cli.ts",
},
@@ -43,14 +43,13 @@
},
"packages/dvmcp-discovery": {
"name": "@dvmcp/discovery",
"version": "0.1.18",
"version": "0.1.19",
"bin": {
"dvmcp-discovery": "./cli.ts",
},
"dependencies": {
"@dvmcp/commons": "^0.1.2",
"@dvmcp/commons": "^0.1.3",
"@modelcontextprotocol/sdk": "^1.5.0",
"debug": "^4.4.0",
"nostr-tools": "^2.10.4",
"yaml": "^2.7.0",
},

View File

@@ -1,6 +1,6 @@
{
"name": "@dvmcp/bridge",
"version": "0.1.20",
"version": "0.1.21",
"description": "Bridge connecting MCP servers to Nostr's DVM ecosystem",
"module": "index.ts",
"type": "module",
@@ -35,7 +35,7 @@
"dotenv": "^16.4.7",
"nostr-tools": "^2.10.4",
"yaml": "^2.7.0",
"@dvmcp/commons": "^0.1.3"
"@dvmcp/commons": "latest"
},
"publishConfig": {
"access": "public"

View File

@@ -9,6 +9,7 @@ import {
TOOL_REQUEST_KIND,
TOOL_RESPONSE_KIND,
} from '../constants';
import { logger } from '../logger';
useWebSocketImplementation(WebSocket);
@@ -47,9 +48,7 @@ export class RelayHandler {
async publishEvent(event: Event): Promise<void> {
try {
await Promise.any(this.pool.publish(this.relayUrls, event));
console.log(
`Event published(${event.kind}), id: ${event.id.slice(0, 12)}`
);
logger(`Event published(${event.kind}), id: ${event.id.slice(0, 12)}`);
} catch (error) {
console.error('Failed to publish event:', error);
throw error;

View File

@@ -1,6 +1,6 @@
{
"name": "@dvmcp/commons",
"version": "0.1.3",
"version": "0.1.4",
"description": "Shared utilities for DVMCP packages",
"type": "module",
"exports": {

View File

@@ -1,6 +1,6 @@
{
"name": "@dvmcp/discovery",
"version": "0.1.19",
"version": "0.1.20",
"description": "Discovery service for MCP tools in the Nostr DVM ecosystem",
"module": "index.ts",
"type": "module",
@@ -34,7 +34,7 @@
"@modelcontextprotocol/sdk": "^1.5.0",
"nostr-tools": "^2.10.4",
"yaml": "^2.7.0",
"@dvmcp/commons": "^0.1.3"
"@dvmcp/commons": "latest"
},
"publishConfig": {
"access": "public"