Skip to content

Commit

Permalink
chore: bump aegir from 41.3.5 to 42.2.0 (#417)
Browse files Browse the repository at this point in the history
* chore: bump aegir from 41.3.5 to 42.2.0

Bumps [aegir](https://github.com/ipfs/aegir) from 41.3.5 to 42.2.0.
- [Release notes](https://github.com/ipfs/aegir/releases)
- [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md)
- [Commits](ipfs/aegir@v41.3.5...v42.2.0)

---
updated-dependencies:
- dependency-name: aegir
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* chore: update imports and deps

---------

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 Jan 17, 2024
1 parent 9ebbfc5 commit a965c44
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"@noble/ciphers": "^0.4.0",
"@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1",
"it-byte-stream": "^1.0.0",
"it-length-prefixed": "^9.0.1",
"it-length-prefixed-stream": "^1.0.0",
"it-pair": "^2.0.6",
Expand All @@ -97,11 +96,12 @@
"@libp2p/tcp": "^9.0.0",
"@multiformats/multiaddr": "^12.1.0",
"@types/sinon": "^17.0.1",
"aegir": "^41.1.10",
"aegir": "^42.2.0",
"benchmark": "^2.1.4",
"execa": "^8.0.1",
"go-libp2p": "^1.0.3",
"iso-random-stream": "^2.0.2",
"it-byte-stream": "^1.0.0",
"libp2p": "^1.0.8",
"mkdirp": "^3.0.0",
"p-defer": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/peer.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createEd25519PeerId, createFromJSON } from '@libp2p/peer-id-factory'
import type { PeerId } from '@libp2p/interface/peer-id'
import type { PeerId } from '@libp2p/interface'

// ed25519 keys
const peers = [{
Expand Down
2 changes: 1 addition & 1 deletion test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
import { noise } from '../src/index.js'
import { Noise } from '../src/noise.js'
import { createPeerIdsFromFixtures } from './fixtures/peer.js'
import type { Metrics } from '@libp2p/interface/metrics'
import type { Metrics } from '@libp2p/interface'
import type { Uint8ArrayList } from 'uint8arraylist'

function createCounterSpy (): ReturnType<typeof sinon.spy> {
Expand Down
2 changes: 1 addition & 1 deletion test/interop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { path as p2pd } from 'go-libp2p'
import { createLibp2p, type Libp2pOptions } from 'libp2p'
import pDefer from 'p-defer'
import { noise } from '../src/index.js'
import type { PeerId } from '@libp2p/interface/peer-id'
import type { PeerId } from '@libp2p/interface'
import type { SpawnOptions, Daemon, DaemonFactory } from '@libp2p/interop'

async function createGoPeer (options: SpawnOptions): Promise<Daemon> {
Expand Down
2 changes: 1 addition & 1 deletion test/noise.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { toString as uint8ArrayToString } from 'uint8arrays/to-string'
import { pureJsCrypto } from '../src/crypto/js.js'
import { Noise } from '../src/noise.js'
import { createPeerIdsFromFixtures } from './fixtures/peer.js'
import type { PeerId } from '@libp2p/interface/peer-id'
import type { PeerId } from '@libp2p/interface'
import type { Uint8ArrayList } from 'uint8arraylist'

describe('Noise', () => {
Expand Down
3 changes: 1 addition & 2 deletions test/performHandshake.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import { defaultCrypto } from '../src/crypto/index.js'
import { wrapCrypto } from '../src/crypto.js'
import { performHandshakeInitiator, performHandshakeResponder } from '../src/performHandshake.js'
import { createPeerIdsFromFixtures } from './fixtures/peer.js'
import type { PrivateKey } from '@libp2p/interface'
import type { PeerId } from '@libp2p/interface/peer-id'
import type { PrivateKey, PeerId } from '@libp2p/interface'

describe('performHandshake', () => {
let peerA: PeerId, peerB: PeerId, fakePeer: PeerId
Expand Down
3 changes: 1 addition & 2 deletions test/utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { keys } from '@libp2p/crypto'
import type { KeyPair } from '../src/types.js'
import type { PrivateKey } from '@libp2p/interface/keys'
import type { PeerId } from '@libp2p/interface/peer-id'
import type { PrivateKey, PeerId } from '@libp2p/interface'

export async function generateEd25519Keys (): Promise<PrivateKey> {
return keys.generateKeyPair('Ed25519', 32)
Expand Down

0 comments on commit a965c44

Please sign in to comment.