diff --git a/.changeset/config.json b/.changeset/config.json index 6708874..9a3fa89 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,11 +1,11 @@ { "$schema": "https://unpkg.com/@changesets/config@2.0.0/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", diff --git a/.changeset/forty-lobsters-smell.md b/.changeset/forty-lobsters-smell.md new file mode 100644 index 0000000..2e851c5 --- /dev/null +++ b/.changeset/forty-lobsters-smell.md @@ -0,0 +1,5 @@ +--- +"@onflow/flow-cadut": patch +--- + +Update @onflow/fcl diff --git a/.vscode/settings.json b/.vscode/settings.json index 4a230a0..495f438 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { "editor.formatOnSave": true, - "editor.defaultFormatter": "dbaeumer.vscode-eslint", + "editor.defaultFormatter": "esbenp.prettier-vscode", "eslint.format.enable": true } \ No newline at end of file diff --git a/packages/flow-cadut/src/interactions.js b/packages/flow-cadut/src/interactions.js index 5677c16..05f4704 100644 --- a/packages/flow-cadut/src/interactions.js +++ b/packages/flow-cadut/src/interactions.js @@ -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]()