Skip to content

Commit

Permalink
Release version 1.0.4 (170)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thức Nguyễn Duy authored and Thức Nguyễn Duy committed May 31, 2023
1 parent 6bf3cd8 commit 78c0d47
Show file tree
Hide file tree
Showing 9 changed files with 62 additions and 53 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 1.0.4 (170)
- Fix Send USDt (Polygon) #722
- Fix Stake max and Unstake Max #746
- Fix APR and Min stake information when stake #733
- Fix Claim reward on pooled #749
- Add predefined dApp #713
- Fix master password mask charactors from red to white
- Update chainlist

## 1.0.3 (169)
- Update web-runner with latest @subwallet/chain-list

Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ android {
applicationId "app.subwallet.mobile"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 169
versionName "1.0.3"
versionCode 171
versionName "1.0.4"
missingDimensionStrategy 'react-native-camera', 'general'
}

Expand Down
4 changes: 2 additions & 2 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ PODS:
- React-Core
- react-native-camera/RN (4.2.1):
- React-Core
- react-native-cameraroll (5.5.0):
- react-native-cameraroll (5.6.0):
- React-Core
- react-native-document-picker (8.2.1):
- React-Core
Expand Down Expand Up @@ -852,7 +852,7 @@ SPEC CHECKSUMS:
React-jsinspector: c712f9e3bb9ba4122d6b82b4f906448b8a281580
React-logger: 342f358b8decfbf8f272367f4eacf4b6154061be
react-native-camera: 3eae183c1d111103963f3dd913b65d01aef8110f
react-native-cameraroll: 900722c56fde9bc5cf3bc8447acdcfeb290ab853
react-native-cameraroll: 755bcc628148a90a7c9cf3f817a252be3a601bc5
react-native-document-picker: 69ca2094d8780cfc1e7e613894d15290fdc54bba
react-native-image-picker: 709d04e7df67bd3a90f376c3eedb2e8b8334dd04
react-native-mmkv: 7da5e18e55c04a9af9a7e0ab9792a1e8d33765a1
Expand Down
8 changes: 4 additions & 4 deletions ios/SubWalletMobile.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 169;
CURRENT_PROJECT_VERSION = 170;
DEVELOPMENT_TEAM = ZUZ7T3GQMT;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = SubWalletMobile/Info.plist;
Expand All @@ -521,7 +521,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.3;
MARKETING_VERSION = 1.0.4;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand All @@ -542,7 +542,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 169;
CURRENT_PROJECT_VERSION = 170;
DEVELOPMENT_TEAM = ZUZ7T3GQMT;
INFOPLIST_FILE = SubWalletMobile/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = SubWallet;
Expand All @@ -552,7 +552,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.3;
MARKETING_VERSION = 1.0.4;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "SubWalletMobile",
"version": "1.0.3",
"build": "167",
"version": "1.0.4",
"build": "170",
"private": true,
"license": "Apache-2.0",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Input/InputText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const InputText = forwardRef((passwordFieldProps: Props, ref: React.Ref<TextInpu
} = passwordFieldProps;
const hasLabel = !!label;
const styles = useMemo(
() => createStyle(theme, hasLabel, !!(errorMessages && errorMessages.length), !!leftIcon),
() => createStyle(theme, hasLabel, !(errorMessages && errorMessages.length), !!leftIcon),
[theme, hasLabel, errorMessages, leftIcon],
);

Expand Down
6 changes: 3 additions & 3 deletions src/screens/AddProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,14 @@ export const AddProvider = ({
value={formState.data.provider}
onChangeText={onChangeProvider}
errorMessages={formState.errors.provider}
rightIcon={providerSuffix()}
rightIcon={<View style={{ position: 'absolute', right: 12, top: 14 }}>{providerSuffix()}</View>}
placeholder={formState.labels.provider}
onSubmitField={() => providerValidator(formState.data.provider)}
/>

<View style={{ flexDirection: 'row' }}>
<InputText
outerStyle={{ flex: 2, marginRight: 6 }}
containerStyle={{ flex: 2, marginRight: 6 }}
leftIcon={Globe}
placeholder={formState.labels.name}
ref={formState.refs.name}
Expand All @@ -266,7 +266,7 @@ export const AddProvider = ({
/>

<InputText
outerStyle={{ flex: 1, marginLeft: 6 }}
containerStyle={{ flex: 1, marginLeft: 6 }}
placeholder={formState.labels.symbol}
ref={formState.refs.symbol}
value={formState.data.symbol}
Expand Down
16 changes: 9 additions & 7 deletions src/screens/ImportNetwork.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -273,15 +273,17 @@ export const ImportNetwork = () => {
}

if (providerValidation.status === 'success') {
return <Icon iconColor={theme.colorSuccess} phosphorIcon={WifiHigh} type={'phosphor'} weight={'bold'} />;
return (
<Icon size={'sm'} iconColor={theme.colorSuccess} phosphorIcon={WifiHigh} type={'phosphor'} weight={'bold'} />
);
}

if (isValidating) {
return <ActivityIndicator size={20} indicatorColor={theme.colorTextLight5} />;
}

if (providerValidation.status === 'error') {
return <Icon iconColor={theme['gray-4']} phosphorIcon={WifiSlash} type={'phosphor'} weight={'bold'} />;
return <Icon size="sm" iconColor={theme['gray-4']} phosphorIcon={WifiSlash} type={'phosphor'} weight={'bold'} />;
}

return <></>;
Expand All @@ -297,15 +299,15 @@ export const ImportNetwork = () => {
value={formState.data.provider}
onSubmitField={onSubmitField('provider')}
onChangeText={onChangeValue('provider')}
rightIcon={providerSuffix()}
rightIcon={<View style={{ position: 'absolute', right: 12, top: 14 }}>{providerSuffix()}</View>}
errorMessages={formState.errors.provider}
onBlur={() => providerValidateFunc(formState.data.provider)}
isBusy={loading}
/>

<View style={{ flexDirection: 'row' }}>
<InputText
outerStyle={{ flex: 2, marginRight: 6 }}
containerStyle={{ flex: 2, marginRight: 6 }}
leftIcon={Globe}
placeholder={formState.labels.name}
ref={formState.refs.name}
Expand All @@ -316,7 +318,7 @@ export const ImportNetwork = () => {
/>

<InputText
outerStyle={{ flex: 1, marginLeft: 6 }}
containerStyle={{ flex: 1, marginLeft: 6 }}
placeholder={formState.labels.symbol}
ref={formState.refs.symbol}
value={formState.data.symbol}
Expand All @@ -328,7 +330,7 @@ export const ImportNetwork = () => {

<View style={{ flexDirection: 'row' }}>
<InputText
outerStyle={{ flex: 1, marginRight: 6 }}
containerStyle={{ flex: 1, marginRight: 6 }}
placeholder={formState.labels.priceId}
ref={formState.refs.priceId}
value={formState.data.priceId}
Expand All @@ -337,7 +339,7 @@ export const ImportNetwork = () => {
/>

<InputText
outerStyle={{ flex: 1, marginLeft: 6 }}
containerStyle={{ flex: 1, marginLeft: 6 }}
placeholder={formState.labels.type}
ref={formState.refs.type}
value={formState.data.type}
Expand Down
62 changes: 30 additions & 32 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1361,11 +1361,9 @@
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==

"@bifrost-finance/type-definitions@^1.7.2":
version "1.7.2"
resolved "https://registry.yarnpkg.com/@bifrost-finance/type-definitions/-/type-definitions-1.7.2.tgz#13139a69e3e98d175a4751d7fd78dcfebac29943"
integrity sha512-JL19CHFL4DxO29LRrv9o7r7Au9TtY+8pwG4fMP8M6jq2/MkvWd7OQFn1lmEy58akntNrVReIkZPuP81MFKv9jg==
dependencies:
"@open-web3/orml-type-definitions" "^0.9.4-38"
version "1.8.4"
resolved "https://registry.yarnpkg.com/@bifrost-finance/type-definitions/-/type-definitions-1.8.4.tgz#f6f16a3cb31b6b2a28ae46e93ac598a1202faa8a"
integrity sha512-Vj1/aK3ikvlYIKSHmFQDpgiWRn8pCFRxIqPS1zRIlbqy/aj7T2iOsImdrIX9piPdJquLsJFap3VvX8Lw3YVnmw==

"@chainsafe/as-sha256@^0.4.1":
version "0.4.1"
Expand Down Expand Up @@ -2741,7 +2739,7 @@
resolved "https://registry.yarnpkg.com/@open-web3/orml-type-definitions/-/orml-type-definitions-0.8.2-11.tgz#56358d371b63f83761234a7b1283ac9008e6dddd"
integrity sha512-cUv5+mprnaGNt0tu3FhK1nFRBK7SGjPhA1O0nxWWeRmuuH5fjkr0glbHE9kcKuCBfsh7nt6NGwxwl9emQtUDSA==

"@open-web3/orml-type-definitions@^0.9.4-38", "@open-web3/orml-type-definitions@^0.9.4-7":
"@open-web3/orml-type-definitions@^0.9.4-7":
version "0.9.4-38"
resolved "https://registry.yarnpkg.com/@open-web3/orml-type-definitions/-/orml-type-definitions-0.9.4-38.tgz#fc7642f6a518da2618ae39fa76fe046ee57c1e80"
integrity sha512-kV0++JlRLEf7Z1y+Jm+792zqx6Q7dzpGP73rJJmQrBaeTML5mQzu4veZ24TVtcLV6hsGjUU/ixrJODNj6CCuZQ==
Expand Down Expand Up @@ -3938,9 +3936,9 @@
merge-options "^3.0.4"

"@react-native-camera-roll/camera-roll@^5.2.4":
version "5.5.0"
resolved "https://registry.yarnpkg.com/@react-native-camera-roll/camera-roll/-/camera-roll-5.5.0.tgz#3f7cc64e90e923eea8d956b09dd9a15ad0303670"
integrity sha512-oKj4J01auootXOAjh3CBJ+wYWxy536Ys1Ej0WzRmn/EbeDHiMQ3kAcAGvy0zsQkO4VeFXNISwCGfTQe3fTBh1w==
version "5.6.0"
resolved "https://registry.yarnpkg.com/@react-native-camera-roll/camera-roll/-/camera-roll-5.6.0.tgz#385082d57d694f3fd5ae386f8b8ce24b0969c5f9"
integrity sha512-a/GYwnBTxj1yKWB9m/qy8GzjowSocML8NbLT81wdMh0JzZYXCLze51BR2cb8JNDgRPzA9xe7KpD3j9qQOSOjag==

"@react-native-clipboard/clipboard@^1.11.1":
version "1.11.2"
Expand Down Expand Up @@ -4303,9 +4301,9 @@
"@rollup/pluginutils" "^5.0.1"

"@rollup/plugin-node-resolve@^15.0.1":
version "15.0.2"
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.0.2.tgz#8183a80c2cbf7b471f5ac86b16747997f3b5d185"
integrity sha512-Y35fRGUjC3FaurG722uhUuG8YHOJRJQbI6/CkbRkdPotSpDj9NtIN85z1zrcyDcCQIW4qp5mgG72U+gJ0TAFEg==
version "15.1.0"
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.1.0.tgz#9ffcd8e8c457080dba89bb9fcb583a6778dc757e"
integrity sha512-xeZHCgsiZ9pzYVgAo9580eCGqwh/XCEUM9q6iQfGNocjgkufHAqC3exA+45URvhiYV8sBF9RlBai650eNs7AsA==
dependencies:
"@rollup/pluginutils" "^5.0.1"
"@types/resolve" "1.20.2"
Expand Down Expand Up @@ -6742,9 +6740,9 @@ bindings@^1.5.0:
dependencies:
file-uri-to-path "1.0.0"

"bip32-ed25519@https://github.com/Zondax/bip32-ed25519":
"bip32-ed25519@git+https://github.com/Zondax/bip32-ed25519.git":
version "0.0.4"
resolved "https://github.com/Zondax/bip32-ed25519#0949df01b5c93885339bc28116690292088f6134"
resolved "git+https://github.com/Zondax/bip32-ed25519.git#0949df01b5c93885339bc28116690292088f6134"
dependencies:
bn.js "^5.1.1"
elliptic "^6.4.1"
Expand Down Expand Up @@ -7213,9 +7211,9 @@ camelize@^1.0.0:
integrity sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==

caniuse-lite@^1.0.30001346, caniuse-lite@^1.0.30001489:
version "1.0.30001491"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001491.tgz#eab0e0f392de6f7411751d148de9b5bd6b203e46"
integrity sha512-17EYIi4TLnPiTzVKMveIxU5ETlxbSO3B6iPvMbprqnKh4qJsQGk5Nh1Lp4jIMAE0XfrujsJuWZAM3oJdMHaKBA==
version "1.0.30001492"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001492.tgz#4a06861788a52b4c81fd3344573b68cc87fe062b"
integrity sha512-2efF8SAZwgAX1FJr87KWhvuJxnGJKOnctQa8xLOskAXNXq8oiuqgl6u1kk3fFpsp3GgvzlRjiK1sl63hNtFADw==

canvas-renderer@~2.2.0:
version "2.2.1"
Expand Down Expand Up @@ -8534,9 +8532,9 @@ dot-prop@^5.2.0:
is-obj "^2.0.0"

dotenv@^16.0.3:
version "16.0.3"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.3.tgz#115aec42bac5053db3c456db30cc243a5a836a07"
integrity sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==
version "16.1.1"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.1.1.tgz#9105a6c486ab66076231fbe7cf4ba77131a61d65"
integrity sha512-UGmzIqXU/4b6Vb3R1Vrfd/4vGgVlB+mO+vEixOdfRhLeppkyW2BMhuK7TL8d0el+q9c4lW9qK2wZYhNLFhXYLA==

duplexer3@^0.1.4:
version "0.1.5"
Expand Down Expand Up @@ -8567,9 +8565,9 @@ [email protected]:
integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==

electron-to-chromium@^1.4.411:
version "1.4.413"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.413.tgz#0067c3122946ae234cbefb9401ecefde851cdcf2"
integrity sha512-Gd+/OAhRca06dkVxIQo/W7dr6Nmk9cx6lQdZ19GvFp51k5B/lUAokm6SJfNkdV8kFLsC3Z4sLTyEHWCnB1Efbw==
version "1.4.414"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.414.tgz#f9eedb6fb01b50439d8228d8ee3a6fa5e0108437"
integrity sha512-RRuCvP6ekngVh2SAJaOKT/hxqc9JAsK+Pe0hP5tGQIfonU2Zy9gMGdJ+mBdyl/vNucMG6gkXYtuM4H/1giws5w==

electron@^23.1.2:
version "23.3.4"
Expand Down Expand Up @@ -11084,9 +11082,9 @@ [email protected]:
integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==

ipaddr.js@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.0.1.tgz#eca256a7a877e917aeb368b0a7497ddf42ef81c0"
integrity sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==
version "2.1.0"
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.1.0.tgz#2119bc447ff8c257753b196fc5f1ce08a4cdf39f"
integrity sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ==

is-accessor-descriptor@^0.1.6:
version "0.1.6"
Expand Down Expand Up @@ -15582,9 +15580,9 @@ rc-upload@~4.3.0:
rc-util "^5.2.0"

rc-util@^5.0.1, rc-util@^5.0.6, rc-util@^5.15.0, rc-util@^5.16.0, rc-util@^5.16.1, rc-util@^5.17.0, rc-util@^5.18.1, rc-util@^5.19.2, rc-util@^5.2.0, rc-util@^5.2.1, rc-util@^5.20.1, rc-util@^5.21.0, rc-util@^5.21.2, rc-util@^5.22.5, rc-util@^5.24.4, rc-util@^5.26.0, rc-util@^5.27.0, rc-util@^5.27.1, rc-util@^5.28.0, rc-util@^5.6.1, rc-util@^5.8.0, rc-util@^5.9.4:
version "5.32.3"
resolved "https://registry.yarnpkg.com/rc-util/-/rc-util-5.32.3.tgz#6d1dd504e8389b3ff9d780020c95f1d2a4d39946"
integrity sha512-+Pv1nOiTtmp6kpz8yZ/DToMrZHz4DIUi1/EhpIsGQhhF12jANx3rb+gsp0YUWWtxUDf6U1Eyhe0EN+mBlCJXoA==
version "5.32.4"
resolved "https://registry.yarnpkg.com/rc-util/-/rc-util-5.32.4.tgz#d8bcd36a2e7b82ee30f3317b8da8c094c730dbfc"
integrity sha512-LRQpfPjtLbN9BrNgU/evbQrhTLfHepJPSKbhHF2Nm1cnNeZkSqXCKDTDPjMXa1VavcnJA1iP39O8PB0+Rc216Q==
dependencies:
"@babel/runtime" "^7.18.3"
react-is "^16.12.0"
Expand Down Expand Up @@ -16162,9 +16160,9 @@ react-qrcode-logo@^2.9.0:
qrcode-generator "^1.4.1"

react-redux@^8.0.5:
version "8.0.5"
resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-8.0.5.tgz#e5fb8331993a019b8aaf2e167a93d10af469c7bd"
integrity sha512-Q2f6fCKxPFpkXt1qNRZdEDLlScsDWyrgSj0mliK59qU6W5gvBiKkdMEG2lJzhd1rCctf0hb6EtePPLZ2e0m1uw==
version "8.0.7"
resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-8.0.7.tgz#b74ef2f7ce2076e354540aa3511d3670c2b62571"
integrity sha512-1vRQuCQI5Y2uNmrMXg81RXKiBHY3jBzvCvNmZF437O/Z9/pZ+ba2uYHbemYXb3g8rjsacBGo+/wmfrQKzMhJsg==
dependencies:
"@babel/runtime" "^7.12.1"
"@types/hoist-non-react-statics" "^3.3.1"
Expand Down

0 comments on commit 78c0d47

Please sign in to comment.