Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
feat: split out code
Browse files Browse the repository at this point in the history
* Splits implementations out from interfaces so we can depend on interfaces module without pulling in crypto, etc (fixes #110)
* Converts code to typescript (fixes #101)
* Adds types for PeerData and Registrar - these will need to be fleshed out properly in a subsequent PR

BREAKING CHANGE: not all fields from concrete classes have been added to the interfaces
  • Loading branch information
achingbrain committed Nov 6, 2021
1 parent bc88106 commit 0fedfa0
Show file tree
Hide file tree
Showing 174 changed files with 4,714 additions and 4,048 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
with:
node-version: 16
- run: npm install
- run: npm run lint
- run: npm run build
- run: npm run lint
- run: npm run dep-check
test-node:
needs: check
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "js-libp2p-interfaces",
"version": "1.0.0",
"description": "Interfaces for JS Libp2p",
"leadMaintainer": "Jacob Heun <jacobheun@gmail.com>",
"private": true,
"scripts": {
"reset": "lerna run clean && rimraf ./node_modules ./package-lock.json packages/*/node_modules packages/*/package-lock.json packages/*/dist",
Expand Down
88 changes: 0 additions & 88 deletions packages/compliance-tests/package.json

This file was deleted.

10 changes: 0 additions & 10 deletions packages/compliance-tests/src/connection/index.js

This file was deleted.

69 changes: 0 additions & 69 deletions packages/compliance-tests/src/pubsub/emit-self.js

This file was deleted.

21 changes: 0 additions & 21 deletions packages/compliance-tests/src/pubsub/index.js

This file was deleted.

10 changes: 0 additions & 10 deletions packages/compliance-tests/src/pubsub/utils.js

This file was deleted.

155 changes: 0 additions & 155 deletions packages/compliance-tests/src/stream-muxer/base-test.js

This file was deleted.

17 changes: 0 additions & 17 deletions packages/compliance-tests/src/stream-muxer/index.js

This file was deleted.

Loading

0 comments on commit 0fedfa0

Please sign in to comment.