Page MenuHomePhabricator

[chronik-client] Build with webpack for browser support
AbandonedPublicDraft

Authored by bytesofman on Mar 9 2024, 00:01.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

chronik-client works fine in Cashtab because Cashtab is already using webpack to polyfill for buffer. But we should not make web users of chronik-client supply this polyfill.

Build it in with webpack. ecashaddrjs uses a similar approach.

Test Plan

install this version into D15665 and check console for errors on the websocket page

Diff Detail

Repository
rABC Bitcoin ABC
Branch
buffer-polyfill
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27772
Build 55104: Build Diffchronik-client-tests · chronik-client-integration-tests
Build 55103: arc lint + arc unit