@exodus/solana-api 2.0.10 → 2.0.11

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/package.json +2 -2
  2. package/src/api.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-api",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "Exodus internal Solana asset API wrapper",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -28,5 +28,5 @@
28
28
  "devDependencies": {
29
29
  "node-fetch": "~2.6.0"
30
30
  },
31
- "gitHead": "319f5292a7b3e06d230a571c109f6d7d40423ff8"
31
+ "gitHead": "3c8f16e5f163cd9d09b0b4cfb3ad852aee8a7fe8"
32
32
  }
package/src/api.js CHANGED
@@ -281,7 +281,7 @@ export class Api {
281
281
  owner,
282
282
  from,
283
283
  to,
284
- amount: amount.abs().toNumber(),
284
+ amount: amount.abs().toString(), // inconsistent with the rest, but it can and did overflow
285
285
  fee: 0,
286
286
  token: tokenAccount,
287
287
  data: {