Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firefly remove unused providers #11747

Draft
wants to merge 4 commits into
base: firefly
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packageManager": "[email protected]",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should update this field

"engines": {
"node": ">=20.11.1",
"pnpm": ">=8.15.8"
"pnpm": ">=9.1.1"
},
"version": "2.26.2",
"private": true,
Expand Down
5 changes: 0 additions & 5 deletions packages/web3-providers/src/Gem/constants.ts

This file was deleted.

46 changes: 0 additions & 46 deletions packages/web3-providers/src/Gem/index.ts

This file was deleted.

113 changes: 0 additions & 113 deletions packages/web3-providers/src/Trending/constants.ts

This file was deleted.

17 changes: 0 additions & 17 deletions packages/web3-providers/src/Trending/helpers.ts

This file was deleted.

93 changes: 0 additions & 93 deletions packages/web3-providers/src/Trending/mirrored_tokens.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ import type { EVMHubOptions } from '../types/index.js'
import type { AuthorizationAPI, NonFungibleTokenAPI, TokenListAPI } from '../../../entry-types.js'
import * as AlchemyEVM from /* webpackDefer: true */ '../../../Alchemy/index.js'
import * as ChainbaseNonFungibleToken from /* webpackDefer: true */ '../../../Chainbase/index.js'
import * as Gem from /* webpackDefer: true */ '../../../Gem/index.js'
import * as NFTScanNonFungibleTokenEVM from /* webpackDefer: true */ '../../../NFTScan/index.js'
import * as OpenSea from /* webpackDefer: true */ '../../../OpenSea/index.js'
import * as R2D2TokenList from /* webpackDefer: true */ '../../../R2D2/index.js'
import * as Rabby from /* webpackDefer: true */ '../../../Rabby/index.js'
import * as SimpleHashEVM from /* webpackDefer: true */ '../../../SimpleHash/index.js'
import * as X2Y2 from /* webpackDefer: true */ '../../../X2Y2/index.js'

export class HubNonFungibleAPI extends BaseHubNonFungible<ChainId, SchemaType> {
protected override HubOptions = new EVMHubOptionsProvider(this.options)
Expand All @@ -25,24 +23,20 @@ export class HubNonFungibleAPI extends BaseHubNonFungible<ChainId, SchemaType> {
| TokenListAPI.Provider<ChainId, SchemaType>
>(
{
[SourceType.X2Y2]: X2Y2.X2Y2,
[SourceType.Chainbase]: ChainbaseNonFungibleToken.ChainbaseNonFungibleToken,
[SourceType.NFTScan]: NFTScanNonFungibleTokenEVM.NFTScanNonFungibleTokenEVM,
[SourceType.OpenSea]: OpenSea.OpenSea,
[SourceType.Alchemy_EVM]: AlchemyEVM.AlchemyEVM,
[SourceType.Gem]: Gem.Gem,
[SourceType.Rabby]: Rabby.Rabby,
[SourceType.R2D2]: R2D2TokenList.R2D2TokenList,
[SourceType.SimpleHash]: SimpleHashEVM.SimpleHashEVM,
},
options.chainId === ChainId.Mainnet ?
[
X2Y2.X2Y2,
SimpleHashEVM.SimpleHashEVM,
NFTScanNonFungibleTokenEVM.NFTScanNonFungibleTokenEVM,
OpenSea.OpenSea,
AlchemyEVM.AlchemyEVM,
Gem.Gem,
Rabby.Rabby,
R2D2TokenList.R2D2TokenList,
]
Expand All @@ -51,7 +45,6 @@ export class HubNonFungibleAPI extends BaseHubNonFungible<ChainId, SchemaType> {
NFTScanNonFungibleTokenEVM.NFTScanNonFungibleTokenEVM,
AlchemyEVM.AlchemyEVM,
OpenSea.OpenSea,
Gem.Gem,
Rabby.Rabby,
R2D2TokenList.R2D2TokenList,
],
Expand Down
2 changes: 0 additions & 2 deletions packages/web3-providers/src/X2Y2/constants.ts

This file was deleted.

Loading
Loading