Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 2f1da18

Browse files
committed
fix: format typings/test.ts
1 parent f6b4dc5 commit 2f1da18

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "libp2p-histrap",
2+
"name": "libp2p-bootstrap",
33
"version": "0.10.2",
44
"description": "Node.js IPFS Implementation of the railing process of a Node through a bootstrap peer list",
55
"leadMaintainer": "Vasco Santos <[email protected]>",
@@ -45,7 +45,8 @@
4545
},
4646
"pre-push": [
4747
"lint",
48-
"test"
48+
"test",
49+
"generate-typings"
4950
],
5051
"contributors": [
5152
"Abraham Elmahrek <[email protected]>",

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ class Bootstrap extends EventEmitter {
8080
}
8181
}
8282
}
83+
exports = module.exports = Bootstrap
8384
/** Export tags */
8485
exports.tag = 'bootstrap'
85-
module.exports = Bootstrap

test/typings/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
import { Bootstrap } from "js-libp2p-bootstrap";
44
const bootstrap1 = new Bootstrap({list: ["item"], interval: 1})
5-
bootstrap1.start()
5+
bootstrap1.start()

0 commit comments

Comments
 (0)