@cityofzion/bs-solana 3.1.18 → 3.1.19

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.
@@ -15,19 +15,19 @@ BSSolanaConstants.PUBLIC_RPC_LIST_BY_NETWORK_ID = {
15
15
  devnet: 'https://api.devnet.solana.com',
16
16
  };
17
17
  BSSolanaConstants.RPC_LIST_BY_NETWORK_ID = {
18
- 'mainnet-beta': [`${blockchain_service_1.BSCommonConstants.COZ_API_URL}/api/v2/solana/meta/mainnet`],
19
- devnet: [`${blockchain_service_1.BSCommonConstants.COZ_API_URL}/api/v2/solana/meta/devnet`],
18
+ 'mainnet-beta': [`${blockchain_service_1.BSCommonConstants.COZ_API_URL}/v2/p/solana/meta/mainnet`],
19
+ devnet: [`${blockchain_service_1.BSCommonConstants.COZ_API_URL}/v2/p/solana/meta/devnet`],
20
20
  };
21
21
  BSSolanaConstants.MAINNET_NETWORK = {
22
22
  id: 'mainnet-beta',
23
- name: 'Mainnet Beta',
23
+ name: 'Mainnet (beta)',
24
24
  url: _a.RPC_LIST_BY_NETWORK_ID['mainnet-beta'][0],
25
25
  type: 'mainnet',
26
26
  };
27
27
  BSSolanaConstants.TESTNET_NETWORK = {
28
28
  id: 'devnet',
29
29
  name: 'Devnet',
30
- url: _a.RPC_LIST_BY_NETWORK_ID['devnet'][0],
30
+ url: _a.RPC_LIST_BY_NETWORK_ID.devnet[0],
31
31
  type: 'testnet',
32
32
  };
33
33
  BSSolanaConstants.ALL_NETWORKS = [_a.MAINNET_NETWORK, _a.TESTNET_NETWORK];
@@ -28,7 +28,7 @@ class MoralisEDSSolana extends blockchain_service_1.CryptoCompareEDS {
28
28
  _MoralisEDSSolana_pairAddressCache.set(this, new Map());
29
29
  __classPrivateFieldSet(this, _MoralisEDSSolana_service, service, "f");
30
30
  __classPrivateFieldSet(this, _MoralisEDSSolana_client, axios_1.default.create({
31
- baseURL: `${blockchain_service_1.BSCommonConstants.COZ_API_URL}/api/v2/solana/price`,
31
+ baseURL: `${blockchain_service_1.BSCommonConstants.COZ_API_URL}/v2/p/solana/price`,
32
32
  }), "f");
33
33
  }
34
34
  async getTokenPrices({ tokens }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cityofzion/bs-solana",
3
- "version": "3.1.18",
3
+ "version": "3.1.19",
4
4
  "repository": "https://github.com/CityOfZion/blockchain-services",
5
5
  "license": "MIT",
6
6
  "author": "Coz",
@@ -18,7 +18,7 @@
18
18
  "axios": "1.16.0",
19
19
  "date-fns": "~4.1.0",
20
20
  "zod": "~4.4.3",
21
- "@cityofzion/blockchain-service": "3.1.18"
21
+ "@cityofzion/blockchain-service": "3.1.19"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@ledgerhq/hw-transport-node-hid": "~6.33.1",