- Updated dependencies [
dafeca247]:- @moralisweb3/api-utils@2.18.4
- @moralisweb3/common-core@2.18.4
- @moralisweb3/common-evm-utils@2.18.4
- @moralisweb3/common-streams-utils@2.18.4
- Updated dependencies [
6e1fc78fd]:- @moralisweb3/common-evm-utils@2.18.3
- @moralisweb3/api-utils@2.18.3
- @moralisweb3/common-core@2.18.3
- @moralisweb3/common-streams-utils@2.18.3
-
#1078
d2edf6780Thanks @b4rtaz! - Added support for triggers to the batch processor. -
Updated dependencies [
8caf91365]:- @moralisweb3/common-evm-utils@2.18.2
- @moralisweb3/api-utils@2.18.2
- @moralisweb3/common-core@2.18.2
- @moralisweb3/common-streams-utils@2.18.2
- Updated dependencies [
98a35355f]:- @moralisweb3/common-evm-utils@2.18.1
- @moralisweb3/api-utils@2.18.1
- @moralisweb3/common-core@2.18.1
- @moralisweb3/common-streams-utils@2.18.1
-
#1054
121a903deThanks @ErnoW! - Implement getLogs endpoint atStreams.getLogs -
#1066
9fba6e55aThanks @ErnoW! - Add processed media for nfts
- Updated dependencies [
121a903de,2f102c48c,4ad15182b,3e031685b,2d99b05c7,9fba6e55a,6d8dbacb7,ecc414aaf]:- @moralisweb3/common-streams-utils@2.18.0
- @moralisweb3/common-evm-utils@2.18.0
- @moralisweb3/api-utils@2.18.0
- @moralisweb3/common-core@2.18.0
-
#1055
d9b9587beThanks @ErnoW! - Update Streams webhook types to reflect api changes -
#1055
f5d0bdd62Thanks @ErnoW! - AddincludeAllTxLogsin all relevant Streams models -
Updated dependencies [
e96c34ab4,d9b9587be,f5d0bdd62]:- @moralisweb3/common-evm-utils@2.17.0
- @moralisweb3/api-utils@2.17.0
- @moralisweb3/common-streams-utils@2.17.0
- @moralisweb3/common-core@2.17.0
-
Updated dependencies [
8981730d6]:- @moralisweb3/api-utils@2.16.1
- @moralisweb3/common-core@2.16.1
- @moralisweb3/common-evm-utils@2.16.1
- @moralisweb3/common-streams-utils@2.16.1
- Updated dependencies []:
- @moralisweb3/api-utils@2.16.0
- @moralisweb3/common-core@2.16.0
- @moralisweb3/common-evm-utils@2.16.0
- @moralisweb3/common-streams-utils@2.16.0
-
#1039
310558392Thanks @b4rtaz! - Theupdatemethod for the EVM Streams API has thechainsproperty optional now. -
Updated dependencies [
36ebc0d82,521534f81,310558392]:- @moralisweb3/common-evm-utils@2.15.0
- @moralisweb3/common-streams-utils@2.15.0
- @moralisweb3/common-core@2.15.0
- @moralisweb3/api-utils@2.15.0
-
#1018
341fc4d8eThanks @blockframeio! - Added support for unindexed arrays to the log parser. -
Updated dependencies []:
- @moralisweb3/api-utils@2.14.3
- @moralisweb3/common-core@2.14.3
- @moralisweb3/common-evm-utils@2.14.3
- @moralisweb3/common-streams-utils@2.14.3
- Updated dependencies [
7949ea1fe]:- @moralisweb3/api-utils@2.14.2
- @moralisweb3/common-core@2.14.2
- @moralisweb3/common-evm-utils@2.14.2
- @moralisweb3/common-streams-utils@2.14.2
- Updated dependencies []:
- @moralisweb3/api-utils@2.14.1
- @moralisweb3/common-core@2.14.1
- @moralisweb3/common-evm-utils@2.14.1
- @moralisweb3/common-streams-utils@2.14.1
- Updated dependencies []:
- @moralisweb3/api-utils@2.14.0
- @moralisweb3/common-core@2.14.0
- @moralisweb3/common-evm-utils@2.14.0
- @moralisweb3/common-streams-utils@2.14.0
- #989
cdd111033Thanks @FedericoAmura! - Added support for new Aptos streams endpoints
- Updated dependencies [
cdd111033,abb77d713]:- @moralisweb3/common-streams-utils@2.13.0
- @moralisweb3/api-utils@2.13.0
- @moralisweb3/common-core@2.13.0
- @moralisweb3/common-evm-utils@2.13.0
-
#967
e79cccf53Thanks @ErnoW! - Make networkType behaviour consistent for all streams endpoints. For endpoints that accept a networkType, it will default to 'evm' when none is provided. -
Updated dependencies [
a16b47566,301490a3d]:- @moralisweb3/common-evm-utils@2.12.0
- @moralisweb3/api-utils@2.12.0
- @moralisweb3/common-core@2.12.0
- @moralisweb3/common-streams-utils@2.12.0
- Updated dependencies []:
- @moralisweb3/api-utils@2.11.1
- @moralisweb3/common-core@2.11.1
- @moralisweb3/common-evm-utils@2.11.1
- @moralisweb3/common-streams-utils@2.11.1
- Updated dependencies [
98bd66b8e,98bd66b8e,98bd66b8e]:- @moralisweb3/common-evm-utils@2.11.0
- @moralisweb3/common-core@2.11.0
- @moralisweb3/api-utils@2.11.0
- @moralisweb3/common-streams-utils@2.11.0
-
#916
744d12930Thanks @b4rtaz! - Added support forerc20Approvals,erc20Transfers,nftTokenApprovalsandnftTransfersto the mapper. -
Updated dependencies []:
- @moralisweb3/api-utils@2.10.3
- @moralisweb3/common-core@2.10.3
- @moralisweb3/common-evm-utils@2.10.3
- @moralisweb3/common-streams-utils@2.10.3
-
#912
26848dc2dThanks @ErnoW! - Update api types to include latest features and fixes of evmApi and streams. This includes:- removal of deprecated
subdomainandproviderUrlparams - evm endpooint for
getMultipleNFTs - evm endpoint updated for
getNFTContractTransfersto includefromBlock,toBlock,fromDateandtoDateparams - streams support for
getNativeBalances
- removal of deprecated
-
Updated dependencies [
26848dc2d]:- @moralisweb3/api-utils@2.10.2
- @moralisweb3/common-core@2.10.2
- @moralisweb3/common-evm-utils@2.10.2
- @moralisweb3/common-streams-utils@2.10.2
- Updated dependencies [
33230c43c]:- @moralisweb3/common-evm-utils@2.10.1
- @moralisweb3/api-utils@2.10.1
- @moralisweb3/common-core@2.10.1
- @moralisweb3/common-streams-utils@2.10.1
- Updated dependencies [
439d6e564,2dcf75f8a,52a8160d9,b703c5517]:- @moralisweb3/common-core@2.10.0
- @moralisweb3/api-utils@2.10.0
- @moralisweb3/common-evm-utils@2.10.0
- @moralisweb3/common-streams-utils@2.10.0
-
#885
aa86dc0f1Thanks @b4rtaz! - TheLogParserclass supports now a case when the parser from the@ethersproject/abipackage returns an instance of theIndexedclass. -
Updated dependencies [
a8c2175c2,338ee39e8,f709e1179,31ef229ad,248089ffa]:- @moralisweb3/common-evm-utils@2.9.0
- @moralisweb3/common-core@2.9.0
- @moralisweb3/api-utils@2.9.0
- @moralisweb3/common-streams-utils@2.9.0
- Updated dependencies [
0cefcef6,0cefcef6]:- @moralisweb3/common-evm-utils@2.8.2
- @moralisweb3/api-utils@2.8.2
- @moralisweb3/common-core@2.8.2
- @moralisweb3/common-streams-utils@2.8.2
- Updated dependencies []:
- @moralisweb3/api-utils@2.8.1
- @moralisweb3/common-core@2.8.1
- @moralisweb3/common-evm-utils@2.8.1
- @moralisweb3/common-streams-utils@2.8.1
-
#846
1374573dThanks @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)
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:
@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.
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/nextjsThe parameters and return types are now exported for every api operation. These are exported from
moralis/common-evm-utilsfor evm api methodsmoralis/common-sol-utilsfor sol api methodsmoralis/common-auth-utilsfor auth methodsmoralis/common-streams-utilsfor 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;
As a first step to provide better client-side support, all datatypes are now usable in server-side and client-side.
- Use
-
#804
6382cc1cThanks @b4rtaz! - Fix errors due to changes in webhook data for log parser function and update parse server streams docs -
Updated dependencies [
f1336a35,62036ef3,1374573d]:- @moralisweb3/api-utils@2.8.0
- @moralisweb3/common-core@2.8.0
- @moralisweb3/common-evm-utils@2.8.0
- @moralisweb3/common-streams-utils@2.8.0
-
#818
bc293674Thanks @ErnoW! - Update api types for streams: include types for stream usage -
Updated dependencies [
a18b46ae,08622cd9]:- @moralisweb3/evm-utils@2.7.4
- @moralisweb3/core@2.7.4
- @moralisweb3/api-utils@2.7.4
- Updated dependencies []:
- @moralisweb3/core@2.7.3
- @moralisweb3/api-utils@2.7.3
- @moralisweb3/evm-utils@2.7.3
-
#784
a1bbd61fThanks @sogunshola! - Fix errors due to changes in webhook data for log parser function and update parse server streams docs -
Updated dependencies []:
- @moralisweb3/core@2.7.2
- @moralisweb3/api-utils@2.7.2
- @moralisweb3/evm-utils@2.7.2
-
#790
2f938764Thanks @b4rtaz! - Add missing dependency to the@moralisweb3/streamspackage. -
Updated dependencies []:
- @moralisweb3/core@2.7.1
- @moralisweb3/api-utils@2.7.1
- @moralisweb3/evm-utils@2.7.1
- #782
07c8ca69Thanks @sogunshola! - Incuded parse server package with streams plugin implementation and added document builder to streams package.
- #782
07c8ca69Thanks @sogunshola! - Included parse server package and added document builder logic to streams package
- Updated dependencies []:
- @moralisweb3/core@2.7.0
- @moralisweb3/api-utils@2.7.0
- @moralisweb3/evm-utils@2.7.0
-
#768
6701030eThanks @sogunshola! - Move streams-typings from dev dependencies to dependencies in streams package and also correct export name in umbrella package -
Updated dependencies []:
- @moralisweb3/core@2.6.7
- @moralisweb3/api-utils@2.6.7
- @moralisweb3/evm-utils@2.6.7
- Updated dependencies [
11ba50f7,d87f37c5]:- @moralisweb3/evm-utils@2.6.6
- @moralisweb3/core@2.6.6
- @moralisweb3/api-utils@2.6.6
-
#744
9953a791Thanks @ErnoW! - Update types and endpoints for Moralis.Streams to reflect the api changes. Some types have changes,Moralis.Streams.retrynow accepts an id and is fixed. And return types from webhooks have been updated. -
Updated dependencies []:
- @moralisweb3/core@2.6.5
- @moralisweb3/api-utils@2.6.5
- @moralisweb3/evm-utils@2.6.5
-
4af4eb8aThanks @ErnoW! - Fix dependency/dev-dependency issue with streams-typings -
Updated dependencies [
77eb29bf]:- @moralisweb3/api-utils@2.6.4
- @moralisweb3/core@2.6.4
- @moralisweb3/evm-utils@2.6.4
-
Updated dependencies []:
- @moralisweb3/core@2.6.3
- @moralisweb3/api-utils@2.6.3
- @moralisweb3/evm-utils@2.6.3
-
Updated dependencies []:
- @moralisweb3/core@2.6.2
- @moralisweb3/api-utils@2.6.2
- @moralisweb3/evm-utils@2.6.2
- #715
f3cd2b5cThanks @ErnoW! - Update types according to api changes: removeaddressandtokenAddress, add includeContractLogs, includeInternalTxs and allAddresses flags, and mapetopic0an array
- #714
42893723Thanks @ErnoW! - Renamenetworkparam tonetworkTypeforMoralis.StreamsandMoralis.Auth, to communicate more clearly the purpose of this param. Also make this value optional and default to"evm"
-
#722
36a4096dThanks @ErnoW! - Add advancedOptions to Morlais.Streams (and remove filter) -
Updated dependencies [
bfea2ba5,42893723]:- @moralisweb3/evm-utils@2.6.1
- @moralisweb3/core@2.6.1
- @moralisweb3/api-utils@2.6.1
- #707
683b6ce8Thanks @ErnoW! - Add endpoints to attach, delete or get addresses to streams viaMoralis.Streams.addAddress,Moralis.Streams.getAddresses, andMoralis.Streams.deleteAddress
- Updated dependencies []:
- @moralisweb3/core@2.6.0
- @moralisweb3/api-utils@2.6.0
- @moralisweb3/evm-utils@2.6.0
- Updated dependencies []:
- @moralisweb3/core@2.5.8
- @moralisweb3/api-utils@2.5.8
- @moralisweb3/evm-utils@2.5.8
- Updated dependencies []:
- @moralisweb3/core@2.5.7
- @moralisweb3/api-utils@2.5.7
- @moralisweb3/evm-utils@2.5.7
- Updated dependencies []:
- @moralisweb3/core@2.5.6
- @moralisweb3/api-utils@2.5.6
- @moralisweb3/evm-utils@2.5.6
-
#699
d79800adThanks @ErnoW! - Fix parsing of API error messages, now the MoralisError will show themessagethat is returned from the api. -
Updated dependencies [
d79800ad]:- @moralisweb3/core@2.5.5
- @moralisweb3/api-utils@2.5.5
- @moralisweb3/evm-utils@2.5.5
- Updated dependencies [
62275677]:- @moralisweb3/evm-utils@2.5.4
- @moralisweb3/core@2.5.4
- @moralisweb3/api-utils@2.5.4
-
#692
008de89fThanks @ErnoW! - Update typings for streams: update @moralisweb3/streams-typings to v1.0.2 -
Updated dependencies []:
- @moralisweb3/core@2.5.3
- @moralisweb3/api-utils@2.5.3
- @moralisweb3/evm-utils@2.5.3
- #687
d6ed8ce0Thanks @locothedev! - update base url
-
#689
500ddaf3Thanks @ErnoW! - Export types for returned webhooks -
Updated dependencies []:
- @moralisweb3/core@2.5.2
- @moralisweb3/api-utils@2.5.2
- @moralisweb3/evm-utils@2.5.2
-
#685
688dc414Thanks @ErnoW! - Fix for providing a custom type toMoralis.Streams.parsedLogs<MyEvent>(). This now works as expected, and the returned type is ofMyEvent[] -
Updated dependencies []:
- @moralisweb3/core@2.5.1
- @moralisweb3/api-utils@2.5.1
- @moralisweb3/evm-utils@2.5.1
- #674
c719cc2fThanks @sogunshola! - Added verifySignature utility function
- #678
72ad17b7Thanks @sogunshola! - Added funtion to decode webhook logs
- #683
cd9a9ce5Thanks @ErnoW! - AddMoralis.Streams.retry()to retry failed webhooks, and addMoralis.Streams.updateStatus()to update the status of a webhook.
- Updated dependencies [
c719cc2f]:- @moralisweb3/core@2.5.0
- @moralisweb3/api-utils@2.5.0
- @moralisweb3/evm-utils@2.5.0
- #658
7fffd1e4Thanks @sogunshola! - Intergrating stream API in code base, creating a new package @moralisweb3/streams
- Updated dependencies [
7fffd1e4]:- @moralisweb3/api-utils@2.4.0
- @moralisweb3/core@2.4.0
- @moralisweb3/evm-utils@2.4.0