Skip to content

Commit

Permalink
feat!: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alanshaw committed Oct 9, 2024
1 parent 175b04a commit d474225
Show file tree
Hide file tree
Showing 6 changed files with 1,772 additions and 2,717 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
node-version: 20
- uses: bahmutov/npm-install@v1
- name: Test
run: npm test
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { UnknownLink } from 'multiformats/link'
import { StreamHandler } from '@libp2p/interface-registrar'
import { StreamHandler } from '@libp2p/interface'

export interface Blockstore {
get (cid: UnknownLink): Promise<Uint8Array|undefined>
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class Miniswap {
return this._handler
}

/** @type {import('@libp2p/interface-registrar').StreamHandler} */
/** @type {import('@libp2p/interface').StreamHandler} */
async _handler ({ connection, stream: inStream }) {
try {
await pipe(
Expand Down
Loading

0 comments on commit d474225

Please sign in to comment.