Skip to content

Commit

Permalink
build(deps-dev): bump prettier from 3.0.3 to 3.3.2 (#2584)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Jun 24, 2024
1 parent 3698155 commit 3be2251
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 26 deletions.
6 changes: 6 additions & 0 deletions .changeset/tender-coins-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@fuel-ts/abi-coder": patch
"@fuel-ts/account": patch
---

build(deps-dev): bump prettier from 3.0.3 to 3.3.2
22 changes: 11 additions & 11 deletions apps/docs-snippets/test/fixtures/abi/encode-and-decode.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@
"typeId": 0,
"type": "u32",
"components": null,
"typeParameters": null
}
"typeParameters": null,
},
],
"functions": [
{
"inputs": [
{
"name": "inputted_amount",
"type": 0,
"typeArguments": null
}
"typeArguments": null,
},
],
"name": "main",
"output": {
"name": "",
"type": 0,
"typeArguments": null
"typeArguments": null,
},
"attributes": null
}
"attributes": null,
},
],
"loggedTypes": [],
"messagesTypes": [],
Expand All @@ -35,11 +35,11 @@
"configurableType": {
"name": "",
"type": 0,
"typeArguments": null
"typeArguments": null,
},
"offset": 784
}
]
"offset": 784,
},
],
}


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"open": "^8.4.0",
"prettier": "^3.0.3",
"prettier": "^3.3.2",
"rimraf": "^3.0.2",
"textlint": "^13.3.2",
"textlint-rule-no-dead-link": "^5.1.2",
Expand Down
5 changes: 2 additions & 3 deletions packages/abi-coder/src/encoding/coders/AbstractCoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ export type DecodedValue =
| { [key: string]: DecodedValue }
| Record<string, Primitive>;

export type TypesOfCoder<TCoder> = TCoder extends Coder<infer TInput, infer TDecoded>
? { Input: TInput; Decoded: TDecoded }
: never;
export type TypesOfCoder<TCoder> =
TCoder extends Coder<infer TInput, infer TDecoded> ? { Input: TInput; Decoded: TDecoded } : never;

export abstract class Coder<TInput = unknown, TDecoded = unknown> {
readonly name: string;
Expand Down
4 changes: 2 additions & 2 deletions packages/account/src/providers/fuel-core-schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ type NodeInfo {
scalar Nonce

union Output =
CoinOutput
| CoinOutput
| ContractOutput
| ChangeOutput
| VariableOutput
Expand Down Expand Up @@ -1305,7 +1305,7 @@ type TransactionEdge {
scalar TransactionId

union TransactionStatus =
SubmittedStatus
| SubmittedStatus
| SuccessStatus
| SqueezedOutStatus
| FailureStatus
Expand Down
18 changes: 9 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3be2251

Please sign in to comment.