Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump aegir from 41.3.5 to 42.2.0 #417

Merged
merged 3 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading