Skip to content

Commit

Permalink
chore(deps): bump helia from 3.0.1 to 4.0.1 (#283)
Browse files Browse the repository at this point in the history
* chore(deps): bump helia from 3.0.1 to 4.0.1

Bumps [helia](https://github.com/ipfs/helia) from 3.0.1 to 4.0.1.
- [Release notes](https://github.com/ipfs/helia/releases)
- [Changelog](https://github.com/ipfs/helia/blob/main/CHANGELOG.md)
- [Commits](ipfs/helia@helia-v3.0.1...helia-v4.0.1)

---
updated-dependencies:
- dependency-name: helia
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore(deps): bump @helia/interface from 3.0.1 to 4.0.0 (#273)

Bumps [@helia/interface](https://github.com/ipfs/helia) from 3.0.1 to 4.0.0.
- [Release notes](https://github.com/ipfs/helia/releases)
- [Changelog](https://github.com/ipfs/helia/blob/main/CHANGELOG.md)
- [Commits](ipfs/helia@helia-v3.0.1...ipns-v4.0.0)

---
updated-dependencies:
- dependency-name: "@helia/interface"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Potsides <[email protected]>

* chore(deps): bump @helia/car from 2.0.1 to 3.0.0 (#276)

Bumps [@helia/car](https://github.com/ipfs/helia) from 2.0.1 to 3.0.0.
- [Release notes](https://github.com/ipfs/helia/releases)
- [Changelog](https://github.com/ipfs/helia/blob/main/CHANGELOG.md)
- [Commits](ipfs/helia@car-v2.0.1...car-v3.0.0)

---
updated-dependencies:
- dependency-name: "@helia/car"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @helia/unixfs from 2.0.1 to 3.0.0 (#274)

Bumps [@helia/unixfs](https://github.com/ipfs/helia) from 2.0.1 to 3.0.0.
- [Release notes](https://github.com/ipfs/helia/releases)
- [Changelog](https://github.com/ipfs/helia/blob/main/CHANGELOG.md)
- [Commits](ipfs/helia@car-v2.0.1...car-v3.0.0)

---
updated-dependencies:
- dependency-name: "@helia/unixfs"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Potsides <[email protected]>

* chore(deps): bump @helia/dag-cbor from 2.0.1 to 3.0.0 (#279)

Bumps [@helia/dag-cbor](https://github.com/ipfs/helia) from 2.0.1 to 3.0.0.
- [Release notes](https://github.com/ipfs/helia/releases)
- [Changelog](https://github.com/ipfs/helia/blob/main/CHANGELOG.md)
- [Commits](ipfs/helia@car-v2.0.1...car-v3.0.0)

---
updated-dependencies:
- dependency-name: "@helia/dag-cbor"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Potsides <[email protected]>

* chore: use HeliaLibp2p where appropriate

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Potsides <[email protected]>
  • Loading branch information
dependabot[bot] and achingbrain authored Feb 8, 2024
1 parent 532ff94 commit 858df95
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
},
"dependencies": {
"@helia/interface": "^3.0.1",
"helia": "^3.0.1"
"helia": "^4.0.1"
},
"devDependencies": {
"@types/jest": "^29.5.2",
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createHelia } from 'helia'
import type { Helia } from '@helia/interface'
import type { HeliaLibp2p } from 'helia'

export async function createHeliaNode (): Promise<Helia> {
export async function createHeliaNode (): Promise<HeliaLibp2p> {
const node = await createHelia()

return node
Expand Down
4 changes: 2 additions & 2 deletions test/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* eslint-env jest */

import { createHeliaNode } from '../src/index.js'
import type { Helia } from '@helia/interface'
import type { HeliaLibp2p } from 'helia'

describe('Helia', () => {
let helia: Helia
let helia: HeliaLibp2p

beforeEach(async () => {
helia = await createHeliaNode()
Expand Down

0 comments on commit 858df95

Please sign in to comment.