wealthica-sdk-js 0.0.13 → 0.0.15

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/lib/wealthica.js CHANGED
@@ -2707,14 +2707,14 @@ var API = /*#__PURE__*/function () {
2707
2707
  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2708
2708
  if (!this.isBrowser) throw new Error('Only supported in Browser.');
2709
2709
  _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
2710
- var provider, providers, providerGroups, institutionId, lang, theme, providersPerLine, features, connectionType, _yield$_this$getConne, url, token;
2710
+ var provider, providers, providerGroups, institutionId, lang, theme, providersPerLine, features, connectionType, origin, _yield$_this$getConne, url, token;
2711
2711
  return regeneratorRuntime.wrap(function _callee5$(_context5) {
2712
2712
  while (1) {
2713
2713
  switch (_context5.prev = _context5.next) {
2714
2714
  case 0:
2715
2715
  _context5.prev = 0;
2716
2716
  _this._widgetOpened = true;
2717
- provider = options.provider, providers = options.providers, providerGroups = options.providerGroups, institutionId = options.institutionId, lang = options.lang, theme = options.theme, providersPerLine = options.providersPerLine, features = options.features, connectionType = options.connectionType;
2717
+ provider = options.provider, providers = options.providers, providerGroups = options.providerGroups, institutionId = options.institutionId, lang = options.lang, theme = options.theme, providersPerLine = options.providersPerLine, features = options.features, connectionType = options.connectionType, origin = options.origin;
2718
2718
  _context5.next = 5;
2719
2719
  return _this.getConnectData({
2720
2720
  provider: provider,
@@ -2724,7 +2724,8 @@ var API = /*#__PURE__*/function () {
2724
2724
  lang: lang,
2725
2725
  theme: theme,
2726
2726
  providersPerLine: providersPerLine,
2727
- features: features
2727
+ features: features,
2728
+ origin: origin
2728
2729
  });
2729
2730
  case 5:
2730
2731
  _yield$_this$getConne = _context5.sent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wealthica-sdk-js",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "description": "Official Wealthica JS SDK for the Browser & NodeJS",
5
5
  "author": "Wealthica Financial Technology Inc. <hello@wealthica.com> (https://wealthica.com/)",
6
6
  "license": "MIT",