edge-currency-accountbased 4.2.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +9 -5
  3. package/android/src/main/assets/edge-currency-accountbased/2090.chunk.js +527 -0
  4. package/android/src/main/assets/edge-currency-accountbased/2100.chunk.js +1 -0
  5. package/android/src/main/assets/edge-currency-accountbased/2428.chunk.js +1 -1
  6. package/android/src/main/assets/edge-currency-accountbased/2734.chunk.js +8 -0
  7. package/android/src/main/assets/edge-currency-accountbased/{2701.chunk.js → 3753.chunk.js} +11 -11
  8. package/android/src/main/assets/edge-currency-accountbased/5234.chunk.js +2 -2
  9. package/android/src/main/assets/edge-currency-accountbased/5336.chunk.js +7 -7
  10. package/android/src/main/assets/edge-currency-accountbased/5836.chunk.js +1 -1
  11. package/android/src/main/assets/edge-currency-accountbased/6341.chunk.js +11 -11
  12. package/android/src/main/assets/edge-currency-accountbased/7202.chunk.js +17 -17
  13. package/android/src/main/assets/edge-currency-accountbased/794.chunk.js +1 -0
  14. package/android/src/main/assets/edge-currency-accountbased/8193.chunk.js +3 -3
  15. package/android/src/main/assets/edge-currency-accountbased/edge-currency-accountbased.js +2 -2
  16. package/android/src/main/assets/edge-currency-accountbased/hedera.chunk.js +1 -2
  17. package/android/src/main/assets/edge-currency-accountbased/solana.chunk.js +1 -1
  18. package/android/src/main/assets/edge-currency-accountbased/stellar.chunk.js +1 -1
  19. package/android/src/main/assets/edge-currency-accountbased/tron.chunk.js +1 -1
  20. package/android/src/main/assets/edge-currency-accountbased/zcash.chunk.js +4 -3
  21. package/lib/common/smartPay.js +6 -6
  22. package/lib/ethereum/info/binancesmartchainInfo.js +8 -0
  23. package/lib/ethereum/info/ethereumInfo.js +24 -0
  24. package/lib/ethereum/info/polygonInfo.js +8 -0
  25. package/lib/ethereum/info/zksyncInfo.js +16 -0
  26. package/lib/hedera/HederaEngine.js +47 -199
  27. package/lib/hedera/HederaTools.js +21 -45
  28. package/lib/hedera/hederaInfo.js +2 -5
  29. package/lib/hedera/hederaTestnetInfo.js +2 -4
  30. package/lib/hedera/hederaTypes.js +1 -28
  31. package/lib/hedera/hederaUtils.js +1 -8
  32. package/lib/polkadot/info/liberlandInfo.js +4 -1
  33. package/lib/react-native.js +3 -0
  34. package/lib/zcash/ZcashEngine.js +68 -17
  35. package/lib/zcash/zcashTypes.js +3 -0
  36. package/package.json +4 -4
  37. package/android/src/main/assets/edge-currency-accountbased/1094.chunk.js +0 -8
  38. package/android/src/main/assets/edge-currency-accountbased/7481.chunk.js +0 -34
package/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 4.3.0 (2024-04-22)
6
+
7
+ - added: (Zcash) Orchard pool support
8
+ - added: (Zcash) ZIP-317 dynamic fee support
9
+ - added: (Hedera) Replace account purchase with auto account creation
10
+ - added: Ethereum default tokens AXS, COTI, and GMT
11
+ - added: Binance Smart Chain default token AAVE
12
+ - added: Polygon default token VOXEL
13
+ - added: zkSync default tokens DAI and USDT
14
+ - changed: Updated Liberland rpc list
15
+ - changed: Update Smartpay cleaners to match API changes
16
+
5
17
  ## 4.2.0 (2024-04-09)
6
18
 
7
19
  - added: Expose the modern `customFeeTemplate` fields on the relevant currency infos.
package/README.md CHANGED
@@ -8,7 +8,7 @@ These are compatible with edge-core-js v0.21.2 or later.
8
8
 
9
9
  ## Installing
10
10
 
11
- Fist, add this library to your project:
11
+ First, add this library to your project:
12
12
 
13
13
  ```sh
14
14
  npm i -s edge-currency-accountbased
@@ -49,14 +49,18 @@ and then adjust your script URL to http://localhost:8082/edge-currency-accountba
49
49
 
50
50
  ### React Native
51
51
 
52
- This package will automatically install itself using React Native autolinking. To integrate the plugins with edge-core-js, add its URI to the context component:
52
+ In addition to installing `edge-currency-accountbased`, you must also install
53
+ Zcash and Pirate Chain React Native libraries as peer dependencies
54
+ Follow the instructions in the [Zcash React Native](https://www.npmjs.com/package/react-native-zcash) and [Pirate Chain React Native](https://www.npmjs.com/package/react-native-piratechain) packages to install the required native dependencies.
55
+
56
+ The `edge-currency-accountbased` package will automatically install itself using React Native autolinking.
57
+ To integrate the plugins with edge-core-js, add its URI to the context component:
53
58
 
54
59
  ```jsx
55
60
  import { pluginUri, makePluginIo } from 'edge-currency-accountbased'
56
-
57
61
  <MakeEdgeContext
58
62
  nativeIo={{
59
- 'edge-currency-accountbased': makePluginIo(),
63
+ 'edge-currency-accountbased': makePluginIo()
60
64
  }}
61
65
  pluginUris={[pluginUri]}
62
66
  // Plus other props as required...
@@ -89,7 +93,7 @@ You can also do `updot edge-currency-accountbased` from within `edge-react-gui`
89
93
  Please note that our team considers (but does not guarantee) PR's to add new currencies / blockchains to this repo's master branch (included into production version of Edge Wallet). Among other requirements the code must satisfy the following guidelines:
90
94
 
91
95
  - Rebase of your branch upon this repo's `master` branch. For more info:
92
- https://github.com/edx/edx-platform/wiki/How-to-Rebase-a-Pull-Request
96
+ https://github.com/edx/edx-platform/wiki/How-to-Rebase-a-Pull-Request
93
97
 
94
98
  ### Naming Convention
95
99