Skip to content

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
peachbits committed Nov 8, 2023
2 parents 99a6e2d + 4c0a9b5 commit be276dd
Show file tree
Hide file tree
Showing 90 changed files with 4,495 additions and 1,389 deletions.
40 changes: 33 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

## Unreleased

## 3.21.0

- added: Paybis buy/sell in Brazil, Columbia, and Mexico
- added: EdgeTxAction information to Transaction List
- added: "Paused Wallet" visual indicator on wallet list
- added: Paybis sell to debit card
- added: Signup captcha experiment.
- added: Re-enable Faster Payments buy support
- changed: Change FlipInput styling to make the edit functionality more obvious
- changed: Enable max spend for Filecoin
- changed: Move asset-specific settings into their own settings page
- changed: Experiment config probability distribution support percentage based values
- changed: Added border to Promo Card
- fixed: Write updated experiment configs to disk
- fixed: Auto Logoff picker text color for Android Light OS theme
- fixed: Fallback language selection for Asset Status Card
- fixed: Version-specific targetting for Asset Status Card
- removed: Moonpay sell via ACH
- removed: Banxa buy via Pix

## 3.20.0

- added: Banxa purchase with iDEAL
Expand All @@ -11,6 +31,7 @@
- changed: Banxa sell to use new widget
- changed: Replace deprecated memo handling with `EdgeMemo` in SendScene2
- changed: Re-enable Piratechain
- changed: Remove price-change push notification subscriptions for keys-only currencies
- fixed: Crash in react-native-linear-gradient when app built with Xcode 15

## 3.19.0
Expand Down Expand Up @@ -38,7 +59,7 @@
- fixed: Turning off 'Dark Mode' causes crash
- removed: 'Add/Edit Tokens" option for token rows

## 3.18.0 (2023-09+22)
## 3.18.0 (2023-09-22)

- added: Velodrome v2 staking poolsdded: Display memos in transaction details scene
- added: Buy PEPE from Simplex
Expand Down Expand Up @@ -246,7 +267,7 @@
- changed: Disable Firebase AD ID
- changed: Upgrade to ESLint v8
- removed: Unused React-based partner plugins
- fixed: Rename "View Xpub address" to "Private View Key" for Pirate Chain and Zcash
- fixed: Rename "View Xpub address" to "Private View Key" for Pirate Chain and Zcash
- fixed: Private view key modal warning text for other currencies besides Monero
- fixed: Handle unhandled promises
- fixed: Wallet list row sync circle component recycling
Expand Down Expand Up @@ -341,7 +362,7 @@
- Fixed: Fix broken max-spend for zkSync
- Deprecate WalletConnect v1
- EVM/ALGO: Add parseWalletConnectV2Payload to parse out amounts from WalletConnect v2 payloads
ZEC: Update checkpoints
ZEC: Update checkpoints
- Upgrade edge-login-ui-rn to v2.3.3
- fixed: Modal close button covering modal submit buttons while Android keyboard is open
- fixed: Username availability check error would incorrectly show in some cases
Expand Down Expand Up @@ -841,6 +862,7 @@ ZEC: Update checkpoints
- changed: Make sensitive account & wallet properties, like keys, non-enumerable.
- changed: Use the pluginId as the wallet logging prefix, instead of the currency code.
- Upgrade edge-currency-accountbased to v0.22.4

- Convert library to React Native Module
- This package will automatically install itself using React Native autolinking and no longer requires Webpack for integration
- Plugins are broken out and can be loaded individually
Expand All @@ -867,6 +889,7 @@ ZEC: Update checkpoints
- EVM: Remove recursion from getMaxSpendable
- Replace remaining json-schema usage with cleaners
- Update checkpoint files

