@dhedge/backend-flatcoin-core 0.3.22 → 0.3.23

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.
@@ -17,11 +17,11 @@ let AppPriceService = class AppPriceService {
17
17
  constructor(connection, logger) {
18
18
  this.connection = connection;
19
19
  this.logger = logger;
20
- if (process.env.PYTH_NETWORK_ETH_USD_PRICE_ID) {
21
- this.priceIds = [process.env.PYTH_NETWORK_ETH_USD_PRICE_ID];
20
+ if (process.env.PYTH_NETWORK_PRICE_ID) {
21
+ this.priceIds = [process.env.PYTH_NETWORK_PRICE_ID];
22
22
  }
23
23
  else {
24
- throw new Error('env property PYTH_NETWORK_ETH_USD_PRICE_ID is not configured');
24
+ throw new Error('env property PYTH_NETWORK_PRICE_ID is not configured');
25
25
  }
26
26
  }
27
27
  async getPriceUpdates() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhedge/backend-flatcoin-core",
3
- "version": "0.3.22",
3
+ "version": "0.3.23",
4
4
  "description": "Backend Flatcoin Core",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",