Skip to content

API interop - how to control version consistency  #359

Closed
@dcousens

Description

@dcousens

As discussed in #315.

How do we control users using bigi@latest in conjunction with our API instead of what we use internally?
The best we can do is either simplify our API such that common JS types are used for data interchange or we ask the users to verify their dependencies against what we use internally.

The concern was previously ignored because our instructions for compilation were to just use the dependencies found in bitcoinjs-lib itself; however this is an incomplete instruction for users who are using browserify for their entire project.

As far as I can tell, the only way for us to enforce consistency in the interop between our APIs and prospective users who might use things like ecurve etc in their own applications is to let them cross verify their own dependencies, or simply provide typical interfaces with only common data types.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions