wealthica-sdk-js 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,14 +1,8 @@
1
1
  # Official Wealthica JS SDK for the Browser & NodeJS
2
2
 
3
- [![Build Status](https://semaphoreci.com/api/v1/wealthica/wealthica-sdk-js/branches/master/badge.svg)](https://semaphoreci.com/wealthica/wealthica-sdk-js)
3
+ ## What is Wealthica Connect?
4
4
 
5
- ## What is Wealthica? A Unified Cryptocurrency API.
6
-
7
- > *“We tried a few crypto data APIs to retrieve our users digital assets, Wealthica is the only one that actually works!”* — Wealth Tracking Dashboard Dev
8
-
9
- [Wealthica](https://wealthica.com/) is an API for connecting with cryptocurrency exchanges, wallets and protocols like Bitcoin. Instead of manually integrating with [Crypto Exchange APIs](https://wealthica.com/status/) like [Coinbase API](https://wealthica.com/), [Binance API](https://wealthica.com/), [Bitcoin APIs](https://wealthica.com/), [Crypto APIs](https://wealthica.com/) or the hundreds of other cryptocurrency APIs - you can simply use Wealthica for them all.
10
-
11
- Wealthica is the **#1** alternative to the discontinued [Zabo API](https://wealthica.com/).
5
+ [Wealthica](https://wealthica.com/) is an API for connecting with Canadian financial bands and brokerages platforms.
12
6
 
13
7
  We believe teams and developers should focus on building great products, not worry about the fragmented landscape of exchange APIs and blockchain protocols.
14
8
 
@@ -7214,7 +7214,7 @@ var Transactions = /*#__PURE__*/function () {
7214
7214
  throw new Error('Please provide a valid Wealthica account id.');
7215
7215
 
7216
7216
  case 4:
7217
- url = "/institutions/".concat(accountId, "/transactions");
7217
+ url = "/transactions?institutions=".concat(accountId);
7218
7218
  query = getQueryString(params);
7219
7219
  if (query) url = "".concat(url, "?").concat(query);
7220
7220
  _context.next = 9;
@@ -7282,7 +7282,7 @@ var Transactions = /*#__PURE__*/function () {
7282
7282
  throw new Error('Please provide a valid Wealthica transaction id.');
7283
7283
 
7284
7284
  case 6:
7285
- url = "/institutions/".concat(accountId, "/transactions/").concat(txId);
7285
+ url = "/transactions/".concat(txId);
7286
7286
  query = getQueryString(params);
7287
7287
  if (query) url = "".concat(url, "?").concat(query);
7288
7288
  _context2.next = 11;
package/dist/wealthica.js CHANGED
@@ -7204,7 +7204,7 @@ var Transactions = /*#__PURE__*/function () {
7204
7204
  throw new Error('Please provide a valid Wealthica account id.');
7205
7205
 
7206
7206
  case 4:
7207
- url = "/institutions/".concat(accountId, "/transactions");
7207
+ url = "/transactions?institutions=".concat(accountId);
7208
7208
  query = getQueryString(params);
7209
7209
  if (query) url = "".concat(url, "?").concat(query);
7210
7210
  _context.next = 9;
@@ -7272,7 +7272,7 @@ var Transactions = /*#__PURE__*/function () {
7272
7272
  throw new Error('Please provide a valid Wealthica transaction id.');
7273
7273
 
7274
7274
  case 6:
7275
- url = "/institutions/".concat(accountId, "/transactions/").concat(txId);
7275
+ url = "/transactions/".concat(txId);
7276
7276
  query = getQueryString(params);
7277
7277
  if (query) url = "".concat(url, "?").concat(query);
7278
7278
  _context2.next = 11;