Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

0.5.0

Choose a tag to compare

@pixelmatrix pixelmatrix released this 15 Apr 23:36
· 33 commits to master since this release
94da92d

New Features

  • You can now pass additional HTTP headers when requesting a provider
  • Added interfaces for ProviderOptions and Credentials for better clarity and type safety

Bug Fixes

  • Fixes an issue where additional oauth settings were not being passed to the correct place

Deprecations & API changes

  • The option for specifying a different network has been renamed from network to networkName to match our browser SDK. network will continue to work for 0.5.x but will be removed in 0.6.x.
const Bitski = require("bitski");
const provider = Bitski.getProvider('CLIENT-ID', { networkName: 'rinkeby' });