chore: update redstone-node version

This commit is contained in:
cehali
2022-06-30 12:44:52 +02:00
parent 857f3c84f4
commit e3dce7791c
5 changed files with 3698 additions and 117 deletions

View File

@@ -3,7 +3,7 @@
# The app in the lite mode doesn't store historical data and uses
# memory as a storage instead of Mongo DB
FROM node:14
FROM node:16
WORKDIR /var/task/

View File

@@ -1,5 +1,5 @@
{
"name": "prices-mongo",
"name": "redstone-cache-layer",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
@@ -25,7 +25,7 @@
"lodash": "^4.17.21",
"mongodb-memory-server": "^7.5.1",
"mongoose": "^6.3.4",
"redstone-node": "^0.4.20",
"redstone-node": "^0.4.37",
"yargs": "^17.0.1"
},
"devDependencies": {

View File

@@ -1,4 +1,4 @@
import providers from "redstone-node/dist/src/config/providers.json";
import providers from "redstone-node/dist/src/config/nodes.json";
export const getProviders = () => {
return providers;

View File

@@ -1,5 +1,5 @@
import { Router } from "express";
import providersJson from "redstone-node/dist/src/config/providers.json";
import providersJson from "redstone-node/dist/src/config/nodes.json";
export const providers = (router: Router) => {

3805
yarn.lock

File diff suppressed because it is too large Load Diff