opensea-js
Advanced tools
Comparing version 7.1.3 to 7.1.4
@@ -103,4 +103,6 @@ import { BigNumberish } from "ethers"; | ||
Klaytn = "klaytn", | ||
/** Base L2 */ | ||
/** Base */ | ||
Base = "base", | ||
/** Blast */ | ||
Blast = "blast", | ||
/** Binance Smart Chain */ | ||
@@ -126,4 +128,6 @@ BNB = "bsc", | ||
Baobab = "baobab", | ||
/** Base L2 Testnet */ | ||
/** Base Testnet */ | ||
BaseSepolia = "base_sepolia", | ||
/** Blast Testnet */ | ||
BlastSepolia = "blast_sepolia", | ||
/** Binance Smart Chain Testnet */ | ||
@@ -130,0 +134,0 @@ BNBTestnet = "bsctestnet", |
@@ -66,4 +66,6 @@ "use strict"; | ||
Chain["Klaytn"] = "klaytn"; | ||
/** Base L2 */ | ||
/** Base */ | ||
Chain["Base"] = "base"; | ||
/** Blast */ | ||
Chain["Blast"] = "blast"; | ||
/** Binance Smart Chain */ | ||
@@ -91,4 +93,6 @@ Chain["BNB"] = "bsc"; | ||
Chain["Baobab"] = "baobab"; | ||
/** Base L2 Testnet */ | ||
/** Base Testnet */ | ||
Chain["BaseSepolia"] = "base_sepolia"; | ||
/** Blast Testnet */ | ||
Chain["BlastSepolia"] = "blast_sepolia"; | ||
/** Binance Smart Chain Testnet */ | ||
@@ -95,0 +99,0 @@ Chain["BNBTestnet"] = "bsctestnet"; |
@@ -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" | "0x7b79995e5f793a07bc00c21412e50ecae098e7f9" | "0xfd844c2fca5e595004b17615f891620d1cb9bbb2" | "0x9330dd6713c8328a8d82b14e3f60a0f0b4cc7bfb" | "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7" | "0xd00ae08403B9bbb9124bB305C09058E32C39A48c" | "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c" | "0xae13d989dac2f0debff460ac112a837c89baa7cd" | "0x82af49447d8a07e3bd95bd0d56f35241523fbab1" | "0x722e8bdd2ce80a4422e880164f2079488e115365" | "0x980b62da83eff3d4576c647993b0c1d7faf17c73" | "0x4200000000000000000000000000000000000006"; | ||
export declare const getWETHAddress: (chain: Chain) => "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" | "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619" | "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa" | "0x7b79995e5f793a07bc00c21412e50ecae098e7f9" | "0xfd844c2fca5e595004b17615f891620d1cb9bbb2" | "0x9330dd6713c8328a8d82b14e3f60a0f0b4cc7bfb" | "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7" | "0xd00ae08403B9bbb9124bB305C09058E32C39A48c" | "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c" | "0xae13d989dac2f0debff460ac112a837c89baa7cd" | "0x82af49447d8a07e3bd95bd0d56f35241523fbab1" | "0x722e8bdd2ce80a4422e880164f2079488e115365" | "0x980b62da83eff3d4576c647993b0c1d7faf17c73" | "0x4300000000000000000000000000000000000004" | "0x4200000000000000000000000000000000000023" | "0x4200000000000000000000000000000000000006"; | ||
/** | ||
@@ -31,0 +31,0 @@ * Checks if the token address is the shared storefront address and if so replaces |
@@ -171,3 +171,7 @@ "use strict"; | ||
return "0x980b62da83eff3d4576c647993b0c1d7faf17c73"; | ||
// OP Chains have weth at the same address | ||
case types_1.Chain.Blast: | ||
return "0x4300000000000000000000000000000000000004"; | ||
case types_1.Chain.BlastSepolia: | ||
return "0x4200000000000000000000000000000000000023"; | ||
// OP Chains have WETH at the same address | ||
case types_1.Chain.Base: | ||
@@ -231,2 +235,3 @@ case types_1.Chain.BaseSepolia: | ||
case types_1.Chain.BaseSepolia: | ||
case types_1.Chain.BlastSepolia: | ||
case types_1.Chain.BNBTestnet: | ||
@@ -233,0 +238,0 @@ case types_1.Chain.ArbitrumSepolia: |
{ | ||
"name": "opensea-js", | ||
"version": "7.1.3", | ||
"version": "7.1.4", | ||
"description": "TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -108,4 +108,6 @@ import { BigNumberish } from "ethers"; | ||
Klaytn = "klaytn", | ||
/** Base L2 */ | ||
/** Base */ | ||
Base = "base", | ||
/** Blast */ | ||
Blast = "blast", | ||
/** Binance Smart Chain */ | ||
@@ -134,4 +136,6 @@ BNB = "bsc", | ||
Baobab = "baobab", | ||
/** Base L2 Testnet */ | ||
/** Base Testnet */ | ||
BaseSepolia = "base_sepolia", | ||
/** Blast Testnet */ | ||
BlastSepolia = "blast_sepolia", | ||
/** Binance Smart Chain Testnet */ | ||
@@ -138,0 +142,0 @@ BNBTestnet = "bsctestnet", |
@@ -199,3 +199,7 @@ import { | ||
return "0x980b62da83eff3d4576c647993b0c1d7faf17c73"; | ||
// OP Chains have weth at the same address | ||
case Chain.Blast: | ||
return "0x4300000000000000000000000000000000000004"; | ||
case Chain.BlastSepolia: | ||
return "0x4200000000000000000000000000000000000023"; | ||
// OP Chains have WETH at the same address | ||
case Chain.Base: | ||
@@ -265,2 +269,3 @@ case Chain.BaseSepolia: | ||
case Chain.BaseSepolia: | ||
case Chain.BlastSepolia: | ||
case Chain.BNBTestnet: | ||
@@ -267,0 +272,0 @@ case Chain.ArbitrumSepolia: |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
486304
12108