redstone-api
Advanced tools
Comparing version 0.4.11 to 0.4.12-pre
@@ -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, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14311
356774
47
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.7.7(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
Updatedaxios@^1.6.0