@exodus/solana-api 2.0.3 → 2.0.4

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 +4 -4
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@exodus/solana-api",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Exodus internal Solana asset API wrapper",
5
5
  "main": "src/index.js",
6
6
  "files": [
7
7
  "src/",
8
- "!src/__tests__"
8
+ "!src/**/__tests__"
9
9
  ],
10
10
  "author": "Exodus",
11
11
  "license": "ISC",
@@ -15,7 +15,7 @@
15
15
  "dependencies": {
16
16
  "@exodus/asset-json-rpc": "^1.0.0",
17
17
  "@exodus/nfts-core": "^0.5.0",
18
- "@exodus/solana-lib": "^1.3.8",
18
+ "@exodus/solana-lib": "^1.3.9",
19
19
  "lodash": "^4.17.11",
20
20
  "url-join": "4.0.0",
21
21
  "wretch": "^1.5.2"
@@ -23,5 +23,5 @@
23
23
  "devDependencies": {
24
24
  "node-fetch": "~1.6.3"
25
25
  },
26
- "gitHead": "a0fdfde1511f31373bc94c8cd12c8bee22757876"
26
+ "gitHead": "3098dfc252a9827e269db9981ab1e81887c2d8aa"
27
27
  }
package/src/index.js CHANGED
@@ -25,7 +25,7 @@ import { magicEden } from '@exodus/nfts-core'
25
25
  const RPC_URL = 'https://solana.a.exodus.io' // https://vip-api.mainnet-beta.solana.com/, https://api.mainnet-beta.solana.com, https://solana-api.projectserum.com
26
26
 
27
27
  // Tokens + SOL api support
28
- class Api {
28
+ export class Api {
29
29
  constructor(rpcUrl) {
30
30
  this.setServer(rpcUrl)
31
31
  this.setTokens(assets)