🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

redstone-sdk

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redstone-sdk - npm Package Compare versions

Comparing version

to
1.2.0

5

dist/src/data-services-urls.js

@@ -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",

2

dist/test/index.test.js

@@ -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