Skip to content

Commit

Permalink
fix: update types-kit import routes
Browse files Browse the repository at this point in the history
  • Loading branch information
dasanra committed Oct 16, 2024
1 parent c6fe04c commit be8c2bf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useSendTransaction.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { UseMutateAsyncFunction, UseMutateFunction, UseMutationResult } from '@tanstack/react-query'
import { SafeTransaction, TransactionBase } from '@safe-global/safe-core-sdk-types'
import { SafeTransaction, TransactionBase } from '@safe-global/types-kit'
import { SafeClientResult } from '@safe-global/sdk-starter-kit'
import { ConfigParam, isSafeTransaction, SafeConfigWithSigner } from '@/types/index.js'
import { useSignerClientMutation } from '@/hooks/useSignerClientMutation.js'
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useTransaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useTransaction } from '@/hooks/useTransaction.js'
import * as useSafeTransaction from '@/hooks/useSafeTransaction.js'
import { ethereumTxHash, safeMultisigTransaction, safeTxHash } from '@test/fixtures/index.js'
import { renderHookInQueryClientProvider } from '@test/utils.js'
import { SafeMultisigTransactionResponse } from '@safe-global/safe-core-sdk-types'
import { SafeMultisigTransactionResponse } from '@safe-global/types-kit'
import { configPredictedSafe } from '@test/config.js'

describe('useTransaction', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/types/guards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
SafeModuleTransaction,
SafeMultisigTransaction
} from '@/types/index.js'
import { SafeTransaction } from '@safe-global/safe-core-sdk-types'
import { SafeTransaction } from '@safe-global/types-kit'

export function isString(x: any): x is string {
return typeof x === 'string'
Expand Down
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SafeMultisigTransactionResponse } from '@safe-global/safe-core-sdk-types'
import { SafeMultisigTransactionResponse } from '@safe-global/types-kit'
import type { SdkStarterKitConfig } from '@safe-global/sdk-starter-kit'
import type { Address, CustomTransport, HttpTransport } from 'viem'
import type { Chain as ChainType } from 'viem/chains'
Expand Down

0 comments on commit be8c2bf

Please sign in to comment.