BeefreeSDK / beefree-sdk-npm-official

Official NPM package of Beefree SDK
https://developers.beefree.io
Apache License 2.0
19 stars 7 forks source link

Feat/custom assets #69

Closed davidesamp closed 2 years ago

davidesamp commented 2 years ago

Description

Introduced custom monitoring assets types

Motivation and Context

It's possible to pass an init config object to the plugin in order to instantiate an analytic platform tool like Pendo, FullStory, MixPanel, etc...

Usage examples

Pass this in the bee config

https://github.com/BEE-Plugin/Bee-plugin-official/blob/73a9d9b9bfbe30c3cf213ba0c9aa659a0789eb1c/example/integration.ts#L101-L113

How Has This Been Tested?

Types of changes

github-actions[bot] commented 2 years ago

Coverage after merging feat/custom-assets into master

86.03%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   index.ts50%7.89%61.97%..., 93, 94, 98, 99
src/services
   api.ts100%50%100%
   axios.ts100%100%100%
src/types
   bee.ts100%100%100%
src/utils
   Constants.ts100%100%100%
   utils.ts0%0%70.59%..., 8, 8, 9, 9
github-actions[bot] commented 2 years ago

Coverage after merging feat/custom-assets into master

86.03%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   index.ts50%7.89%61.97%..., 93, 94, 98, 99
src/services
   api.ts100%50%100%
   axios.ts100%100%100%
src/types
   bee.ts100%100%100%
src/utils
   Constants.ts100%100%100%
   utils.ts0%0%70.59%..., 8, 8, 9, 9