Description
Gradually transition the native Whiteflag protocol implementation of the Whiteflag API to the protocol implementation of the Whiteflag JavaScript Library package, starting with message encoding and decoding.
Rationale
The Whiteflag JavaScript Library (WFJSL) will be the reference implementation of the Whiteflag protocol, independent from functional software such as the Whiteflag API. Therefore, the API should use the WFJSL instead of having it own protocol implementation.
Solution
Specification
This issue covers the replacement of the message encoding and decoding.
Affected components
All modules handling Whiteflag messages will be affected, and relevant modules in lib/protocol will be replaced by the @whiteflagprotocol/main NPM package.
Alternatives
None.
Description
Gradually transition the native Whiteflag protocol implementation of the Whiteflag API to the protocol implementation of the Whiteflag JavaScript Library package, starting with message encoding and decoding.
Rationale
The Whiteflag JavaScript Library (WFJSL) will be the reference implementation of the Whiteflag protocol, independent from functional software such as the Whiteflag API. Therefore, the API should use the WFJSL instead of having it own protocol implementation.
Solution
Specification
This issue covers the replacement of the message encoding and decoding.
Affected components
All modules handling Whiteflag messages will be affected, and relevant modules in
lib/protocolwill be replaced by the@whiteflagprotocol/mainNPM package.Alternatives
None.