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 Mar 31, 2023
1 parent cde3a27 commit 5776b9c
Show file tree
Hide file tree
Showing 884 changed files with 46,383 additions and 16,430 deletions.
2 changes: 0 additions & 2 deletions .env.example
Expand Up @@ -22,8 +22,6 @@ EXT_SENTRY_DSN=

# runtime: covanlant API token
COVALENT_KEY=
# runtime: moonpay API token
MOONPAY_KEY=
# Jpush
JPUSH_KEY=
JPUSH_CHANNEL=
Expand Down
2 changes: 1 addition & 1 deletion .env.version
@@ -1,5 +1,5 @@
# VERSION: https://semver.org/

VERSION=3.30.0
VERSION=4.3.0

# Will auto add BUILD_NUMBER variable at native CI job.Must give an empty line at end of this file.
1 change: 1 addition & 0 deletions .eslintrc.js
Expand Up @@ -19,6 +19,7 @@ const jsRules = {
'react/jsx-no-useless-fragment': ['error', { allowExpressions: true }],
'no-promise-executor-return': 'off',
'default-param-last': 'off',
'import/no-cycle': 'error',
// 'no-console': [isDev ? 'warn' : 'off'],
};
const tsRules = {
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release-android.yml
Expand Up @@ -82,11 +82,9 @@ jobs:
- name: Inject Environment Variables
env:
COVALENT_KEY: ${{ secrets.COVALENT_KEY }}
MOONPAY_KEY: ${{ secrets.MOONPAY_KEY }}
GITHUB_SHA: ${{ github.sha }}
run: |
echo "COVALENT_KEY=${{ env.COVALENT_KEY }}" >> .env.expo
echo "MOONPAY_KEY=${{ env.MOONPAY_KEY }}" >> .env.expo
echo "GITHUB_SHA=${{ env.GITHUB_SHA }}" >> .env.expo
- name: Build on EAS And Submit
Expand All @@ -95,6 +93,7 @@ jobs:
cd packages/app
eas build --profile=production --platform android --non-interactive --no-wait --resource-class large
eas build --profile=production-store --platform android --non-interactive --no-wait --resource-class large --auto-submit
eas build --profile=production-huawei --platform android --non-interactive --no-wait --resource-class large
- name: Build on EAS
if: ${{ !github.event.workflow_run }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release-desktop-mas.yml
Expand Up @@ -99,11 +99,9 @@ jobs:
- name: Inject Environment Variables
env:
COVALENT_KEY: ${{ secrets.COVALENT_KEY }}
MOONPAY_KEY: ${{ secrets.MOONPAY_KEY }}
GITHUB_SHA: ${{ github.sha }}
run: |
echo "COVALENT_KEY=${{ env.COVALENT_KEY }}" >> .env
echo "MOONPAY_KEY=${{ env.MOONPAY_KEY }}" >> .env
echo "GITHUB_SHA=${{ env.GITHUB_SHA }}" >> .env
# - name: Setup Code Signing file
Expand Down
160 changes: 160 additions & 0 deletions .github/workflows/release-desktop-winms.yml
@@ -0,0 +1,160 @@
name: release-desktop-winms

on:
workflow_run:
workflows:
- daily-build
types:
- completed
workflow_dispatch:

jobs:
release-desktop-winms:
runs-on: macos-latest
strategy:
matrix:
node-version: [16.x]

steps:
- name: Checkout Source Code
uses: actions/checkout@v3
with:
lfs: true

- name: Dotenv Action
id: dotenv
uses: OneKeyHQ/actions/dotenv-action@main
with:
path: .env.version

- name: 'Setup ENV'
run: |
echo "ActionTriggerBy = ${{ github.event.action }} / ${{ github.event_name }}"
# Generate build number ------- start
DATE=`date "+%Y%m%d"`
run_number=$(($workflow_run_number % 100))
run_number=$(printf "%02d" $run_number)
build_number="${DATE}${run_number}"
echo '$build_number='$build_number
echo "BUILD_NUMBER=$build_number" >> $GITHUB_ENV
# Generate build number ------- end
github_ref="${github_ref////-}"
github_ref="${github_ref/refs-heads-/}"
github_ref="${github_ref/refs-tags-/}"
echo '$github_ref='$github_ref
echo "GITHUB_TAG=$github_ref" >> $GITHUB_ENV
# echo "::set-env name=GITHUB_TAG::$github_ref"
eval "$(node -e 'const v=require("./packages/desktop/package.json").version; console.log("pkg_version="+v)')"
echo '$pkg_version='$pkg_version
echo "PKG_VERSION=$pkg_version" >> $GITHUB_ENV
artifacts_url="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
echo "ARTIFACTS_URL=$artifacts_url" >> $GITHUB_ENV
env:
github_ref: ${{ github.ref }}
workflow_run_number: ${{ github.event.workflow_run.run_number}}

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://npm.pkg.github.com'
always-auth: true
scope: '@onekeyhq'

- name: Setup keys secret
run: |
rm -rf packages/shared/src/analytics/firebase.web.json
echo ${{ secrets.GOOGLE_SERVICE_WEB }} | base64 -d > packages/shared/src/analytics/firebase.web.json
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dep
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_OPTIONS: '--max_old_space_size=8192'
run: |
npm i -g expo-cli@6.0.8 && yarn
- name: Inject Environment Variables
env:
COVALENT_KEY: ${{ secrets.COVALENT_KEY }}
GITHUB_SHA: ${{ github.sha }}
run: |
echo "COVALENT_KEY=${{ env.COVALENT_KEY }}" >> .env
echo "GITHUB_SHA=${{ env.GITHUB_SHA }}" >> .env
- name: Setup Code Signing file
run: |
echo ${{ secrets.DESKTOP_KEYS_SECRET }} | base64 -d > packages/desktop/sign.p12
- name: Publish and Sign Static Windows Installer
if: ${{ (github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/onekey') }}
env:
NODE_OPTIONS: '--max_old_space_size=8192'
APPLEID: ${{ secrets.APPLEID }}
APPLEIDPASS: ${{ secrets.APPLEIDPASS }}
ASC_PROVIDER: ${{ secrets.ASC_PROVIDER }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
CSC_LINK: './sign.p12'
run: 'cd packages/desktop && yarn publish:winms'

- name: Build and Sign Static Windows Installer
env:
NODE_OPTIONS: '--max_old_space_size=8192'
APPLEID: ${{ secrets.APPLEID }}
APPLEIDPASS: ${{ secrets.APPLEIDPASS }}
ASC_PROVIDER: ${{ secrets.ASC_PROVIDER }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
CSC_LINK: './sign.p12'
run: 'cd packages/desktop && yarn build:winms'

- name: Upload Artifacts Windows
uses: actions/upload-artifact@v3
with:
name: onekey-desktop-windows
path: |
./packages/desktop/build-electron/*.exe
- name: Upload Artifacts Release
uses: actions/upload-artifact@v3
with:
name: release
path: |
./packages/desktop/build-electron/*
!./packages/desktop/build-electron/win-unpacked
!./packages/desktop/build-electron/mac-arm64
!./packages/desktop/build-electron/mac
!./packages/desktop/build-electron/linux-unpacked
!./packages/desktop/build-electron/builder-debug.yml
- name: 'Notify to Slack'
uses: onekeyhq/actions/notice-slack-app-update@main
with:
web-hook-url: ${{ secrets.SLACK_DEV_WEBHOOK }}
artifact-type: Desktop
artifact-name: OneKey-Desktop-Win-Store
artifact-bundle-id: 'so.onekey.wallet.desktop'
artifact-version-name: '${{ steps.dotenv.outputs.version }}@${{ env.BUILD_NUMBER }}'
artifact-version-code: '${{ env.BUILD_NUMBER }}'
artifact-download-url: '${{ env.ARTIFACTS_URL }}'
change-log: 'Download [Artifacts] at the bottom of page.'
custom-issue-url: ''
custom-message-title: ''
custom-message-payload: ''
12 changes: 10 additions & 2 deletions .github/workflows/release-desktop.yml
Expand Up @@ -21,6 +21,9 @@ jobs:
with:
lfs: true

- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v2

- name: Dotenv Action
id: dotenv
uses: OneKeyHQ/actions/dotenv-action@main
Expand Down Expand Up @@ -93,11 +96,9 @@ jobs:
- name: Inject Environment Variables
env:
COVALENT_KEY: ${{ secrets.COVALENT_KEY }}
MOONPAY_KEY: ${{ secrets.MOONPAY_KEY }}
GITHUB_SHA: ${{ github.sha }}
run: |
echo "COVALENT_KEY=${{ env.COVALENT_KEY }}" >> .env
echo "MOONPAY_KEY=${{ env.MOONPAY_KEY }}" >> .env
echo "GITHUB_SHA=${{ env.GITHUB_SHA }}" >> .env
- name: Setup Code Signing file
Expand Down Expand Up @@ -160,6 +161,13 @@ jobs:
!./packages/desktop/build-electron/linux-unpacked
!./packages/desktop/build-electron/builder-debug.yml
- name: Upload Artifacts to Snap Linux
if: ${{ github.event.workflow_run }}
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
run: |
snapcraft push ./packages/desktop/build-electron/*.snap --release edge
- name: 'Notify to Slack'
uses: onekeyhq/actions/notice-slack-app-update@main
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release-ext.yml
Expand Up @@ -88,11 +88,9 @@ jobs:
- name: Inject Environment Variables
env:
COVALENT_KEY: ${{ secrets.COVALENT_KEY }}
MOONPAY_KEY: ${{ secrets.MOONPAY_KEY }}
GITHUB_SHA: ${{ github.sha }}
run: |
echo "COVALENT_KEY=${{ env.COVALENT_KEY }}" >> .env
echo "MOONPAY_KEY=${{ env.MOONPAY_KEY }}" >> .env
echo "GITHUB_SHA=${{ env.GITHUB_SHA }}" >> .env
- name: Build Ext
Expand Down
17 changes: 13 additions & 4 deletions .github/workflows/release-ios.yml
Expand Up @@ -33,8 +33,9 @@ jobs:
run: |
mkdir packages/app/ios/certs
echo ${{ secrets.CREDENTIALS_JSON }} | base64 -d > packages/app/credentials.json
echo ${{ secrets.DIST_CERT_P12 }} | base64 -d > packages/app/ios/certs/dist-cert.p12
echo ${{ secrets.DIST_CERT_P12 }} | base64 -d > packages/app/ios/certs/dist.p12
echo ${{ secrets.ADHOC_PROFILE }} | base64 -d > packages/app/ios/certs/profile.mobileprovision
echo ${{ secrets.ADHOC_SERVICE_EXTENSION_PROFILE }} | base64 -d > packages/app/ios/certs/serviceextension-profile.mobileprovision
- name: Setup Expo
uses: OneKeyHQ/actions/expo-server@main
Expand Down Expand Up @@ -72,14 +73,22 @@ jobs:
with:
path: .env.version

- name: Modify info.plist
- name: Modify OneKeyWallet info.plist
uses: OneKeyHQ/actions/build-plist-edit@main
with:
buildNumber: ${{ env.BUILD_NUMBER }}
versionName: ${{ steps.dotenv.outputs.version }}
projectName: OneKeyWallet
dir: ./packages/app

- name: Modify ServiceExtension info.plist
uses: OneKeyHQ/actions/build-plist-edit@main
with:
buildNumber: ${{ env.BUILD_NUMBER }}
versionName: ${{ steps.dotenv.outputs.version }}
projectName: ServiceExtension
dir: ./packages/app

- name: Write .env.version
run: |
# pass BUILD_NUMBER as env variable to expo server
Expand All @@ -88,11 +97,9 @@ jobs:
- name: Inject Environment Variables
env:
COVALENT_KEY: ${{ secrets.COVALENT_KEY }}
MOONPAY_KEY: ${{ secrets.MOONPAY_KEY }}
GITHUB_SHA: ${{ github.sha }}
run: |
echo "COVALENT_KEY=${{ env.COVALENT_KEY }}" >> .env.expo
echo "MOONPAY_KEY=${{ env.MOONPAY_KEY }}" >> .env.expo
echo "GITHUB_SHA=${{ env.GITHUB_SHA }}" >> .env.expo
- name: Build on EAS And Auto Submit
Expand All @@ -102,6 +109,8 @@ jobs:
# eas build --profile=production --platform ios --non-interactive --no-wait
# replace APP STORE provision
echo ${{ secrets.APPSTORE_PROFILE }} | base64 -d > ./ios/certs/profile.mobileprovision
echo ${{ secrets.APPSTORE_SERVICE_EXTENSION_PROFILE }} | base64 -d > ./ios/certs/serviceextension-profile.mobileprovision
eas build --profile=production-store --platform ios --non-interactive --no-wait --auto-submit
- name: Build on EAS
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release-web.yml
Expand Up @@ -77,11 +77,9 @@ jobs:
- name: Inject Environment Variables
env:
COVALENT_KEY: ${{ secrets.COVALENT_KEY }}
MOONPAY_KEY: ${{ secrets.MOONPAY_KEY }}
GITHUB_SHA: ${{ github.sha }}
run: |
echo "COVALENT_KEY=${{ env.COVALENT_KEY }}" >> .env
echo "MOONPAY_KEY=${{ env.MOONPAY_KEY }}" >> .env
echo "GITHUB_SHA=${{ env.GITHUB_SHA }}" >> .env
- name: Build Target
Expand Down
9 changes: 9 additions & 0 deletions @types/@mymonero/mymonero-app-bridge.d.ts
@@ -0,0 +1,9 @@
/* eslint-disable @typescript-eslint/naming-convention */
/* eslint-disable camelcase */
declare module '@mymonero/mymonero-app-bridge/MyMoneroLibAppBridgeClass' {
export default class MyMoneroLibAppBridgeClass {
constructor(props: any);

async__send_funds: (...args: any[]) => void;
}
}
15 changes: 15 additions & 0 deletions @types/@mymonero/mymonero-keyimage-cache.d.ts
@@ -0,0 +1,15 @@
/* eslint-disable @typescript-eslint/naming-convention */
/* eslint-disable camelcase */
declare module '@mymonero/mymonero-keyimage-cache' {
export const Lazy_KeyImage: (
mutable_keyImagesByCacheKey: any,
tx_pub_key: string,
out_index: string,
public_address: string,
view_key__private: string,
spend_key__public: string,
spend_key__private: string,
coreBridge_instance: any,
) => string;
export const Lazy_KeyImageCacheForWalletWith: (address: string) => any;
}

0 comments on commit 5776b9c

Please sign in to comment.