File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 31
31
"url" : " https://github.com/ipfs/js-ipfs-unixfs/issues"
32
32
},
33
33
"engines" : {
34
- "node" : " >=4.0.0"
34
+ "node" : " >=4.0.0" ,
35
+ "npm" : " >=3.0.0"
35
36
},
36
37
"homepage" : " https://github.com/ipfs/js-ipfs-unixfs#readme" ,
37
38
"devDependencies" : {
38
- "aegir" : " ^9.1.0 " ,
39
+ "aegir" : " ^9.1.2 " ,
39
40
"chai" : " ^3.5.0" ,
40
41
"pre-commit" : " ^1.1.3"
41
42
},
42
43
"dependencies" : {
43
- "protocol-buffers" : " ^3.1.6 "
44
+ "protocol-buffers" : " ^3.2.0 "
44
45
},
45
46
"pre-commit" : [
46
47
" lint" ,
53
54
" Mithgol <getgit@mithgol.ru>" ,
54
55
" Richard Littauer <richard.littauer@gmail.com>"
55
56
]
56
- }
57
+ }
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ function Data (type, data) {
66
66
}
67
67
68
68
return unixfsData . encode ( {
69
- Type : type ,
69
+ Type : type . value ,
70
70
Data : this . data ,
71
71
filesize : fileSize ,
72
72
blocksizes : this . blockSizes . length > 0 ? this . blockSizes : undefined
You can’t perform that action at this time.
0 commit comments