Skip to content

Commit

Permalink
Merge branch 'main' into prettier-in-test
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn authored Apr 15, 2024
2 parents 03afbea + 7a902c1 commit 253d74f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 66 deletions.
8 changes: 0 additions & 8 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@ export function parseVersion(version) {
}
}

/**
* Truncate a key or id to a string with a given length with a default of 3 characters.
* @param {String|Buffer} keyOrId
*/
export function truncateId(keyOrId, length = 3) {
return keyToId(keyOrId).slice(0, length)
}

/** @typedef {import('@hyperswarm/secret-stream')<any>} NoiseStream */
/** @typedef {NoiseStream & { destroyed: true }} DestroyedNoiseStream */
/**
Expand Down
58 changes: 0 additions & 58 deletions tests/helpers/replication-state.js

This file was deleted.

0 comments on commit 253d74f

Please sign in to comment.