Skip to content

Commit

Permalink
assets-controllers: Remove AllowedActions, AllowedEvents (#4344)
Browse files Browse the repository at this point in the history
These types were mistakenly exported in a previous commit when
converting NftDetectionController to BaseController v2. They can still
be exports in `NftDetectionController.ts`, but just not be exports from
the perspective of the whole `assets-controllers` package. This commit
takes these exports away by replacing the `*` export in `index.ts` with
explicit names and ensures not to include the two aforementioned types.
  • Loading branch information
mcmire authored May 31, 2024
1 parent 0bd0fa4 commit f2823aa
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion packages/assets-controllers/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,30 @@ export type {
NftMetadata,
} from './NftController';
export { getDefaultNftControllerState, NftController } from './NftController';
export * from './NftDetectionController';
export type {
NftDetectionControllerMessenger,
ApiNft,
ApiNftContract,
ApiNftLastSale,
ApiNftCreator,
ReservoirResponse,
TokensResponse,
BlockaidResultType,
Blockaid,
Market,
TokenResponse,
TopBid,
LastSale,
FeeBreakdown,
Attributes,
Collection,
Royalties,
Ownership,
FloorAsk,
Price,
Metadata,
} from './NftDetectionController';
export { NftDetectionController } from './NftDetectionController';
export type {
TokenBalancesControllerMessenger,
TokenBalancesControllerActions,
Expand Down

0 comments on commit f2823aa

Please sign in to comment.