Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit a7483bf

Browse files
committed
chore: remove post-bootstrap build
1 parent d57a40f commit a7483bf

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"description": "JavaScript implementation of the IPFS specification",
55
"scripts": {
6-
"postinstall": "lerna bootstrap && npm run build -- --scope=ipfs-grpc-protocol",
6+
"postinstall": "lerna bootstrap",
77
"link": "lerna link",
88
"reset": "lerna run clean && rm -rf packages/*/node_modules node_modules",
99
"test": "lerna run test",

packages/ipfs-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"merge-options": "^2.0.0"
4242
},
4343
"devDependencies": {
44-
"aegir": "^28.0.0",
44+
"aegir": "^28.2.0",
4545
"typescript": "^4.0.3"
4646
}
4747
}

packages/ipfs-grpc-server/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ A one-byte field.
2424

2525
### Header
2626

27-
A five-byte field.
27+
A five-byte field that contains one byte signifying if it's a Header or a Trailer and four bytes that contain the length of the following data.
2828

2929
| byte index | Meaning |
3030
|--------------|---|
@@ -33,7 +33,13 @@ A five-byte field.
3333

3434
### Message data
3535

36-
A protocol buffer message
36+
A protocol buffer message, the length of which is defined in the header
3737

3838
### Trailer
3939

40+
A five-byte field that contains one byte signifying if it's a Header or a Trailer and four bytes that contain the length of the following data.
41+
42+
| byte index | Meaning |
43+
|--------------|---|
44+
| 0 | 0: This is a header, 128: This is a footer |
45+
| 1-4 | A big-endian 32-bit integer that specifies the length of the trailer |

0 commit comments

Comments
 (0)