Skip to content

Commit

Permalink
Add missing type export
Browse files Browse the repository at this point in the history
  • Loading branch information
swansontec committed Oct 19, 2023
1 parent bd812ff commit d3cd988
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- fixed: Add missing `export` to the `EdgeCorePluginFactory` type definition.

## 1.11.0 (2023-10-18)

- added: `EdgeAccount.fetchSwapQuotes`, to return all relevant quotes, and not just the best one.
Expand Down
4 changes: 3 additions & 1 deletion src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1602,7 +1602,9 @@ export type EdgeCorePlugin =
| EdgeRatePlugin
| EdgeSwapPlugin

type EdgeCorePluginFactory = (env: EdgeCorePluginOptions) => EdgeCorePlugin
export type EdgeCorePluginFactory = (
env: EdgeCorePluginOptions
) => EdgeCorePlugin

export type EdgeCorePlugins = EdgePluginMap<
EdgeCorePlugin | EdgeCorePluginFactory
Expand Down

0 comments on commit d3cd988

Please sign in to comment.