Skip to content

v1.0.0

Pre-release
Pre-release

Choose a tag to compare

@sbp-rib sbp-rib released this 25 Apr 09:53
· 20 commits to alpha since this release

1.0.0 (2022-04-25)

Bug Fixes

  • .abi data type (c879086)
  • buildContext() (2ef270f)
  • buildContext type (0adbfc6)
  • createSwap test (b3d17dc)
  • getFloatDetails() return type (3395b27)
  • getNetworkForCoin() throws if the coin is not valid (2a727a4)
  • getSbbtcPrice() requires only the mode, not the full context (ccb5a0d)
  • getSwapDetails() (3e559b3)
  • hex-to-binary declaration (eff9f81)
  • SkydrigeStatus -> SkybridgeStatus (d371b9a)
  • ABI type (55a0ea1)
  • add 'isSkypoolsSwap' in recursive params (#30) (672be01)
  • add seed in terms message (#46) (83ab34a)
  • Added full ABI for sbBTC (1199f83)
  • Affiliate API URL (3be5354)
  • All params renamed from action to resource (3ed866b)
  • Broken test (7d0e114)
  • Build (b458ee4)
  • Build (2bf3f63)
  • Build error (ea32f89)
  • buildContext() bug (4121794)
  • Call /swaps/link even if affiliateApi is an empty string (a9785a6)
  • Compilation error (67b01c9)
  • Compilation problem (92a4aea)
  • Context (921219c)
  • Context (33526a6)
  • Contract keys (31e678c)
  • Docs (8b1f4dc)
  • Ethereum indexer node used in tests (2cce8c0)
  • Example uses WBTC instead of BTCB now (68c5af2)
  • Getting details of a transaction (11025d9)
  • Less restrictive types for isAddressValid (a78618b)
  • Logic error in findSwap() (3e2d06c)
  • Migrate from Goerli to Ropsten (#26) (3cd0118)
  • Minor improvements to logs (3d6e9f6)
  • More consistent naming for fee-related props (0c33b95)
  • Point to final domain for seed API (d580dcc)
  • PoW difficulty (#25) (9dfb13a)
  • PoW problem with trailing zeros after adjusting precision (b7c6630)
  • Property names for fees (fe3195d)
  • Reduced default timeout for creation to 30s (4fd26ea)
  • remove BEP20 currency in testnet (#44) (fad0fd6)
  • Renamed feeBridgePercent to feeBridgeFraction to avoid confusion (b19fe05)
  • Return type for getCoinsFor() (4ab25a6)
  • set fallback endpoint in buildContext (#39) (b61a366)
  • Simplify types (9c5e874)
  • Take only https: nodes into account for context (b3e737e)
  • Test indexer node for btc_skypool (45392ea)
  • Tests and types (f0c2153)
  • Thrown error (9a580a3)
  • Trigger release (5925a0b)
  • Type returned by getPowEpoch() (3cb1561)
  • Types for transaction details (ac383ef)
  • update semantic-release (5eea4f3)
  • Updated btc_erc test contract addresses (3bedf64)
  • Updated contract addresses for the btc_erc testnet bridge (abdcba2)
  • Updated supported coins (68b3994)
  • Updated test addresses for sbBTC and Skybridge (39a7f75)
  • Updated token and Skybridge addresses on Ropsten (fa6dfd4)
  • Upgraded ABIs and chaosnet addresses (64f5c27)
  • Use big.js instead of bignumber.js (70b0676)
  • use node-api to fetch the peers data instead of network-api (#32) (a0b5fd2)
  • use widget API isntead of network.skybridge.exchange (#38) (6f8b860)
  • version (#33) (6d8b1d3)

Features

  • BTCE is now WBTC (#8) (5c85b95)
  • buildContext() allows passing all props of a context to overwrite random values (1f8d040)
  • createSwap() returns amountOut (d63d761)
  • estimateAmountOut() (62d90c2)
  • estimateAmountReceiving() works with new bridge (5b1bf96)
  • estimateAmountReceiving works for floats too (#14) (f789ed4)
  • getChainFor() works with sbBTC (1c0fb5c)
  • getFloatDetails() returns fee too (a151e19)
  • getPowEpoch() receives bridge as param, not currencies (86b5c5c)
  • getSwapableWith() works for all actions (44d760d)
  • getSwapDetails() returns addressSwapIn (ee9e869)
  • SwingbyContext does not use <M extends Mode> (a59660f)
  • Added "bridge" concept (#7) (ee878ef)
  • Added addressSending property to swap and float details (98cfc88)
  • Added buildExplorerLink() (9801480)
  • Added calculateFees() (3a193d0)
  • Added calculateFees() (1a79559)
  • Added context (#4) (da1b22c)
  • Added findSwap() (815b8c2)
  • Added getMinimumWithdrawal() function (5d6aeca)
  • Added getNetworkDetails() method (#21) (7085168)
  • Added getNetworkForCoin (50fa7dc)
  • Added getSbbtcPrice() function (76c2e4c)
  • Added getSwapableTo() (7960745)
  • Added getSwapDetails() (8733d4a)
  • Added hash to return type of createSwap() (9386761)
  • Added isAddressValid() (#5) (2b1113e)
  • Added isSkybridgeChain, isSkybridgeBridge, isSkybridgeMode and isSkybridgeResource (b8f6723)
  • Added isSkypoolsSwap to transaction details (aef21fc)
  • added addressIn into SkybridgeQuery (#42) (ef32b79)
  • Added balance check before performing a swap (#16) (f8f8e3a)
  • Added BTC to the CONTRACTS object (9006081)
  • Added contract info (5b554a6)
  • Added float methods (#9) (3d16b91)
  • Added missing btc_bep20 production contract addresses (0b3cd16)
  • Added production btc_bep20 coins (ff88e8d)
  • Added sbBTC.BEP20 and BTCB.BEP20 contract addresses (fd940c4)
  • Added support for the BTC<>BTCB testnet bridge (#23) (018c5bd)
  • added terms message (#45) (72b5760)
  • Allow creating Skypools swaps (71e9f0e)
  • Allow depositing sbBTC for swaps (6936221)
  • Allow passing just mode to getBridgeFor() (e3d4b82)
  • Change SKYPOOL currency value from API into a real currency (#29) (a6ff5f2)
  • Coin types for all actions (#10) (923d19e)
  • Discard unreachable nodes and nodes with invalid restUris when building context (d4e951f)
  • Export getChainFor (b7b348b)
  • Export getFloatDetails, createWithdrawal and getWithdrawalDetails (#11) (e5aa1f2)
  • Export getPowEpoch (e3896c7)
  • Export SKYBRIDGE_BRIDGES (c7064a3)
  • Export SwapStatus type (0e77319)
  • Export coins (b58439b)
  • Exported createFloat() (2352f7e)
  • Exported getBlockHeight() (6632727)
  • Exported getBridgeFor() (6ab8722)
  • Fix bsc endpoints (dc178c9)
  • getSbbtcPrice() and getMinimumWithdrawal() (9428fd3)
  • Made sure that SkybridgeContext is serializable (01769d9)
  • New logic for estimateAmountReceiving() (bb509d7)
  • New param names (#13) (06111dc)
  • New PoW logic (28dadd4)
  • New SDK rewrite (9613e9b)
  • New structure for CONTRACTS object (2c923d0)
  • New swap contract (#28) (4c06140)
  • Pointing to new network API and endpoints (00849a6)
  • Randomly pick a node when calling buildContext() (#15) (9983dc1)
  • remove BEP20 currency from btc_bep20 testnet (#43) (9597175)
  • Renamed address-related props to make them more specific (570f3ba)
  • Reverted back to using Network API, added btc_skypool bridge and removed btc_bep20 (9736af4)
  • SkybridgeResource: float is now pool and withdraw is withdrawal (aecb04d)
  • Support for the affiliate program (#17) (f5f763a)
  • Test new network API (d730655)
  • Trigger Build (24395d4)
  • trigger release (36d4c4b)
  • trigger-release (7636d9d)
  • Try to pick healthy indexer (48f1448)
  • update contracts (#31) (0f5111d)
  • Update indexers (#27) (5ae5a02)
  • Updated ABI and test addresses for sbBTC and Skybridge (#18) (caf6ce3)
  • Updated PoW (#6) (699684d)
  • Upgraded Skybridge ABI and chaosnet addresses for sbBTC and Skybridge (#19) (ef0b74d)
  • Use different names for amountUser and amountIn (89e900e)
  • Use seed API (75c26e3)
  • Using new /network endpoint (ccd6e5e)
  • Using the same swap status as the API (584edea)
  • Working floats and withdrawals, with updated PoW (#12) (47ee05f)

Reverts

  • Revert "fix: Call /swaps/link with GET instead of POST" (8d34e49)