Skip to content

Commit

Permalink
chore: Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 36d3aa6
Author: linleiqin <278438611@qq.com>
Date:   Fri Mar 31 15:31:55 2023 +0800

    OK-18723 OK-18724 OK-18725 fix:Search account issues (#2792)

commit 0b24f90
Author: morizon <sidmorizon@outlook.com>
Date:   Fri Mar 31 15:03:58 2023 +0800

    Fix/navigation (#2790)

    * fix: developer route

    * fix: navigate to root tab

    * fix: lint

commit 7d6fb44
Author: kwoktung <onlyif2009@gmail.com>
Date:   Fri Mar 31 11:25:02 2023 +0800

    OK-18662: config swap reserved values (#2791)

commit 413522f
Author: Leon <lixiao.dev@gmail.com>
Date:   Fri Mar 31 10:29:47 2023 +0800

    fix: copy address tips not a same wallet (#2783)

    * fix: copy address tip not a same wallet

    * chore: update app version

    * fix: bulksender header

    ---------

    Co-authored-by: sunnylqm <sunnylqm@onekey.so>

commit 45223ac
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Fri Mar 31 10:08:08 2023 +0800

    fix: findpath keyboard issue OK-18542 (#2786)

    * fix: findpath keyboard issue

    * chore: cleanup

commit 1c63523
Author: Leon <lixiao.dev@gmail.com>
Date:   Fri Mar 31 09:59:43 2023 +0800

    OK-18615: add default value for bulk add generate count & tweak some tips (#2787)

    * chore: i18n

    * feat: tweak bulk add modal

commit 2413229
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Fri Mar 31 09:39:52 2023 +0800

    fix: overlay (#2789)

commit 2d813ee
Author: Leon <lixiao.dev@gmail.com>
Date:   Fri Mar 31 09:31:11 2023 +0800

    fix: BTC like coins transaction direction (#2785)

commit 54d3907
Author: loatheb <zhangzhao@onekey.so>
Date:   Fri Mar 31 09:13:32 2023 +0800

    chore: .env.version v4.3.0

commit 5903bfc
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Thu Mar 30 21:24:58 2023 +0800

    fix: notification switch screen faild with new route (#2788)

commit e668f4c
Author: linleiqin <278438611@qq.com>
Date:   Thu Mar 30 09:19:59 2023 +0800

    feat:AddressBook Modal & Search in Account Selecter (#2782)

commit 3982d7c
Author: morizon <sidmorizon@outlook.com>
Date:   Wed Mar 29 19:55:11 2023 +0800

    fix: nav bugs (#2781)

commit 57ed22b
Author: Leon <lixiao.dev@gmail.com>
Date:   Wed Mar 29 16:03:13 2023 +0800

    fix: add hardware error NotInSigningMode (#2780)

    * chore: i18n

    * fix: add NotInSigningMode error

commit 48db6e9
Author: Leon <lixiao.dev@gmail.com>
Date:   Wed Mar 29 11:23:03 2023 +0800

    fix: desktop bridge process (#2779)

commit b94a72b
Author: morizon <sidmorizon@outlook.com>
Date:   Wed Mar 29 10:46:01 2023 +0800

    fix: new navigation routes (#2777)

    * fix: new routes

    * fix: navigation shortcuts

    * fix: root

    * fix: swap navigate

    * fix: route

    * fix: lint

    * fix: lint

commit cc7d0b4
Author: Franco <chenhuifan.gg@gmail.com>
Date:   Tue Mar 28 19:22:05 2023 +0800

    style: Modal Footer extraElement & Avatar status (#2774)

    Co-authored-by: loatheb <zhangzhao@onekey.so>
    Co-authored-by: Sunny Luo <sunnylqm@gmail.com>

commit e5602ec
Author: JellyWang <38491708+ezailWang@users.noreply.github.com>
Date:   Tue Mar 28 16:34:14 2023 +0800

    fix: currency select card name line highet ok-18658 (#2776)

commit 59d09e3
Author: linleiqin <278438611@qq.com>
Date:   Tue Mar 28 09:06:10 2023 +0800

    OK-18561 fix:Send data to android crash (#2775)

commit a440cfd
Author: Leon <lixiao.dev@gmail.com>
Date:   Mon Mar 27 15:10:58 2023 +0800

    fix: support create bitcoin account by account index & export incorrect address (#2773)

    * fix: close bulk copy setRange entry for UTXO

    * fix: create max address index account

    * feat: support create btc account by account index

    * chore: i18n

    * fix: bitcoin address incorrect

    * fix: incorrect purpose

commit 5225383
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Mon Mar 27 14:51:17 2023 +0800

    feat: menu grouping (#2770)

commit 87034bb
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Mon Mar 27 14:40:40 2023 +0800

    feat: server maintained rpcBatch fallback whitelist hosts (#2769)

commit ddd2d76
Author: kwoktung <onlyif2009@gmail.com>
Date:   Mon Mar 27 14:27:40 2023 +0800

    feat: add onramp show control (#2771)

commit 6af6879
Author: weatherstar <weather@onekey.so>
Date:   Mon Mar 27 14:18:22 2023 +0800

    fix: account list can't not scroll (#2772)

commit b7faf51
Author: Yishi Wang <rayston92@users.noreply.github.com>
Date:   Mon Mar 27 01:52:08 2023 +0800

    Update LICENSE

commit f10b4f2
Author: weatherstar <weather@onekey.so>
Date:   Sun Mar 26 17:41:42 2023 +0800

    fix: OK-18297 inconsistency between the address generated by the same mnemonic in the app and the address generated by the hardware in Monero GUI (#2767)

    * fix: inconsistency between the address generated by the same mnemonic phrase in the app and the address generated by the hardware in Monero GUI

    * chore: enable monero in prod

commit 395c9cf
Author: Leon <lixiao.dev@gmail.com>
Date:   Sun Mar 26 16:34:53 2023 +0800

    OK-18526, OK-18527: bulk copy address issue (#2760)

    * fix: offset index

    * fix: taproot can not create next account

    * fix: ext error

    * feat: create

    * feat: change bulk copy segmented control index

commit 42fadeb
Author: ByteZhang <quincysx@onekey.so>
Date:   Sun Mar 26 16:26:24 2023 +0800

    OK-18557 & OK-18573: optimize force hardware upgrade (#2765)

    * fix: save force update info

    * chore: optimize force hradware upgrade

commit e000463
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Sat Mar 25 19:15:41 2023 +0800

    fix: measureRpc should check isAppInited first (#2764)

commit b94ba4a
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Sat Mar 25 18:59:20 2023 +0800

    fix: overlay (#2759)

commit 0870bc5
Author: weatherstar <weather@onekey.so>
Date:   Sat Mar 25 18:49:49 2023 +0800

    fix: xmr issues on native OK-18549 OK-18491 OK-18432 OK-18430 OK-18414 OK-17736 (#2766)

    * fix: can't decode address

    * fix: pre send address validating state

    * fix: psw input didn't show when psw cache invalid

    * fix: webview loaded error

    * fix: webview load delay

    * chore: update webview dev url

    * chore: update pod

    * fix: webview load error on native

    * fix: textarea line number error on ios

    * fix: select unsupport file on ios error

commit 5b2a2be
Author: weatherstar <weather@onekey.so>
Date:   Fri Mar 24 15:27:22 2023 +0800

    fix: xmr issues OK-18343 OK-18318 (#2754)

    * fix: lint

    * chore: update locale

    * chore: update account alert message id

    * fix: frozen balance alert

    * fix: remove useless setting

    * fix: issues

    ---------

    Co-authored-by: Sunny Luo <sunnylqm@gmail.com>

commit f16800f
Author: linleiqin <278438611@qq.com>
Date:   Fri Mar 24 15:12:49 2023 +0800

    Fix:Google drive backup bugs (#2763)

    * fix:Only backup enable on GooglePlay

    * fix:Google drive backup bugs

    * fix:logout google drive when reset

commit 604dac3
Author: ByteZhang <quincysx@onekey.so>
Date:   Fri Mar 24 14:57:03 2023 +0800

    fix: Sign array nested eip712 (#2762)

commit f04ce80
Author: kwoktung <onlyif2009@gmail.com>
Date:   Fri Mar 24 11:17:19 2023 +0800

    OK-18469: Optimize the display precision of WETH. (#2761)

    * OK-18469: improving wrap process precision

    * OK-18417: disable watching account as swap sending account

    * OK-18358: swap recipient

    * chore: update i18n

commit f857072
Author: linleiqin <278438611@qq.com>
Date:   Thu Mar 23 22:37:50 2023 +0800

    fix:react-native-fs on website (#2758)

commit b0b40ff
Author: Leon <lixiao.dev@gmail.com>
Date:   Thu Mar 23 21:41:03 2023 +0800

    fix: bulk copy issue (#2757)

commit 5c8a7ae
Author: linleiqin <278438611@qq.com>
Date:   Thu Mar 23 21:02:56 2023 +0800

    OK-16824 feat:Parse uri scheme (#2752)

commit d3ad00c
Author: linleiqin <278438611@qq.com>
Date:   Thu Mar 23 20:37:09 2023 +0800

    OK-18034 feat:Google Drive backup (#2734)

    * feat:Google Drive backup

    * fix:merge error

    * fix:config google-services.json for dev

    * fix:lint

    * fix:i18n key && logout

    * fix:update react-native-cloud-fs

    * fix:network error

commit 7dc550a
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Thu Mar 23 17:17:10 2023 +0800

    feat: enable tab swipe for subpages and simplify haptics (#2753)

    * chore: optimise haptics

    * feat: enable scrollenabled for other tabs

    * chore: simplify haptics

    * fix: bulksender header

commit 5acde4f
Author: Leon <lixiao.dev@gmail.com>
Date:   Thu Mar 23 16:17:08 2023 +0800

    fix: bulk copy address issue (#2756)

    * fix: bulk copy address issue

    * fix: disabled bulk copy button

    * fix: passphrase error

    * fix: header hidden

    * fix: delete derivation accounts issue

    * fix: android crash when recovery account

    * chore: i18n

    * fix: android crash issue

    * chore: android crash

    * fix: recovery account slowly

    * fix: mobile share file name

    * fix: post account added

    * fix: taproot for classic and mini

    * chore: lint

commit bc43393
Author: Leon <lixiao.dev@gmail.com>
Date:   Thu Mar 23 11:19:56 2023 +0800

    feat: show BTC used addresses (#2749)

    * feat: add show all used address menu option

    * feat: show all used address component

    * feat: bitcoin get used address

    * feat: list item menu

    * feat: used address logic

    * chore: i18n

    * chore: i18n

    * feat: find address by path

    * feat: prepare address by address index

    * refactor: btc fork chain prepare account function

    * feat: add updateUTXOAddresses db function

    * refactor: used address list component

    * feat: mannual added address

    * fix: config for both list

    * feat: remove custom address

    * fix: object serialized error

    * fix: android crash error

    * feat: get hardware address

    * feat: copy address

    * feat: copy hardware address

commit 6722a93
Author: ByteZhang <quincysx@onekey.so>
Date:   Thu Mar 23 10:34:11 2023 +0800

    OK-17504: feature hardware force update (#2751)

    * chore: debug hardware sdk script

    * feat: force update

    * feat: hardware sdk use pre config

    * feat: optimization force update field

    * chore: update hardware version

    * chore: async locale

commit 705e1ad
Author: morizon <sidmorizon@outlook.com>
Date:   Wed Mar 22 19:24:54 2023 +0800

    fix: disable network selector scroll animation (#2750)

commit 55489c9
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Wed Mar 22 16:38:20 2023 +0800

    fix: token detail menu position on android (#2748)

commit 0bf1e41
Author: loatheb <zhangzhao@onekey.so>
Date:   Wed Mar 22 11:47:36 2023 +0800

    chore: update v4.2.0 version

commit eaced35
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Wed Mar 22 10:37:35 2023 +0800

    feat: enable tab swipe (#2738)

    * feat: enable tab scroll

    * fix: drawer gesture

    * fix: lock direction

    * chore: cleanup

    * fix: ios gesture

    * feat: tweak gesture

    * fix: android gesture conflict

commit e99a978
Author: ByteZhang <quincysx@onekey.so>
Date:   Wed Mar 22 09:45:36 2023 +0800

    feat: Android def index (#2745)

commit f81bc75
Author: Leon <lixiao.dev@gmail.com>
Date:   Tue Mar 21 16:30:43 2023 +0800

    OK-17446: bulk copy address (#2712)

    * chore: i18n

    * feat: bulk add modal

    * feat: set range component

    * feat: wallet accounts

    * fix: modal style

    * feat: use forwardRef for SetRange form

    * feat: fetch address modal

    * feat: route params

    * feat: generate hd accounts

    * feat: fetch hardware address

    * feat: fetch wallet accounts address

    * feat: export addresses

    * feat: export file and copy addresses

    * feat: select file format

    * feat: add entry for ManageAccounts

    * feat: render addresses list

    * fix: revert TextareaWithLineNumber

    * fix: add cancel flag when fetching address

    * chore: i18n

    * fix: catch hardware error

    * chore: i18n

commit f4ad081
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Tue Mar 21 10:24:55 2023 +0800

    fix: revoke can not goBack on android (#2747)

commit cdf3cdc
Author: linleiqin <278438611@qq.com>
Date:   Mon Mar 20 22:37:28 2023 +0800

    OK-18363 fix:NFT price bug (#2746)

    * OK-18363 fix:NFT price bug

    * fix:NFT price bug

commit fc29c61
Author: linleiqin <278438611@qq.com>
Date:   Mon Mar 20 16:52:57 2023 +0800

    fix:PermissionDialog url (#2744)

commit a4bdf3c
Author: weatherstar <weather@onekey.so>
Date:   Mon Mar 20 16:17:10 2023 +0800

    feat: add error tip when upload unsupported bulk address document OK-17734 (#2719)

    * feat: add error tip when upload unsupported bulk address document

    * fix: lint

    ---------

    Co-authored-by: morizon <sidmorizon@outlook.com>

commit 382a4af
Author: kwoktung <onlyif2009@gmail.com>
Date:   Mon Mar 20 14:51:49 2023 +0800

    feat: upgrade kele staking contract to v2 (#2743)

commit 2668a9e
Author: JellyWang <38491708+ezailWang@users.noreply.github.com>
Date:   Mon Mar 20 13:23:04 2023 +0800

    fix: paste focus not excute onchangeText (#2741)

commit fdb066c
Author: weatherstar <weather@onekey.so>
Date:   Mon Mar 20 12:29:18 2023 +0800

    fix: xmr issues OK-18324 OK-18334 (#2742)

    * chore: add debugger info

    * feat: enable file access on native webview

    * chore: update wasm loader

    * fix: duplicate password verification

    * fix: import private key error

commit 663f38f
Author: ByteZhang <quincysx@onekey.so>
Date:   Mon Mar 20 11:26:43 2023 +0800

    Fix: passphrase bugs OK-18014 OK-18011 OK-18104 OK-18184 OK-18132 OK-18206 OK-14373 (#2740)

    * fix: huawei store jump

    * feat: Emoji are not allowed for device names

    * chore: optimize ada

    * chore: optimize update error hint

    * chore: optimize update auto enter boot

    * chore: update version

commit 13b398e
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Mon Mar 20 10:52:14 2023 +0800

    feat: prevent closing update modal by gesture (#2739)

    * feat: simplify useBackHandler

    * feat: prevent modal close

commit df8f92c
Author: linleiqin <278438611@qq.com>
Date:   Mon Mar 20 08:55:47 2023 +0800

    OK-18148 OK-18150 OK-18153 OK-16958 fix:bug issues (#2736)

    * OK-18148 OK-18150 OK-18153 OK-16958 fix:bug issues

    * fix:COCOAPODS

commit 0bf1463
Author: weatherstar <weather@onekey.so>
Date:   Sat Mar 18 15:59:20 2023 +0800

    fix: xmr issues OK-18295 OK-18298 OK-18299 (#2737)

    * fix: get frozen balance delay

    * refactor: move disabled in ext to vault settings

    * fix: export private key error

    * chore: update locale

    * feat: export both keys and mnemonic

    * feat: show tx private key

    * fix: validation place style

    * fix: lint

    * chore: move xmr to dev mode

commit 96adecc
Author: kwoktung <onlyif2009@gmail.com>
Date:   Fri Mar 17 20:11:14 2023 +0800

    feat: add setting for swap recipient (#2732)

    * feat: add setting for swap recipient

    * chore: fix lint

    * refactor: swap observer

    * chore: tweak styles

    * OK-18143: fix token detail button

    * feat: save allowAnotherRecipientAddress in memory

commit 7397698
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Fri Mar 17 18:01:06 2023 +0800

    Revert "fix: tab underline style OK-18207 (#2733)" (#2735)

    This reverts commit 6e63614.

commit 1eadf18
Author: ByteZhang <quincysx@onekey.so>
Date:   Fri Mar 17 11:42:06 2023 +0800

    Fix: update & passphrase bugs OK-18127 OK-18104 OK-18026 OK-18194 OK-18112 OK-18187 OK-18195 OK-18196 OK-18204 OK-18105 OK-17996 OK-18115 (#2731)

    * fix: update bugs

    * chore: create exists passphrase wallet hint

    * fix: hardware add account error

    * chore: Optimized for checking updated Bluetooth errors

    * chore: Optimized hardware info image

commit 6e63614
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Fri Mar 17 09:20:38 2023 +0800

    fix: tab underline style OK-18207 (#2733)

    * fix: tab indicator style

    * fix: tab underline

commit ade223b
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Thu Mar 16 23:23:06 2023 +0800

    feat: add zksync era & add scroll testnet & networklist query debounce (#2729)

commit e56f206
Author: Franco <chenhuifan.gg@gmail.com>
Date:   Thu Mar 16 23:10:28 2023 +0800

    style: collapsable indicator & tooltips (#2730)

commit 52ebf08
Author: JellyWang <38491708+ezailWang@users.noreply.github.com>
Date:   Thu Mar 16 21:52:36 2023 +0800

    Fix/staking amount balance OK-18171 (#2723)

commit fdc01c3
Author: weatherstar <weather@onekey.so>
Date:   Thu Mar 16 20:50:59 2023 +0800

    fix: xmr wasm issues OK-18264 OK-18261 (#2728)

    * fix: xmr wasm issues

    * fix: get balance error

commit c9745c1
Author: Leon <lixiao.dev@gmail.com>
Date:   Thu Mar 16 17:09:35 2023 +0800

    fix: cardano hardware account derivation type (#2727)

commit d6676f5
Author: Leon <lixiao.dev@gmail.com>
Date:   Thu Mar 16 09:27:23 2023 +0800

    OK-18259: tweak DerivationBottomSheetModal setyle and tweak RecoveryConfirm modal style (#2726)

    * chore: i18n

    * fix: derivation modal ui

    * fix: account list collapse added border radius

    * chore: i18n

    * feat: tweak recover confirm page ui

commit 4a53b7a
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Thu Mar 16 08:29:43 2023 +0800

    feat: isOneKeyUrl add localhost check & getFrozenBalance catch (#2724)

commit 05eda6c
Author: kwoktung <onlyif2009@gmail.com>
Date:   Wed Mar 15 23:35:49 2023 +0800

    OK-18193: improve wallet more menu (#2721)

    * fix: clean swap state first

    * feat: tweak styles

    * OK-18193: control wallet more menu

commit 68b96e2
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Wed Mar 15 23:28:06 2023 +0800

    fix: tools padding (#2722)

commit c672b23
Author: JellyWang <38491708+ezailWang@users.noreply.github.com>
Date:   Wed Mar 15 20:39:37 2023 +0800

    fix: paste btn remove for web and ext & split use regexp (#2720)

commit 728fcf1
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Wed Mar 15 19:45:13 2023 +0800

    feat: add addtional hotkey for desktop explorer OK-17968 (#2709)

    * chore: optimize import

    * feat: add ctrl+f4

    * fix: lint

commit bdaea72
Author: weatherstar <weather@onekey.so>
Date:   Wed Mar 15 19:22:24 2023 +0800

    feat: support xmr OK-16843 (#2711)

    * feat: init xmr

    * chore: update xmr impl

    * feat: get raw spend key from mnemonic

    * chore: update lock

    * feat: add monero core lib

    * chore: update monero types

    * feat: load monero module wasm

    * feat: get xmr balance from api instead of scaning on chain data

    * feat: compatible account template

    * feat: parse address info

    * refactor: load wasm in webview on native

    * chore: remove useless package

    * fix: address balance negative

    * feat: on chain history

    * feat: get raw key from seed

    * refactor: monero web embed

    * feat: send funds

    * chore: update package

    * feat: call wasm method  in webview

    * chore: update package

    * feat: max transfer

    * chore: update xmr network

    * fix: histroy error

    * feat: imported account

    * fix: wrong password

    * feat: seedAndkeysFromMnemonic on native

    * chore: update

    * chore: update pacakage

    * fix: lint

    * chore: update networklist

    * chore: move monero types to top level

    * refactor: cache private key instead of psw

    * fix: issues

    * fix: lint

    * fix: webview error when change network

    * fix: lint

commit e9d5a4f
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Wed Mar 15 18:44:27 2023 +0800

    Fix/get balances from api add xpub & fix app issues, OK-18154, OK-15863 (#2718)

    * fix: dapp click area, OK-18154

    * fix: get balances from api add xpub

    * fix: revoke filters

commit ae306fb
Author: Leon <lixiao.dev@gmail.com>
Date:   Wed Mar 15 17:36:19 2023 +0800

    fix: tweak DerivationBottomsheetModal UI and fix Cardano create account issue, OK-18117, OK-18116, OK-18001, OK-18004 (#2717)

    * fix: disabled auto create account on mobile platform

    * fix: close auto create account

    * fix: derivation bottom sheet modal ui

    * feat: close auto create account

    * fix: cardano switch account issue

    * fix: menu divider margin

commit f10dca1
Author: Franco <chenhuifan.gg@gmail.com>
Date:   Wed Mar 15 16:53:06 2023 +0800

    OK-18136 Sidebar collapse (#2715)

    * feat: collapsable sidebar

    * fix: ipad animation

commit c924586
Author: JellyWang <38491708+ezailWang@users.noreply.github.com>
Date:   Wed Mar 15 16:02:04 2023 +0800

    Fix/onbording optimization input OK-18169 OK-18172 OK-18185 (#2716)

commit b2dcb56
Author: kwoktung <onlyif2009@gmail.com>
Date:   Wed Mar 15 15:51:17 2023 +0800

    refactor: improve swap onSubmit func (#2714)

    * feat: improve actual received amount

    * feat: update wavy lines

    * feat: fix useTokenBalance hook

    * feat: improve swap onSubmit

commit 2278242
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Wed Mar 15 13:24:51 2023 +0800

    fix: frozen balance repeated calculation, OK-18173 (#2713)

commit 1e9d2b1
Author: ByteZhang <quincysx@onekey.so>
Date:   Tue Mar 14 21:28:22 2023 +0800

    chore: test android ci (#2710)

commit fb31366
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Tue Mar 14 20:40:17 2023 +0800

    feat: add frozenBalance back & fix cycle import lint error, OK-18151 (#2708)

    * feat: add frozenBalance back, OK-18151

    * fix: cycle import lint

commit 5e4d457
Author: ByteZhang <quincysx@onekey.so>
Date:   Tue Mar 14 20:27:51 2023 +0800

    chore: optimize update (#2707)

commit 587584b
Author: Franco <chenhuifan.gg@gmail.com>
Date:   Tue Mar 14 20:19:37 2023 +0800

    OK-18109 OK-13700 OK-18108 OK-18129 OK-18131 OK-18134 OK-18135 OK-18139 OK-18142 Optimize onboarding (#2705)

commit 619d33e
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Tue Mar 14 19:45:27 2023 +0800

    Fix/account notification switch tab, OK-12547 (#2706)

    * fix: notification tab change, OK-12547, OK-13155

    * fix: notification switch tab bug

    * fix: switch tab may execute multi times

commit a4de502
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Tue Mar 14 18:15:55 2023 +0800

    feat: useDappApproveAction support close window after resolved (#2704)

commit 6414f84
Author: Yishi Wang <rayston92@gmail.com>
Date:   Tue Mar 14 14:34:02 2023 +0800

    Update README.md

commit c653b16
Author: Yishi Wang <rayston92@gmail.com>
Date:   Tue Mar 14 14:32:25 2023 +0800

    update readme

commit 599b879
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Tue Mar 14 09:45:56 2023 +0800

    fix: ipad search view OK-15460 and truncate log only in release (#2703)

    * fix: search view

    * chore: only truncate log in dev

commit 1c08a78
Author: kwoktung <onlyif2009@gmail.com>
Date:   Tue Mar 14 09:38:11 2023 +0800

    OK-17370: improve buy/sell swap token (#2702)

commit e71e52e
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Tue Mar 14 09:16:39 2023 +0800

    fix: token hide issue, OK-18113 (#2701)

commit 94eefac
Author: ByteZhang <quincysx@onekey.so>
Date:   Mon Mar 13 20:16:44 2023 +0800

    chore: optimize ci (#2698)

commit b9c3f45
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Mon Mar 13 18:41:51 2023 +0800

    feat: add arbitrum goerli (#2700)

commit 8e6c1dc
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Mon Mar 13 17:27:37 2023 +0800

    feat: optimize defi list transition (#2699)

commit 5f1811b
Author: kwoktung <onlyif2009@gmail.com>
Date:   Mon Mar 13 16:51:25 2023 +0800

    feat: support wrapper token (#2694)

    * feat: wrapper native tokens

    * chore: update i18n

    * feat: update

    * feat: support wrapper token

    ---------

    Co-authored-by: Sunny Luo <sunnylqm@gmail.com>

commit e87c0e4
Author: morizon <sidmorizon@outlook.com>
Date:   Mon Mar 13 16:38:30 2023 +0800

    Update .env.version (#2697)

commit 4ea741b
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Mon Mar 13 14:30:37 2023 +0800

    chore: remove annual report (#2696)

commit b6fc287
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Mon Mar 13 14:16:21 2023 +0800

    feat: truncate debuglogger OK-17552 (#2693)

    * feat: truncate debuglogger

    * fix: type

    ---------

    Co-authored-by: morizon <sidmorizon@outlook.com>

commit cf81b00
Author: ByteZhang <quincysx@onekey.so>
Date:   Mon Mar 13 14:05:07 2023 +0800

    Feat: Software forced update OK-17081 OK-15937 OK-17287 OK-16999 OK-10900 (#2658)

    * chore: add huawei channel

    * feat: foreUpgrade

    * feat: add appx win

    * chore: add edge channel

    * feat: optimize check update

    * chore: add linux snap channel

    * chore: update pre config

    * chore: add win installerSidebar img

    * chore: optimize build desktop ci

    * chore: fix warnings

    ---------

    Co-authored-by: Sunny Luo <sunnylqm@gmail.com>

commit 9d45531
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Mon Mar 13 13:30:00 2023 +0800

    Feat/switch rpc, OK-17775 (#2689)

    * feat: network rpc switch

    * feat: optimize add token page ui

    * fix: remove console.log

    * feat: add linking & mobile modal button wrap

    * fix: style

commit 3fdad17
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Mon Mar 13 12:43:20 2023 +0800

    fix: revoke price may not take effect (#2695)

commit 91440b5
Author: ByteZhang <quincysx@onekey.so>
Date:   Mon Mar 13 11:30:53 2023 +0800

    Optimize: menu & passphrase OK-16922 OK-16920 OK-16927 (#2682)

    * chore: optimize wallet menu

    * feat: optimize passphrase

    * chore: update version

    * fix: add normal hw wallet error

    * style: ui

    * fix: remove wallet

    * feat: change passphrase name

    * feat: Optimize the passphrase opening prompt

    * feat: add check device update

    * feat: Save the verification state permanently

    * chore: update version

    * chore: fix warnings

    ---------

    Co-authored-by: Franco <chenhuifan.gg@gmail.com>

commit 1312581
Author: linleiqin <278438611@qq.com>
Date:   Mon Mar 13 10:56:17 2023 +0800

    OK-15094:Tranfer NFT with select amount. (#2691)

commit 2d99769
Author: linleiqin <278438611@qq.com>
Date:   Mon Mar 13 10:37:06 2023 +0800

    OK-17588 feat:Optimize NFT transaction (#2672)

    * feat:Optimize NFT transaction

    * fix:code review

commit 95739ca
Author: JellyWang <38491708+ezailWang@users.noreply.github.com>
Date:   Mon Mar 13 10:25:18 2023 +0800

    Fix/address private mnemonic differential import OK-17476 (#2629)

    * fix: add AccessoryView & NineHouseLatticelInputForm

    Signed-off-by: 王山栋 <jelly@onekey.so>

    * fix: add submit & optimization textare actions

    Signed-off-by: 王山栋 <jelly@onekey.so>

    * fix: ninehouselatticeinput component render lazy

    Signed-off-by: 王山栋 <jelly@onekey.so>

    * style: ui

    * style: ui

    * fix: text change clearerrors & add real valid state

    Signed-off-by: 王山栋 <jelly@onekey.so>

    * style: ui

    ---------

    Signed-off-by: 王山栋 <jelly@onekey.so>
    Co-authored-by: Franco <chenhuifan.gg@gmail.com>

commit 6d9e3f3
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Mon Mar 13 09:38:11 2023 +0800

    Feat/Optimize overview, OK-17679, OK-17366, OK-17728, OK-17603, OK-17783, OK-17782, OK-17641, OK-17685 (#2659)

    * fix: search networks support chainId and symbol, OK-17679

    * fix: overview ui issues, OK-17366

    * feat: add entry of active refresh, OK-17728

    * feat: optimize token risk info, OK-17603, OK-17783, OK-17782, OK-17641

    * feat: update locale & network-list

    * feat: hide riskTokens tips, OK-17685

    * feat: refresh add debounce

    * fix: lint & Conflict

commit ee96c78
Author: weatherstar <weather@onekey.so>
Date:   Mon Mar 13 09:13:16 2023 +0800

    fix: issues OK-17770 OK-17740 OK-17568 (#2690)

    * fix: import algo account error

    * fix: can't get token balance on tron testnet

    * fix: batch transfer send confirm without deduction fee

    ---------

    Co-authored-by: kwoktung <onlyif2009@gmail.com>

commit 7c61348
Author: linleiqin <278438611@qq.com>
Date:   Mon Mar 13 09:00:00 2023 +0800

    OK-17759 OK-16959 fix:bug issues (#2692)

commit 88cf619
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Sun Mar 12 17:05:28 2023 +0800

    fix: keytag route transition OK-17992 (#2688)

    * fix: keytag header

    * chore: remove duplicate keytag route

commit 948e7a3
Author: JellyWang <38491708+ezailWang@users.noreply.github.com>
Date:   Fri Mar 10 21:11:51 2023 +0800

    feature: add SID name service OK-18023 (#2684)

commit 1b8f933
Author: Leon <lixiao.dev@gmail.com>
Date:   Fri Mar 10 17:25:46 2023 +0800

    OK-17133: Support Bitcoin Taproot address (#2657)

    * refactor: change btc vault to BTCForkVault

    * refactor: remove bitcoin provider on blockchain-libs

    # Conflicts:
    #	packages/blockchain-libs/src/provider/chains/btc/provider.ts

    * feat: support bitcoin taproot derivation type

    * feat: validate taproot address

    * feat: add xpubSegwit for taproot account

    * chore: migrate realm

    * feat: support Taproot on Bitcoin testnet

    * feat: taproot sign schnorr

    * feat: ecpair patch

    * feat: hardware account support taproot

    * chore: hide taproot option for Classic and Mini

    * chore: upgrade sdk version

    * fix: appConfig

    * feat: support taproot watching account

    * feat: support taproot imported account

    * chore: upgrade sdk

commit 75ccb0a
Author: ByteZhang <quincysx@onekey.so>
Date:   Fri Mar 10 16:44:09 2023 +0800

    fix: sui (#2667)

commit 3c6428c
Author: morizon <sidmorizon@outlook.com>
Date:   Fri Mar 10 15:07:07 2023 +0800

    Fix: android webembed webview connection issue (#2685)

    * fix: webview web-embed check

    * fix: web-embed webview test

    * fix: lint

    * fix: code review problem

    * fix: test

    * fix: lint

    * fix:lint

    * fix: lint

    ---------

    Co-authored-by: Leon <lixiao@onekey.so>

commit 020ebb2
Author: JellyWang <38491708+ezailWang@users.noreply.github.com>
Date:   Thu Mar 9 22:47:02 2023 +0800

    fix: currency select page setion header bgcolor (#2687)

commit 35a4a42
Author: loatheb <zhangzhao@onekey.so>
Date:   Thu Mar 9 22:36:48 2023 +0800

    fix: modal cascade animation issue (#2686)

commit fe538f6
Author: morizon <sidmorizon@outlook.com>
Date:   Thu Mar 9 16:52:45 2023 +0800

    Fix/covalent api url (#2683)

    * fix: covalent api url

    * fix: remove key

    * fix: lint

commit b13e87a
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Thu Mar 9 16:15:31 2023 +0800

    fix: reapply fix for explorer cycle import

    This reverts commit eff56d6.

commit f9f4e1a
Author: weatherstar <weather@onekey.so>
Date:   Thu Mar 9 15:56:42 2023 +0800

    fix: sol on chain history (#2681)

commit 21024b4
Author: kwoktung <onlyif2009@gmail.com>
Date:   Thu Mar 9 15:40:05 2023 +0800

    feat: fix the problem that swap network fee is not updated in time (#2679)

commit f9a216c
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Thu Mar 9 11:46:07 2023 +0800

    fix: header background (#2677)

commit eff56d6
Author: morizon <sidmorizon@outlook.com>
Date:   Thu Mar 9 11:18:05 2023 +0800

    Revert "fix: explorer cycle import (#2673)" (#2678)

    This reverts commit 763910a.

commit 087a508
Author: Leon <lixiao.dev@gmail.com>
Date:   Thu Mar 9 09:44:13 2023 +0800

    OK-17970: Modal does not disappear after a failed connection to the hardware wallet on Android (#2676)

    * fix: connect hardware navigation back

    * fix: android go back

commit 62211fc
Author: kwoktung <onlyif2009@gmail.com>
Date:   Wed Mar 8 18:37:16 2023 +0800

    feat: fetch transaction fee when swap tx is completed (#2674)

    * fix: decodeTx feeInfo

    * feat: fetch transaction fee when swap tx is completed

    * OK-17940: tweak styles

commit b350c57
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Wed Mar 8 18:19:24 2023 +0800

    fix: wsol balance in token detail, OK-17973 (#2675)

commit a871626
Author: weatherstar <weather@onekey.so>
Date:   Wed Mar 8 17:26:14 2023 +0800

    feat: add placeholder for bulksender input (#2669)

    * chore: update locale

    * feat: add placeholder for bulksender input

commit 763910a
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Wed Mar 8 17:18:16 2023 +0800

    fix: explorer cycle import (#2673)

commit 3b0a597
Author: morizon <sidmorizon@outlook.com>
Date:   Wed Mar 8 14:16:05 2023 +0800

    Fix/add bg cycle deps checker (#2671)

    * fix: overview subscribe

    * Revert "fix: lazy dispatch (#2668)"

    This reverts commit 2b304d5.

    * fix: add cycle deps check

    * Revert "Revert "fix: lazy dispatch (#2668)""

    This reverts commit 1313d28.

    * fix: add eslint rule

    * fix: lint

    * fix: cycle deps

commit aed9d48
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Wed Mar 8 12:46:44 2023 +0800

    fix: syncAccount with empty accounts error (#2670)

commit 11ea6b9
Author: Leon <lixiao.dev@gmail.com>
Date:   Wed Mar 8 09:31:00 2023 +0800

    fix: create account route issue (#2664)

    Co-authored-by: Sunny Luo <sunnylqm@gmail.com>
    Co-authored-by: kwoktung <onlyif2009@gmail.com>

commit f0929c4
Author: kwoktung <onlyif2009@gmail.com>
Date:   Wed Mar 8 09:22:11 2023 +0800

    feat: tweak swap styles (#2666)

commit 2b304d5
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Tue Mar 7 22:49:27 2023 +0800

    fix: lazy dispatch (#2668)

commit da3e362
Author: linleiqin <278438611@qq.com>
Date:   Tue Mar 7 17:25:22 2023 +0800

    fix:build ios (#2665)

commit 263cf59
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Tue Mar 7 17:10:13 2023 +0800

    feat: balance flow add includeTop50TokensQuery option (#2660)

commit 95e6769
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Tue Mar 7 15:30:32 2023 +0800

    feat: change limitSize to 10 (#2663)

commit ef0877e
Author: Leon <lixiao.dev@gmail.com>
Date:   Tue Mar 7 15:13:15 2023 +0800

    fix: check bootloader download file (#2661)

commit 756a342
Author: linleiqin <278438611@qq.com>
Date:   Tue Mar 7 14:50:40 2023 +0800

    OK-17725 Feat/notification service (#2646)

    * feat:NotificationService

    * fix:Add p12 and profile for service extension

    * fix:CI write version to service extension

    * fix:CREDENTIALS_JSON_TEST

    * feat:EAS build ios image

    * fix:test

    * fix:notification image mineType

    * fix: ServiceExtension info.plist

commit bd07d12
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Tue Mar 7 08:54:20 2023 +0800

    feat: add shortcuts for explorer OK-16782 (#2633)

    * feat: add shortcuts

    * fix: lint

    * fix: lint

commit a427951
Author: kwoktung <onlyif2009@gmail.com>
Date:   Mon Mar 6 21:16:09 2023 +0800

    OK-17844: update market top header (#2656)

    * chore: tweak styles

    * OK-17844: update market top header

    * fix: swap actual received token

commit 85b10ab
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Mon Mar 6 21:01:40 2023 +0800

    Feat/optimize token balance api, OK-17567 (#2648)

    * feat: unified parameter naming

    * feat: optimize balance api from balance flow

    * fix: account tokens update error

    * feat: add fetchBalanceFromServerApi back

commit 9caf074
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Mon Mar 6 20:15:58 2023 +0800

    fix: navheader render issue OK-17834 (#2655)

    * fix: icon warning

    * fix: navheader

commit b48fb3a
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Mon Mar 6 17:08:22 2023 +0800

    feat: desktop dapp favicon (#2649)

commit d181112
Author: Leon <lixiao.dev@gmail.com>
Date:   Mon Mar 6 12:19:03 2023 +0800

    fix: some custom derivation path issues, OK-17677, OK-17818, OK-17819, OK-17820, OK-17829, OK-17830, OK-17832, OK-17840, OK-17855, OK-17842 (#2654)

    * fix: custom menu width

    * fix: recover account all select checkbox

    * fix: export etc private key

    * fix: some ui issue

    * fix: precise preloading

    * fix: menu close

commit f551549
Author: kwoktung <onlyif2009@gmail.com>
Date:   Mon Mar 6 12:08:06 2023 +0800

    OK-17748: improve swap transaction records (#2652)

    * feat: update i18n

    * feat: add a warning for excessive slippage.

    * OK-17597: Handling too many addresses in the address book. The page is unable to scroll

    * OK-17748: improve swap transaction records

    * chore: update i18n

commit 45d7bbd
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Mon Mar 6 11:24:06 2023 +0800

    fix: collapse defaultCollapsed may not take effect (#2653)

commit 4c3a16c
Author: qwang1113 (王强) <15064266+qwang1113@users.noreply.github.com>
Date:   Fri Mar 3 18:06:39 2023 +0800

    feat: tools support custom params (#2651)

commit 0bee4d9
Author: Leon <lixiao.dev@gmail.com>
Date:   Fri Mar 3 10:09:19 2023 +0800

    OK-17801, OK-17802, OK-17803: accountDerivation database migrate issue (#2650)

    * chore: add log

    * chore: add log

    * chore: remove console

    * chore: log

commit 34bee34
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Fri Mar 3 09:17:47 2023 +0800

    feat: replace stack headers (#2611)

    * feat: replace stack headers

    * fix: lint

    * fix: lint

    * fix: addressbook title

    * fix: headertitle

    * fix: headerTitle

    * fix: headerTitle

commit e48cd4a
Author: JellyWang <38491708+ezailWang@users.noreply.github.com>
Date:   Thu Mar 2 19:46:24 2023 +0800

    fix: market detail info view flexdirection OK-17774 (#2645)

commit eb14f9c
Author: Leon <lixiao.dev@gmail.com>
Date:   Thu Mar 2 16:16:34 2023 +0800

    feat: ver4.0.0 derivation custom path (#2569)

    * feat: add AccountDerivations database

    * feat: add realm database

    * feat: add AccountDerivation database unittest

    * feat: config impl constants and add unittest

    * feat: addHdOrHwAccount

    * feat: change evm, btc, sol keyring prepareAccount function

    * fix: searchHDAccounts

    * feat: add ethereum keypair unittest

    * feat: unittest for ethereum prepareAccount

    * feat: ethereum classic unittest

    * feat: db migration logic

    * fix: db migrate logic

    * fix: indededdb issue

    * feat: getNextAccountIds

    * feat: realm addAccountToWallet

    * feat: remove account and remove wallet

    * feat: create new account

    * fix: use getNextAccountId function

    * feat: change LedgerLive accountId

    * feat: derivation path BottomSheet modal

    * feat: add serviceDerivationPath

    * feat: quick create account

    * feat: validate create account

    * chore: i18n

    * chore: i18n

    * chore: i18n

    * chore: i18n

    * chore: i18n

    * fix: create account error issue

    * feat: recover account list

    * feat: manage account

    * feat: jump page dialog

    * fix: recover account issue

    * feat: AccountList set group by derivation path

    * refactor: validateCanCreateNextAccount

    * chore: i18n

    * refactor: move getAccountNameInfo to vault

    * fix: getAccountNameInfo by vault

    * feat: add unittest for solana keypair

    * chore: remove ledger legacy template

    * feat: support generate ledger live address on hardware

    * fix: derivation path option

    * chore: upgrade sdk versin

    * fix: change Collapse to controlled component

    * fix: lint

    * feat: use walletOnlyVault

    * feat: add show path menu

    * feat: add list item menu

    * chore: lint

    * feat: replace account item select to menu

    * fix: typo

    * fix: show display address

    * fix: form right icon add onPress event

    * feat: add type prop to DerivationPathBottomSheet

    * fix: RecoverAccountsAdvance Modal close event

    * fix: nextAccountId

    * chore: i18n

    * fix: android jump page layout

    * fix: show cardano path

    * fix: iOS switch derivation path slowly

    * fix: jump page slowly

    * chore: unit test log

    * fix: jump page controller limit page number

    * fix: AccountList render multi EmptyState

    * fix: recover accounts issue

    * fix: change db function params to object

    * fix: db api bug

    * fix: code review problem

    * fix: migration from cloud logic

    * fix: unit test

    * fix: create account issue

    * fix: review problem

    * fix: remove account rollback nextAccountId for UTXO account

    * OK-17502 OK-17523 fix:Change iCloud and migrate data key

    * refactor: split accountNameInfo to vault setting

    * chore: change version

    * fix: lint

    * fix: copy address not working

    * fix: filter and change active etc account

    * fix: sequence account name info list

    * fix: etc migration

    * fix: only validate next account when create type

    * fix: hardware wallet error

    * fix: show correct btc like coin path

    * fix: lint

    * OK-17638 fix:ext upgrade lint

    * fix: switch derivation option

    * fix: lint

    ---------

    Co-authored-by: linleiqin <linleiqin@onekey.so>

commit 325079f
Author: ByteZhang <quincysx@onekey.so>
Date:   Thu Mar 2 15:46:14 2023 +0800

    Fix: Cosmos bugs OK-15550 OK-16345 (#2643)

    * feat: osmosis min fees

    * feat: hint rpc 429 error

commit 7820349
Author: weatherstar <weather@onekey.so>
Date:   Thu Mar 2 15:31:22 2023 +0800

    fix: copy tx hash failed (#2647)

commit 862f01b
Author: loatheb <zhangzhao@onekey.so>
Date:   Thu Mar 2 10:06:25 2023 +0800

    chore: update v4.0.0 version

commit 180035d
Author: Leon <lixiao.dev@gmail.com>
Date:   Wed Mar 1 13:49:18 2023 +0800

    chore: upgrade sdk version (#2644)

commit 43c2393
Author: kwoktung <onlyif2009@gmail.com>
Date:   Tue Feb 28 20:50:41 2023 +0800

    fix: validate bookmark url (#2642)
  • Loading branch information
sunnylqm committed Apr 18, 2023
1 parent 86c7516 commit db245b3
Show file tree
Hide file tree
Showing 84 changed files with 2,322 additions and 4,372 deletions.
4 changes: 0 additions & 4 deletions development/webpackTranspiles.js
Expand Up @@ -3,9 +3,7 @@ const webModuleTranspile = [
'@gorhom',
'@mysten/sui.js',
'superstruct',
'@noble/curves',
'@polkadot',
'@solana/web3.js',
];

const extModuleTranspile = [
Expand All @@ -14,7 +12,6 @@ const extModuleTranspile = [
'popmotion',
'@mysten/sui.js',
'superstruct',
'@noble/curves',
'@polkadot/api',
'@polkadot/wasm-bridge',
'@polkadot/types-codec',
Expand All @@ -23,7 +20,6 @@ const extModuleTranspile = [
'@polkadot/types',
'@polkadot/util-crypto',
'@polkadot/keyring',
'@solana/web3.js',
];

module.exports = {
Expand Down
35 changes: 19 additions & 16 deletions package.json
Expand Up @@ -33,12 +33,14 @@
"web-embed": "yarn copy:inject && yarn workspace @onekeyhq/web-embed start",
"build:web-embed": "yarn copy:inject && yarn workspace @onekeyhq/web-embed build",
"firefox": "yarn copy:inject && yarn workspace @onekeyhq/ext firefox",
"edge": "yarn copy:inject && yarn workspace @onekeyhq/ext edge",
"ext": "yarn copy:inject && cross-env GENERATE_SOURCEMAP=false ENABLE_ANALYZER=1 yarn workspace @onekeyhq/ext start",
"ext:sourcemap": "yarn copy:inject && cross-env GENERATE_SOURCEMAP=true ENABLE_ANALYZER=1 yarn workspace @onekeyhq/ext start",
"build:ext": "yarn copy:inject && yarn workspace @onekeyhq/ext build:all",
"build:networklist": "node development/build-networklist.js",
"desktop": "yarn copy:inject && cross-env ENABLE_ANALYZER=1 yarn workspace @onekeyhq/desktop dev",
"build:desktop": "yarn copy:inject && yarn workspace @onekeyhq/desktop build",
"build:desktop:winms": "yarn copy:inject && yarn workspace @onekeyhq/desktop build:winms",
"build:icon": "yarn workspace @onekeyhq/components build:icons",
"fetch:locale": "yarn workspace @onekeyhq/components fetch:locale",
"test": "yarn test:snapshot && yarn test:unit ",
Expand All @@ -49,7 +51,8 @@
"prepare": "husky install",
"stats:web": "yarn workspace @onekeyhq/web stats",
"web-bundle-analyzer": "ANALYSE_MODULE=1 yarn stats:web && yarn webpack-bundle-analyzer packages/web/web-build/stats.json",
"swap-lock-registry": "npx swap-lock-registry --yarn --parallel --url https://registry.yarnpkg.com yarn.lock"
"swap-lock-registry": "npx swap-lock-registry --yarn --parallel --url https://registry.yarnpkg.com yarn.lock",
"debug:hardware-sdk": "node ./development/debug-hardware-sdk.js"
},
"ultra": {
"concurrent": [
Expand All @@ -63,12 +66,12 @@
"@onekeyfe/cross-inpage-provider-injected": "1.1.23",
"@onekeyfe/cross-inpage-provider-types": "1.1.23",
"@onekeyfe/extension-bridge-hosted": "1.1.23",
"@onekeyfe/hd-ble-sdk": "0.2.33",
"@onekeyfe/hd-core": "0.2.33",
"@onekeyfe/hd-shared": "0.2.33",
"@onekeyfe/hd-transport": "0.2.33",
"@onekeyfe/hd-web-sdk": "0.2.33",
"@onekeyfe/network-list": "1.6.48",
"@onekeyfe/hd-ble-sdk": "0.2.43",
"@onekeyfe/hd-core": "0.2.43",
"@onekeyfe/hd-shared": "0.2.43",
"@onekeyfe/hd-transport": "0.2.43",
"@onekeyfe/hd-web-sdk": "0.2.43",
"@onekeyfe/network-list": "1.6.54",
"@onekeyfe/onekey-cross-webview": "1.1.23",
"@starcoin/starcoin": "2.1.5",
"@web3-react/core": "8.0.35-beta.0",
Expand All @@ -78,20 +81,20 @@
"@web3-react/url": "8.0.25-beta.0",
"asmcrypto.js": "2.3.2",
"axios": "^0.27.2",
"bitcoinjs-lib": "6.0.1",
"bitcoinjs-lib": "6.1.0",
"bitcoinjs-message": "2.2.0",
"expo": "^48.0.4",
"expo": "^48.0.9",
"expo-device": "^5.0.0",
"jsrsasign": "^10.6.1",
"memoizee": "^0.4.15",
"react-dom": "18.2.0",
"react-native": "0.71.3",
"timeout-signal": "1.1.0",
"whatwg-url": "^7.0.0"
"react-native": "0.71.5",
"timeout-signal": "2.0.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@open-wc/webpack-import-meta-loader": "^0.4.7",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
Expand All @@ -105,7 +108,6 @@
"@types/react-test-renderer": "18",
"@types/semver": "^7.3.6",
"@types/superagent": "^4.1.16",
"@types/whatwg-url": "^8.2.1",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"babel-loader": "8.3.0",
Expand All @@ -131,7 +133,7 @@
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eth-rpc-errors": "^4.0.3",
"expo": "^48.0.4",
"expo": "^48.0.9",
"file-loader": "^6.2.0",
"fs-extra": "^10.0.0",
"globalthis": "^1.0.2",
Expand Down Expand Up @@ -174,11 +176,11 @@
"tslib": "^2.4.0",
"got": "^11.8.5",
"shell-quote": "^1.7.3",
"react-native-svg": "^13.8.0",
"react-native-svg": "^13.9.0",
"react-native-qrcode-svg": "6.1.2",
"@solana/web3.js": "1.47.3",
"buffer": "^6.0.3",
"@types/react-native": "~0.71",
"@types/react-native": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.2.1.tgz",
"@types/react": "^18",
"react-native-webview": "https://github.com/OneKeyHQ/react-native-webview.git#feat/refactor-webview",
"dmg-builder": "23.6.0",
Expand All @@ -204,6 +206,7 @@
"electron": "19.1.8",
"json5": "^2",
"js-conflux-sdk": "^2.1.6",
"secp256k1": "^4.0.3",
"@mysten/wallet-standard": "^0.3.0",
"react-native-web@0.18.10": "patch:react-native-web@npm%3A0.18.10#./.yarn/patches/react-native-web-npm-0.18.10-f9d1f2dee1.patch",
"expo-device@^4.3.0": "patch:expo-device@npm%3A4.3.0#./.yarn/patches/expo-device-npm-4.3.0-6bf71e0966.patch",
Expand Down
2 changes: 0 additions & 2 deletions packages/app/android/app/build.gradle
Expand Up @@ -319,8 +319,6 @@ dependencies {
implementation "androidx.coordinatorlayout:coordinatorlayout:1.2.0"

implementation 'org.nanohttpd:nanohttpd:2.3.1'

implementation("com.facebook.soloader:soloader:0.10.4")
}

configurations.all {
Expand Down
14 changes: 0 additions & 14 deletions packages/app/ios/Podfile
Expand Up @@ -4,20 +4,6 @@ def required_ruby_minimum_version(version)
end
end

def turn_off_resource_bundle_react_core(installer)
# this is needed for Xcode 14, see more details here https://github.com/facebook/react-native/issues/34673
# we should be able to remove this once CocoaPods catches up to it, see more details here https://github.com/CocoaPods/CocoaPods/issues/11402
installer.target_installation_results.pod_target_installation_results.each do |pod_name, target_installation_result|
if ['React-Core', 'IQKeyboardManagerSwift', 'EXConstants'].include? pod_name.to_s
target_installation_result.resource_bundle_targets.each do |resource_bundle_target|
resource_bundle_target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end
end

required_ruby_minimum_version '2.3.0'


Expand Down
24 changes: 13 additions & 11 deletions packages/app/package.json
Expand Up @@ -3,12 +3,13 @@
"main": "__generated__/AppEntry.js",
"version": "0.0.1",
"scripts": {
"android": "ANDROID_CHANNEL=direct expo run:android",
"start": "react-native start",
"android:device": "expo run:android --device",
"start": "expo start --dev-client",
"android": "ANDROID_CHANNEL=direct expo run:android --variant=DirectDebug",
"android:device": "ANDROID_CHANNEL=direct expo run:android --variant=DirectDebug --device",
"android:huawei": "ANDROID_CHANNEL=huawei expo run:android --variant=HuaweiDebug",
"android:google": "ANDROID_CHANNEL=google expo run:android --variant=GoogleDebug",
"ios": "expo run:ios",
"ios:device": "expo run:ios --device",
"eject": "expo eject",
"build:ios-js": "npx expo export --platform ios --public-url https://onekey.so",
"lint": "tsc --noEmit && eslint . --ext .ts,.tsx",
"clean": "rimraf node_modules && rimraf .expo && rimraf __generated__",
Expand All @@ -29,6 +30,7 @@
"@react-native-firebase/app": "^14",
"@react-native-firebase/crashlytics": "^14",
"@react-native-firebase/perf": "^14",
"@react-native-google-signin/google-signin": "^9.0.2",
"@react-native-segmented-control/segmented-control": "^2.4.0",
"@react-navigation/bottom-tabs": "^6.2.0",
"@react-navigation/drawer": "^6.5.6",
Expand All @@ -40,7 +42,7 @@
"@walletconnect/react-native-dapp": "^1.8.0",
"asyncstorage-down": "^4.2.0",
"buffer": "^6.0.3",
"expo": "^48.0.4",
"expo": "^48.0.9",
"expo-clipboard": "^4.1.1",
"expo-device": "^5.2.1",
"expo-haptics": "^12.2.1",
Expand All @@ -58,12 +60,12 @@
"react": "18.2.0",
"react-content-loader": "^6.2.0",
"react-dom": "18.2.0",
"react-native": "0.71.3",
"react-native": "0.71.5",
"react-native-auto-size-text": "^1.1.1",
"react-native-ble-manager": "^8.8.0",
"react-native-camera": "4.2.1",
"react-native-canvas": "^0.1.38",
"react-native-cloud-fs": "https://github.com/OneKeyHQ/react-native-cloud-fs#e7e3111fb427b6df5e97f61c700ca1e64636cad8",
"react-native-cloud-fs": "https://github.com/OneKeyHQ/react-native-cloud-fs#450b00b11555e8e9523adf5c5d0726b5ae966d9e",
"react-native-collapsible": "^1.6.0",
"react-native-config": "^1.5.0",
"react-native-confirmation-code-field": "^7.3.1",
Expand All @@ -78,23 +80,23 @@
"react-native-keyboard-manager": "^6.5.4-5",
"react-native-level-fs": "^3.0.1",
"react-native-nested-scroll-view": "https://github.com/OneKeyHQ/react-native-nested-scroll-view.git",
"react-native-pager-view": "6.1.4",
"react-native-pager-view": "6.2.0",
"react-native-randombytes": "^3.6.1",
"react-native-reanimated": "^2.14.4",
"react-native-restart": "0.0.27",
"react-native-safe-area-context": "4.5.0",
"react-native-screens": "^3.19.0",
"react-native-share": "^8.2.0",
"react-native-svg": "^13.8.0",
"react-native-svg": "^13.9.0",
"react-native-tcp-socket": "^6.0.6",
"react-native-toast-message": "^2.1.6",
"react-native-v8": "^2.1.1",
"react-native-v8": "^2.1.3",
"react-native-view-shot": "^3.5.0",
"react-native-vision-camera": "^2.15.4",
"react-native-web": "0.18.12",
"react-native-webview": "https://github.com/OneKeyHQ/react-native-webview.git#feat/refactor-webview",
"readable-stream": "^3.6.0",
"realm": "^11.5.1",
"realm": "^11.7.0",
"redux-flipper": "^2.0.2",
"rimraf": "^4.1.2",
"stream-http": "^3.2.0",
Expand Down
7 changes: 6 additions & 1 deletion packages/app/react-native.config.js
Expand Up @@ -21,7 +21,12 @@ module.exports = {
ios: null,
},
},
'@react-native-community/google-signin': {
'@react-native-google-signin/google-signin': {
platforms: {
ios: null,
},
},
'react-native-v8': {
platforms: {
ios: null,
},
Expand Down
42 changes: 19 additions & 23 deletions packages/app/src/views/NestedTabView/NestedTabView.tsx
Expand Up @@ -10,11 +10,13 @@ import {

import { UIManager, findNodeHandle } from 'react-native';
import { Gesture, GestureDetector } from 'react-native-gesture-handler';
import { useSharedValue, withTiming } from 'react-native-reanimated';
import {
useSharedValue,
withSpring,
withTiming,
} from 'react-native-reanimated';

import { useIsVerticalLayout } from '@onekeyhq/components';
import { enableOnPressAnim } from '@onekeyhq/components/src/utils/useBeforeOnPress';
import { useNavigationActions } from '@onekeyhq/kit/src/hooks';
import debugLogger from '@onekeyhq/shared/src/logger/debugLogger';
import platformEnv from '@onekeyhq/shared/src/platformEnv';

Expand Down Expand Up @@ -51,14 +53,12 @@ const NestedTabView: ForwardRefRenderFunction<
children,
onChange,
defaultIndex,
canOpenDrawer,
scrollEnabled = true,
...rest
},
ref,
) => {
const isVerticalLayout = useIsVerticalLayout();
const canOpenDrawer = rest.canOpenDrawer && isVerticalLayout;
const { openDrawer } = useNavigationActions();
const tabRef = useRef<typeof NativeNestedTabView>(null);
// const { width: screenWidth } = useWindowDimensions();
const tabIndex = useSharedValue(defaultIndex);
Expand All @@ -71,9 +71,6 @@ const NestedTabView: ForwardRefRenderFunction<
const native = Gesture.Native();

const lockVertical = useCallback(() => {
// when fingers move,
// disable the onPress function
enableOnPressAnim.value = 0;
if (platformEnv.isNativeAndroid) {
// console.log('lockVertical');
lockDirection.value = LockDirection.Vertical;
Expand All @@ -84,9 +81,6 @@ const NestedTabView: ForwardRefRenderFunction<
}, [lastTransX, lockDirection]);

const lockHorizontal = useCallback(() => {
// when fingers move,
// disable the onPress function
enableOnPressAnim.value = 0;
if (platformEnv.isNativeAndroid) {
// console.log('lockHorizontal');
// setInnerDisableRefresh(false);
Expand Down Expand Up @@ -125,16 +119,15 @@ const NestedTabView: ForwardRefRenderFunction<
if (canOpenDrawer) {
if (tabIndex.value === 0) {
if (translationX > drawerOpenDistance) {
openDrawer();
// nestedTabTransX.value = withSpring(0, {
// velocity: 50,
// stiffness: 1000,
// damping: 500,
// mass: 3,
// overshootClamping: true,
// restDisplacementThreshold: 0.01,
// restSpeedThreshold: 0.01,
// });
nestedTabTransX.value = withSpring(0, {
velocity: 50,
stiffness: 1000,
damping: 500,
mass: 3,
overshootClamping: true,
restDisplacementThreshold: 0.01,
restSpeedThreshold: 0.01,
});
} else {
resetNestedTabTransX();
}
Expand All @@ -145,7 +138,7 @@ const NestedTabView: ForwardRefRenderFunction<
// restore the onPress function
enableOnPressAnim.value = withTiming(1, { duration: 100 });
},
[canOpenDrawer, resetGesture, tabIndex, openDrawer],
[canOpenDrawer, resetGesture, tabIndex.value],
);
const pan = useMemo(() => {
const basePan = Gesture.Pan();
Expand Down Expand Up @@ -173,6 +166,9 @@ const NestedTabView: ForwardRefRenderFunction<
if (platformEnv.isNativeAndroid) {
// onTouchesMove works better on Android
basePan.onTouchesMove(({ allTouches }) => {
// when fingers move,
// disable the onPress function
enableOnPressAnim.value = 0;
if (lockDirection.value === LockDirection.Vertical) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/views/NestedTabView/types.ts
Expand Up @@ -7,7 +7,7 @@ import type { FontProps } from '@onekeyhq/components/src/Typography';

import type { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';

export const getDrawerWidth = () => {
const getDrawerWidth = () => {
const { width } = Dimensions.get('window');
const expectedWidth = width * 0.85;
const maxWidth = 400;
Expand Down
4 changes: 0 additions & 4 deletions packages/blockchain-libs/src/provider/index.ts
Expand Up @@ -114,22 +114,18 @@ const IMPLS: { [key: string]: any } = {
stc: require('./chains/stc'),
near: require('./chains/near'),
btc: mockProvider,
tbtc: mockProvider,
bch: mockProvider,
ltc: mockProvider,
doge: mockProvider,
btg: mockProvider,
dgb: mockProvider,
xrp: mockProvider,
nmc: mockProvider,
vtc: mockProvider,
dash: mockProvider,
dot: mockProvider,
sui: mockProvider,
apt: mockProvider,
xmr: mockProvider,
fil: mockProvider,
tron: mockProvider,
};

class ProviderController {
Expand Down

0 comments on commit db245b3

Please sign in to comment.