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

opensea-scraper

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opensea-scraper - npm Package Compare versions

Comparing version 6.5.1 to 6.5.2

2

demo.js

@@ -19,3 +19,3 @@ const OpenseaScraper = require("./src/index.js");

browserInstance: undefined,
}
};
console.log(`===>>> ${slug} <<<===`);

@@ -22,0 +22,0 @@ console.log("OPTIONS:");

{
"name": "opensea-scraper",
"version": "6.5.1",
"version": "6.5.2",
"description": "Scraping floor prices from opensea.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -154,8 +154,8 @@ // puppeteer-extra is a drop-in replacement for puppeteer,

const floorPrices = Object.values(__wired__.records)
.filter(o => o.__typename === "AssetQuantityType")
.filter(o => o.quantityInEth)
.filter(o => o.__typename === "PriceType" && o.eth && o.unit && o.usd)
.filter(o => o.eth)
.map(o => {
return {
amount: o.quantity / 1000000000000000000,
currency: currencyDict[o.asset.__ref].symbol,
amount: o.eth,
currency: 'ETH',
}

@@ -162,0 +162,0 @@ });

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