- Upgrade edge-currency-monero to v0.5.5
- Add getMaxSpendable
- Upgrade edge-core-js to v0.19.36
Expand Down Expand Up @@ -1321,7 +1344,7 @@ ZEC: Update checkpoints
- LetsExchange: Fix min amount currency display
- Upgrade edge-core-js to v0.19.23
- Upgrade edge-login-ui-rn v0.10.7
changed: Update forget account description text
changed: Update forget account description text
- changed: Update PIN description text
- changed: Add titles for resecure password/pin scenes
- changed: Add SKIP button for resecure password and pin scenes
Expand Down Expand Up @@ -1460,7 +1483,7 @@ ZEC: Update checkpoints
- Fix FTM network fees test
- Fix ftmInfo.js filename
- Add timeout to getSupportedCurrencies test to prevent hanging
Upgrade edge-currency-bitcoin to v4.9.23
Upgrade edge-currency-bitcoin to v4.9.23
- DASH: Recognize the Instantlock for incoming Dash transactions
- Work around Android PBKDF2 failures
- Upgrade edge-currency-monero to v0.4.1
Expand Down Expand Up @@ -2278,7 +2301,7 @@ Upgrade edge-currency-bitcoin to v4.9.23
- Upgrade to edge-core-js v0.17.29
- Upgrade to Webpack 5
- Upgrade edge-login-ui-rn to v0.9.0
- *Breaking change*: This release contains a breaking change that was not indicated in the minor version update:
- _Breaking change_: This release contains a breaking change that was not indicated in the minor version update:
- rn: Prompt for notification permissions to support security features
- rn: Update modal colors
- Upgrade edge-currency-monero to v0.2.10
Expand Down Expand Up @@ -2979,7 +3002,8 @@ Upgrade edge-currency-bitcoin to v4.9.23
- New transaction details screen
- Enhanced deeplinking capabilities
- Bug fixes and visual enhancements
- ***BREAKING CHANGE*** Upgrade edge-core-js to v0.17.0
- **_BREAKING CHANGE_** Upgrade edge-core-js to v0.17.0

- This release also renames all `pluginName` instances to `pluginId`. This affects all plugin types, but the core contains compatibility code so old currency plugins continue working (but not for rate or swap plugins, which are easier to just upgrade).
- Breaking changes to the swap API:
- Return a new `EdgeSwapResult` structure from `EdgeSwapQuote.approve`. This now contains the `destinationAddress` and `orderId` that used to exist on the `EdgeSwapQuote` type.
Expand All @@ -2996,11 +3020,13 @@ Upgrade edge-currency-bitcoin to v4.9.23
- Remove deprecated `EdgeIo.WebSocket`.

- Upgrade edge-exchange-plugins to v0.10.2

- Add Switchain swap plugin.
- Pass promo codes to Changelly, ChangeNow, and Godex.
- Fix ChangeNow on Android & add better logging.

- Upgrade edge-currency-accountbased to v0.7.2

