Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/2022 08 15 bitter bull #2619

Merged
merged 26 commits into from
Aug 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
8eccf92
Merge branch 'main' into dev
fbwoolf Aug 1, 2022
1e479e5
refactor: remove react query wrapper
fbwoolf Jul 26, 2022
9fd7ec7
chore: spell incurred properly
kyranjamie Aug 3, 2022
34155a1
Merge remote-tracking branch 'origin/main' into dev
kyranjamie Aug 4, 2022
d205c7b
Merge remote-tracking branch 'origin/main' into dev
kyranjamie Aug 5, 2022
3087cdf
fix: release notes
fbwoolf Aug 4, 2022
20ef805
refactor: fee estimations
fbwoolf Jul 28, 2022
664b59f
chore(deps): tidy unused packages
kyranjamie Aug 9, 2022
e827f2e
fix: setup and relocate env variables
fbwoolf Aug 4, 2022
1021f34
chore(security): add dev tools warning
kyranjamie Aug 10, 2022
486eedb
chore: add job post
fbwoolf Aug 9, 2022
4cab525
chore: remove more unused packages
fbwoolf Aug 10, 2022
d9c0e2d
fix: name spoofing detection from metadata
beguene Aug 11, 2022
76e8c0a
refactor: steps state
fbwoolf Aug 11, 2022
d88b955
refactor: disable sentry
fbwoolf Aug 10, 2022
4f7126f
refactor: avoid using localStorage to cache ephemeral values, closes …
kyranjamie Aug 4, 2022
ac29a32
refactor(atoms): remove transaction request atom
kyranjamie Aug 8, 2022
8b6523f
refactor: better handle window close event, closes #1181
kyranjamie Aug 11, 2022
4cf384d
refactor: <PopupHeader/> component
kyranjamie Aug 11, 2022
717ad60
fix: redirect back after successful unlock
kyranjamie Aug 12, 2022
4577b21
refactor: track on 'disconnected tab' error
kyranjamie Aug 12, 2022
552293e
feat: warn when originating tab closes
kyranjamie Aug 12, 2022
e42367d
chore(tooling): fix redux devtools
kyranjamie Aug 15, 2022
adcb2c0
chore: enable coinbase pay fast checkout
fbwoolf Aug 2, 2022
7ede3ce
refactor: coinbase pay ui
fbwoolf Aug 10, 2022
728f46d
chore: add conventionalcommits pkg
fbwoolf Aug 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
COINBASE_APP_ID=coinbaseappid
MOONPAY_API_KEY=moonpayapikey
SEGMENT_WRITE_KEY=segmentwritekey
SENTRY_DSN=sentrydsn
TRANSAK_API_KEY=transakapikey
WALLET_ENVIRONMENT=development
3 changes: 3 additions & 0 deletions .github/workflows/build-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ name: PR Extensions builds
on: [pull_request, workflow_dispatch]

