Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed May 22, 2024
1 parent fb71ecf commit 11dcadc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "onflow/flow-cadut" }],
"changelog": ["@changesets/changelog-github", {"repo": "onflow/flow-cadut"}],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "master",
"baseBranch": "feature/stable-cadence",
"updateInternalDependencies": "patch",
"ignore": [
"dev-test",
Expand Down
5 changes: 5 additions & 0 deletions .changeset/forty-lobsters-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/flow-cadut": patch
---

Update @onflow/fcl
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"eslint.format.enable": true
}
4 changes: 3 additions & 1 deletion packages/flow-cadut/src/interactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ export const waitForStatus = statusValue => {
export const sendTransaction = async props => {
const {wait = "seal"} = props
try {
const txId = await fcl.decode(await prepareInteraction(props, "transaction"))
const txId = await fcl.decode(
await prepareInteraction(props, "transaction")
)
if (wait) {
const waitMethod = waitForStatus(wait)
const rawResult = await fcl.tx(response)[waitMethod]()

Check failure on line 121 in packages/flow-cadut/src/interactions.js

View workflow job for this annotation

GitHub Actions / test

'response' is not defined
Expand Down

0 comments on commit 11dcadc

Please sign in to comment.