71 Commits

Author SHA1 Message Date
richardo2016x
3c1eb04447 build: make BUILD_GIT_HASH stable. (#2761) 2025-01-23 18:58:16 +08:00
vvvvvv1vvvvvv
8d83865a2a fix: firefox can not connect dapp (#2682) 2024-12-20 10:35:43 +08:00
hz002
aeeaca9ee5 Feat/firefox (#2568)
* feat: test for firefox

* fix: post message transfer

* fix: remove dev code

* feat: vary manifest for firefox and chrome.

* chore: upgrade rabby-api, rabby-sign

* fix: default MANIFEST_TYPE

* fix: replace sw offscreen

* fix: revert iframe import offscreen html

* fix: remove dev code

* fix: reset mv2 manifest

* fix: hide ledger

* fix: split chunk for firefox extension

* fix: split chunk only for firefox

* fix: transform message only for firefox

* feat: tip for ledger in firefox

* fix: option use nav usb

* fix: option use nav usb

* fix: hover icon

* feat: hover tooltip for ledger disable

* fix: get creds promisfy

* feat: build for firefox

fix: clean dist

feat: revert lark notify

* fix: webpack split chunk

* chore: update version

* Update src/constant/index.ts

---------

Co-authored-by: richardo2016x <richardo2016x@gmail.com>
Co-authored-by: heisenberg <heisenberg-2077@outlook.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>
2024-12-12 10:58:46 +08:00
vvvvvv1vvvvvv
40f56ee483 Revert "build: normalize packgae workflow. (#2611)" (#2664)
This reverts commit 1021612fe0.
2024-12-06 18:58:20 +08:00
richardo2016x
1021612fe0 build: normalize packgae workflow. (#2611)
* build: normalize packgae workflow.

* chore: code cleanup.

* fix: ci.

* build: change package root path from './dist' to './'

* build: do release commit before build & package.

* build: add tag on release.
2024-12-06 18:43:49 +08:00
heisenberg
b857c87d01 chore: ensure build the is reproducible (#2429)
* chore: ensure build the is reproducible

* chore: lock

* chore: disable sourcemap

* fix: gulp version

* fix: make sure input for `getIdFromNode` stable

* build: test stable zip.

* build: use bash to avoid shellscript syntax error on Linux, cleanup.

* fix: get md5 on linux.

* build: trial.

* chore: update lock file

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
Co-authored-by: richardo2016x <richardo2016x@gmail.com>
2024-10-25 16:14:19 +08:00
heisenberg
591f77e9f4 feat: add ETHERSCAN_KEY (#2535)
* feat: add ETHERSCAN_KEY

* Update webpack.common.config.js
2024-09-25 15:36:35 +08:00
vvvvvv1vvvvvv
4bb3fe422c Revert "chore: ensure build the is reproducible (#2406)" (#2428)
This reverts commit c81b9b3e27.
2024-07-23 18:41:45 +08:00
heisenberg
c81b9b3e27 chore: ensure build the is reproducible (#2406)
* chore: ensure build the is reproducible

* chore: lock

* chore: disable sourcemap

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2024-07-23 14:21:19 +08:00
richardo2016x
59e06afc72 feat: gather the debug-only items in more popup together. (#2294)
* feat: highlight the debug-only items in more popup, add build-hash item.

* style: refactor.

* chore: cleanup.

* build: show git committish on packed debug zip.
2024-06-04 16:23:05 +08:00
vvvvvv1vvvvvv
7ce0fa619c fix: sentry sourcemap upload (#2199) 2024-04-12 16:20:51 +08:00
heisenberg
592f885abf fix: serviceworker unable to register after extension upgrade (#2183)
* fix: serviceworker unable to register after extension upgrade

* Update app.tsx

* Update webpack.common.config.js

* Update webpack.common.config.js
2024-04-12 14:17:49 +08:00
heisenberg
5ccc0a5eb0 chore: mv3 as default startup script (#2149)
* chore:  mv3 as default startup script

* fix: scripts
2024-03-28 14:19:59 +08:00
heisenberg
34244faf69 feat: use @trezor/connect-webextension (#2136) 2024-03-26 18:29:28 +08:00
vvvvvv1vvvvvv
00cdb1efaf fix: mv3 issues (#2117) 2024-03-20 17:14:59 +08:00
heisenberg
58df255ca4 feat: mv3 (#2101)
* feat: mv3

* fix: mv2

* chore: trezor vendor

* feat: inject params via local stroage

* fix: remove store

* chore: update deps

* chore: update deps
2024-03-20 16:32:40 +08:00
benma
8077f9183d bitbox02: switch to new bitbox client library (#2020)
The previous one (bitbox02-api) is being deprecated.

The new one is much smaller in size, comes with complete TypeScript,
and is a proper ES6 module. It is based on WASM, which is why
`asyncWebAssembly: true` needs to be set.
2024-02-01 16:30:13 +08:00
vvvvvv1vvvvvv
161f5ec52f chore: update some deps (#1796)
* chore: update some deps

* chore: update CI nodejs version
2023-10-11 15:28:06 +08:00
Hodor
b988428569 feat: i18n (#1622)
* feat: i18n

* feat: change i18n component key

* feat: change locales dir

* feat: i18n for dashboard, import address, nft, connected app (#1627)

* feat: dashboard

* feat: assset popup

* feat: add address

* feat: import address

* feat: hd manager

* feat: i18n for gas top up、swap、address (#1628)

* Update gas top-up UI and localization strings

* docs: swap localization strings

* typo

* manage address

* fix

---------

Co-authored-by: Hodor <lost1q84@gmail.com>

* feat: support i18n texts on chainSelector, tokenSelector, approvals page (#1631)

* feat: add i18n texts for sendToken/sendNFT.

* feat: add i18n texts for approvals.

* chore: format.

* feat: fill zh_CN.

* fix: some i18n texts on sendToken/sendNFT

* feat: add i18n texts for NetSwitchTabs.

* feat: support i18n texts for ChainSelector/TokenSelector

* feat: sync i18n keys to zh_CN

---------

Co-authored-by: Hodor <lost1q84@gmail.com>

* feat: i18n for transaction and signature record (#1626)

* feat: i18n for transaction and signature record

* feat: receive

* feat: i18n component

* feat: add change lang options

* feat: merge

* fix: update version

* feat: lock page

* feat: i18n for signTx (#1625)

* feat: i18n for signTx

* stash code

* feat: tx actions i18n

* feat: typedData i18n

* feat: + signText i18n

* feat: connect i18n

* chore: rm old version

* fix: {0}

* feat: + machine translate

* feat: i18n for backgroud (#1633)

* fix: var

* fix: dashboard page

* add addressDetail (#1634)

* fix: chain

* fix: missing. (#1635)

* fix: default lang

* feat: change i18n icon

* chore: fix i18n

* chore: fix some bugs

* fix: hardware waiting

* chore

* chore

* feat: change font

* feat: chore

* feat: merge cssvars about features. (#1653)

* feat: basic normalized palette.

* style: batch replace `#8697ff` with `#7084ff`.

* style: batch replace `@primary-color`, `@primary-text-color` with css var in less file.

* style: batch replace `@primary-color`, `@primary-text-color` with css var in js file

* chore: cleanup.

* style: batch replace `rgba(134, 151, 255, 0.1)` with `var(--blue-light, #eef1ff)`.

* style: batch replace `rgba(134, 151, 255, 0.4)` with `var(--blue-disable, rgba(112, 132, 255, 0.5))`.

* feat: add some missing locales. (#1656)

* chore

* fix: fix some translate

* revert: font

* Revert "feat: merge cssvars about features. (#1653)"

This reverts commit b450d59452.

* fix: ModalPreviewNFTItem

* feat: fix translate

* fix: some translate

* fix: some translation

* chore: fix some translate

* fix: i18n

* fix: appName and appDescription

* fix: symbol

* fix: some trans

* fix: update version

* fix: dashboard matomoRequestEvent

* fix: some translation

* fix: nft collection

---------

Co-authored-by: heisenberg <110591045+heisenberg-2077@users.noreply.github.com>
Co-authored-by: DMY <147dmy@gmail.com>
Co-authored-by: richardo2016x <104543757+richardo2016x@users.noreply.github.com>
Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
Co-authored-by: heisenberg <heisenberg-2077@outlook.com>
2023-08-17 19:34:26 +08:00
Hodor
c8e8175e5e fix: source-map (#1539) 2023-07-18 10:27:29 +08:00
richardo2016x
ada798cccf feat: support deprecate chains, drop support for SWM. (#1458)
* feat: basic support for removed chain.

* feat: more robust change  about removed chain in UI.

* feat: deprecate tx data on deprecated chain.

* feat: compat deprecated chain on transaction history.

* feat: also filter unsupported chain data after set `store.transactions`.

* fix: robust change, don't override token detail if got nil value.

* feat: deprecate SWM.

* build: recover.

* chore: lint fix.

* feat: upgrade @debank/common

* chore: code clean.

* fix: deps version.

---------

Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2023-06-19 10:58:30 +08:00
vvvvvv1vvvvvv
9474748336 feat: support oas chain (#1446)
* feat: support oas chain

* fix: logo

* feat: use rabby specific @debank/common.

* feat: adopt a conservative strategy about `@debank/common`

* feat: + changelog

---------

Co-authored-by: richardo2016x <richardo2016x@gmail.com>
2023-06-09 19:58:30 +08:00
DMY
5875ce52be chore: add ignoreErrors (#1298)
* chore: add ignoreErrors

* chore: update ignoreErrors
2023-03-29 11:33:44 +08:00
richardo2016x
28a71fe7da build: use standalone folder generated for assets required in js/ts (#1112) 2022-11-16 10:40:57 +08:00
heisenberg
80665baec1 chore: use rabby-api (#988)
* chore: use rabby-api

* chore: remove axios

* chore: update rabby-api

* chore: add env

* fix: sign params
2022-09-23 14:22:56 +08:00
vvvvvv1vvvvvv
30bbd52fe5 chore: + matomo (#977) 2022-09-16 15:09:01 +08:00
cinwell.li
b7fdd4d5da chore: remove console.log in production (#906)
* chore: remove console.log in production

* Update build/webpack.pro.config.js

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>

Co-authored-by: heisenberg <110591045+heisenberg-2077@users.noreply.github.com>
Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>
2022-08-05 14:57:19 +08:00
richardo2016x
d0d321520e feat: finish refactor, use typed wallet & centralized store models. (#834)
* feat: centralized store management (#749)

* feat: add type annotation in some block

* feat: introduce `@rematch/core` to make centralized store for Rabby.

* feat: add useRabbyStore and apply it in Dashboard as demo.

* feat: + store states (#760)

* feat: + contactBook and account state

* feat: + state for other stores

* feat: merge dev to next (#777)

* feat: fe-common (#778)

* feat: support approval queue (#784)

* feat: support approval queue

* fix: not close notification when resolve approval

* feat: disable svg base64 transform (#765)

* feat: divide pageProvider as single npm package (#758)

* store (#767)

* feat: add rematch/select

* feat: support dfk chain (#761)

* feat: adjust order of panel item in ChainAndSelector on gnosis, replace chain icon. (#762)

* feat: robust change in ChainAndSelector, make it convenient to adjust icons mapping.

* fix: adjust order of panel item in ChainAndSelector on gnosis

* feat: replace chain address icon metamask

* feat: add permission store

* 0.32.0

* [release] 0.32.0

* feat: preference store

* feat: useWallet

* feat: support telos chain (#769)

* chore: resolve some issues on sentry (#773)

* fix: some bugfix (#774)

* fix: the last address should not be deleted

* fix: title display for alias names

* fix: fetch balance error will set balance as 0

* feat: checkout centralized store capability for future, no any essential biz change. (#772)

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>
Co-authored-by: richardo2016x <104543757+richardo2016x@users.noreply.github.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
Co-authored-by: richardo2016x <richardo2016x@gmail.com>

* fix: wrong origin used in getCurrentConnectSite (#818)

* feat: update deps (#817)

* feat: connect dasboard to store, make its state pure & clean. (#802)

* chore: more clear variable name.

* chore: use model state for `firstNotice`, `updateContent`.

* feat: add model `chains`, simplify state in Dashboard.

* chore: fix some bugs (#819)

* fix: dapps

* fix: star icon

* fix: star icon

* chore: memo -> note

* fix: use alianName from store model.

* feat: update pageProvider (#847)

Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>
Co-authored-by: Hodor <lost1q84@gmail.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
2022-06-24 17:23:49 +08:00
Hodor
cfde4ff89f feat: address detail (#804)
* feat: address detail

* feat: address detail

* feat: address management

* chore: fix some bugs

* chore: fix some bugs

* chore: fix ts
2022-06-10 15:25:31 +08:00
richardo2016x
4bd9b5c680 feat: improve user experience & workflow robust about create/import mnemonics. (#783)
* feat: add typo annotations for AddAddressOptions to clarify biz logic.

* feat: typo enhancement for `useWalletRequest`.

* feat: add `EntryImportAddress` between add-address and real action pages.

* feat: introduce `styled-components` to improve style injection pattern.

* fix: use title if provided for `ImportSuccess`.

* feat: always allow to create mnemonices, add risk-check before the creating action.

* feat: support multiple mnemonics

* feat: support mnemonics import twice

* feat: ui update about `import*` component, support autocomplete in `ImportMnemonics`

* chore: remove console

* fix: literal text change.

* feat: update eth-hd-keyring

* fix: little fix.

* feat: support confirm-mnemonics before importing it.

* chore: code clean, let `useCurrentBalance` standalone.

* fix: disable import a exist seed phrase

* fix: style fix.

* fix: only auto select 1st address on 1st page.

* feat: mnemonics -> seed parse

* fix: style fix.

* chore: code clean.

* chore: simplify & robust change.

* feat: keyringId start from 1

* chore: code clean.

* feat: only import 1st address on confirm-mnemonics

* fix: mnemonics counter naming logic.

* fix: fixup params on submit confirm pages

* chore: code clean.

* feat: use better naming rules for imported mnemonics.

* fix: typo fix.

* chore: folder normalization.

* fix: make `MultiSelectAddressList` controllable.

* feat: finish co-work of confirm-mnmmonics & import-more-addresses

* fix: add `selectedAddressesIndexes` to work with `draftIndexes`

* chore: move init address alias into background (#791)

* chore: background part of this function

* chore: do not init alias name in addressItem

* chore: make linter happy

* feat: alias

* feat: wallet export cache alias method

* feat: wallet export cache alias method

* feat: update @rabby-wallet/eth-hd-keyring

* fix: generateAliasName

* feat: use background to manage alias cache.

* chore: code clean.

Co-authored-by: cs1707 <lost1q84@gmail.com>
Co-authored-by: vvvvvv1vvvvvv <galennnnnnn@gmail.com>
Co-authored-by: vvvvvv1vvvvvv <86296331+vvvvvv1vvvvvv@users.noreply.github.com>
2022-06-06 18:08:55 +08:00
vvvvvv1vvvvvv
d6d7fbb959 chore: build ts sourcemap for sentry (#776) 2022-05-30 12:41:36 +08:00
vvvvvv1vvvvvv
3573590a2b chore: upload sourcemap files to sentry (#744) 2022-05-13 11:15:15 +08:00
vvvvvv1vvvvvv
bbe808bf60 feat: + delete all watch mode address (#736) 2022-05-11 11:41:01 +08:00
Hodor
50e40b6754 feat: add debug mode (#676) 2022-04-19 12:04:16 +08:00
Hodor
fe34abd104 chore: fix some bugs (#662)
* fix: import success page

* fix: nft infinite loading

* fix: tailwind
2022-04-15 14:35:24 +08:00
vvvvvv1vvvvvv
5b9635c185 feat: + Rabby Widgets (#579)
* feat: + widgets

* fix: not inject widgets if not set as default wallet

* fix: not use contract as alian name when import address

* fix: some issues
2022-03-08 21:41:55 +08:00
vvvvvv1vvvvvv
857251f472 feat: support eip-1559 (#558)
* feat: support eip-1559

* feat: ledger support eip-1559
2022-03-01 15:37:39 +08:00
rice
e2bb32d800 feat: change color && modal -> popup (#511)
* feat: change color &&  modal -> popup

* chore: fix no-address page header style

* fix: contacts

* fix: token style
2022-01-24 11:33:07 +08:00
好多大米
ac7ce5ed8f feat: popup recent connections and settings (#445)
* style: fix nft list

* feat: recent connetions

* fix: drag overlay
2022-01-07 13:32:10 +08:00
好多大米
52072dd6f9 feat: support NFT (#430)
* feat: nft

* chore: prepare merge

* feat: merge

* fix: menu

* feat: nft loads

* feat: hide expand

* feat: nft price

* chore: style

* chore: nft icon

* chore: avatar

* chore: ui

* chore: ui

* chore: dashboard

* chore: ui
2021-12-31 19:41:58 +08:00
好多大米
77a3c7aab1 feat: Migrating from CircleCI to GitHub Actions (#418) 2021-12-27 10:59:27 +08:00
Александр
6289a41c57 feat: add md reading notice (#345)
* feat: add md reading notice

* fix: update  compare version logic
2021-11-29 17:15:28 +08:00
vvvvvv1vvvvvv
86e14c717b chore: build background page for stable performance (#226) 2021-09-15 10:15:42 +08:00
vvvvvv1vvvvvv
fc8b4025ab feat: track release version for ga and sentry (#193) 2021-08-23 18:15:47 +08:00
Paul Verest
b97a7436ab fix #155 WARNING in asset size limit (#156)
* fix #155 WARNING in asset size limit

* remove hints: false,
2021-07-30 18:34:30 +08:00
vvvvvv1vvvvvv
947650fa47 chore: + release script (#109)
* chore: + release script

* chore: use force npm version

* chore: fix commit message

* chore: + bundle script

* chore: + npm pub script
2021-07-02 14:32:20 +08:00
see2ever
7b6404fc60 feat(ui): update version 2021-06-30 18:10:24 +08:00
see2ever
6c58070764 feat(ui): change unlock image & welcome page 2021-06-07 16:39:39 +08:00
see2ever
c13279ee62 build: add dayjs provider 2021-05-28 16:45:42 +08:00
see2ever
30d52e215c fix(build): fix /antd-dayjs-webpack-plugin insert dayjs to each entry 2021-05-28 12:17:04 +08:00