@exodus/solana-api 2.0.5 → 2.0.6

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-api",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Exodus internal Solana asset API wrapper",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -19,7 +19,7 @@
19
19
  "@exodus/assets-base": "^8.0.139",
20
20
  "@exodus/models": "^8.7.2",
21
21
  "@exodus/nfts-core": "^0.5.0",
22
- "@exodus/solana-lib": "^1.3.10",
22
+ "@exodus/solana-lib": "^1.3.11",
23
23
  "lodash": "^4.17.11",
24
24
  "url-join": "4.0.0",
25
25
  "wretch": "^1.5.2"
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "node-fetch": "~2.6.0"
29
29
  },
30
- "gitHead": "c15c374eaf769d76288023a8573b3b120d8922b0"
30
+ "gitHead": "de10261779745bb46c3fb0ee03821a3527d1d63b"
31
31
  }
package/src/api.js CHANGED
@@ -859,5 +859,3 @@ export class Api {
859
859
  return this.resolveSimulationSideEffects(solAccounts, tokenAccounts)
860
860
  }
861
861
  }
862
-
863
- export default new Api()
package/src/index.js CHANGED
@@ -1,3 +1,9 @@
1
+ import { Api } from './api'
1
2
  export * from './api'
2
3
  export * from './tx-log'
3
4
  export * from './account-state'
5
+
6
+ // At some point we would like to exclude this export. Default export should be the whole asset "plugin" ready to be injected.
7
+ // Clients should not call an specific server api directly.
8
+ const serverApi = new Api()
9
+ export default serverApi