From d017e85c02eb6d7322215719402b5caf87e23a6f Mon Sep 17 00:00:00 2001 From: sandwich <299465+dskvr@users.noreply.github.com> Date: Tue, 16 Jan 2024 20:51:05 +0000 Subject: [PATCH] upgrade npm-publish action --- .github/workflows/publish-package.yml | 2 +- apps/nocapd/src/managers/AllManager.js | 2 -- .../nocap/adapters/default/WebsocketAdapterDefault/index.js | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index e60a1eec..99a9dc63 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -38,7 +38,7 @@ jobs: run: cd ./packages/${{ matrix.package }} && yarn install - id: publish - uses: JS-DevTools/npm-publish@v1 + uses: JS-DevTools/npm-publish@v3 with: token: ${{ secrets.NPM_TOKEN }} package: ./packages/${{ matrix.package }}/package.json diff --git a/apps/nocapd/src/managers/AllManager.js b/apps/nocapd/src/managers/AllManager.js index 1b0d38d1..13320270 100644 --- a/apps/nocapd/src/managers/AllManager.js +++ b/apps/nocapd/src/managers/AllManager.js @@ -6,8 +6,6 @@ import { WorkerManager } from '../classes/WorkerManager.js' const publish30066 = new Publish.Kind30066() - - export class AllManager extends WorkerManager { constructor($, rcache, opts){ super($, rcache, opts) diff --git a/packages/nocap/adapters/default/WebsocketAdapterDefault/index.js b/packages/nocap/adapters/default/WebsocketAdapterDefault/index.js index e4f38da9..f1ff5770 100644 --- a/packages/nocap/adapters/default/WebsocketAdapterDefault/index.js +++ b/packages/nocap/adapters/default/WebsocketAdapterDefault/index.js @@ -47,7 +47,6 @@ class WebsocketAdapterDefault { async check_write(){ this.$.logger.debug(`check_write()`) const ev = JSON.stringify(['EVENT', this.config?.event_sample || this.$.SAMPLE_EVENT]) - console.log(ev) this.$.ws.send(ev) } @@ -78,7 +77,6 @@ class WebsocketAdapterDefault { */ handle_nostr_event(buffer){ const ev = JSON.parse(buffer.toString()) - console.log(ev[0]) if(ev[0] === 'EVENT') { if(this.$.subid('read') === ev[1]) this.$.on_event(ev[1], ev[2])