Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: adds surplus to base activity type * feat: adds surplus to GenericActivityInformation * fix: adds visible surplus * fix: adds surplus not supported in base asset error * fix: hide gift toggle if it is disabled and not active * fix: adds gifted storage deposit calculation if sending base token * fix --------- Co-authored-by: Nicole O'Brien <nicole.obrien@iota.org> Co-authored-by: Matthew Maxwell <44885822+maxwellmattryan@users.noreply.github.com>
- Loading branch information
1 parent
4a81abd
commit 3eaecdb
Showing
8 changed files
with
44 additions
and
5 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
14 changes: 14 additions & 0 deletions
14
packages/shared/lib/auxiliary/deep-link/errors/surplus-not-supported.error.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { BaseError } from '@core/error' | ||
import { localize } from '@core/i18n' | ||
|
||
export class SurplusNotSupportedError extends BaseError { | ||
constructor() { | ||
const message = localize('notifications.deepLinkingRequest.surplusNotSupported') | ||
super({ | ||
message, | ||
showNotification: true, | ||
saveToErrorLog: true, | ||
logToConsole: true, | ||
}) | ||
} | ||
} |
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