Files
xverse-web-extension/package.json
Jordan K 35d76d0bbb [ENG-3614] feat: Ability to manage a BRC-20 token's visibility (hide) (#765)
* Add UpdateVisibleBrc20CoinListKey

* Bicoin toggled first attempt

* Fix ScrollableContainer not taking full height

* Don't override existing token's visiblity setting

* Hide brc20Coins if visible === false

* Delegate logic upstream to xverse-core

* Copy pasta

* Rename getFtTicker to more generic name

* CSS showDivider alternative

* Revert "CSS showDivider alternative"

This reverts commit 97dde6ed28a27f4879f43e790ed7972a7578c604.

* Bump to beta version of xverse-core

* xverse-core will default visible to true

* Bump xverse-core again

* Bump xverse-core again

* BRC-20 fiat value support

* Fix triple source of truth bug 🤪

* Update Brc20Token type for getBrc20Tokens

* Remove fallback

* Concurrent fetching

* Stop naively assuming brc20 tokens have no principal

* Bump xverse-core

* fix: brc20 detail page should have round token image

* chore: bump core beta version

* refactor: css only for manage token dividers

* refactor: remove a lot of fluff and use FiatAmountText component

* Safe type assertion

* FREE THYSELF FROM TYPECASTS

* Tim's changes

* Bump xverse-core to v9.1.0

* tokenFiatRate can be passed directly

* Fix closing extension does not apply changes bug

---------

Co-authored-by: Tim Man <tim@secretkeylabs.com>
2024-01-24 17:01:15 +01:00

150 lines
4.6 KiB
JSON

{
"name": "xverse-web-extension",
"description": "A Bitcoin wallet for Web3",
"version": "0.28.1",
"private": true,
"engines": {
"node": "^18.18.2"
},
"dependencies": {
"@ledgerhq/hw-transport-webusb": "^6.27.13",
"@phosphor-icons/react": "^2.0.10",
"@react-spring/web": "^9.6.1",
"@scure/btc-signer": "1.2.1",
"@secretkeylabs/xverse-core": "9.1.0",
"@stacks/connect": "7.4.1",
"@stacks/stacks-blockchain-api-types": "6.1.1",
"@stacks/transactions": "6.9.0",
"@tanstack/query-sync-storage-persister": "^4.29.1",
"@tanstack/react-query": "^4.29.3",
"@tanstack/react-query-devtools": "^4.29.3",
"@tanstack/react-query-persist-client": "^4.29.3",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"alex-sdk": "^0.1.18",
"argon2-browser": "^1.18.0",
"axios": "^1.1.3",
"bignumber.js": "^9.1.0",
"bip39": "^3.0.3",
"buffer": "6.0.3",
"c32check": "^2.0.0",
"classnames": "^2.3.2",
"crypto-browserify": "^3.12.0",
"date-fns": "^2.29.3",
"i18next": "^21.9.1",
"js-sha256": "^0.10.1",
"jsontokens": "^4.0.1",
"mixpanel-browser": "^2.47.0",
"moment": "^2.29.4",
"nanoid": "^4.0.0",
"p-queue": "^7.3.4",
"process": "^0.11.10",
"qr-code-styling": "^1.5.0",
"rc-image": "^5.14.0",
"react": "^18.2.0",
"react-content-loader": "^6.2.0",
"react-dom": "^18.2.0",
"react-hot-toast": "^2.4.0",
"react-i18next": "^11.18.6",
"react-is-visible": "^1.2.0",
"react-modal": "^3.15.1",
"react-number-format": "^5.0.0",
"react-qr-code": "^2.0.8",
"react-redux": "^7.2.1",
"react-router-dom": "^6.4.0",
"react-select": "^5.4.0",
"react-share": "^4.4.1",
"react-spinners": "^0.13.7",
"react-switch": "^7.0.0",
"react-tabs": "^6.0.2",
"react-tooltip": "^5.4.0",
"redux": "^4.0.5",
"redux-persist": "^6.0.0",
"redux-state-sync": "^3.1.4",
"sats-connect": "1.3.0",
"stream-browserify": "^3.0.0",
"string-to-color": "^2.2.2",
"styled-components": "^5.3.5",
"valid-url": "^1.0.9",
"webextension-polyfill": "^0.10.0",
"zxcvbn": "^4.4.2"
},
"scripts": {
"build": "npm run clean && NODE_ENV=production npx node webpack/utils/build.js",
"start": "npx node webpack/utils/devServer.js",
"clean": "rimraf build",
"test": "vitest ./src",
"style": "prettier --write \"src/**/*.{ts,tsx}\"",
"prepare": "husky install"
},
"overrides": {
"buffer": "6.0.3"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint",
"tsc-files --noEmit src/styled.d.ts src/react-app-env.d.ts"
],
"*.json": [
"prettier --write"
]
},
"devDependencies": {
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@tanstack/eslint-plugin-query": "^4.29.4",
"@types/argon2-browser": "^1.18.1",
"@types/chrome": "^0.0.237",
"@types/react": "^18.0.20",
"@types/react-dom": "^18.0.6",
"@types/react-modal": "^3.13.1",
"@types/redux-state-sync": "^3.1.5",
"@types/styled-components": "^5.1.26",
"@types/webextension-polyfill": "^0.9.2",
"@types/zxcvbn": "^4.4.1",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"base64-loader": "^1.0.0",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"dotenv-webpack": "^8.0.1",
"eslint": "8.22.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-no-inline-styles": "^1.0.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"glob": "^7.1.6",
"html-loader": "^4.1.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"path": "^0.12.7",
"prettier": "^2.7.1",
"prettier-plugin-organize-imports": "^3.2.3",
"react-refresh": "^0.14.0",
"react-refresh-typescript": "^2.0.7",
"rimraf": "^3.0.2 ",
"source-map-loader": "^4.0.0",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.5.1",
"tsc-files": "^1.1.4",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"type-fest": "^2.19.0",
"typescript": "^5.0.0",
"typescript-plugin-styled-components": "^3.0.0",
"vitest": "^0.34.6",
"webpack": "^5.89.0",
"webpack-cli": "^4.0.0",
"webpack-dev-server": "^4.11.0"
}
}