mirror of
https://github.com/aljazceru/dvmcp.git
synced 2025-12-17 05:14:24 +01:00
chore: bump v
This commit is contained in:
7
bun.lock
7
bun.lock
@@ -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",
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@dvmcp/commons",
|
||||
"version": "0.1.3",
|
||||
"version": "0.1.4",
|
||||
"description": "Shared utilities for DVMCP packages",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user