diff --git a/.changeset/twelve-balloons-poke.md b/.changeset/twelve-balloons-poke.md new file mode 100644 index 000000000..842a02cc9 --- /dev/null +++ b/.changeset/twelve-balloons-poke.md @@ -0,0 +1,7 @@ +--- +"@onflow/fcl-react-native": patch +"@onflow/fcl-core": patch +"@onflow/fcl": patch +--- + +Export `TransactionError` diff --git a/packages/fcl-core/src/fcl-core.ts b/packages/fcl-core/src/fcl-core.ts index a031b2ca5..2fd120fe5 100644 --- a/packages/fcl-core/src/fcl-core.ts +++ b/packages/fcl-core/src/fcl-core.ts @@ -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" diff --git a/packages/fcl-react-native/src/fcl-react-native.ts b/packages/fcl-react-native/src/fcl-react-native.ts index 2b87edc33..fc1328af4 100644 --- a/packages/fcl-react-native/src/fcl-react-native.ts +++ b/packages/fcl-react-native/src/fcl-react-native.ts @@ -61,6 +61,7 @@ export { invariant, subscribeEvents, nodeVersionInfo, + TransactionError, } from "@onflow/fcl-core" import { diff --git a/packages/fcl/src/fcl.ts b/packages/fcl/src/fcl.ts index 6f6b5e97a..16b424bae 100644 --- a/packages/fcl/src/fcl.ts +++ b/packages/fcl/src/fcl.ts @@ -61,6 +61,7 @@ export { invariant, subscribeEvents, nodeVersionInfo, + TransactionError, } from "@onflow/fcl-core" import {