Releases: gofynd/fdk-extension-javascript
Releases · gofynd/fdk-extension-javascript
v0.5.1
What's Changed
- Support auto Install extension support on company create by @RahulTambe21 in #26
Full Changelog: v0.5.0...v0.5.1
Added
- Added support to auto install extensions feature. Now selected auto install extensions will be installed for company. It will generate access token for offline mode and register webhook subscribers for company it is getting auto installed.
Changed
- With introduction of auto install feature, any handling done on extension installation or first launch event on auth callback should be done here as well. Since auto install event will install extension in background on company creation. And auth callback is only triggered when extension is launched.
v0.5.0
What's Changed
- Event category support by @brijeshgajjarfynd in #21
- Enhancement/offline token mode flow by @RahulTambe21 in #23
Full Changelog: v0.4.0...v0.5.0
Added
- Fetching and verifying extension details using
api_key
andapi_secret
on server/consumer start. Given invalid extension api_key and api_secret, it will throw error. Same will be done ifscopes
are included which are not registered on Fynd Partners panel. - Added webhook event name validation. Now each webhook event details mentioned in
webhook_config
will be validated on server/consumer start. It will throw error in case of invalid event name passed.
Changed
- Added support for generating different tokens for
online
andoffline
access mode for fetching proper user details in extension launch on platform panel and background task handling - setupFdk config parameters
base_url
andscopes
in Extension config details are optional - Now passing event category with event name and type is compulsory in
webhook_config
dictionary. Refer examples and README.md - Fixed unnecessary token issue due to bug on renew access token. Fixes also includes changes in
fdk-client-javascript
. Refer "peer-dependency" for required minimum version upgrade.
v0.4.0
What's Changed
- Add event category parameter support by @brijeshgajjarfynd in #20
Full Changelog: v0.3.0...v0.4.0
Change details
- Add support for the webhook event category
- Add support for the webhook event versioning
v0.3.0
- Added webhook subscription support. Now webhooks can be subscribed via this library only
- Updated readme documentation for various function usage and config properties
- Automatic webhook config sync on extension launch for a company
- Support for listening webhooks for specific saleschannels of any company
- Added support for enabling debug logs
v0.3.0-beta.2
- Added final webhook subscription support with auto event subscription on install for all saleschannels
- Fixed webhook config sync issues for Fynd Platform side
- Updates examples for event subscription of specific saleschannels
v0.3.0-beta.1
- Added initial support for subscribing to webhook events
- Updated documentation on how to use this library with various use cases
v0.2.3
- Application-level extension launch support.
v0.2.2
- Fix multi tab extension launch issue
- Added company id in cookie name so extension can be launched in multiple tabs
v0.2.1
- fix for uninstalling key delete
- handling of access token validity expire
- handling of existing Redis session key cross checking with apikey key
- Breaks for previous versions
v0.2
Adding extension api_key, secret using partner panel flow