Skip to content

Commit 06cc4d4

Browse files
committed
chore(ogmios): cleanup OgmiosObservableCardanoNodeProps type
interactionType no longer exists also, remove an unnecessary eslint-disable
1 parent adf2620 commit 06cc4d4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/ogmios/src/CardanoNode/OgmiosObservableCardanoNode/OgmiosObservableCardanoNode.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const DEFAULT_LSQ_RETRY_CONFIG: LocalStateQueryRetryConfig = {
5454
initialInterval: 1000,
5555
maxInterval: 30_000
5656
};
57-
export type OgmiosObservableCardanoNodeProps = Omit<InteractionContextProps, 'interactionType'> & {
57+
export type OgmiosObservableCardanoNodeProps = InteractionContextProps & {
5858
/** Default: 2000ms */
5959
healthCheckTimeout?: Milliseconds;
6060
/** Default: {initialInterval: 1000, maxInterval: 30_000} */

packages/ogmios/src/CardanoNode/queries.ts

-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export const ogmiosToCoreError = (error: any) => {
7878
export const withCoreCardanoNodeError = async <T>(operation: () => Promise<T>) => {
7979
try {
8080
return await operation();
81-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
8281
} catch (error) {
8382
throw ogmiosToCoreError(error);
8483
}

0 commit comments

Comments
 (0)