Skip to content

Commit

Permalink
fix: specify pbjs root (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos authored Apr 21, 2021
1 parent 67d0ad4 commit 7cad961
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"types": "dist/src/index.d.ts",
"scripts": {
"prepare": "run-s prepare:*",
"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/pb/ipns.js src/pb/ipns.proto",
"prepare:proto": "pbjs -t static-module -w commonjs -r ipfs-ipns --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/pb/ipns.js src/pb/ipns.proto",
"prepare:proto-types": "pbts -o src/pb/ipns.d.ts src/pb/ipns.js",
"prepare:types": "aegir build --no-bundle",
"lint": "aegir lint",
Expand Down
2 changes: 1 addition & 1 deletion src/pb/ipns.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var $protobuf = require("protobufjs/minimal");
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;

// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
var $root = $protobuf.roots["ipfs-ipns"] || ($protobuf.roots["ipfs-ipns"] = {});

$root.IpnsEntry = (function() {

Expand Down

0 comments on commit 7cad961

Please sign in to comment.