- Add cleaners v0.2.0 type checking
- Fix duplicate FIO address after registration
- Reprioritize EOS Hyperion nodes to resolve transaction history view issue
Expand Down
26 changes: 16 additions & 10 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ PODS:
- disklet (0.5.2):
- React
- DoubleConversion (1.1.6)
- edge-core-js (1.9.0):
- edge-core-js (1.11.0):
- React-Core
- edge-currency-accountbased (2.7.2):
- edge-currency-accountbased (2.9.3):
- React-Core
- edge-login-ui-rn (2.14.1):
- edge-exchange-plugins (1.0.1):
- React-Core
- edge-login-ui-rn (2.17.1):
- React
- FBLazyVector (0.71.11)
- FBReactNativeSpec (0.71.11):
Expand Down Expand Up @@ -497,7 +499,7 @@ PODS:
- React-Core
- react-native-netinfo (8.3.0):
- React-Core
- react-native-piratechain (0.4.0):
- react-native-piratechain (0.4.1):
- gRPC-Swift (~> 1.8)
- MnemonicSwift (~> 2.2)
- React-Core
Expand All @@ -512,7 +514,7 @@ PODS:
- ReactCommon/turbomodule/core
- react-native-webview (13.2.2):
- React-Core
- react-native-zcash (0.6.4):
- react-native-zcash (0.6.5):
- gRPC-Swift (~> 1.8)
- MnemonicSwift (~> 2.2)
- React-Core
Expand Down Expand Up @@ -858,6 +860,7 @@ DEPENDENCIES:
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- edge-core-js (from `../node_modules/edge-core-js`)
- edge-currency-accountbased (from `../node_modules/edge-currency-accountbased`)
- edge-exchange-plugins (from `../node_modules/edge-exchange-plugins`)
- edge-login-ui-rn (from `../node_modules/edge-login-ui-rn`)
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
Expand Down Expand Up @@ -1041,6 +1044,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/edge-core-js"
edge-currency-accountbased:
:path: "../node_modules/edge-currency-accountbased"
edge-exchange-plugins:
:path: "../node_modules/edge-exchange-plugins"
edge-login-ui-rn:
:path: "../node_modules/edge-login-ui-rn"
FBLazyVector:
Expand Down Expand Up @@ -1218,9 +1223,10 @@ SPEC CHECKSUMS:
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
disklet: e7ed3e673ccad9d175a1675f9f3589ffbf69a5fd
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
edge-core-js: 4cd9ce2265c6f937d3d54d0cd546555ac0c1c074
edge-currency-accountbased: f387351150eb88357fa11b451fd16599b65a1aa1
edge-login-ui-rn: 7ecda4499b7cfba19b4f87775f7980d88a1b2d7a
edge-core-js: 48b390da31ef71c2ac09330ade6a187dc92b3edc
edge-currency-accountbased: c3ccdd8e193847f5e5229ecf9217122b2728732a
edge-exchange-plugins: 7baa8f14b42e820b7c3cbe0eb4b2032660a536c8
edge-login-ui-rn: a7c217aa8f26777f1d9e21a0044d99bcfdc3d3c6
FBLazyVector: c511d4cd0210f416cb5c289bd5ae6b36d909b048
FBReactNativeSpec: a911fb22def57aef1d74215e8b6b8761d25c1c54
Firebase: 5f8193dff4b5b7c5d5ef72ae54bb76c08e2b841d
Expand Down Expand Up @@ -1284,11 +1290,11 @@ SPEC CHECKSUMS:
react-native-mail: 8fdcd3aef007c33a6877a18eb4cf7447a1d4ce4a
react-native-mymonero-core: 780bf854f27a0a905bcef5e7757d2de0a15b4408
react-native-netinfo: 3671b091c4843fda5e153612866ef4024b8f5d62
react-native-piratechain: da117c2a088cb6af7b9aa0ec1dba8f78a490a526
react-native-piratechain: 7792ff8c70014bfff3c031643fc2ee800f841ccd
react-native-safari-view: 955d7160d159241b8e9395d12d10ea0ef863dcdd
react-native-safe-area-context: 68b07eabfb0d14547d36f6929c0e98d818064f02
react-native-webview: b8ec89966713985111a14d6e4bf98d8b54bced0d
react-native-zcash: 0caf6a9d14eeaa5e267e27c9d7c214af87275050
react-native-zcash: 94d568a36387f8942e900f72089efe22332bff48
React-perflogger: e706562ab7eb8eb590aa83a224d26fa13963d7f2
React-RCTActionSheet: 57d4bd98122f557479a3359ad5dad8e109e20c5a
React-RCTAnimation: ccf3ef00101ea74bda73a045d79a658b36728a60
Expand Down
1 change: 1 addition & 0 deletions jestSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jest.mock('react-native/Libraries/Utilities/Platform', () => ({
isTVOS: false,
isTV: false,
constants: {
osVersion: '17',
reactNativeVersion: {
major: 0,
minor: 67
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "edge-react-gui",
"version": "3.20.0",
"version": "3.21.0",
"private": true,
"description": "Edge Wallet React GUI",
"homepage": "https://edge.app",
Expand Down Expand Up @@ -138,13 +138,13 @@
"deepmerge": "^4.3.1",
"detect-bundler": "^1.1.0",
"disklet": "^0.5.2",
"edge-core-js": "^1.9.0",
"edge-currency-accountbased": "^2.7.2",
"edge-core-js": "^1.11.0",
"edge-currency-accountbased": "^2.9.3",
"edge-currency-monero": "^1.1.1",
"edge-currency-plugins": "^2.3.0",
"edge-exchange-plugins": "^0.21.11",
"edge-info-server": "^1.0.1",
"edge-login-ui-rn": "^2.14.1",
"edge-currency-plugins": "^2.4.1",
"edge-exchange-plugins": "^1.0.1",
"edge-info-server": "^1.0.2",
"edge-login-ui-rn": "^2.17.1",
"ethers": "^5.6.0",
"paraswap": "^5.2.0",
"prompts": "^2.4.2",
Expand Down Expand Up @@ -177,7 +177,7 @@
"react-native-mymonero-core": "^0.3.1",
"react-native-patina": "^0.1.6",
"react-native-permissions": "^3.8.3",
"react-native-piratechain": "^0.4.0",
"react-native-piratechain": "^0.4.1",
"react-native-popup-menu": "^0.16.1",
"react-native-reanimated": "^3.3.0",
"react-native-safari-view": "^2.1.0",
Expand All @@ -189,7 +189,7 @@
"react-native-svg": "^13.9.0",
"react-native-vector-icons": "^7.1.0",
"react-native-webview": "^13.2.2",
"react-native-zcash": "^0.6.4",
"react-native-zcash": "^0.6.5",
"react-redux": "^8.1.1",
"redux": "^4.2.1",
"redux-flipper": "^2.0.1",
Expand Down
12 changes: 11 additions & 1 deletion scripts/hack-travis.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,18 @@ editFile('package.json', text =>
.replace(/"eosjs-api".*/, '')
)

fs.writeFileSync(
'src/edge-currency-accountbased.d.ts',
`declare module 'edge-currency-accountbased' {
export function makePluginIo(): any
export const debugUri: string
export const pluginUri: string
}
`,
'utf8'
)

editFile('scripts/prepare.sh', text =>
text //
.replace(/cp -r node_modules\/edge-currency-accountbased.*/g, '')
.replace(/node .\/node_modules\/.bin\/webpack/, '')
)
15 changes: 0 additions & 15 deletions scripts/html/paybis.html

This file was deleted.

15 changes: 0 additions & 15 deletions scripts/html/paybisSandbox.html

This file was deleted.

23 changes: 5 additions & 18 deletions src/__tests__/__snapshots__/GuiPlugins.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -166,20 +166,6 @@ Settlement: 1 - 48 hours",

exports[`Production plugin data Buy plugins match snapshot on iOS + US 1`] = `
[
{
"cryptoCodes": [],
"deepPath": "",
"deepQuery": {},
"description": "Fee: 4-5%
Settlement: 1 - 4 days",
"paymentType": "iach",
"paymentTypeLogoKey": "bank",
"paymentTypes": [
"iach",
],
"pluginId": "iach",
"title": "ACH Bank Transfer",
},
{
"cryptoCodes": [],
"deepPath": "",
Expand Down Expand Up @@ -234,14 +220,15 @@ exports[`Production plugin data Sell plugins match snapshot on iOS + US 1`] = `
"cryptoCodes": [],
"deepPath": "",
"deepQuery": {},
"description": "Fee: 4-5% / Settlement: 1 - 4 days",
"partnerIconPath": "moonpay_symbol_prp.png",
"description": "Fee: 2.5%
Settlement: 5 min - 24 hours",
"paymentType": "credit",
"paymentTypeLogoKey": "bank",
"paymentTypes": [
"credit",
],
"pluginId": "moonpay",
"title": "ACH Bank Transfer",
"pluginId": "debit",
"title": "Bank Transfer via Debit Card",
},
{
"cryptoCodes": [
Expand Down
Loading

0 comments on commit be276dd

Please sign in to comment.