@exodus/solana-plugin 1.8.0 → 1.8.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-plugin",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Exodus internal Solana asset plugin",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -22,7 +22,7 @@
22
22
  "@exodus/assets": "^9.0.1",
23
23
  "@exodus/bip44-constants": "^195.0.0",
24
24
  "@exodus/solana-api": "^3.4.1",
25
- "@exodus/solana-lib": "^3.2.0",
25
+ "@exodus/solana-lib": "^3.2.2",
26
26
  "@exodus/solana-meta": "^1.0.7",
27
27
  "minimalistic-assert": "^1.0.1",
28
28
  "ms": "^2.1.3"
@@ -30,5 +30,5 @@
30
30
  "devDependencies": {
31
31
  "@exodus/assets-testing": "^1.0.0"
32
32
  },
33
- "gitHead": "7fa370d0fdd120110c54d56e2b528a5464e6f9e5"
33
+ "gitHead": "8f0211c5cbdc7117872f2f910c9b31d7e4e106f0"
34
34
  }
@@ -150,7 +150,7 @@ export const createSolanaAssetFactory =
150
150
  getFeeAsync: async ({ feeData }) => feeData.fee,
151
151
  getFeeData: () => feeData,
152
152
  getSupportedPurposes: () => [44],
153
- getKeyIdentifier: createGetKeyIdentifier({ bip44 }),
153
+ getKeyIdentifier: createGetKeyIdentifier({ bip44, assetName: base.name }),
154
154
  getTokens: () =>
155
155
  Object.values(assets)
156
156
  .filter((asset) => asset.name !== base.name)
@@ -1,7 +1,7 @@
1
1
  import assert from 'minimalistic-assert'
2
2
 
3
3
  export const createGetBalanceForAddress = ({ api, asset }) => {
4
- assert(asset, 'api is required')
4
+ assert(api, 'api is required')
5
5
  assert(asset, 'asset is required')
6
6
  return async (address) => {
7
7
  const accountInfo = await api.getAccountInfo(address)