v4.0.9
⚠️ Breaking Changes ⚠️
- This major version update reflects an update in the core dependencies to the
v4.xbranch of the Verdocs JS-SDK. That SDK included breaking changes to the name-spacing of function exports, so using thev4.xbranch of this Web SDK will require the same code changes. - This release also updates the component catalog from Storybook v6 to v8. That upgrade included its own breaking changes, however, developers should generally not run Storybook locally. Instead, simply visit https://developers.verdocs.com/embeds. Updates to the component catalog will always be documented and published at that URL, so it is not necessary to run Storybook locally.
Upgrading
Most JS-SDK based code changes are simplifications to how helper functions and types get imported. Generally, you only need to simplify each import path and method call usage as shown in the example below.
Previously
import ApiKeys from '@verdocs/js-sdk/Organizations';
...
ApiKeys.createApiKey(...);Becomes
import { createApiKey } from '@verdocs/js-sdk';
...
createApiKey(...);