diff --git a/apps/trawler/package.json b/apps/trawler/package.json index 58efeb1a..9844fa3e 100644 --- a/apps/trawler/package.json +++ b/apps/trawler/package.json @@ -11,7 +11,7 @@ "@nostr-fetch/adapter-nostr-tools": "0.13.1", "@nostrwatch/controlflow": "^0.0.2", "@nostrwatch/logger": "^0.0.1", - "@nostrwatch/nocap": "^0.1.4", + "@nostrwatch/nocap": "^0.1.5", "@nostrwatch/nwcache": "^0.0.1", "@nostrwatch/publisher": "^0.0.1", "@nostrwatch/seed": "^0.0.1", diff --git a/apps/trawler/src/index.js b/apps/trawler/src/index.js index 178c9e08..8a2c2c25 100644 --- a/apps/trawler/src/index.js +++ b/apps/trawler/src/index.js @@ -8,4 +8,4 @@ const logger = new Logger('root') logger.debug('Current Directory', process.cwd()) const $ = daemon() -$.catch(logger.error); \ No newline at end of file +$.catch(logger.err); \ No newline at end of file diff --git a/packages/nocap/adapters/default/EveryAdapterDefault/package.json b/packages/nocap/adapters/default/EveryAdapterDefault/package.json index f87c6ad8..7da1d0bd 100644 --- a/packages/nocap/adapters/default/EveryAdapterDefault/package.json +++ b/packages/nocap/adapters/default/EveryAdapterDefault/package.json @@ -1,6 +1,6 @@ { "name": "@nostrwatch/nocap-every-adapter-default", - "version": "1.0.3", + "version": "1.0.4", "type": "module", "main": "index.js", "license": "MIT", @@ -9,6 +9,6 @@ "@nostrwatch/nocap-geo-adapter-default": "^1.0.0", "@nostrwatch/nocap-info-adapter-default": "^1.0.0", "@nostrwatch/nocap-ssl-adapter-default": "^1.0.1", - "@nostrwatch/nocap-websocket-adapter-default": "^1.0.1" + "@nostrwatch/nocap-websocket-adapter-default": "^1.0.2" } } diff --git a/packages/nocap/adapters/default/WebsocketAdapterDefault/index.js b/packages/nocap/adapters/default/WebsocketAdapterDefault/index.js index c750bc22..ca018a0d 100644 --- a/packages/nocap/adapters/default/WebsocketAdapterDefault/index.js +++ b/packages/nocap/adapters/default/WebsocketAdapterDefault/index.js @@ -85,7 +85,7 @@ class WebsocketAdapterDefault { const ev = JSON.parse(buffer.toString()) } catch(e){ - this.$.logger.error(`${this.$.url} responded with invalid JSON: ${e}`) + this.$.logger.err(`${this.$.url} responded with invalid JSON: ${e}`) return this.$.on_error(e) } if(ev[0] === 'EVENT') { diff --git a/packages/nocap/adapters/default/WebsocketAdapterDefault/package.json b/packages/nocap/adapters/default/WebsocketAdapterDefault/package.json index a36c058a..79c52409 100644 --- a/packages/nocap/adapters/default/WebsocketAdapterDefault/package.json +++ b/packages/nocap/adapters/default/WebsocketAdapterDefault/package.json @@ -1,6 +1,6 @@ { "name": "@nostrwatch/nocap-websocket-adapter-default", - "version": "1.0.1", + "version": "1.0.2", "type": "module", "main": "index.js", "license": "MIT", diff --git a/packages/nocap/package.json b/packages/nocap/package.json index ae974bd8..7d8c5eb6 100644 --- a/packages/nocap/package.json +++ b/packages/nocap/package.json @@ -1,6 +1,6 @@ { "name": "@nostrwatch/nocap", - "version": "0.1.5", + "version": "0.1.6", "main": "src/index.js", "type": "module", "license": "MIT", @@ -10,7 +10,7 @@ }, "dependencies": { "@nostrwatch/logger": "^0.0.1", - "@nostrwatch/nocap-every-adapter-default": "^1.0.2", + "@nostrwatch/nocap-every-adapter-default": "^1.0.4", "@nostrwatch/utils": "^0.0.1", "fetch-h2": "3.0.2", "get-ssl-certificate": "2.3.3",