redstone-sdk
Advanced tools
Comparing version
@@ -6,2 +6,7 @@ "use strict"; | ||
exports.REDSTONE_DATA_SERVICES_URLS = { | ||
"redstone-primary-prod": [ | ||
"https://oracle-gateway-1.a.redstone.finance", | ||
"https://oracle-gateway-2.a.redstone.finance", | ||
], | ||
// TODO: NOT DEPLOYED YET "redstone-primary-demo": [], | ||
"redstone-avalanche-prod": [ | ||
@@ -8,0 +13,0 @@ "https://oracle-gateway-1.a.redstone.finance", |
@@ -18,3 +18,3 @@ "use strict"; | ||
const state = await (0, src_1.getOracleRegistryState)(); | ||
expect(Object.keys(state.dataServices).length).toBe(8); | ||
expect(Object.keys(state.dataServices).length).toBeGreaterThanOrEqual(9); | ||
expect(state.dataServices).toHaveProperty("redstone-stocks-demo"); | ||
@@ -21,0 +21,0 @@ }); |
{ | ||
"name": "redstone-sdk", | ||
"prettier": "redstone-prettier-config", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"main": "dist/src/index.js", | ||
@@ -6,0 +6,0 @@ "types": "dist/src/index.d.ts", |
const DEMO_URL = "https://d33trozg86ya9x.cloudfront.net"; | ||
export const REDSTONE_DATA_SERVICES_URLS: Record<string, string[]> = { | ||
"redstone-primary-prod": [ | ||
"https://oracle-gateway-1.a.redstone.finance", | ||
"https://oracle-gateway-2.a.redstone.finance", | ||
], | ||
// TODO: NOT DEPLOYED YET "redstone-primary-demo": [], | ||
"redstone-avalanche-prod": [ | ||
@@ -5,0 +10,0 @@ "https://oracle-gateway-1.a.redstone.finance", |
@@ -24,3 +24,3 @@ import { | ||
const state = await getOracleRegistryState(); | ||
expect(Object.keys(state.dataServices).length).toBe(8); | ||
expect(Object.keys(state.dataServices).length).toBeGreaterThanOrEqual(9); | ||
expect(state.dataServices).toHaveProperty("redstone-stocks-demo"); | ||
@@ -27,0 +27,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
186230
0.04%878
1.15%