Skip to content

Commit

Permalink
Fix SafeTransactionDataPartial import (safe-global#90)
Browse files Browse the repository at this point in the history
* Fix SafeTransactionDataPartial import

* fix documentation: wrong import (safe-global#87)

* fix import

Co-authored-by: Germán Martínez <germartinez@users.noreply.github.com>

Co-authored-by: Parv Garg <parv3213@gmail.com>
  • Loading branch information
germartinez and parv3213 authored Oct 13, 2021
1 parent 8cee9b5 commit fe2bb97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/safe-core-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const safeSdk: Safe = await Safe.create({ ethAdapter: ethAdapterOwner1, safeAddr
### 3. Create a Safe transaction

```js
import { SafeTransactionDataPartial } from '@gnosis.pm/safe-core-sdk'
import { SafeTransactionDataPartial } from '@gnosis.pm/safe-core-sdk-types'

const transactions: SafeTransactionDataPartial[] = [{
to: '0x<address>',
Expand Down
2 changes: 1 addition & 1 deletion packages/safe-core-sdk/src/utils/transactions/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ContractTransaction } from '@ethersproject/contracts'
import { SafeTransactionDataPartial } from '@gnosis.pm/safe-core-sdk-types/dist/src'
import { SafeTransactionDataPartial } from '@gnosis.pm/safe-core-sdk-types'
import { PromiEvent, TransactionReceipt } from 'web3-core/types'

export type SafeTransactionOptionalProps = Pick<
Expand Down

0 comments on commit fe2bb97

Please sign in to comment.