mirror of
https://github.com/alexgo-io/stacks.js.git
synced 2026-04-29 01:35:50 +08:00
BREAKING CHANGE: Remove the getBTCAddress method, since it does not work with modern BTC addresses. A StackingClient will now automatically detect which PoX version to use for Stacking. Adds the following PoX Stacking methods to the StackingClient: `stackExtend`, `stackIncrease`, `delegateStackExtend`, `delegateStackIncrease`, `stackAggregationCommitIndexed`, `stackAggregationIncrease`. Adds the following helper methods to the StackingClient: `getAccountExtendedBalances`, `getAccountBalanceLocked`, `getDelegationStatus`, `getRewardSet`.
3 lines
76 B
JavaScript
3 lines
76 B
JavaScript
const fetchMock = require('jest-fetch-mock');
|
|
fetchMock.enableFetchMocks();
|