Skip to content

Commit

Permalink
PKG -- [fcl] Export TransactionError (#2043)
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink authored Dec 11, 2024
1 parent 4ff0114 commit c0fceb1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/twelve-balloons-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@onflow/fcl-react-native": patch
"@onflow/fcl-core": patch
"@onflow/fcl": patch
---

Export `TransactionError`
2 changes: 1 addition & 1 deletion packages/fcl-core/src/fcl-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export {VERSION} from "./VERSION"
export {query} from "./exec/query"
export {verifyUserSignatures} from "./exec/verify"
export {serialize} from "./serialize"
export {transaction as tx} from "./transaction"
export {transaction as tx, TransactionError} from "./transaction"
export {events} from "./events"
export {pluginRegistry} from "./current-user/exec-service/plugins"

Expand Down
1 change: 1 addition & 0 deletions packages/fcl-react-native/src/fcl-react-native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export {
invariant,
subscribeEvents,
nodeVersionInfo,
TransactionError,
} from "@onflow/fcl-core"

import {
Expand Down
1 change: 1 addition & 0 deletions packages/fcl/src/fcl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export {
invariant,
subscribeEvents,
nodeVersionInfo,
TransactionError,
} from "@onflow/fcl-core"

import {
Expand Down

0 comments on commit c0fceb1

Please sign in to comment.