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

opensea-js

Package Overview
Dependencies
Maintainers
4
Versions
302
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opensea-js - npm Package Compare versions

Comparing version 7.0.6 to 7.0.7

2

lib/constants.js

@@ -14,3 +14,2 @@ "use strict";

const SHARED_STOREFRONT_ADDRESS_MAINNET = "0x495f947276749ce646f68ac8c248420045cb7b5e";
const SHARED_STOREFRONT_ADDRESS_GOERLI = "0x804159144aefb1dc17b171afcefa5b33746c722f";
const SHARED_STOREFRONT_ADDRESS_POLYGON = "0x2953399124f0cbb46d2cbacd8a89cf0599974963";

@@ -20,3 +19,2 @@ const SHARED_STOREFRONT_ADDRESS_KLAYTN = "0x5bc519d852f7ca2c8cf2d095299d5bb2d13f02c9";

SHARED_STOREFRONT_ADDRESS_MAINNET,
SHARED_STOREFRONT_ADDRESS_GOERLI,
SHARED_STOREFRONT_ADDRESS_POLYGON,

@@ -23,0 +21,0 @@ SHARED_STOREFRONT_ADDRESS_KLAYTN,

@@ -119,4 +119,2 @@ import { BigNumberish } from "ethers";

Zora = "zora",
/** Goerli */
Goerli = "goerli",
/** Sepolia */

@@ -123,0 +121,0 @@ Sepolia = "sepolia",

@@ -84,4 +84,2 @@ "use strict";

// ⚠️NOTE: When adding to this list, also add to the util function `isTestChain`
/** Goerli */
Chain["Goerli"] = "goerli";
/** Sepolia */

@@ -88,0 +86,0 @@ Chain["Sepolia"] = "sepolia";

2

lib/utils/utils.d.ts

@@ -28,3 +28,3 @@ import { ItemType } from "@opensea/seaport-js/lib/constants";

export declare const getAssetItemType: (tokenStandard: TokenStandard) => ItemType.ERC20 | ItemType.ERC721 | ItemType.ERC1155;
export declare const getWETHAddress: (chain: Chain) => "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" | "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619" | "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa" | "0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6" | "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14" | "0xfd844c2fca5e595004b17615f891620d1cb9bbb2" | "0x9330dd6713c8328a8d82b14e3f60a0f0b4cc7bfb" | "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7" | "0xd00ae08403B9bbb9124bB305C09058E32C39A48c" | "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c" | "0xae13d989dac2f0debff460ac112a837c89baa7cd" | "0x82af49447d8a07e3bd95bd0d56f35241523fbab1" | "0x722e8bdd2ce80a4422e880164f2079488e115365" | "0x980b62da83eff3d4576c647993b0c1d7faf17c73" | "0x4200000000000000000000000000000000000006";
export declare const getWETHAddress: (chain: Chain) => "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" | "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619" | "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa" | "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14" | "0xfd844c2fca5e595004b17615f891620d1cb9bbb2" | "0x9330dd6713c8328a8d82b14e3f60a0f0b4cc7bfb" | "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7" | "0xd00ae08403B9bbb9124bB305C09058E32C39A48c" | "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c" | "0xae13d989dac2f0debff460ac112a837c89baa7cd" | "0x82af49447d8a07e3bd95bd0d56f35241523fbab1" | "0x722e8bdd2ce80a4422e880164f2079488e115365" | "0x980b62da83eff3d4576c647993b0c1d7faf17c73" | "0x4200000000000000000000000000000000000006";
/**

@@ -31,0 +31,0 @@ * Checks if the token address is the shared storefront address and if so replaces

@@ -150,4 +150,2 @@ "use strict";

return "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa";
case types_1.Chain.Goerli:
return "0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6";
case types_1.Chain.Sepolia:

@@ -228,3 +226,2 @@ return "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";

switch (chain) {
case types_1.Chain.Goerli:
case types_1.Chain.Sepolia:

@@ -231,0 +228,0 @@ case types_1.Chain.Mumbai:

{
"name": "opensea-js",
"version": "7.0.6",
"version": "7.0.7",
"description": "TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -18,4 +18,2 @@ import { FixedNumber, ZeroAddress } from "ethers";

"0x495f947276749ce646f68ac8c248420045cb7b5e";
const SHARED_STOREFRONT_ADDRESS_GOERLI =
"0x804159144aefb1dc17b171afcefa5b33746c722f";
const SHARED_STOREFRONT_ADDRESS_POLYGON =

@@ -27,3 +25,2 @@ "0x2953399124f0cbb46d2cbacd8a89cf0599974963";

SHARED_STOREFRONT_ADDRESS_MAINNET,
SHARED_STOREFRONT_ADDRESS_GOERLI,
SHARED_STOREFRONT_ADDRESS_POLYGON,

@@ -30,0 +27,0 @@ SHARED_STOREFRONT_ADDRESS_KLAYTN,

@@ -127,4 +127,2 @@ import { BigNumberish } from "ethers";

// ⚠️NOTE: When adding to this list, also add to the util function `isTestChain`
/** Goerli */
Goerli = "goerli",
/** Sepolia */

@@ -131,0 +129,0 @@ Sepolia = "sepolia",

@@ -177,4 +177,2 @@ import {

return "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa";
case Chain.Goerli:
return "0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6";
case Chain.Sepolia:

@@ -261,3 +259,2 @@ return "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";

switch (chain) {
case Chain.Goerli:
case Chain.Sepolia:

@@ -264,0 +261,0 @@ case Chain.Mumbai:

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

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