@exodus/ethereum-lib 0.0.9 → 0.1.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 (2) hide show
  1. package/lib/utils.js +2 -1
  2. package/package.json +2 -2
package/lib/utils.js CHANGED
@@ -35,7 +35,8 @@ function currency2buffer(value) {
35
35
  const b10Value = value.toBase().floor() // probably not necessary, but to be safe
36
36
  .toString({
37
37
  unit: false
38
- });
38
+ }); // Desktop: const hexValue = value.toBase()._number.toString(16)
39
+
39
40
  const hexValue = base16.encode(base10.decode(b10Value));
40
41
 
41
42
  if (hexValue.includes('.')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-lib",
3
- "version": "0.0.9",
3
+ "version": "0.1.0",
4
4
  "description": "Ethereum Library",
5
5
  "main": "lib/index.js",
6
6
  "files": [
@@ -22,5 +22,5 @@
22
22
  "devDependencies": {
23
23
  "@exodus/assets": "8.0.x"
24
24
  },
25
- "gitHead": "82f045d72b69ea29985e824389401c394f209a1d"
25
+ "gitHead": "4deb44ad3f254f99315cbc777ac758f7f443c821"
26
26
  }