Skip to content

Commit 1c2bc43

Browse files
committed
Merge branch 'staging'
2 parents bcfdb61 + 181dd4c commit 1c2bc43

File tree

158 files changed

+3733
-3690
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+3733
-3690
lines changed

.eslintrc.json

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,23 @@
11
{
22
"extends": [
33
"standard-kit/prettier",
4-
"standard-kit/prettier/node",
54
"standard-kit/prettier/jsx",
65
"standard-kit/prettier/flow",
7-
"plugin:react-native/all",
8-
"plugin:react/recommended"
6+
"standard-kit/prettier/node",
7+
"standard-kit/prettier/react",
8+
"plugin:react-native/all"
99
],
1010
"globals": {
1111
"fetch": true
1212
},
13-
"parser": "babel-eslint",
14-
"plugins": ["react-native", "react", "simple-import-sort", "detox"],
13+
"plugins": [
14+
"detox", "simple-import-sort"
15+
],
1516
"rules": {
16-
"camelcase": "warn",
17-
"flowtype/array-style-complex-type": ["error", "verbose"],
18-
"flowtype/array-style-simple-type": ["error", "shorthand"],
19-
"flowtype/require-valid-file-annotation": [2, "always"],
20-
"no-var": "error",
21-
"react-native/no-inline-styles": 0,
17+
"react-native/no-inline-styles": "off",
2218
"react-native/no-raw-text": ["error", { "skip": ["FormattedText", "T", "B"] }],
23-
"react-native/no-unused-styles": 0,
24-
"react-native/split-platform-components": 2,
25-
"react/jsx-indent-props": ["error", 2],
26-
"react/jsx-no-duplicate-props": ["error", { "ignoreCase": true }],
27-
"react/no-array-index-key": "error",
28-
"react/no-string-refs": 0,
29-
"react/no-typos": "error",
30-
"react/prop-types": 0,
31-
"react/self-closing-comp": ["error", { "component": true }],
32-
"simple-import-sort/sort": "error",
33-
"no-prototype-builtins": "off",
3419
"react/jsx-handler-names": "off",
35-
"react-native/sort-styles": "off"
20+
"simple-import-sort/imports": "error"
3621
},
3722
"settings": {
3823
"react": { "pragma": "React", "version": "16.8.0", "flowVersion": "0.66" }

.travis.yml

Lines changed: 8 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,11 @@
11
language: node_js
22
node_js:
3-
- "10.15.3"
4-
sudo: required
5-
cache:
6-
directories:
7-
- $HOME/.npm
8-
- $HOME/.gradle/caches/
9-
- $HOME/.gradle/wrapper/
10-
- $HOME/.android/build-cache
3+
- 14
4+
before_install:
5+
- cp env.example.json env.json
6+
install:
7+
- yarn install --frozen-lockfile --ignore-optional --network-concurrency 1
118
script:
12-
- npm i react-native-cli -g
13-
matrix:
14-
include:
15-
- language: android
16-
os: linux
17-
jdk: oraclejdk8
18-
before_cache:
19-
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
20-
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
21-
sudo: required
22-
node_js: false
23-
before_install:
24-
- nvm install 10.15.3
25-
- nvm use 10.15.3
26-
- node --version
27-
# install NDK
28-
- openssl aes-256-cbc -K $encrypted_e28d423744bc_key -iv $encrypted_e28d423744bc_iv -in env.json.enc -out env.json -d
29-
- git clone https://github.com/Airbitz/android-ndk-linux.git $HOME/android-ndk-root
30-
- export ANDROID_NDK_HOME=$HOME/android-ndk-root
31-
- echo "y" | sdkmanager "cmake;3.6.4111459"
32-
- npm install -g [email protected]
33-
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
34-
install:
35-
- travis_retry yarn install --network-concurrency 1 --child-concurrency 1 --ignore-optional
36-
android:
37-
components:
38-
- tools
39-
- platform-tools
40-
- build-tools-23.0.1
41-
- build-tools-23.0.3
42-
- build-tools-25.0.1
43-
- build-tools-25.0.3
44-
- android-23
45-
- android-25
46-
- android-27
47-
- extra
48-
- extra-android-m2repository
49-
- extra-android-support
50-
- extra-google-google_play_services
51-
- extra-google-m2repository
52-
- addon-google_apis-google-16
53-
- cmake
54-
licenses:
55-
- '.+'
56-
# before_script:
57-
# - npm run precommit
58-
script:
59-
- cd android && ./gradlew assembleDebug && ./gradlew assembleRelease
60-
- language: objective-c
61-
os: osx
62-
osx_image: xcode10.2
63-
node_js: false
64-
before_install:
65-
- nvm install 10.15.3
66-
- nvm use 10.15.3
67-
- node --version
68-
- openssl aes-256-cbc -K $encrypted_e28d423744bc_key -iv $encrypted_e28d423744bc_iv -in env.json.enc -out env.json -d
69-
- npm install -g [email protected]
70-
install:
71-
- travis_retry gem install xcpretty xcpretty-travis-formatter
72-
- travis_retry yarn install --network-concurrency 1 --child-concurrency 1
73-
74-
xcode_project: ios/edge.xcworkspace
75-
xcode_scheme: ios/edge
76-
script:
77-
- cd ios
78-
- node ../execKeepAlive.js 'xcodebuild -workspace edge.xcworkspace -derivedDataPath build clean build -scheme edge -configuration release -sdk iphonesimulator12.2 CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY=""' | xcpretty -f `xcpretty-travis-formatter`
9+
- yarn lint
10+
- yarn flow
11+
- npm run test

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# edge-react-gui
22

3+
## 2.0.12 (2021-06-01)
4+
5+
- Upgrade to React Native v0.64.1
6+
- Add more currency icons
7+
- iOS: Fix transaction timestamp accuracy
8+
- Add additional context modal for Contacts permission
9+
- Fix missing currency codes in Sweep Private Key wallet picker
10+
- Add side menu hamburger button to Settings and ToS scenes
11+
- Text and layout fixes
12+
- Upgrade edge-currency-accountbased to v0.7.60
13+
- Fix a possible race condition where the last queried block height is saved but the actual transactions are not
14+
- Always set this.walletLocalDataDirty = true if any transactions have changed
15+
- ETH: Use the default token gas limit if getCode reveals the destination is a contract and estimateGas fails to return a gas value
16+
- ETH: Allow ethgasstation safeLow estimate less than 1
17+
- Update logging
18+
- XRP: Remove bogus length checks from the XRP key import
19+
- FIO: Refactor SDK initialization so it's only started once per wallet
20+
- Upgrade edge-currency-monero to v0.3.1
21+
- Fix float amount precision
22+
- Fix recorded native amount and fee
23+
- Import native code directly from react-native-mymonero-core. Before, this plugin relied on "magic" methods passed in via the global object
24+
- Upgrade edge-exchange-plugins to v0.11.28
25+
- Godex: Add the mainnet currency codes to the transaction request
26+
- Fox: Check mainnet matches user's wallet
27+
- Upgrade edge-login-ui-rn to v0.9.4
28+
- Prevent user from selecting duplicate recovery questions
29+
- Show error on Change Password Recovery Screen when user selecting the same question
30+
- Fix spacing issue on create account welcome screen
31+
- Prepare for future edge-core-js breaking changes
32+
333
## 2.0.11 (2021-05-17)
434

535
- Add Fantom (FTM) support with fUSDT

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pipeline {
7878

7979
stage ("Test") {
8080
steps {
81-
sh "npm run cover"
81+
sh "JEST_JENKINS=1 yarn cover --ci"
8282
}
8383
}
8484

592 Bytes
Binary file not shown.

env.example.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"-------- api keys --------": 0,
33
"AIRBITZ_API_KEY": "",
4+
"BUGSNAG_API_KEY": "",
45

56
"-------- GUI plugin options --------": 0,
67
"PLUGIN_API_KEYS": {
@@ -22,13 +23,11 @@
2223
"apiKey": ""
2324
},
2425
"x_ETHEREUM_INIT": {
25-
"etherscanApiKey": "",
26+
"etherscanApiKey": [],
2627
"infuraProjectId": "",
2728
"blockchairApiKey": "",
2829
"alethioApiKey": "",
29-
"amberdataApiKey": "",
30-
"alchemyApiKey": "",
31-
"ethGasStationApiKey": ""
30+
"amberdataApiKey": ""
3231
},
3332
"x_FAAST_INIT": {
3433
"affiliateId": "",
@@ -53,9 +52,6 @@
5352
"affiliateContract": "",
5453
"apiKey": ""
5554
},
56-
"X_COINSWITCH_INIT": {
57-
"apiKey": ""
58-
},
5955
"X_FIO_INIT": {
6056
"fioRegApiToken": ""
6157
},

0 commit comments

Comments
 (0)