Skip to content

Releases: FuelLabs/fuels-npm-packs

v0.25.1

07 Oct 02:58
801bf16
Compare
Choose a tag to compare

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

Patch Changes

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

Patch Changes

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

v0.25.0

06 Oct 10:13
d074567
Compare
Choose a tag to compare

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

Minor Changes

Patch Changes

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

v0.24.1

05 Oct 23:37
563be06
Compare
Choose a tag to compare

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

Patch Changes

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

v0.24.0

30 Sep 01:43
3428471
Compare
Choose a tag to compare

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

Minor Changes

  • Create KMSAccount for using KMS from AWS with fuels typescript SDK, by @luizstacio (See #120)

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

v0.23.0

12 Jul 18:53
7155602
Compare
Choose a tag to compare

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

Minor Changes

  • 🐞 Fixing infinite loading of wallet connector when fuelConfig connectors are defined asynchronously, by @rodrigobranas (See #108)

Patch Changes

  • Updated UI connector's style to match provider's modal style, increasing user experience, by @LeoCourbassier (See #110)

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

v0.22.0

29 Jun 02:29
8a4aaa2
Compare
Choose a tag to compare

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

Minor Changes

  • Add a loading state to display when the connector has installed status set to false, by @helciofranco (See #104)

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

v0.21.0

04 Jun 16:48
985d66c
Compare
Choose a tag to compare

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

Minor Changes

  • Created useContractRead hook to read contract data from a contract instance or from a contract id.
    If provided Abi is declared with as const, hook will dynamically infer possible method names, as well as the arguments quantity and types for a selected method, by @arthurgeron (See #91)
    • Add useTransactionResult hook to get a transaction that has been executed
    • Create a type UseNamedQueryParams to allow overriding select function of TanStack Query and our custom name property.

    Basic usage with select function

    const { receipts } = useTransactionResult({
    txId: '0xd7ad974cdccac8b41132dfe1d2a4219a681af1865f0775f141c4d6201ee428d1',
    query: {
    name: 'receipts', // Or anything else (optional, default: 'transactionResult')
    select: (data) => data?.receipts || null,
    },
    });
    ```, by [@helciofranco](https://github.com/helciofranco) (See [#94](https://github.com/FuelLabs/fuels-npm-packs/pull/94))
  • Adds mutation callbacks, such as onError and onSuccess, by @helciofranco (See #97)
  • Provide consistent return types across Fuel hooks, for an easier typed experience.
    Every query hook will now return a null value if the query is not available, instead of undefined.

    Examples

    const { wallet } = useWallet(); // wallet is Wallet | null
    const { network } = useNetwork(); // network is Network | null
    // and so on... Every query hook will return T | null
    ```, by [@helciofranco](https://github.com/helciofranco) (See [#85](https://github.com/FuelLabs/fuels-npm-packs/pull/85))
  • Add useSendTransaction hook that allows developers to easily send a transaction.
    const { sendTransaction } = useSendTransaction();
    // [...]
    const transactionRequest = new ScriptTransactionRequest({}); // Or any other tx request
    sendTransaction({
    address: 'fuel1zs7l8ajg0qgrak3jhhmq3xf3thd8stu535gj7p5fye2578yccjyqcgja3z',
    transaction,
    });
    ```, by [@helciofranco](https://github.com/helciofranco) (See [#92](https://github.com/FuelLabs/fuels-npm-packs/pull/92))

@fuels/[email protected]

@fuels/[email protected]

Patch Changes

@fuels/[email protected]

@fuels/[email protected]

v0.20.0

23 May 11:38
a6b4dcf
Compare
Choose a tag to compare

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

Minor Changes

@fuels/[email protected]

@fuels/[email protected]

Minor Changes

@fuels/[email protected]

@fuels/[email protected]

v0.19.0

07 May 13:09
8feffe6
Compare
Choose a tag to compare

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

Minor Changes

@fuels/[email protected]

@fuels/[email protected]

Minor Changes

@fuels/[email protected]

@fuels/[email protected]

v0.18.1

04 Apr 01:49
bcc8ee6
Compare
Choose a tag to compare

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

Patch Changes

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]

@fuels/[email protected]