@exodus/solana-api 3.7.0 → 3.7.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/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.7.1](https://github.com/ExodusMovement/assets/compare/@exodus/solana-api@3.7.0...@exodus/solana-api@3.7.1) (2024-06-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * load staking for solana when useMeMonitor === false ([#2576](https://github.com/ExodusMovement/assets/issues/2576)) ([d456333](https://github.com/ExodusMovement/assets/commit/d456333bc31618f0bb5c7bac4b0781b667671d6c))
12
+
13
+
14
+
6
15
  ## [3.7.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-api@3.6.2...@exodus/solana-api@3.7.0) (2024-06-13)
7
16
 
8
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-api",
3
- "version": "3.7.0",
3
+ "version": "3.7.1",
4
4
  "description": "Exodus internal Solana asset API wrapper",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -46,7 +46,7 @@
46
46
  "@exodus/assets-testing": "^1.0.0",
47
47
  "@solana/web3.js": "^1.91.8"
48
48
  },
49
- "gitHead": "0703f508ef7b1a34bc99f910e6220989382abc00",
49
+ "gitHead": "0e8199a46a01cc6b44d8256ae73d51cb4829175a",
50
50
  "bugs": {
51
51
  "url": "https://github.com/ExodusMovement/assets/issues?q=is%3Aissue+is%3Aopen+label%3Asolana-api"
52
52
  },
@@ -50,7 +50,7 @@ export class MeSolanaMonitor extends SolanaMonitor {
50
50
  }
51
51
 
52
52
  isStakingEnabled() {
53
- return this.staking.enabled
53
+ return !this.useMeMonitor
54
54
  }
55
55
 
56
56
  async getTokenAccounts({ address }) {
@@ -97,7 +97,7 @@ export class MeSolanaMonitor extends SolanaMonitor {
97
97
 
98
98
  async getAccount({ address, staking, tokenAccounts }) {
99
99
  if (!this.useMeMonitor) {
100
- return super.getAccount({ address })
100
+ return super.getAccount({ address, staking, tokenAccounts })
101
101
  }
102
102
 
103
103
  const tokens = this.getTokens()