Skip to content

Latest commit

 

History

History
265 lines (185 loc) · 9.69 KB

File metadata and controls

265 lines (185 loc) · 9.69 KB

Changelog

All notable changes to the Vezgo SDK across versions will be documented in this file.

[2.0.7] - 2026-08-21

  • Document the predictions widget feature flag: add predictions to the documented providerCategories values, describe the features option in the README and in src/index.d.ts, and make the basic example configurable via VEZGO_CLIENT_FEATURES. No runtime behaviour change — the SDK already forwarded features to the widget.
  • Security: resolve all dependency advisories reachable from the published package. apisauce 3.0.1 -> 3.2.2 (pulls axios 1.6.8 -> 1.19.0, which requires form-data

    = 4.0.6 and follow-redirects >= 1.16.0) and jsonwebtoken 9.0.2 -> 9.0.3 (pulls jws >= 4.0.1). This clears a critical advisory in form-data, a high-severity improper-HMAC-verification advisory in jws, and 14 high-severity axios SSRF / prototype-pollution / credential-leak advisories.

  • Build/tooling only (no effect on consumers): removed unused devDependencies (the Babel toolchain, eslint-config-airbnb-base, eslint-plugin-import, vite-plugin-static-copy), upgraded vite/vitest/eslint/prettier, and fixed the eslint flat config so build output is no longer linted. Building the SDK now requires Node >= 20.19; the published bundles still target Node 18+.

[2.0.6] - 2026-05-28

  • Fix the Connect widget closing on non-terminal ERROR events from vezgo-app (INVALID_CREDENTIALS, SECURITY_QUESTION_REQUIRED, etc.) so users can retry credentials inline, and restore the singleton-as-module-export DX so consumers can call require('vezgo-sdk-js').init(...) without the .default workaround.

[2.0.5] - 2026-05-05

  • Add accounts.getKYCData(id) for the new GET /accounts/:id/kyc-data endpoint. Returns the KYC payload on success, or null if no data has been captured yet for the account (404). Throws on 403 (KYC feature not enabled for the team) and other errors.

[2.0.4] - 2026-04-20

  • Add DUPLICATE_CONNECTION error handling: new DuplicateConnectionError class (exported from package root) thrown on 409 responses from accounts endpoints, and Connect widget ERROR events now route to onError with { type: 'DUPLICATE_CONNECTION', existing_institution_id }.

[2.0.3]

  • Fix listing jsonwebtoken dependency

[2.0.2]

  • Fix lib paths

[2.0.0]

  • Vite Build

[1.1.13]

  • Added React/Typescript example app

[1.1.12]

  • Update typescript types
  • Export typescript types and interfaces

[1.1.11]

  • Update readme for basic example
  • Add providersPreferences support for user.connect(), user.reconnect() & user.getConnectData()

[1.1.9]

  • Add disabledProviders providers array support for user.connect(), user.reconnect() & user.getConnectData().

[1.1.8]

  • Upgrade jsonwebtoken dependency to 9

[1.1.7]

  • Allow copy/write to clipboard for WalletConnect widget in Widget Mode.

[1.1.6]

  • Add support for hideWalletConnectWallets to allow hiding WalletConnect wallets list in Vezgo Connect flow.

[1.1.5]

  • Bumped apisauce package to 3.0.1 to get rid of CSRF vulnerability in axios.

[1.1.4]

  • Fix required params in ts interface

[1.1.3]

  • Update basic example to display network in list of connected wallets in multi wallet mode

[1.1.2]

  • Add support for multiWallet flag which allows to connect multiple wallets in one take and return list of connected accounts

[1.1.1]

  • Added support for fetching orders
  • Support alternate_names if available in providers list

[1.1.0]

  • Rework TypeScript headers (not likely but could be breaking change depending on how you use TypeScript)

[1.0.18]

  • Update basic example instruction

[1.0.17]

  • Add support for provider_categories parameter in user.connect(), user.reconnect() and user.getConnectData().
  • Add support for exclude_fields parameter in user.transactions.getList().
  • Added vezgo-direct-api example app
  • Add VEZGO_CLIENT_THEME and VEZGO_CLIENT_PROVIDERS_PER_LINE configs to example app
  • Add dotenv to example app
  • Add support of connectionType: 'GET' for connect and reconnect methods for local development
  • Add features flag to enable certain experimental features.
  • Allow passing query parameters to vezgo.providers.getList() call.
  • syncNfts flag changed to true by default, pass false if you need to disable it. Besides sync_nfts feature should be enabled for your App Project.
  • Add syncNfts flag support for user.connect() and user.getConnectData().
  • Add Declaration Files enable a bit of TS support (thanks to @zcuric)
  • Bugfix: add missing body in accounts.sync() request (issues/37)
  • Bugfix: hide visible form
  • Bugfix: remove iFrame on close widget instead of hiding
  • Add theme (light | dark) support for user.connect(), user.reconnect() & user.getConnectData().
  • Add providersPerLine (1 | 2) support for user.connect(), user.reconnect() & user.getConnectData().
  • Add keywords
  • Add annotation
  • Readme fix

Note: Latest Vezgo Connect requires to be opened via POST request with token in the form data.

  • Add user.getConnectData() to get Vezgo Connect URL and authorization token.
  • Delete user.getConnectData().
  • user.connect() and user.reconnect() updated accordingly.
  • Allow passing extra query params to API calls.
  • Fix missing lang parameter in user.connect().
  • Update default origin for user.connect() to the full url origin.
  • Add lang: 'es' support for user.connect(), user.reconnect() & user.getConnectData().

Added

  • Add user.history.getList() to get account balance history.

Added

  • Add user.accounts.sync() to trigger an account sync.
  • Add providers parameter to user.connect() & user.getConnectData() to control the list of providers in Vezgo Connect.

Fixed

  • Fix an issue with authorizer function breaking all User API method helpers.

Added

  • Add wallet parameter to user.transactions.getList() to support querying by wallet.
  • Add last and limit parameters to user.transactions.getList() to support pagination.

Added

  • Add user.reconnect() for reconnecting a disconnected account.

Fixed

  • Fix broken NodeJS build caused by build setup.

Added

  • Add user.accounts.remove(id) method.

Changed

  • Make origin parameter optional in NodeJS for user.getConnectData().

Added

  • Add user.connect() method for connecting an account via the drop-in Vezgo Connect Widget.

Added

  • Add partial support for ReactNative.
  • Add minimumLifetime parameter to user.getToken() method.

Changed

  • Change all methods that rely on token to automatically renew token.
  • Change vezgo.login() and Vezgo.init() to be synchronous.

Fixed

  • Fix token renew.

Added

  • Add browser auth parameters (authEndpoint, auth { params, headers }, authorizer) to Vezgo.init()