Skip to content

Commit

Permalink
upgrade npm-publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Jan 16, 2024
1 parent 86f85f5 commit d017e85
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions apps/nocapd/src/managers/AllManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down Expand Up @@ -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])
Expand Down

0 comments on commit d017e85

Please sign in to comment.