Skip to content

Commit

Permalink
Release v2.5.0 (#2819)
Browse files Browse the repository at this point in the history
* Add missing required prop in tests (#2727)

* Add resolution for ws to address security vuln (#2737)

* Add iconUrls to allowed list of keys (#2728)

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* Feature/use same media player (#2711)

* Use same media player

* Remove unused react-native-video-controls

* Remove SVG and image toggle

* Add onBack

* Update snapshot

* only change one heading

* Use scaling

* Feature/bitrise circle ci hybrid (#2713)

* updated yml segmented code cov

* updated yml triggers

* updated yml triggers

* updated yml triggers

* updated yml codecov

* switched to ci

* switched to ci

* test deploy

* test deploy ios

* format

* imported env variables

* added env variables

* added env variables

* reconfigured build triggers

* reconfigured build triggers

* reconfigured build triggers

* removed fastlane from build scripts and added commnets to bitrise scripts

* testing android artifact upload

* commented out code that is not needed

* added android deploy paths

* test

* Revert "test"

This reverts commit 77ef282.

* updated android deploy paths

* bitrise-yml-bump-version

* bump_version_minor

* workflow

* PROJECT_LOCATION

* bump_version_minor

* new_version_name

* space

* Revert "space"

This reverts commit e0eb5ad.

* 2.1.1

* new_version_name

* torevert

* Revert "torevert"

This reverts commit a315582.

* d

* revert

* env

* ios

* test android build

* bump_version_minor

* temporarily creating debug android build for testing

* VERSION_NAME

* e2e testing

* modified build script to generate debug app for testing

* added pod file install into code prep

* moved pod install to e2e workflow

* update e2e

* updated e2e

* updated e2e script

* added back envs

* updated e2e

* updated e2e

* updated code_setup & e2e

* updated detox script

* added test deploy

* commented out steps for testing

* updated build announce to use bitrise script

* added bitrise announcement script

* refactored bitrise scripts to reflect the notion workflows

* added new yarn step to audit dependencies

* removing scripts and using yarn e2e test

* moved the trigger

* updated yarn audit command

* updated e2e

* updated e2e

* updated build scripts to generate release and added dependency for android test release

* test-android-build

* generic-file-storage

* file-downloader

* Revert "file-downloader"

This reverts commit db69ef5.

* Download keystore

* moved keystore download up in the workflow

* updated keystore pull script

* updated keystore pull script

* added file downloader

* added file downloader

* uploaded keystore file android test

* updated android release

* updated release build to pull keystore from bitrise

* update android bitrise deploy

* added android e2e workflow and updated release signing config

* commented out e2e

* uncommented e2e setup

* uncommented e2e

* updated file format

* uncommented e2e

* comment e2e

* uncommented e2e

* formatting bitrise file

* updated build scripts to use release

* swaped password for release

* test ios release

* updated yarn steps

* update slack bot script

* added group test release

* run android test release

* updated announce script

* update triggers and typos

* update to test ios build

* updated build type for pre-release

* ios app generation

* ios app generation

* updated iOS builds

* use bitrise xcode deploy

* update ios release steps

* added deploy to itunes connect

* formatting

* updated node version

* udpated node version

* Bitrise yml bump version (#2535)

* scriptsworking

* scripts

* scripts

* working

* newscript

* works

* pre-merge-hook

* 1.0.0 (#2560)

* dah

* actions?

* branchasinput

* update

* branch

* Release/testing minor (#2563)

* Bitrise yml bump version (#1)

* added new bitrise yml file

* updated unit test yml

* updated yml

* added code coverage

* added code coverage install

* segment out code setup and validation from test cases

* updating yml audit

* updated yml

* updated yml

* updated yml audits

* updated yml audits

* updated yml audits

* updated yml audits

* updated yml install

* updated yml audit

* updated yml audit

* updated yml segmented code_setup

* updated yml segmented code_setup

* updated yml segmented set to not always run

* updated yml segmented code cov

* updated yml triggers

* updated yml triggers

* updated yml triggers

* updated yml codecov

* switched to ci

* switched to ci

* test deploy

* test deploy ios

* format

* imported env variables

* added env variables

* added env variables

* reconfigured build triggers

* reconfigured build triggers

* reconfigured build triggers

* removed fastlane from build scripts and added commnets to bitrise scripts

* testing android artifact upload

* commented out code that is not needed

* added android deploy paths

* test

* Revert "test"

This reverts commit 77ef282.

* updated android deploy paths

* bitrise-yml-bump-version

* bump_version_minor

* workflow

* PROJECT_LOCATION

* bump_version_minor

* new_version_name

* space

* Revert "space"

This reverts commit e0eb5ad.

* 2.1.1

* new_version_name

* torevert

* Revert "torevert"

This reverts commit a315582.

* d

* revert

* env

* ios

* test android build

* bump_version_minor

* temporarily creating debug android build for testing

* VERSION_NAME

* scriptsworking

* scripts

* scripts

* working

* newscript

* works

* pre-merge-hook

* 1.0.0 (#2560)

* dah

* actions?

* branchasinput

* update

* branch

Co-authored-by: sethkfman <seth.kaufman@consensys.net>

* changename (#2)

* Changetorun (#3)

* changename

* run

* release/test-minor (#4)

* rm-condition (#5)

* Filelocation (#6)

* rm-condition

* file

* Checkout step (#7)

* rm-condition

* file

* checkout-step

* Try (#8)

* a

* Revert "a"

This reverts commit 5df3682.

* Logs (#9)

* a

* Revert "a"

This reverts commit 5df3682.

* logs

* Branch (#10)

* a

* Revert "a"

This reverts commit 5df3682.

* logs

* branch

* Var (#11)

* a

* Revert "a"

This reverts commit 5df3682.

* logs

* branch

* correct

* echo (#12)

* echo

* rm

* pull-request (#13)

* Pull request 2 (#14)

* pull-request

* ref

* GITHUB_REF

* parse

* with-branch (#15)

* Origin branch (#16)

* with-branch

* origin-branch

* base_ref (#17)

* push

* rmrnv

* gh

* action

* event_name

* base_ref

* location

* location

* ls

* find

* file

* file

* GITHUB_TOKEN

* persist

* with

* uses

* bitrise

* sed

* commit

* diff

* release/fake-major

* add-and-commit

* with

* author

* path-to-th-repo

* checkout@v1

* v2

* Bump version name

* useref (#18)

* change

* ref

* something (#19)

* Branch 3 (#20)

* something

* onmerge

* fix

* Branch 4 (#21)

* something

* onmerge

* fix

* GITHUB_REF

* GITHUB_CONTEXT

* GITHUB_CONTEXT

* BASE_REF

* HEAD_REF

* nobump

* something (#22)

* s (#23)

* s

* Bump version name

* types (#24)

* create-pr

* something (#25)

* Release/ww patch (#26)

* something

* opened

* Bump version name

* othercommit

* Release/nohead patch (#36)

* ghactions

* something

* fix

* nopush

* head

* pull

* nohead

* nopull

* nohead

* update

* gitpush

* force

* Bump version name

* opened

Co-authored-by: github-actions <github-actions@github.com>

* rmonpush

* Bump version name

* startsWith

* main

* rmstartwith

* line

Co-authored-by: sethkfman <seth.kaufman@consensys.net>
Co-authored-by: github-actions <github-actions@github.com>

* newscript

* release/testbump-patch (#2570)

* space

* branch

* notopenend

* diff

* Bump version name

Co-authored-by: github-actions <github-actions@github.com>

* addbranch

* version

* ifrelease

* add

* lasttest

* ifcontains

* branch

Co-authored-by: sethkfman <seth.kaufman@consensys.net>
Co-authored-by: github-actions <github-actions@github.com>

* iOS build update

* iOS build update

* added android and ios in a single release build

* added android and ios in a single release build

* updated iOS release

* updated iOS release

* updated iOS release

* updated iOS release

* added android to test_release

* test iOS build with export options

* test iOS build with export options

* setup android release build

* fix action condition (#2576)

* updated export options to include provisioning profile and added deploy to bitrise steps to ios

* bump_version

* start_release_builds

* androidthenios

* cachepull

* before_run

* deploy-to-itunesconnect

* onefirsttheother

* iosfirst

* comments

* updated slack announce script

* uncommented deploy and slack announce

* testing full release (#2582)

* testing full release

* Bump version name

Co-authored-by: github-actions <github-actions@github.com>

* update ios deploy step

* removed test comment (#2584)

* removed test comment

* Bump version name

Co-authored-by: github-actions <github-actions@github.com>

* testing android google play staging

* increased versionCode & PROJECT VERSION

* added iOS build

* added test comment (#2585)

* added test comment

* Bump version name

Co-authored-by: github-actions <github-actions@github.com>

* run android only deploy

* run ios only deploy

* run ios only deploy

* run ios only deploy

* Release/testbuild patch (#2589)

* Swaps: BSC Support (#2468)

* Swaps: Add cache thresholds configuration (#2514)

* removed test comments

* Bump version name

Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>

* removed fastlane files and minor tweaks to scripts

* updated e2e tests

* updated e2e tests

* updated yarn steps e2e

* updated android scripts

* updated build scrips and yml

* updated e2e builds

* remove CircleCi yml

* added circleci script back

* added emulator print out command

* updated ios e2e test steps

* removed devices

* added creation of emulator to script

* added creation of emulator to script

* added creation of emulator to script

* added creation of emulator to script

* added creation of emulator to script

* removed starting emulators

* updated emulator name

* avd list

* avd creation

* updated bitrise to tigger for v2.3.0 release build test

* updated bundler version

* updated build script

* updated build script

* updated change log with hide zero balance change (#2623)

* updated version name

* updated android emulator name

* added build comments and verbose logging for tests

* added build comments and refactored test inits

* testing parallel deploys

* added comments

* formatting

* moved code snipets

* modified build triggers

* modified build triggers

* added deploy steps for parallel deploy

* updated triggers

* updated trigger

* updated change log

* stop caching

* update build triggers

* update build triggers

* update audit script

* testing parallel deployment

* testing parallel deployment

* testing parallel deployment

* disable release in circleCI

* testing parallel deployment

* updated deploy directory

* updated deploy step

* deploy apk

* updated changelog (#2648)

* updated deploy scripts

* remove code coverage

* updated provisioning profile name

* updated provisioning profile name

* updated version for test 2.3.1

* updated provisioning profile

* update provisioning profile

* added fastlane and gemfiles back

* disabled circle CI and added back slack bot announcement

* commented all CI related tasks

* revert bitrise specific scripting

* commented out bitrise release triggers

* removed ci commneted code

* reverted script changes

* minor syntax tweaks to scripts

* updated the bitrise version to match package

Co-authored-by: Esteban Mino <efmino@uc.cl>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>

* Bugfix/fix ws resolution (#2742)

* Revert "Add resolution for ws to address security vuln (#2737)"

This reverts commit e2226ca.

* Use improved-yarn-audit and exclude 1748

* Convert token id to hexadecimal for collectible transfer (#2703)

* Convert token id to hexadecimal for transfer

* Add test for toHexadecimal

Co-authored-by: Ricky Miller <ricky.miller@gmail.com>

* make null conversionrate safe (#2706)

Co-authored-by: ricky <ricky.miller@gmail.com>

* @metamask/mobile-provider@2.1.0 (#2626)

* @metamask/mobile-provider@2.1.0

* yarn

* bugfix/notifications reducer (#2741)

* Feature/simplify custom gas (#2738)

* Use single method for fast/average/slow

* Use newly added constants

* Educate gas fees (#2611)

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>
Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>

* On-Ramp: Refactor and Wyre countries (#2617)

Co-authored-by: Esteban Miño <efmino@uc.cl>

* Swaps: Allow every token on user wallet to be swapped (#2701)

* Swaps: Update Market price unavailable and Price impact text (#2702)

Co-authored-by: sethkfman <10342624+sethkfman@users.noreply.github.com>

* @metamask/controllers@10.1.0 (#2749)

* bump

* bump

* yarn

* bugfix/notification visibility (#2746)

* isvisible

* onfinished

* removeonappstate

* Circleci fix (#2757)

* reintallpods

* min9.0

* order

* circleci

* 12.5

* branch

* v2.5.0 (#2748)

* Bump

* Update CHANGELOG.md

* add heading back

* bump to 748

* bump date as well

* Use MediaPlayer (#2759)

* Use MediaPlayer

* height -> HEIGHT

* Add isInteraction: false (#2777)

* Fix: empty state when using fiat on non-mainnet transactions (#2776)

* Add mainnet condition

* Implement secondary values

* Design adjustments

* Fix boldness

* Update test

Co-authored-by: ricky <ricky.miller@gmail.com>

* update CHANGELOG.md (#2796)

* update changelog

* update

* bump version code

* Updated config.yml

* Optional chaining dollarBalance (#2809)

* bumped version and updated changelog (#2810)

* bumped version and updated changelog

* removed config.yml update

* removed changelog

Co-authored-by: ricky <ricky.miller@gmail.com>
Co-authored-by: Andre Pimenta <andrepimenta7@gmail.com>
Co-authored-by: Esteban Mino <efmino@uc.cl>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Pedro Pablo Aste Kompen <wachunei@gmail.com>
Co-authored-by: Alex Donesky <alex.donesky@consensys.net>
  • Loading branch information
7 people committed Jun 17, 2021
1 parent 608c65b commit 1aadb84
Show file tree
Hide file tree
Showing 85 changed files with 3,855 additions and 1,455 deletions.
34 changes: 3 additions & 31 deletions .circleci/config.yml
Expand Up @@ -86,7 +86,7 @@ jobs:
test-e2e-ios:
<<: *defaults
macos:
xcode: 12.0.0
xcode: 12.5.0
steps:
- checkout
- attach_workspace:
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
command: yarn build:announce
publish-pre-release-ios:
macos:
xcode: 12.0.0
xcode: 12.5.0
working_directory: ~/MetaMask
environment:
FL_OUTPUT_DIR: output
Expand Down Expand Up @@ -195,43 +195,15 @@ jobs:
workflows:
full_test:
jobs:
- test-deps:
requires:
- prep-node-deps
- prep-deps:
filters:
branches:
only:
- main
- develop
- prep-node-deps:
filters:
branches:
ignore:
- main
- develop
- lint:
requires:
- prep-node-deps
- test-unit:
requires:
- prep-node-deps
# - test-e2e-ios:
# requires:
# - prep-node-deps
# - test-unit
- all-tests-pass:
requires:
- test-deps
- lint
- test-unit
# - test-e2e-ios
# - upload-coverage:
# requires:
# - test-unit
- publish-pre-release-ios:
requires:
- prep-deps
- publish-pre-release-android:
requires:
- publish-pre-release-ios
- prep-deps
29 changes: 29 additions & 0 deletions .github/workflows/bump-version-name.yml
@@ -0,0 +1,29 @@
name: Bump version name
on:
# push:
# branches:
# - develop
pull_request:
branches:
- develop
- main
- bitrise_yml_new
types: [opened]
jobs:
bump-version-name:
runs-on: ubuntu-latest
if: "contains(github.head_ref, 'release/')"
steps:
- uses: actions/checkout@v2
- name: Bump script
env:
HEAD_REF: ${{ github.head_ref }}
run: |
./scripts/bump-version.sh "$HEAD_REF"
git diff
git config user.name github-actions
git config user.email github-actions@github.com
git add bitrise.yml
git add package.json
git commit -m "Bump version name"
git push origin HEAD:"$HEAD_REF" --force
25 changes: 24 additions & 1 deletion CHANGELOG.md
@@ -1,6 +1,29 @@
# Changelog

## Current Develop Branch
## v.2.5.0 - June 15 2021
- [#2809](https://github.com/MetaMask/metamask-mobile/pull/2809): Optional chaining dollarBalance
- [#2776](https://github.com/MetaMask/metamask-mobile/pull/2776): Fix: empty state when using fiat on non-mainnet transactions
- [#2777](https://github.com/MetaMask/metamask-mobile/pull/2777): Add isInteraction: false
- [#2759](https://github.com/MetaMask/metamask-mobile/pull/2759): Use MediaPlayer
- [#2748](https://github.com/MetaMask/metamask-mobile/pull/2748): v2.5.0
- [#2757](https://github.com/MetaMask/metamask-mobile/pull/2757): Circleci fix
- [#2746](https://github.com/MetaMask/metamask-mobile/pull/2746): bugfix/notification visibility
- [#2749](https://github.com/MetaMask/metamask-mobile/pull/2749): @metamask/controllers@10.1.0
- [#2702](https://github.com/MetaMask/metamask-mobile/pull/2702): Swaps: Update Market price unavailable and Price impact text
- [#2701](https://github.com/MetaMask/metamask-mobile/pull/2701): Swaps: Allow every token on user wallet to be swapped
- [#2617](https://github.com/MetaMask/metamask-mobile/pull/2617): On-Ramp: Refactor and Wyre countries
- [#2611](https://github.com/MetaMask/metamask-mobile/pull/2611): Educate gas fees
- [#2738](https://github.com/MetaMask/metamask-mobile/pull/2738): Feature/simplify custom gas
- [#2741](https://github.com/MetaMask/metamask-mobile/pull/2741): bugfix/notifications reducer
- [#2626](https://github.com/MetaMask/metamask-mobile/pull/2626): @metamask/mobile-provider@2.1.0
- [#2706](https://github.com/MetaMask/metamask-mobile/pull/2706): make null conversionrate safe
- [#2703](https://github.com/MetaMask/metamask-mobile/pull/2703): Convert token id to hexadecimal for collectible transfer
- [#2742](https://github.com/MetaMask/metamask-mobile/pull/2742): Bugfix/fix ws resolution
- [#2713](https://github.com/MetaMask/metamask-mobile/pull/2713): Feature/bitrise circle ci hybrid
- [#2711](https://github.com/MetaMask/metamask-mobile/pull/2711): Feature/use same media player
- [#2728](https://github.com/MetaMask/metamask-mobile/pull/2728): Add iconUrls to allowed list of keys
- [#2737](https://github.com/MetaMask/metamask-mobile/pull/2737): Add resolution for ws to address security vuln
- [#2727](https://github.com/MetaMask/metamask-mobile/pull/2727): Add missing required prop in tests

## v.2.4.0 - May 21 2021
- [#2618](https://github.com/MetaMask/metamask-mobile/pull/2618): Collectibles experience
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Expand Up @@ -166,8 +166,8 @@ android {
applicationId "io.metamask"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 746
versionName "2.4.0"
versionCode 750
versionName "2.5.0"
multiDexEnabled true
testBuildType System.getProperty('testBuildType', 'debug')
missingDimensionStrategy "minReactNative", "minReactNative46"
Expand Down
6 changes: 6 additions & 0 deletions app/actions/user/index.js
Expand Up @@ -58,3 +58,9 @@ export function loadingUnset() {
type: 'LOADING_UNSET'
};
}

export function setGasEducationCarouselSeen() {
return {
type: 'SET_GAS_EDUCATION_CAROUSEL_SEEN'
};
}
120 changes: 120 additions & 0 deletions app/components/Base/Keypad/constants.js
@@ -0,0 +1,120 @@
import createKeypadRule from './createKeypadRule';

export const KEYS = {
DIGIT_1: '1',
DIGIT_2: '2',
DIGIT_3: '3',
DIGIT_4: '4',
DIGIT_5: '5',
DIGIT_6: '6',
DIGIT_7: '7',
DIGIT_8: '8',
DIGIT_9: '9',
DIGIT_0: '0',
PERIOD: 'PERIOD',
BACK: 'BACK',
INITIAL: 'INITIAL'
};

export const CURRENCIES = {
AUD: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: '$'
},
BRL: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: 'R$'
},
CAD: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: '$'
},
CLP: {
decimalSeparator: null,
handler: createKeypadRule({ decimalSeparator: null }),
symbol: '$'
},
CZK: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: 'Kč'
},
default: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.' }),
symbol: null
},
DKK: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: 'kr'
},
EUR: {
decimalSeparator: ',',
handler: createKeypadRule({ decimalSeparator: ',', decimals: 2 }),
symbol: '€'
},
GBP: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: '£'
},
HKD: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: '$'
},
ISK: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: 'kr'
},
JPY: {
decimalSeparator: null,
handler: createKeypadRule({ decimalSeparator: null }),
symbol: '¥'
},
native: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.' }),
symbol: null
},
NOK: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: 'kr'
},
NZD: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: '$'
},
PLN: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: 'zł'
},
SGD: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: '$'
},
SEK: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: 'kr'
},
CHF: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: 'Fr'
},
USD: {
decimalSeparator: '.',
handler: createKeypadRule({ decimalSeparator: '.', decimals: 2 }),
symbol: '$'
}
};
64 changes: 64 additions & 0 deletions app/components/Base/Keypad/createKeypadRule.js
@@ -0,0 +1,64 @@
import { KEYS } from './constants';

const hasOneDigit = /^\d$/;
function hasDecimals(separator, decimalPlaces) {
return new RegExp(`^\\d+\\${separator}\\d{${decimalPlaces}}$`, 'g');
}

export default function createKeypadRule({ decimalSeparator = null, decimals = null } = {}) {
return function handler(currentAmount, inputKey) {
if (!currentAmount) {
currentAmount = '0';
}

switch (inputKey) {
case KEYS.PERIOD: {
if (!decimalSeparator || decimals === 0 || decimals === false) {
return currentAmount;
}

if (currentAmount.includes(decimalSeparator)) {
return currentAmount;
}

return `${currentAmount}${decimalSeparator}`;
}
case KEYS.BACK: {
if (currentAmount === '0') {
return currentAmount;
}
if (hasOneDigit.test(currentAmount)) {
return '0';
}

return currentAmount.slice(0, -1);
}
case KEYS.INITIAL: {
return '0';
}
case KEYS.DIGIT_0:
case KEYS.DIGIT_1:
case KEYS.DIGIT_2:
case KEYS.DIGIT_3:
case KEYS.DIGIT_4:
case KEYS.DIGIT_5:
case KEYS.DIGIT_6:
case KEYS.DIGIT_7:
case KEYS.DIGIT_8:
case KEYS.DIGIT_9: {
if (currentAmount === '0') {
return inputKey;
}

if (hasDecimals(decimalSeparator, decimals).test(currentAmount)) {
return currentAmount;
}

return `${currentAmount}${inputKey}`;
}
default: {
return currentAmount;
}
}
};
}

0 comments on commit 1aadb84

Please sign in to comment.