@pioneer-platform/solana-network 8.11.4 → 8.11.5

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.
@@ -1 +1,2 @@
1
- $ tsc -p .
1
+
2
+ $ tsc -p .
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @pioneer-platform/solana-network
2
2
 
3
+ ## 8.11.5
4
+
5
+ ### Patch Changes
6
+
7
+ - chore: fix: move @types/pdfkit to dependencies for Docker --production build
8
+
3
9
  ## 8.11.4
4
10
 
5
11
  ### Patch Changes
package/lib/index.js CHANGED
@@ -63,8 +63,11 @@ var Axios = axiosLib.default || axiosLib;
63
63
  var https = require('https');
64
64
  var log = require('@pioneer-platform/loggerdog')();
65
65
  var _a = require('@solana/web3.js'), Connection = _a.Connection, PublicKey = _a.PublicKey, Transaction = _a.Transaction, SystemProgram = _a.SystemProgram, LAMPORTS_PER_SOL = _a.LAMPORTS_PER_SOL;
66
- // Default Solana mainnet RPC
67
- var DEFAULT_RPC_URL = "https://api.mainnet-beta.solana.com";
66
+ // Default Solana mainnet RPC (NOWNodes with API key from env)
67
+ var NOWNODES_API_KEY = process.env.NOWNODES_API_KEY;
68
+ var DEFAULT_RPC_URL = NOWNODES_API_KEY
69
+ ? "https://sol.nownodes.io/".concat(NOWNODES_API_KEY)
70
+ : "https://api.mainnet-beta.solana.com";
68
71
  // Network constants
69
72
  exports.NETWORK_ID = 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp';
70
73
  exports.CHAIN_SYMBOL = 'SOL';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/solana-network",
3
- "version": "8.11.4",
3
+ "version": "8.11.5",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "description": "Pioneer Platform Solana Network module",