New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pythnetwork/hermes-client

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pythnetwork/hermes-client - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

8

lib/HermesClient.js

@@ -66,3 +66,3 @@ "use strict";

async getPriceFeeds(options) {
const url = new URL("/v2/price_feeds", this.baseURL);
const url = new URL("v2/price_feeds", this.baseURL);
if (options) {

@@ -86,3 +86,3 @@ this.appendUrlSearchParams(url, options);

async getLatestPriceUpdates(ids, options) {
const url = new URL(`${this.baseURL}/v2/updates/price/latest`);
const url = new URL(`v2/updates/price/latest`, this.baseURL);
for (const id of ids) {

@@ -110,3 +110,3 @@ url.searchParams.append("ids[]", id);

async getPriceUpdatesAtTimestamp(publishTime, ids, options) {
const url = new URL(`${this.baseURL}/v2/updates/price/${publishTime}`);
const url = new URL(`v2/updates/price/${publishTime}`, this.baseURL);
for (const id of ids) {

@@ -136,3 +136,3 @@ url.searchParams.append("ids[]", id);

async getPriceUpdatesStream(ids, options) {
const url = new URL("/v2/updates/price/stream", this.baseURL);
const url = new URL("v2/updates/price/stream", this.baseURL);
ids.forEach((id) => {

@@ -139,0 +139,0 @@ url.searchParams.append("ids[]", id);

{
"name": "@pythnetwork/hermes-client",
"version": "1.0.2",
"version": "1.0.3",
"description": "Pyth Hermes Client",

@@ -60,3 +60,3 @@ "author": {

},
"gitHead": "adf0b3ba67b4742ddb4d3ff01059cb891c7fea89"
"gitHead": "dcf7a318e23ca38793d22b2adb7d4b902097f179"
}
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