Skip to content

Commit

Permalink
chore: lint fixes (#1354)
Browse files Browse the repository at this point in the history
  • Loading branch information
arboleya authored Oct 17, 2023
1 parent 0ca78ab commit 7ef4c30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .changeset/hungry-terms-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
7 changes: 3 additions & 4 deletions packages/providers/src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
import { checkFuelCoreVersionCompatibility } from '@fuel-ts/versions';
import type { BytesLike } from 'ethers';
import { getBytesCopy, hexlify, Network } from 'ethers';
import { print } from 'graphql';
import { GraphQLClient } from 'graphql-request';
import { clone } from 'ramda';

Expand Down Expand Up @@ -702,7 +701,7 @@ export default class Provider {
filter: { owner: owner.toB256(), assetId: assetId && hexlify(assetId) },
});

const coins = result.coins.edges!.map((edge) => edge!.node!);
const coins = result.coins.edges.map((edge) => edge.node);

return coins.map((coin) => ({
id: coin.utxoId,
Expand Down Expand Up @@ -970,7 +969,7 @@ export default class Provider {
filter: { owner: owner.toB256() },
});

const balances = result.balances.edges!.map((edge) => edge!.node!);
const balances = result.balances.edges.map((edge) => edge.node);

return balances.map((balance) => ({
assetId: balance.assetId,
Expand All @@ -997,7 +996,7 @@ export default class Provider {
owner: address.toB256(),
});

const messages = result.messages.edges!.map((edge) => edge!.node!);
const messages = result.messages.edges.map((edge) => edge.node);

return messages.map((message) => ({
messageId: InputMessageCoder.getMessageId({
Expand Down

0 comments on commit 7ef4c30

Please sign in to comment.