env:
COINBASE_APP_ID: ${{ secrets.COINBASE_APP_ID }}
MOONPAY_API_KEY: ${{ secrets.MOONPAY_API_KEY }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SEGMENT_WRITE_KEY: ${{ secrets.SEGMENT_WRITE_KEY_STAGING }}
TRANSAK_API_KEY: ${{ secrets.TRANSAK_API_KEY }}
WALLET_ENVIRONMENT: feature

jobs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-dev-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ on:
workflow_dispatch:

env:
COINBASE_APP_ID: ${{ secrets.COINBASE_APP_ID }}
MOONPAY_API_KEY: ${{ secrets.MOONPAY_API_KEY }}
# To use another sentry DSN
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SEGMENT_WRITE_KEY: ${{ secrets.SEGMENT_WRITE_KEY_STAGING }}
TRANSAK_API_KEY: ${{ secrets.TRANSAK_API_KEY }}
PREVIEW_RELEASE: true
WALLET_ENVIRONMENT: preview

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ on:
workflow_dispatch:

env:
COINBASE_APP_ID: ${{ secrets.COINBASE_APP_ID }}
MOONPAY_API_KEY: ${{ secrets.MOONPAY_API_KEY }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SEGMENT_WRITE_KEY: ${{ secrets.SEGMENT_WRITE_KEY }}
TRANSAK_API_KEY: ${{ secrets.TRANSAK_API_KEY }}
WALLET_ENVIRONMENT: production

jobs:
Expand Down
54 changes: 27 additions & 27 deletions config/wallet-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,82 +3,82 @@
"global": []
},
"activeFiatProviders": {
"coinbase": {
"availableRegions": "inside-usa-only",
"enabled": true,
"hasFastCheckoutProcess": true,
"hasTradingFees": true,
"name": "Coinbase"
},
"moonPay": {
"availableRegions": "global",
"enabled": true,
"hasFastCheckoutProcess": true,
"name": "MoonPay",
"hasTradingFees": true,
"hasUnitedStatesAvailability": true
"name": "MoonPay"
},
"transak": {
"availableRegions": "global",
"enabled": true,
"hasFastCheckoutProcess": true,
"name": "Transak",
"hasTradingFees": true,
"hasUnitedStatesAvailability": true
"name": "Transak"
},
"okcoin": {
"availableRegions": "global",
"enabled": true,
"hasFastCheckoutProcess": true,
"name": "Okcoin",
"hasTradingFees": true,
"hasUnitedStatesAvailability": true
"name": "Okcoin"
},
"binance": {
"availableRegions": "global",
"enabled": true,
"hasFastCheckoutProcess": false,
"name": "Binance",
"hasTradingFees": true,
"hasUnitedStatesAvailability": true
"name": "Binance"
},
"blockchainCom": {
"availableRegions": "global",
"enabled": true,
"hasFastCheckoutProcess": false,
"name": "Blockchain.com",
"hasTradingFees": true,
"hasUnitedStatesAvailability": true
"name": "Blockchain.com"
},
"byBit": {
"availableRegions": "outside-usa-only",
"enabled": true,
"hasFastCheckoutProcess": false,
"name": "ByBit",
"hasTradingFees": true,
"hasUnitedStatesAvailability": false
},
"coinbase": {
"enabled": true,
"hasFastCheckoutProcess": false,
"name": "Coinbase",
"hasTradingFees": true,
"hasUnitedStatesAvailability": true
"name": "ByBit"
},
"cryptoCom": {
"availableRegions": "global",
"enabled": true,
"hasFastCheckoutProcess": false,
"name": "Crypto.com",
"hasTradingFees": true,
"hasUnitedStatesAvailability": true
"name": "Crypto.com"
},
"gateIo": {
"availableRegions": "outside-usa-only",
"enabled": true,
"hasFastCheckoutProcess": false,
"name": "Gate.io",
"hasTradingFees": true,
"hasUnitedStatesAvailability": false
"name": "Gate.io"
},
"kuCoin": {
"availableRegions": "outside-usa-only",
"enabled": true,
"hasFastCheckoutProcess": false,
"name": "KuCoin",
"hasTradingFees": true,
"hasUnitedStatesAvailability": false
"name": "KuCoin"
},
"okx": {
"availableRegions": "outside-usa-only",
"enabled": true,
"hasFastCheckoutProcess": false,
"name": "OKX",
"hasTradingFees": true,
"hasUnitedStatesAvailability": false
"name": "OKX"
}
},
"feeEstimations": {
Expand Down
78 changes: 53 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "3.13.5",
"author": "Hiro Systems PBC",
"scripts": {
"dev": "concurrently --raw 'node webpack/dev-server.js' 'redux-devtools --hostname=localhost --port=8000'",
"dev": "cross-env NODE_ENV=development concurrently --raw 'node webpack/dev-server.js' 'redux-devtools --hostname=localhost --port=8000'",
"dev:test-app": "webpack serve --config test-app/webpack/webpack.config.dev.js",
"build": "cross-env NODE_ENV=production EXT_ENV=prod webpack --config webpack/webpack.config.prod.js",
"build:analyze": "cross-env ANALYZE=true NODE_ENV=production EXT_ENV=prod webpack --config webpack/webpack.config.prod.js",
Expand Down Expand Up @@ -67,7 +67,46 @@
]
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalCommits",
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
},
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Internal",
"hidden": false
},
{
"type": "refactor",
"section": "Internal",
"hidden": false
},
{
"type": "perf",
"section": "Internal",
"hidden": false
}
]
}
}
],
[
"@semantic-release/npm",
{
Expand Down Expand Up @@ -97,7 +136,6 @@
"@reach/utils": "0.15.3",
"@reach/visually-hidden": "0.15.2",
"@reduxjs/toolkit": "1.7.1",
"@rehooks/document-title": "1.0.2",
"@segment/analytics-next": "1.31.1",
"@sentry/react": "6.16.1",
"@sentry/tracing": "6.16.1",
Expand All @@ -118,37 +156,30 @@
"@stacks/wallet-sdk": "4.3.1",
"@styled-system/theme-get": "5.1.2",
"@tippyjs/react": "4.2.6",
"@types/webextension-polyfill": "0.9.0",
"@vkontakte/vk-qr": "2.0.13",
"@zondax/ledger-blockstack": "0.24.0",
"are-passive-events-supported": "1.1.1",
"argon2-browser": "1.18.0",
"assert": "2.0.0",
"base64url": "3.0.1",
"bignumber.js": "9.0.2",
"bip32": "2.0.6",
"bitcoinjs-lib": "5.2.0",
"bn.js": "5.2.0",
"c32check": "1.1.3",
"capsize": "2.0.0",
"chroma-js": "2.1.2",
"compare-versions": "4.1.3",
"dayjs": "1.10.7",
"dns-packet": "5.3.0",
"downshift": "6.1.7",
"ecdsa-sig-formatter": "1.0.11",
"fast-deep-equal": "3.1.3",
"formik": "2.2.9",
"http-server": "14.0.0",
"jotai": "1.5.3",
"jotai-query-toolkit": "0.1.7",
"jsontokens": "3.0.0",
"limiter": "2.1.0",
"lodash": "4.17.21",
"lodash.get": "4.4.2",
"mdi-react": "7.5.0",
"object-hash": "2.2.0",
"pino": "7.6.0",
"pino": "8.4.0",
"prismjs": "1.27.0",
"promise-memoize": "1.2.1",
"react": "17.0.2",
Expand All @@ -163,12 +194,12 @@
"react-virtuoso": "2.6.0",
"redux-persist": "6.0.0",
"sha.js": "2.4.11",
"svg-url-loader": "7.1.1",
"ts-debounce": "4",
"use-events": "1.4.2",
"use-latest": "1.2.0",
"valid-url": "1.0.9",
"webextension-polyfill": "0.9.0",
"yup": "0.32.11",
"zxcvbn": "4.4.2"
},
"devDependencies": {
Expand All @@ -184,6 +215,8 @@
"@emotion/babel-preset-css-prop": "11.2.0",
"@emotion/cache": "11.7.1",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
"@redux-devtools/cli": "1.0.7",
"@redux-devtools/remote": "0.7.5",
"@schemastore/web-manifest": "0.0.5",
"@stacks/connect-react": "18.0.0",
"@stacks/eslint-config": "1.0.10",
Expand Down Expand Up @@ -220,6 +253,7 @@
"@types/segment-analytics": "0.0.34",
"@types/styled-system__theme-get": "5.0.2",
"@types/valid-url": "1.0.3",
"@types/webextension-polyfill": "0.9.0",
"@types/webpack": "5.28.0",
"@types/webpack-dev-server": "4.5.0",
"@types/zxcvbn": "4.4.1",
Expand All @@ -232,41 +266,38 @@
"chrome-webstore-upload-cli": "1.2.1",
"clean-webpack-plugin": "4.0.0",
"concurrently": "6.5.1",
"conventional-changelog-conventionalcommits": "5.0.0",
"copy-webpack-plugin": "10.2.0",
"cross-env": "7.0.3",
"crypto-browserify": "3.12.0",
"deepmerge": "4.2.2",
"dependency-cruiser": "11.11.0",
"dotenv": "10.0.0",
"download": "8.0.0",
"dotenv-webpack": "8.0.0",
"esbuild": "0.14.7",
"esbuild-loader": "2.18.0",
"eslint-plugin-deprecation": "1.2.1",
"eslint-plugin-react-hooks": "4.3.0",
"file-loader": "6.2.0",
"generate-json-webpack-plugin": "2.0.0",
"glob-parent": "6.0.2",
"html-webpack-plugin": "5.5.0",
"jest": "26.6.3",
"jest-chrome": "0.7.2",
"jest-circus": "27.3.1",
"jest-dev-server": "6.0.0",
"jest-junit": "13.0.0",
"msw": "0.31.0",
"playwright": "1.17.1",
"playwright-chromium": "1.17.1",
"playwright-core": "1.17.1",
"playwright": "1.25.0",
"playwright-chromium": "1.25.0",
"playwright-core": "1.25.0",
"process": "0.11.10",
"progress-bar-webpack-plugin": "2.1.0",
"react-dev-utils": "12.0.0",
"react-refresh": "0.11.0",
"react-test-renderer": "17.0.2",
"redux-devtools-extension": "2.13.9",
"remote-redux-devtools": "0.5.16",
"schema-inspector": "2.0.1",
"speed-measure-webpack-plugin": "1.5.0",
"standard-version": "9.3.0",
"stream-browserify": "3.0.0",
"svg-url-loader": "7.1.1",
"ts-jest": "27.0.7",
"ts-loader": "9.2.6",
"ts-node": "10.4",
Expand All @@ -280,17 +311,14 @@
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.10.0",
"webpack-dev-server": "4.7.0",
"webpack-hot-middleware": "2.25.1",
"yup": "0.32.9"
"webpack-hot-middleware": "2.25.1"
},
"resolutions": {
"**/**/prismjs": "1.27.0",
"**/**/xmldom": "github:xmldom/xmldom#0.7.0",
"@redux-devtools/cli/**/tar": "4.4.18",
"@types/react": "17.0.37",
"@types/react-dom": "17.0.11",
"**/**/@stacks/transactions": "4.3.1",
"async": "2.6.4",
"bn.js": "5.2.0",
"buffer": "6.0.3",
"dot-prop": "6.0.1",
Expand Down
Binary file modified public/assets/images/fund/fiat-providers/coinbase-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/html/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<!DOCTYPE html>
<html class="mode__full-page light">
<!--
Hello! Thanks for showing interest in our code.
Interested in joining our team? To learn more, email us:
wallet@hiro.so
-->
<head>
<meta charset="UTF-8" />
<title><%= htmlWebpackPlugin.options.title %></title>
Expand Down