-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sdk): add support for zero value base plan (#674)
* chore: link sdk with demo app * chore: export sdk client options * feat: add base plan in sdk config * chore: merge plans with base plan * fix: handle undefined currency and value * fix: handle undefined value * feat: add nil uuid to base plan * fix: handle undefined plan weigtage * chore: add baseplan to frontier context * refactor: move enrichBasePlan to react utils * chore: use context base plan instead of config base plan * fix: handle downgrade to base plan * fix: show base plan as current plan if user is not subscribed * feat: show base plan in billing screen * feat: show banner with base plan * refactor: remove duplicate function * fix: add check for provider id in offline billing account for upcoming invoice * chore: update proto client * fix: show downgrade banner when subscription is cancel * feat: add features to base plan * fix: make features optional type * refactor: make logic more readable
- Loading branch information
Showing
18 changed files
with
255 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.