File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
},
10
10
"scripts" : {
11
11
"prepare" : " run-s prepare:*" ,
12
- "prepare:proto" : " pbjs -t static-module -w commonjs --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/unixfs.js ./src/unixfs.proto" ,
12
+ "prepare:proto" : " pbjs -t static-module -w commonjs -r ipfs-unixfs - -force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/unixfs.js ./src/unixfs.proto" ,
13
13
"prepare:proto-types" : " pbts -o src/unixfs.d.ts src/unixfs.js" ,
14
14
"prepare:types" : " aegir build --no-bundle" ,
15
15
"test" : " aegir test" ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ var $protobuf = require("protobufjs/minimal");
7
7
var $Reader = $protobuf . Reader , $Writer = $protobuf . Writer , $util = $protobuf . util ;
8
8
9
9
// Exported root namespace
10
- var $root = $protobuf . roots [ "default " ] || ( $protobuf . roots [ "default " ] = { } ) ;
10
+ var $root = $protobuf . roots [ "ipfs-unixfs " ] || ( $protobuf . roots [ "ipfs-unixfs " ] = { } ) ;
11
11
12
12
$root . Data = ( function ( ) {
13
13
You can’t perform that action at this time.
0 commit comments