Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

ipfs.config.get() returns different value types #822

@hacdias

Description

@hacdias

If the API is connected to a Go node, calling ipfs.config.get() returns a Uint8Array.

If the API is connected to a JS node, calling ipfs.config.get() returns, well, an object with the config.

Interface IPFS Core says "[the result] is a JSON object containing the configuration of the IPFS node" which is also confusing to me.

Should we normalize it to a simple object everywhere?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions