Skip to content

Commit 6e9d1cf

Browse files
committed
fix: exports
1 parent aa2611f commit 6e9d1cf

2 files changed

Lines changed: 14 additions & 33 deletions

File tree

eslint-suppressions.json

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -637,9 +637,6 @@
637637
}
638638
},
639639
"packages/bridge-controller/src/utils/bridge.ts": {
640-
"@typescript-eslint/explicit-function-return-type": {
641-
"count": 9
642-
},
643640
"id-denylist": {
644641
"count": 1
645642
}
@@ -666,11 +663,6 @@
666663
"count": 1
667664
}
668665
},
669-
"packages/bridge-controller/src/utils/metrics/properties.ts": {
670-
"@typescript-eslint/explicit-function-return-type": {
671-
"count": 5
672-
}
673-
},
674666
"packages/bridge-controller/src/utils/quote-fees.ts": {
675667
"@typescript-eslint/explicit-function-return-type": {
676668
"count": 1
@@ -707,11 +699,6 @@
707699
"count": 1
708700
}
709701
},
710-
"packages/bridge-controller/tests/mock-sse.ts": {
711-
"id-length": {
712-
"count": 2
713-
}
714-
},
715702
"packages/bridge-status-controller/src/utils/snaps.ts": {
716703
"no-restricted-syntax": {
717704
"count": 3
@@ -2248,11 +2235,6 @@
22482235
"count": 2
22492236
}
22502237
},
2251-
"packages/transaction-pay-controller/src/strategy/bridge/bridge-submit.ts": {
2252-
"no-restricted-syntax": {
2253-
"count": 1
2254-
}
2255-
},
22562238
"packages/transaction-pay-controller/src/strategy/relay/hyperliquid-withdraw.ts": {
22572239
"no-restricted-syntax": {
22582240
"count": 1
@@ -2382,4 +2364,4 @@
23822364
"count": 10
23832365
}
23842366
}
2385-
}
2367+
}

packages/bridge-controller/src/index.ts

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,18 @@ export type {
6363
BridgeControllerMessenger,
6464
FeatureFlagsPlatformConfig,
6565
TxFeeGasLimits,
66+
TokenFeature,
67+
QuoteStreamCompleteData,
68+
BridgeControllerGetStateAction,
69+
BridgeControllerStateChangeEvent,
70+
} from './types';
71+
72+
export {
73+
AssetType,
74+
SortOrder,
75+
ChainId,
76+
RequestStatus,
77+
StatusTypes,
6678
} from './types';
6779

6880
export type {
@@ -80,19 +92,6 @@ export type {
8092

8193
export { AbortReason } from './utils/metrics/constants';
8294

83-
export { StatusTypes } from './types';
84-
85-
export {
86-
AssetType,
87-
SortOrder,
88-
ChainId,
89-
RequestStatus,
90-
type TokenFeature,
91-
type QuoteStreamCompleteData,
92-
type BridgeControllerGetStateAction,
93-
type BridgeControllerStateChangeEvent,
94-
} from './types';
95-
9695
export type {
9796
TxData,
9897
BitcoinTradeData,
@@ -108,7 +107,7 @@ export {
108107
} from './validators/trade';
109108
export type { QuoteResponseV1 as QuoteResponse } from './validators/quote-response-v1';
110109
export type { Quote } from './validators/quote';
111-
export type { DiscountType, FeeType } from './validators/quote';
110+
export { FeeType, DiscountType } from './validators/quote';
112111
export type { ActionTypes } from './validators/step';
113112
export {
114113
validateQuoteStreamComplete,

0 commit comments

Comments
 (0)