@nftx/config
Advanced tools
Comparing version 0.10.0 to 0.10.2
@@ -25,4 +25,2 @@ 'use strict'; | ||
urls: { | ||
ZEROX_PRICE_URL: constants.ZEROX_PRICE_URL, | ||
ZEROX_QUOTE_URL: constants.ZEROX_QUOTE_URL, | ||
NFTX_APR_URL: constants.NFTX_APR_URL, | ||
@@ -34,3 +32,2 @@ ALCHEMY_URL: constants.ALCHEMY_URL, | ||
multicall: true, | ||
use0xApi: true, | ||
ethPrice: { | ||
@@ -37,0 +34,0 @@ [constants.Network.Rinkeby]: '2500000000' // $2.5k |
@@ -1,2 +0,2 @@ | ||
import { Network, PUBLIC_GRAPH_API_KEY, ERC1155_SUBGRAPH, ERC721_SUBGRAPH, NFTX_SUBGRAPH, NFTX_TOKEN_BALANCE_SUBGRAPH, NON_STANDARD_SUBGRAPH, SUSHI_SUBGRAPH, NFTX_FEE_TRACKER_SUBGRAPH, ZEROX_PRICE_URL, ZEROX_QUOTE_URL, NFTX_APR_URL, ALCHEMY_URL, NFTX_API_URL } from '@nftx/constants'; | ||
import { Network, PUBLIC_GRAPH_API_KEY, ERC1155_SUBGRAPH, ERC721_SUBGRAPH, NFTX_SUBGRAPH, NFTX_TOKEN_BALANCE_SUBGRAPH, NON_STANDARD_SUBGRAPH, SUSHI_SUBGRAPH, NFTX_FEE_TRACKER_SUBGRAPH, NFTX_APR_URL, ALCHEMY_URL, NFTX_API_URL } from '@nftx/constants'; | ||
import merge from 'deepmerge'; | ||
@@ -19,4 +19,2 @@ | ||
urls: { | ||
ZEROX_PRICE_URL, | ||
ZEROX_QUOTE_URL, | ||
NFTX_APR_URL, | ||
@@ -28,3 +26,2 @@ ALCHEMY_URL, | ||
multicall: true, | ||
use0xApi: true, | ||
ethPrice: { | ||
@@ -31,0 +28,0 @@ [Network.Rinkeby]: '2500000000' // $2.5k |
@@ -30,4 +30,2 @@ /** Configuration settings for nftx.js */ | ||
urls: { | ||
ZEROX_PRICE_URL: Record<string, string>; | ||
ZEROX_QUOTE_URL: Record<string, string>; | ||
NFTX_APR_URL: Record<string, string>; | ||
@@ -41,4 +39,2 @@ ALCHEMY_URL: Record<string, string>; | ||
multicall: boolean; | ||
/** Whether to use 0x for pricing and transactions */ | ||
use0xApi: boolean; | ||
/** It's necessary to hardcode the price of ETH on some test networks */ | ||
@@ -45,0 +41,0 @@ ethPrice: Record<string, string>; |
{ | ||
"name": "@nftx/config", | ||
"version": "0.10.0", | ||
"version": "0.10.2", | ||
"description": "", | ||
@@ -33,5 +33,5 @@ "homepage": "https://github.com/NFTX-project/nftxjs", | ||
"dependencies": { | ||
"@nftx/constants": "^0.10.0", | ||
"@nftx/constants": "^0.10.2", | ||
"deepmerge": "^4.2.2" | ||
} | ||
} |
@@ -9,4 +9,2 @@ import { | ||
PUBLIC_GRAPH_API_KEY, | ||
ZEROX_PRICE_URL, | ||
ZEROX_QUOTE_URL, | ||
NFTX_APR_URL, | ||
@@ -49,4 +47,2 @@ Network, | ||
urls: { | ||
ZEROX_PRICE_URL: Record<string, string>; | ||
ZEROX_QUOTE_URL: Record<string, string>; | ||
NFTX_APR_URL: Record<string, string>; | ||
@@ -60,4 +56,2 @@ ALCHEMY_URL: Record<string, string>; | ||
multicall: boolean; | ||
/** Whether to use 0x for pricing and transactions */ | ||
use0xApi: boolean; | ||
/** It's necessary to hardcode the price of ETH on some test networks */ | ||
@@ -87,4 +81,2 @@ ethPrice: Record<string, string>; | ||
urls: { | ||
ZEROX_PRICE_URL, | ||
ZEROX_QUOTE_URL, | ||
NFTX_APR_URL, | ||
@@ -96,3 +88,2 @@ ALCHEMY_URL, | ||
multicall: true, | ||
use0xApi: true, | ||
ethPrice: { | ||
@@ -99,0 +90,0 @@ [Network.Rinkeby]: '2500000000', // $2.5k |
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
14099
328
Updated@nftx/constants@^0.10.2