Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/ipfs-grpc-client/src/utils/load-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const CONVERSION_OPTS = {
* service definition on both the server and the client.
*/
module.exports = function loadServices () {
// @ts-ignore - recent protobufjs release changed the types
const root = protobuf.Root.fromJSON(protocol)
/** @type {Record<string, any>} */
const output = {}
Expand Down
1 change: 1 addition & 0 deletions packages/ipfs-grpc-server/src/utils/load-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const CONVERSION_OPTS = {
}

module.exports = function loadServices () {
// @ts-ignore - recent protobufjs release changed the types
const root = protobuf.Root.fromJSON(protocol)

/** @type {Record<string, any>} */
Expand Down