Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redstone-api

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redstone-api - npm Package Compare versions

Comparing version 0.4.11 to 0.4.12-pre

lib/package.json

6

lib/proxies/cache-proxy.js

@@ -89,5 +89,7 @@ "use strict";

params = {
provider: args.provider,
toTimestamp: args.timestamp,
provider: args.provider
};
if (args.timestamp !== undefined) {
params.toTimestamp = args.timestamp;
}
if (args.symbols !== undefined) {

@@ -94,0 +96,0 @@ params.symbols = args.symbols.join(",");

{
"name": "redstone-api",
"version": "0.4.11",
"version": "0.4.12-pre",
"description": "Javascript library for fetching trusted token pricing data from Redstone data ecosystem",

@@ -17,3 +17,4 @@ "main": "lib/index.js",

"postversion": "git push && git push --tags",
"generate-docs": "typedoc ./src/** --out .exp/docs-typedoc"
"generate-docs": "typedoc ./src/** --out .exp/docs-typedoc",
"pack-package": "yarn build && npm pack"
},

@@ -82,3 +83,3 @@ "repository": {

"arweave-multihost": "^0.1.0",
"axios": "^0.21.1",
"axios": "^1.6.0",
"deep-sort-object": "^1.0.2",

@@ -85,0 +86,0 @@ "lodash": "^4.17.21",

@@ -228,3 +228,3 @@ # Redstone API

```js
const prices = await redstone.getHistoricalPrices("AR", {
const prices = await redstone.getHistoricalPrice("AR", {
offset: 1000,

@@ -231,0 +231,0 @@ limit: 100,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc