Skip to content

Latest commit

 

History

History
616 lines (407 loc) · 23.7 KB

CHANGELOG.md

File metadata and controls

616 lines (407 loc) · 23.7 KB

@moralisweb3/client-evm-api

2.27.2

Patch Changes

  • Updated dependencies [4434f6e915]:
    • @moralisweb3/common-evm-utils@2.27.2
    • @moralisweb3/client-api-utils@2.27.2
    • @moralisweb3/common-core@2.27.2

2.27.1

Patch Changes

  • Updated dependencies [f4c0c22b92]:
    • @moralisweb3/common-evm-utils@2.27.1
    • @moralisweb3/client-api-utils@2.27.1
    • @moralisweb3/common-core@2.27.1

2.27.0

Patch Changes

  • Updated dependencies [061df23238]:
    • @moralisweb3/common-evm-utils@2.27.0
    • @moralisweb3/client-api-utils@2.27.0
    • @moralisweb3/common-core@2.27.0

2.26.9

Patch Changes

  • Updated dependencies [7b334bf7bd]:
    • @moralisweb3/common-evm-utils@2.26.9
    • @moralisweb3/client-api-utils@2.26.9
    • @moralisweb3/common-core@2.26.9

2.26.8

Patch Changes

  • Updated dependencies [77d125401e]:
    • @moralisweb3/common-evm-utils@2.26.8
    • @moralisweb3/client-api-utils@2.26.8
    • @moralisweb3/common-core@2.26.8

2.26.7

Patch Changes

  • Updated dependencies [6bd790d233]:
    • @moralisweb3/common-evm-utils@2.26.7
    • @moralisweb3/client-api-utils@2.26.7
    • @moralisweb3/common-core@2.26.7

2.26.6

Patch Changes

  • Updated dependencies [4f50daec00, 9ddc8c3a95]:
    • @moralisweb3/common-evm-utils@2.26.6
    • @moralisweb3/client-api-utils@2.26.6
    • @moralisweb3/common-core@2.26.6

2.26.5

Patch Changes

  • Updated dependencies [26d2a2e397]:
    • @moralisweb3/common-evm-utils@2.26.5
    • @moralisweb3/client-api-utils@2.26.5
    • @moralisweb3/common-core@2.26.5

2.26.4

Patch Changes

  • Updated dependencies [92ef94d396]:
    • @moralisweb3/common-evm-utils@2.26.4
    • @moralisweb3/client-api-utils@2.26.4
    • @moralisweb3/common-core@2.26.4

2.26.3

Patch Changes

  • Updated dependencies [c2f2e5822f]:
    • @moralisweb3/common-evm-utils@2.26.3
    • @moralisweb3/client-api-utils@2.26.3
    • @moralisweb3/common-core@2.26.3

2.26.2

Patch Changes

2.26.1

Patch Changes

  • Updated dependencies [50d341a8ed]:
    • @moralisweb3/common-evm-utils@2.26.1
    • @moralisweb3/client-api-utils@2.26.1
    • @moralisweb3/common-core@2.26.1

2.26.0

Patch Changes

  • Updated dependencies [a5c088bc4a, a5c088bc4a, a5c088bc4a]:
    • @moralisweb3/common-evm-utils@2.26.0
    • @moralisweb3/client-api-utils@2.26.0
    • @moralisweb3/common-core@2.26.0

2.25.4

Patch Changes

  • Updated dependencies [10ee58ef60]:
    • @moralisweb3/common-evm-utils@2.25.4
    • @moralisweb3/client-api-utils@2.25.4
    • @moralisweb3/common-core@2.25.4

2.25.3

Patch Changes

  • Updated dependencies [961c409610]:
    • @moralisweb3/common-evm-utils@2.25.3
    • @moralisweb3/client-api-utils@2.25.3
    • @moralisweb3/common-core@2.25.3

2.25.2

Patch Changes

  • Updated dependencies [3415bf5a7f]:
    • @moralisweb3/common-evm-utils@2.25.2
    • @moralisweb3/client-api-utils@2.25.2
    • @moralisweb3/common-core@2.25.2

2.25.1

Patch Changes

  • Updated dependencies [cb5b17e5ea]:
    • @moralisweb3/common-evm-utils@2.25.1
    • @moralisweb3/client-api-utils@2.25.1
    • @moralisweb3/common-core@2.25.1

2.25.0

Patch Changes

  • Updated dependencies [5caa82758, 31d73a721, 31d73a721]:
    • @moralisweb3/common-evm-utils@2.25.0
    • @moralisweb3/client-api-utils@2.25.0
    • @moralisweb3/common-core@2.25.0

2.24.3

Patch Changes

  • Updated dependencies [69ce6b585]:
    • @moralisweb3/common-evm-utils@2.24.3
    • @moralisweb3/client-api-utils@2.24.3
    • @moralisweb3/common-core@2.24.3

2.24.2

Patch Changes

  • Updated dependencies [b6f6e182f]:
    • @moralisweb3/common-evm-utils@2.24.2
    • @moralisweb3/client-api-utils@2.24.2
    • @moralisweb3/common-core@2.24.2

2.24.1

Patch Changes

  • Updated dependencies [7ef12018e]:
    • @moralisweb3/common-evm-utils@2.24.1
    • @moralisweb3/client-api-utils@2.24.1
    • @moralisweb3/common-core@2.24.1

2.24.0

Patch Changes

  • Updated dependencies []:
    • @moralisweb3/client-api-utils@2.24.0
    • @moralisweb3/common-core@2.24.0
    • @moralisweb3/common-evm-utils@2.24.0

2.23.2

Patch Changes

  • Updated dependencies [11fb29d8b]:
    • @moralisweb3/common-evm-utils@2.23.2
    • @moralisweb3/client-api-utils@2.23.2
    • @moralisweb3/common-core@2.23.2

2.23.1

Patch Changes

  • Updated dependencies [7e2b9ffc7]:
    • @moralisweb3/common-evm-utils@2.23.1
    • @moralisweb3/client-api-utils@2.23.1
    • @moralisweb3/common-core@2.23.1

2.23.0

Patch Changes

  • Updated dependencies [18c36c8b0]:
    • @moralisweb3/common-evm-utils@2.23.0
    • @moralisweb3/client-api-utils@2.23.0
    • @moralisweb3/common-core@2.23.0

2.22.5

Patch Changes

  • Updated dependencies [a1dca27df]:
    • @moralisweb3/common-evm-utils@2.22.5
    • @moralisweb3/client-api-utils@2.22.5
    • @moralisweb3/common-core@2.22.5

2.22.4

Patch Changes

  • Updated dependencies [7a646d14b]:
    • @moralisweb3/common-evm-utils@2.22.4
    • @moralisweb3/client-api-utils@2.22.4
    • @moralisweb3/common-core@2.22.4

2.22.3

Patch Changes

  • Updated dependencies [da8400258]:
    • @moralisweb3/common-evm-utils@2.22.3
    • @moralisweb3/client-api-utils@2.22.3
    • @moralisweb3/common-core@2.22.3

2.22.2

Patch Changes

  • Updated dependencies []:
    • @moralisweb3/client-api-utils@2.22.2
    • @moralisweb3/common-core@2.22.2
    • @moralisweb3/common-evm-utils@2.22.2

2.22.1

Patch Changes

  • Updated dependencies [a9ba7092f]:
    • @moralisweb3/common-evm-utils@2.22.1
    • @moralisweb3/client-api-utils@2.22.1
    • @moralisweb3/common-core@2.22.1

2.22.0

Patch Changes

  • Updated dependencies [45fcd84da]:
    • @moralisweb3/common-evm-utils@2.22.0
    • @moralisweb3/client-api-utils@2.22.0
    • @moralisweb3/common-core@2.22.0

2.21.0

Patch Changes

  • Updated dependencies [465394674, 98035a86d]:
    • @moralisweb3/common-core@2.21.0
    • @moralisweb3/common-evm-utils@2.21.0
    • @moralisweb3/client-api-utils@2.21.0

2.20.0

Patch Changes

2.19.1

Patch Changes

  • Updated dependencies []:
    • @moralisweb3/client-api-utils@2.19.1
    • @moralisweb3/common-core@2.19.1
    • @moralisweb3/common-evm-utils@2.19.1

2.19.0

Patch Changes

2.18.4

Patch Changes

  • Updated dependencies []:
    • @moralisweb3/client-api-utils@2.18.4
    • @moralisweb3/common-core@2.18.4
    • @moralisweb3/common-evm-utils@2.18.4

2.18.3

Patch Changes

  • Updated dependencies [6e1fc78fd]:
    • @moralisweb3/common-evm-utils@2.18.3
    • @moralisweb3/client-api-utils@2.18.3
    • @moralisweb3/common-core@2.18.3

2.18.2

Patch Changes

  • Updated dependencies [8caf91365]:
    • @moralisweb3/common-evm-utils@2.18.2
    • @moralisweb3/client-api-utils@2.18.2
    • @moralisweb3/common-core@2.18.2

2.18.1

Patch Changes

  • Updated dependencies [98a35355f]:
    • @moralisweb3/common-evm-utils@2.18.1
    • @moralisweb3/client-api-utils@2.18.1
    • @moralisweb3/common-core@2.18.1

2.18.0

Patch Changes

2.17.0

Patch Changes

  • Updated dependencies [e96c34ab4]:
    • @moralisweb3/common-evm-utils@2.17.0
    • @moralisweb3/client-api-utils@2.17.0
    • @moralisweb3/common-core@2.17.0

2.16.1

Patch Changes

  • 8981730d6 Thanks @ErnoW! - Bump version for release

  • Updated dependencies [8981730d6]:

    • @moralisweb3/client-api-utils@2.16.1
    • @moralisweb3/common-core@2.16.1
    • @moralisweb3/common-evm-utils@2.16.1

2.16.0

Patch Changes

  • Updated dependencies []:
    • @moralisweb3/client-api-utils@2.16.0
    • @moralisweb3/common-core@2.16.0
    • @moralisweb3/common-evm-utils@2.16.0

2.15.0

Patch Changes

  • Updated dependencies [36ebc0d82, 521534f81]:
    • @moralisweb3/common-evm-utils@2.15.0
    • @moralisweb3/common-core@2.15.0
    • @moralisweb3/client-api-utils@2.15.0

2.14.3

Patch Changes

  • Updated dependencies []:
    • @moralisweb3/client-api-utils@2.14.3
    • @moralisweb3/common-core@2.14.3
    • @moralisweb3/common-evm-utils@2.14.3

2.14.2

Patch Changes

  • Updated dependencies []:
    • @moralisweb3/client-api-utils@2.14.2
    • @moralisweb3/common-core@2.14.2
    • @moralisweb3/common-evm-utils@2.14.2

2.14.1

Patch Changes

  • Updated dependencies []:
    • @moralisweb3/client-api-utils@2.14.1
    • @moralisweb3/common-core@2.14.1
    • @moralisweb3/common-evm-utils@2.14.1

2.14.0

Patch Changes

  • Updated dependencies []:
    • @moralisweb3/client-api-utils@2.14.0
    • @moralisweb3/common-core@2.14.0
    • @moralisweb3/common-evm-utils@2.14.0

2.13.0

Patch Changes

  • Updated dependencies []:
    • @moralisweb3/client-api-utils@2.13.0
    • @moralisweb3/common-core@2.13.0
    • @moralisweb3/common-evm-utils@2.13.0

2.12.0

Patch Changes

  • Updated dependencies [a16b47566, 301490a3d]:
    • @moralisweb3/common-evm-utils@2.12.0
    • @moralisweb3/client-api-utils@2.12.0
    • @moralisweb3/common-core@2.12.0

2.11.1

Patch Changes

  • Updated dependencies []:
    • @moralisweb3/client-api-utils@2.11.1
    • @moralisweb3/common-core@2.11.1
    • @moralisweb3/common-evm-utils@2.11.1

2.11.0

Patch Changes

  • Updated dependencies [98bd66b8e, 98bd66b8e, 98bd66b8e]:
    • @moralisweb3/common-evm-utils@2.11.0
    • @moralisweb3/common-core@2.11.0
    • @moralisweb3/client-api-utils@2.11.0

2.10.3

Patch Changes

  • Updated dependencies []:
    • @moralisweb3/client-api-utils@2.10.3
    • @moralisweb3/common-core@2.10.3
    • @moralisweb3/common-evm-utils@2.10.3

2.10.2

Patch Changes

  • #912 26848dc2d Thanks @ErnoW! - Update api types to include latest features and fixes of evmApi and streams. This includes:

    • removal of deprecated subdomain and providerUrl params
    • evm endpooint for getMultipleNFTs
    • evm endpoint updated for getNFTContractTransfers to include fromBlock, toBlock, fromDate and toDate params
    • streams support for getNativeBalances
  • Updated dependencies [26848dc2d]:

    • @moralisweb3/client-api-utils@2.10.2
    • @moralisweb3/common-core@2.10.2
    • @moralisweb3/common-evm-utils@2.10.2

2.10.1

Patch Changes

  • Updated dependencies [33230c43c]:
    • @moralisweb3/common-evm-utils@2.10.1
    • @moralisweb3/client-api-utils@2.10.1
    • @moralisweb3/common-core@2.10.1

2.10.0

Patch Changes

2.9.0

Minor Changes

Patch Changes

2.8.2

Patch Changes

  • Updated dependencies [0cefcef6, 0cefcef6]:
    • @moralisweb3/common-evm-utils@2.8.2
    • @moralisweb3/client-api-utils@2.8.2
    • @moralisweb3/common-core@2.8.2

2.8.1

Patch Changes

  • Updated dependencies []:
    • @moralisweb3/client-api-utils@2.8.1
    • @moralisweb3/common-core@2.8.1
    • @moralisweb3/common-evm-utils@2.8.1

2.8.0

Minor Changes

  • #846 1374573d Thanks @ErnoW! - # Api responses (breaking change)

    For any api call, you get a resultAdapter response. The value of the toJSON() value has changed. Now it is the same value as .raw. Previously this caused a lot of confusion, and as both return a json. The value of this method has changed. So if you used .toJSON() on an api result you can:

    • Use .result, this will probably contain dataTypes with lots of utility functions. If you only care about the data, you can call .format() or .toJSON() on this datatype. This is the prefered way as it provides you wilt additional utilites and extra properties. We suggest you to use Typescript, to easily see the available properties/methods on these datatypes.
    • Or. use the new values (or values from .raw), these values are identical as they are provided by the internal api, without any data transformation. The types might be different than before, so please check this (we suggest to use Typescript, as all responses are typed, otherwise you can log the output and see any differences)

    Package name changes (deprecated, upcomming breaking change)

    If you're using some of our internal packages @moralisweb3/core for example then these names have been changed to differentiate between server-side packages, and packages that are compatible with client-side and server-side. We name these common-*. This is a first step to provide better client-side support:

    Migration guide

    • @moralisweb3/core -> @moralisweb3/common-core
    • @moralisweb3/evm-utils -> @moralisweb3/common-evm-utils
    • @moralisweb3/sol-utils -> @moralisweb3/common-sol-utils

    Change your dependencies in package.json and the corresponding imports in your code to the new names.

    For the time being, the old packages will remain, and we use them to forward to the common-* package, this will be removed in a future version, so please update to the new package name.

    NextJs package

    For easy integration we created a nextJs package. See packages/next. This contains:

    • hooks to all api endpoints
    • adapter to integrate into NextJs authentication via Moralis Auth

    For a demo check out demos/nextjs

    Operation types

    The parameters and return types are now exported for every api operation. These are exported from

    • moralis/common-evm-utils for evm api methods
    • moralis/common-sol-utils for sol api methods
    • moralis/common-auth-utils for auth methods
    • moralis/common-streams-utils for streams methods

    For example:

    import Moralis from 'moralis';
    import { GetContractNFTsRequest, EvmChain, GetContractNFTsResponse } from 'moralis/common-evm-utils';
    
    const getBlockOptions: GetContractNFTsRequest = {
      address: '0xd8da6bf26964af9d7eed9e03e53415d37aa96045',
      chain: EvmChain.ETHEREUM,
    };
    
    let result: GetContractNFTsResponse;
    
    const response = await Moralis.EvmApi.nft.getContractNFTs(getBlockOptions);
    result = response.result;

    Dataytypes support in client-side projects

    As a first step to provide better client-side support, all datatypes are now usable in server-side and client-side.

Patch Changes

  • Updated dependencies [f1336a35, 62036ef3, 1374573d]:
    • @moralisweb3/common-core@2.8.0
    • @moralisweb3/common-evm-utils@2.8.0
    • @moralisweb3/client-api-utils@2.8.0