- Updated dependencies [
4434f6e915
]:- @moralisweb3/common-evm-utils@2.27.2
- @moralisweb3/api-utils@2.27.2
- @moralisweb3/common-aptos-utils@2.27.2
- @moralisweb3/common-auth-utils@2.27.2
- @moralisweb3/common-core@2.27.2
- @moralisweb3/common-sol-utils@2.27.2
- Updated dependencies [
f4c0c22b92
]:- @moralisweb3/common-evm-utils@2.27.1
- @moralisweb3/api-utils@2.27.1
- @moralisweb3/common-aptos-utils@2.27.1
- @moralisweb3/common-auth-utils@2.27.1
- @moralisweb3/common-core@2.27.1
- @moralisweb3/common-sol-utils@2.27.1
- Updated dependencies [
061df23238
]:- @moralisweb3/common-evm-utils@2.27.0
- @moralisweb3/api-utils@2.27.0
- @moralisweb3/common-aptos-utils@2.27.0
- @moralisweb3/common-auth-utils@2.27.0
- @moralisweb3/common-core@2.27.0
- @moralisweb3/common-sol-utils@2.27.0
- Updated dependencies [
7b334bf7bd
]:- @moralisweb3/common-evm-utils@2.26.9
- @moralisweb3/api-utils@2.26.9
- @moralisweb3/common-aptos-utils@2.26.9
- @moralisweb3/common-auth-utils@2.26.9
- @moralisweb3/common-core@2.26.9
- @moralisweb3/common-sol-utils@2.26.9
- Updated dependencies [
77d125401e
]:- @moralisweb3/common-evm-utils@2.26.8
- @moralisweb3/api-utils@2.26.8
- @moralisweb3/common-aptos-utils@2.26.8
- @moralisweb3/common-auth-utils@2.26.8
- @moralisweb3/common-core@2.26.8
- @moralisweb3/common-sol-utils@2.26.8
- Updated dependencies [
6bd790d233
]:- @moralisweb3/common-evm-utils@2.26.7
- @moralisweb3/api-utils@2.26.7
- @moralisweb3/common-aptos-utils@2.26.7
- @moralisweb3/common-auth-utils@2.26.7
- @moralisweb3/common-core@2.26.7
- @moralisweb3/common-sol-utils@2.26.7
- Updated dependencies [
4f50daec00
,9ddc8c3a95
]:- @moralisweb3/common-evm-utils@2.26.6
- @moralisweb3/api-utils@2.26.6
- @moralisweb3/common-aptos-utils@2.26.6
- @moralisweb3/common-auth-utils@2.26.6
- @moralisweb3/common-core@2.26.6
- @moralisweb3/common-sol-utils@2.26.6
- Updated dependencies [
26d2a2e397
]:- @moralisweb3/common-evm-utils@2.26.5
- @moralisweb3/api-utils@2.26.5
- @moralisweb3/common-aptos-utils@2.26.5
- @moralisweb3/common-auth-utils@2.26.5
- @moralisweb3/common-core@2.26.5
- @moralisweb3/common-sol-utils@2.26.5
- Updated dependencies [
92ef94d396
]:- @moralisweb3/common-evm-utils@2.26.4
- @moralisweb3/api-utils@2.26.4
- @moralisweb3/common-aptos-utils@2.26.4
- @moralisweb3/common-auth-utils@2.26.4
- @moralisweb3/common-core@2.26.4
- @moralisweb3/common-sol-utils@2.26.4
- Updated dependencies [
c2f2e5822f
]:- @moralisweb3/common-evm-utils@2.26.3
- @moralisweb3/api-utils@2.26.3
- @moralisweb3/common-aptos-utils@2.26.3
- @moralisweb3/common-auth-utils@2.26.3
- @moralisweb3/common-core@2.26.3
- @moralisweb3/common-sol-utils@2.26.3
- Updated dependencies [
ea0b14b4d2
,54bbb312fe
,36f3d57d2b
,db90d9b887
]:- @moralisweb3/common-evm-utils@2.26.2
- @moralisweb3/api-utils@2.26.2
- @moralisweb3/common-aptos-utils@2.26.2
- @moralisweb3/common-auth-utils@2.26.2
- @moralisweb3/common-core@2.26.2
- @moralisweb3/common-sol-utils@2.26.2
- Updated dependencies [
50d341a8ed
]:- @moralisweb3/common-evm-utils@2.26.1
- @moralisweb3/api-utils@2.26.1
- @moralisweb3/common-aptos-utils@2.26.1
- @moralisweb3/common-auth-utils@2.26.1
- @moralisweb3/common-core@2.26.1
- @moralisweb3/common-sol-utils@2.26.1
- Updated dependencies [
a5c088bc4a
,a5c088bc4a
,a5c088bc4a
]:- @moralisweb3/common-evm-utils@2.26.0
- @moralisweb3/api-utils@2.26.0
- @moralisweb3/common-aptos-utils@2.26.0
- @moralisweb3/common-auth-utils@2.26.0
- @moralisweb3/common-core@2.26.0
- @moralisweb3/common-sol-utils@2.26.0
- Updated dependencies [
10ee58ef60
]:- @moralisweb3/common-evm-utils@2.25.4
- @moralisweb3/api-utils@2.25.4
- @moralisweb3/common-aptos-utils@2.25.4
- @moralisweb3/common-auth-utils@2.25.4
- @moralisweb3/common-core@2.25.4
- @moralisweb3/common-sol-utils@2.25.4
- Updated dependencies [
961c409610
]:- @moralisweb3/common-evm-utils@2.25.3
- @moralisweb3/api-utils@2.25.3
- @moralisweb3/common-aptos-utils@2.25.3
- @moralisweb3/common-auth-utils@2.25.3
- @moralisweb3/common-core@2.25.3
- @moralisweb3/common-sol-utils@2.25.3
- Updated dependencies [
3415bf5a7f
]:- @moralisweb3/common-evm-utils@2.25.2
- @moralisweb3/api-utils@2.25.2
- @moralisweb3/common-aptos-utils@2.25.2
- @moralisweb3/common-auth-utils@2.25.2
- @moralisweb3/common-core@2.25.2
- @moralisweb3/common-sol-utils@2.25.2
- Updated dependencies [
cb5b17e5ea
]:- @moralisweb3/common-evm-utils@2.25.1
- @moralisweb3/api-utils@2.25.1
- @moralisweb3/common-aptos-utils@2.25.1
- @moralisweb3/common-auth-utils@2.25.1
- @moralisweb3/common-core@2.25.1
- @moralisweb3/common-sol-utils@2.25.1
- Updated dependencies [
5caa82758
,31d73a721
,31d73a721
]:- @moralisweb3/common-evm-utils@2.25.0
- @moralisweb3/api-utils@2.25.0
- @moralisweb3/common-aptos-utils@2.25.0
- @moralisweb3/common-auth-utils@2.25.0
- @moralisweb3/common-core@2.25.0
- @moralisweb3/common-sol-utils@2.25.0
- Updated dependencies [
69ce6b585
]:- @moralisweb3/common-evm-utils@2.24.3
- @moralisweb3/api-utils@2.24.3
- @moralisweb3/common-aptos-utils@2.24.3
- @moralisweb3/common-auth-utils@2.24.3
- @moralisweb3/common-core@2.24.3
- @moralisweb3/common-sol-utils@2.24.3
- Updated dependencies [
b6f6e182f
]:- @moralisweb3/common-evm-utils@2.24.2
- @moralisweb3/api-utils@2.24.2
- @moralisweb3/common-aptos-utils@2.24.2
- @moralisweb3/common-auth-utils@2.24.2
- @moralisweb3/common-core@2.24.2
- @moralisweb3/common-sol-utils@2.24.2
- Updated dependencies [
7ef12018e
]:- @moralisweb3/common-evm-utils@2.24.1
- @moralisweb3/api-utils@2.24.1
- @moralisweb3/common-aptos-utils@2.24.1
- @moralisweb3/common-auth-utils@2.24.1
- @moralisweb3/common-core@2.24.1
- @moralisweb3/common-sol-utils@2.24.1
- Updated dependencies [
444c0dd54
,444c0dd54
]:- @moralisweb3/common-sol-utils@2.24.0
- @moralisweb3/api-utils@2.24.0
- @moralisweb3/common-aptos-utils@2.24.0
- @moralisweb3/common-auth-utils@2.24.0
- @moralisweb3/common-core@2.24.0
- @moralisweb3/common-evm-utils@2.24.0
- Updated dependencies [
11fb29d8b
]:- @moralisweb3/common-evm-utils@2.23.2
- @moralisweb3/api-utils@2.23.2
- @moralisweb3/common-aptos-utils@2.23.2
- @moralisweb3/common-auth-utils@2.23.2
- @moralisweb3/common-core@2.23.2
- @moralisweb3/common-sol-utils@2.23.2
- Updated dependencies [
7e2b9ffc7
]:- @moralisweb3/common-evm-utils@2.23.1
- @moralisweb3/api-utils@2.23.1
- @moralisweb3/common-aptos-utils@2.23.1
- @moralisweb3/common-auth-utils@2.23.1
- @moralisweb3/common-core@2.23.1
- @moralisweb3/common-sol-utils@2.23.1
- Updated dependencies [
18c36c8b0
]:- @moralisweb3/common-evm-utils@2.23.0
- @moralisweb3/api-utils@2.23.0
- @moralisweb3/common-aptos-utils@2.23.0
- @moralisweb3/common-auth-utils@2.23.0
- @moralisweb3/common-core@2.23.0
- @moralisweb3/common-sol-utils@2.23.0
- Updated dependencies [
a1dca27df
]:- @moralisweb3/common-evm-utils@2.22.5
- @moralisweb3/api-utils@2.22.5
- @moralisweb3/common-aptos-utils@2.22.5
- @moralisweb3/common-auth-utils@2.22.5
- @moralisweb3/common-core@2.22.5
- @moralisweb3/common-sol-utils@2.22.5
- Updated dependencies [
7a646d14b
]:- @moralisweb3/common-evm-utils@2.22.4
- @moralisweb3/api-utils@2.22.4
- @moralisweb3/common-aptos-utils@2.22.4
- @moralisweb3/common-auth-utils@2.22.4
- @moralisweb3/common-core@2.22.4
- @moralisweb3/common-sol-utils@2.22.4
- Updated dependencies [
da8400258
]:- @moralisweb3/common-evm-utils@2.22.3
- @moralisweb3/api-utils@2.22.3
- @moralisweb3/common-aptos-utils@2.22.3
- @moralisweb3/common-auth-utils@2.22.3
- @moralisweb3/common-core@2.22.3
- @moralisweb3/common-sol-utils@2.22.3
- Updated dependencies []:
- @moralisweb3/api-utils@2.22.2
- @moralisweb3/common-aptos-utils@2.22.2
- @moralisweb3/common-auth-utils@2.22.2
- @moralisweb3/common-core@2.22.2
- @moralisweb3/common-evm-utils@2.22.2
- @moralisweb3/common-sol-utils@2.22.2
- Updated dependencies [
a9ba7092f
]:- @moralisweb3/common-evm-utils@2.22.1
- @moralisweb3/api-utils@2.22.1
- @moralisweb3/common-aptos-utils@2.22.1
- @moralisweb3/common-auth-utils@2.22.1
- @moralisweb3/common-core@2.22.1
- @moralisweb3/common-sol-utils@2.22.1
- Updated dependencies [
45fcd84da
,9dc253b1e
]:- @moralisweb3/common-evm-utils@2.22.0
- @moralisweb3/common-sol-utils@2.22.0
- @moralisweb3/api-utils@2.22.0
- @moralisweb3/common-aptos-utils@2.22.0
- @moralisweb3/common-auth-utils@2.22.0
- @moralisweb3/common-core@2.22.0
- #1125
465394674
Thanks @b4rtaz! - Breaking change: Deleted default exports from@moralisweb3/common-core
,@moralisweb3/aptos-api
,@moralisweb3/streams
,@moralisweb3/evm-api
,@moralisweb3/sol-api
and@moralisweb3/auth
packages. Themoralis
package is unchanged.
- Updated dependencies [
465394674
,98035a86d
]:- @moralisweb3/common-core@2.21.0
- @moralisweb3/common-evm-utils@2.21.0
- @moralisweb3/api-utils@2.21.0
- @moralisweb3/common-aptos-utils@2.21.0
- @moralisweb3/common-auth-utils@2.21.0
- @moralisweb3/common-sol-utils@2.21.0
- #1123
8a3bef8c2
Thanks @b4rtaz! - Breaking change: Deleted support for Cronos Testnet and Avalanche Testnet.
- Updated dependencies [
0f5444575
,8a3bef8c2
,0f5444575
,833feaf20
,0f5444575
,0f5444575
,26f20c88a
,26f20c88a
]:- @moralisweb3/common-evm-utils@2.20.0
- @moralisweb3/common-aptos-utils@2.20.0
- @moralisweb3/common-sol-utils@2.20.0
- @moralisweb3/api-utils@2.20.0
- @moralisweb3/common-auth-utils@2.20.0
- @moralisweb3/common-core@2.20.0
- Updated dependencies []:
- @moralisweb3/api-utils@2.19.1
- @moralisweb3/common-aptos-utils@2.19.1
- @moralisweb3/common-auth-utils@2.19.1
- @moralisweb3/common-core@2.19.1
- @moralisweb3/common-evm-utils@2.19.1
- @moralisweb3/common-sol-utils@2.19.1
- #1101
586a71133
Thanks @b4rtaz! - Breaking change: Theformat()
method has been deleted from theEvmAddress
class and theEvmChain
class. Please format the value by using a proper class property.
-
#1098
393291c73
Thanks @b4rtaz! - Fixed importing interop modules for CJS bundles. -
Updated dependencies [
586a71133
,586a71133
,586a71133
,586a71133
,393291c73
]:- @moralisweb3/common-evm-utils@2.19.0
- @moralisweb3/common-aptos-utils@2.19.0
- @moralisweb3/common-auth-utils@2.19.0
- @moralisweb3/common-sol-utils@2.19.0
- @moralisweb3/common-core@2.19.0
- @moralisweb3/api-utils@2.19.0
- Updated dependencies [
dafeca247
]:- @moralisweb3/api-utils@2.18.4
- @moralisweb3/common-aptos-utils@2.18.4
- @moralisweb3/common-auth-utils@2.18.4
- @moralisweb3/common-core@2.18.4
- @moralisweb3/common-evm-utils@2.18.4
- @moralisweb3/common-sol-utils@2.18.4
- Updated dependencies [
6e1fc78fd
,27d62491b
,a3c5e35fe
]:- @moralisweb3/common-evm-utils@2.18.3
- @moralisweb3/common-aptos-utils@2.18.3
- @moralisweb3/api-utils@2.18.3
- @moralisweb3/common-auth-utils@2.18.3
- @moralisweb3/common-core@2.18.3
- @moralisweb3/common-sol-utils@2.18.3
- Updated dependencies [
8caf91365
]:- @moralisweb3/common-evm-utils@2.18.2
- @moralisweb3/api-utils@2.18.2
- @moralisweb3/common-aptos-utils@2.18.2
- @moralisweb3/common-auth-utils@2.18.2
- @moralisweb3/common-core@2.18.2
- @moralisweb3/common-sol-utils@2.18.2
- Updated dependencies [
98a35355f
]:- @moralisweb3/common-evm-utils@2.18.1
- @moralisweb3/api-utils@2.18.1
- @moralisweb3/common-aptos-utils@2.18.1
- @moralisweb3/common-auth-utils@2.18.1
- @moralisweb3/common-core@2.18.1
- @moralisweb3/common-sol-utils@2.18.1
- #1068
957587789
Thanks @ErnoW! - Updatenetwork
param for auth methods. We deprecaredsolNetwork
in favour ofnetwork
. WithnetworkType
you specify evm/solana/aptos. With chain (evm) you specify the chain. With network (solana,aptos) you specify the network (mainnet/testnet)
- Updated dependencies [
2f102c48c
,4ad15182b
,44971d0f8
,3e031685b
,2d99b05c7
,9fba6e55a
,6d8dbacb7
,957587789
,ff40a18f1
,ecc414aaf
]:- @moralisweb3/common-evm-utils@2.18.0
- @moralisweb3/common-aptos-utils@2.18.0
- @moralisweb3/api-utils@2.18.0
- @moralisweb3/common-auth-utils@2.18.0
- @moralisweb3/common-sol-utils@2.18.0
- @moralisweb3/common-core@2.18.0
- Updated dependencies [
e96c34ab4
]:- @moralisweb3/common-evm-utils@2.17.0
- @moralisweb3/api-utils@2.17.0
- @moralisweb3/common-aptos-utils@2.17.0
- @moralisweb3/common-auth-utils@2.17.0
- @moralisweb3/common-core@2.17.0
- @moralisweb3/common-sol-utils@2.17.0
-
Updated dependencies [
8981730d6
]:- @moralisweb3/api-utils@2.16.1
- @moralisweb3/common-aptos-utils@2.16.1
- @moralisweb3/common-auth-utils@2.16.1
- @moralisweb3/common-core@2.16.1
- @moralisweb3/common-evm-utils@2.16.1
- @moralisweb3/common-sol-utils@2.16.1
- Updated dependencies []:
- @moralisweb3/api-utils@2.16.0
- @moralisweb3/common-aptos-utils@2.16.0
- @moralisweb3/common-auth-utils@2.16.0
- @moralisweb3/common-core@2.16.0
- @moralisweb3/common-evm-utils@2.16.0
- @moralisweb3/common-sol-utils@2.16.0
-
Updated dependencies [
36ebc0d82
,521534f81
,ad4925518
]:- @moralisweb3/common-evm-utils@2.15.0
- @moralisweb3/common-aptos-utils@2.15.0
- @moralisweb3/common-auth-utils@2.15.0
- @moralisweb3/common-sol-utils@2.15.0
- @moralisweb3/common-core@2.15.0
- @moralisweb3/api-utils@2.15.0
- Updated dependencies []:
- @moralisweb3/api-utils@2.14.3
- @moralisweb3/common-aptos-utils@2.14.3
- @moralisweb3/common-auth-utils@2.14.3
- @moralisweb3/common-core@2.14.3
- @moralisweb3/common-evm-utils@2.14.3
- @moralisweb3/common-sol-utils@2.14.3
- Updated dependencies [
7949ea1fe
]:- @moralisweb3/api-utils@2.14.2
- @moralisweb3/common-aptos-utils@2.14.2
- @moralisweb3/common-auth-utils@2.14.2
- @moralisweb3/common-core@2.14.2
- @moralisweb3/common-evm-utils@2.14.2
- @moralisweb3/common-sol-utils@2.14.2
- Updated dependencies []:
- @moralisweb3/api-utils@2.14.1
- @moralisweb3/common-aptos-utils@2.14.1
- @moralisweb3/common-auth-utils@2.14.1
- @moralisweb3/common-core@2.14.1
- @moralisweb3/common-evm-utils@2.14.1
- @moralisweb3/common-sol-utils@2.14.1
- Updated dependencies [
055f0f47a
]:- @moralisweb3/common-aptos-utils@2.14.0
- @moralisweb3/common-auth-utils@2.14.0
- @moralisweb3/api-utils@2.14.0
- @moralisweb3/common-core@2.14.0
- @moralisweb3/common-evm-utils@2.14.0
- @moralisweb3/common-sol-utils@2.14.0
- Updated dependencies [
abb77d713
]:- @moralisweb3/api-utils@2.13.0
- @moralisweb3/common-auth-utils@2.13.0
- @moralisweb3/common-core@2.13.0
- @moralisweb3/common-evm-utils@2.13.0
- @moralisweb3/common-sol-utils@2.13.0
-
#980
a16b47566
Thanks @FedericoAmura! - Updated operations to properly support updated endpoints. New endpoint to get the native balance for multiple addresses:- added
Moralis.EvmApi.getNativeBalancesForAddresses()
Endpoints to get/add/remove addresses to an authenticated profile:
- added
Moralis.Auth.getAddresses()
- added
Moralis.Auth.requestBind()
- added
Moralis.Auth.verifyRequestBind()
- added
Moralis.Auth.removeBind()
- added
Moralis.Auth.verifyRemoveBind()
- added
-
Updated dependencies [
a16b47566
,301490a3d
]:- @moralisweb3/common-auth-utils@2.12.0
- @moralisweb3/common-evm-utils@2.12.0
- @moralisweb3/api-utils@2.12.0
- @moralisweb3/common-core@2.12.0
- @moralisweb3/common-sol-utils@2.12.0
- Updated dependencies []:
- @moralisweb3/api-utils@2.11.1
- @moralisweb3/common-auth-utils@2.11.1
- @moralisweb3/common-core@2.11.1
- @moralisweb3/common-evm-utils@2.11.1
- @moralisweb3/common-sol-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-auth-utils@2.11.0
- @moralisweb3/common-sol-utils@2.11.0
- Updated dependencies []:
- @moralisweb3/api-utils@2.10.3
- @moralisweb3/common-auth-utils@2.10.3
- @moralisweb3/common-core@2.10.3
- @moralisweb3/common-evm-utils@2.10.3
- @moralisweb3/common-sol-utils@2.10.3
-
#912
26848dc2d
Thanks @ErnoW! - Update api types to include latest features and fixes of evmApi and streams. This includes:- removal of deprecated
subdomain
andproviderUrl
params - evm endpooint for
getMultipleNFTs
- evm endpoint updated for
getNFTContractTransfers
to includefromBlock
,toBlock
,fromDate
andtoDate
params - streams support for
getNativeBalances
- removal of deprecated
-
Updated dependencies [
26848dc2d
]:- @moralisweb3/api-utils@2.10.2
- @moralisweb3/common-auth-utils@2.10.2
- @moralisweb3/common-core@2.10.2
- @moralisweb3/common-evm-utils@2.10.2
- @moralisweb3/common-sol-utils@2.10.2
- Updated dependencies [
33230c43c
]:- @moralisweb3/common-evm-utils@2.10.1
- @moralisweb3/api-utils@2.10.1
- @moralisweb3/common-auth-utils@2.10.1
- @moralisweb3/common-core@2.10.1
- @moralisweb3/common-sol-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-auth-utils@2.10.0
- @moralisweb3/common-sol-utils@2.10.0
- 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-auth-utils@2.9.0
- @moralisweb3/common-sol-utils@2.9.0
- Updated dependencies [
0cefcef6
,0cefcef6
]:- @moralisweb3/common-evm-utils@2.8.2
- @moralisweb3/api-utils@2.8.2
- @moralisweb3/common-auth-utils@2.8.2
- @moralisweb3/common-core@2.8.2
- @moralisweb3/common-sol-utils@2.8.2
- Updated dependencies []:
- @moralisweb3/api-utils@2.8.1
- @moralisweb3/common-auth-utils@2.8.1
- @moralisweb3/common-core@2.8.1
- @moralisweb3/common-evm-utils@2.8.1
- @moralisweb3/common-sol-utils@2.8.1
-
#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)
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/nextjs
The parameters and return types are now exported for every api operation. These are exported from
moralis/common-evm-utils
for evm api methodsmoralis/common-sol-utils
for sol api methodsmoralis/common-auth-utils
for auth methodsmoralis/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;
As a first step to provide better client-side support, all datatypes are now usable in server-side and client-side.
- Use
- 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-sol-utils@2.8.0
- @moralisweb3/common-auth-utils@2.8.0
-
#818
a18b46ae
Thanks @ErnoW! - Update api types: removing deprecated chains -
Updated dependencies [
a18b46ae
,08622cd9
]:- @moralisweb3/evm-utils@2.7.4
- @moralisweb3/core@2.7.4
- @moralisweb3/api-utils@2.7.4
- @moralisweb3/sol-utils@2.7.4
- Updated dependencies []:
- @moralisweb3/core@2.7.3
- @moralisweb3/api-utils@2.7.3
- @moralisweb3/evm-utils@2.7.3
- @moralisweb3/sol-utils@2.7.3
- Updated dependencies []:
- @moralisweb3/core@2.7.2
- @moralisweb3/api-utils@2.7.2
- @moralisweb3/evm-utils@2.7.2
- @moralisweb3/sol-utils@2.7.2
- Updated dependencies []:
- @moralisweb3/core@2.7.1
- @moralisweb3/api-utils@2.7.1
- @moralisweb3/evm-utils@2.7.1
- @moralisweb3/sol-utils@2.7.1
- Updated dependencies []:
- @moralisweb3/core@2.7.0
- @moralisweb3/api-utils@2.7.0
- @moralisweb3/evm-utils@2.7.0
- @moralisweb3/sol-utils@2.7.0
- Updated dependencies []:
- @moralisweb3/core@2.6.7
- @moralisweb3/api-utils@2.6.7
- @moralisweb3/evm-utils@2.6.7
- @moralisweb3/sol-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
- @moralisweb3/sol-utils@2.6.6
- Updated dependencies []:
- @moralisweb3/core@2.6.5
- @moralisweb3/api-utils@2.6.5
- @moralisweb3/evm-utils@2.6.5
- @moralisweb3/sol-utils@2.6.5
- Updated dependencies [
77eb29bf
]:- @moralisweb3/api-utils@2.6.4
- @moralisweb3/core@2.6.4
- @moralisweb3/evm-utils@2.6.4
- @moralisweb3/sol-utils@2.6.4
- Updated dependencies []:
- @moralisweb3/core@2.6.3
- @moralisweb3/api-utils@2.6.3
- @moralisweb3/evm-utils@2.6.3
- @moralisweb3/sol-utils@2.6.3
- Updated dependencies []:
- @moralisweb3/core@2.6.2
- @moralisweb3/api-utils@2.6.2
- @moralisweb3/evm-utils@2.6.2
- @moralisweb3/sol-utils@2.6.2
-
#714
42893723
Thanks @ErnoW! - Renamenetwork
param tonetworkType
forMoralis.Streams
andMoralis.Auth
, to communicate more clearly the purpose of this param. Also make this value optional and default to"evm"
-
Updated dependencies [
bfea2ba5
,42893723
]:- @moralisweb3/evm-utils@2.6.1
- @moralisweb3/sol-utils@2.6.1
- @moralisweb3/core@2.6.1
- @moralisweb3/api-utils@2.6.1
- Updated dependencies []:
- @moralisweb3/core@2.6.0
- @moralisweb3/api-utils@2.6.0
- @moralisweb3/evm-utils@2.6.0
- @moralisweb3/sol-utils@2.6.0
- Updated dependencies []:
- @moralisweb3/core@2.5.8
- @moralisweb3/api-utils@2.5.8
- @moralisweb3/evm-utils@2.5.8
- @moralisweb3/sol-utils@2.5.8
- Updated dependencies []:
- @moralisweb3/core@2.5.7
- @moralisweb3/api-utils@2.5.7
- @moralisweb3/evm-utils@2.5.7
- @moralisweb3/sol-utils@2.5.7
- Updated dependencies []:
- @moralisweb3/core@2.5.6
- @moralisweb3/api-utils@2.5.6
- @moralisweb3/evm-utils@2.5.6
- @moralisweb3/sol-utils@2.5.6
-
#699
d79800ad
Thanks @ErnoW! - Fix parsing of API error messages, now the MoralisError will show themessage
that 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
- @moralisweb3/sol-utils@2.5.5
- Updated dependencies [
62275677
]:- @moralisweb3/evm-utils@2.5.4
- @moralisweb3/core@2.5.4
- @moralisweb3/api-utils@2.5.4
- @moralisweb3/sol-utils@2.5.4
- Updated dependencies []:
- @moralisweb3/core@2.5.3
- @moralisweb3/api-utils@2.5.3
- @moralisweb3/evm-utils@2.5.3
- @moralisweb3/sol-utils@2.5.3
- Updated dependencies []:
- @moralisweb3/core@2.5.2
- @moralisweb3/api-utils@2.5.2
- @moralisweb3/evm-utils@2.5.2
- @moralisweb3/sol-utils@2.5.2
- Updated dependencies []:
- @moralisweb3/core@2.5.1
- @moralisweb3/api-utils@2.5.1
- @moralisweb3/evm-utils@2.5.1
- @moralisweb3/sol-utils@2.5.1
- Updated dependencies [
c719cc2f
]:- @moralisweb3/core@2.5.0
- @moralisweb3/api-utils@2.5.0
- @moralisweb3/evm-utils@2.5.0
- @moralisweb3/sol-utils@2.5.0
- #653
dd3602a2
Thanks @sogunshola! - Added solana authentication to auth package
- Updated dependencies [
7fffd1e4
]:- @moralisweb3/api-utils@2.4.0
- @moralisweb3/core@2.4.0
- @moralisweb3/evm-utils@2.4.0
- @moralisweb3/sol-utils@2.4.0
- Updated dependencies []:
- @moralisweb3/core@2.3.1
- @moralisweb3/api-utils@2.3.1
- @moralisweb3/evm-utils@2.3.1
- Updated dependencies [
7e83894
]:- @moralisweb3/evm-utils@2.3.0
- @moralisweb3/core@2.3.0
- @moralisweb3/api-utils@2.3.0
- Updated dependencies [
a6b30fc
]:- @moralisweb3/evm-utils@2.2.0
- @moralisweb3/core@2.2.0
- @moralisweb3/api-utils@2.2.0
- Updated dependencies [
5bfb635
,7fa4654
]:- @moralisweb3/api-utils@2.1.1
- @moralisweb3/evm-utils@2.1.1
- @moralisweb3/core@2.1.1
- Updated dependencies [
a0ece52
,761d0d7
,d542326
]:- @moralisweb3/evm-utils@2.1.0
- @moralisweb3/core@2.1.0
- @moralisweb3/api-utils@2.1.0
-
#593
dbca06e
Thanks @ErnoW! - Update types for EvmApi, SolApi and Auth, based on api definitions -
Updated dependencies []:
- @moralisweb3/core@2.0.3
- @moralisweb3/api-utils@2.0.3
- @moralisweb3/evm-utils@2.0.3
- Updated dependencies []:
- @moralisweb3/core@2.0.2
- @moralisweb3/api-utils@2.0.2
- @moralisweb3/evm-utils@2.0.2
- Updated dependencies [
30f69c3
]:- @moralisweb3/evm-utils@2.0.1
- @moralisweb3/core@2.0.1
- @moralisweb3/api-utils@2.0.1
-
639053e
Thanks @ErnoW! - # Release of v2.0This release contains many breaking changes as it moves from a Javascript SDK (for react-native, browser, and NodeJs) to a NodeJs-only SDK.
Note: we will still support the v1.x version as a
moralis-v1
package (see https://github.com/MoralisWeb3/Moralis-JS-SDK-v1).These changes are to focus on Backend-only features, to facilitate self-hosted servers. Below you will find an overview of removed features and how to replace them:
- Plugins: plugins in Moralis are mostly a wrapper around an API, where the API secret is managed on the moralis backend. When using the moralis sdk in NodeJs, you can safely implement your API secret, and implement any api (opensea/pinata etc.) directly without the need of utilities in the moralis sdk
- Connecting to EVM: If you want to connect to EVM chains client-side, then this sdk is not suitable anymore. There are other open-source libraries that will have lots of utilities that can help you with this (web3js, ethers, wagmi, useDapp, web3-react)
- Server interaction: interacting with the server can be done by installing the parse-server sdk (parse).
The new sdk comes with the following featurs:
Moralis.EvmApi
: A set of methods to interact and read from EVM chainsMoralis.SolApi
: A set of methods to interact and read from Solana networksMoralis.Auth
: Utilities to implement web3 authentication in NodeJs
To get started, simply call
Moralis.start({ apiKey: 'YOUR_API_KEY' })
Then you can access the apis via
Moralis.EvmApi.account.getNFTs(options)
Moralis.SolApi.account.getNFTs(options)
Moralis.Auth.requestMessage(options)
For more info see the docs: http://docs.moralis.io Or reach out in our forums: https://forum.moralis.io
-
#560
d413073
Thanks @ErnoW! - Improve Erc20Value logic by:- geters for Erc20 for:
token.decimals
,token.name
,token.symbol
,token.contractAddress
,token.chain
,token.logo
,token.logoHash
andtoken.thumbnail
, - adding an optional token reference for
Erc20Value
. This can be used by callingErc20Value.create(amount, { token })
- fixes and additions for output of
Erc20Value
:erc20Value.value
now returns the value in a decimal string"123.567"
erc20Value.amount
returns the Bignumber value withtout taking decimals into accounterc20Value.decimals
returns the decimalserc20Value.toNumber()
returns the value in a decimal number (or throws an error if the value is too big):123.456
erc20Value.display()
returns the value in a readable string with the token symbol if available:"123.456 LINK"
(or"123.456"
)
Moralis.EvmApi.getTokenBalances()
now returns anErc20Value
object with associated token information.
- geters for Erc20 for:
- #510
7f0fc3f
Thanks @ErnoW! - Add Moralis.Auth package to handle authentication via the Moralis Authentication Api. And add a demo project for parse-server
- #522
b26d56b
Thanks @ErnoW! - Update endpoints for evm Authentication in Moralis.Auth to reflect api changes
-
#535
279507c
Thanks @b4rtaz! - Replaced BigNumber from @ethersproject by own implementation. -
Updated dependencies [
6eae2a9
,0c47bae
,ed75131
,d413073
,639053e
,30b7f4b
,4683492
,7f0fc3f
,61b8759
,81effa1
,fa082b6
,d10214e
,d525351
,36dd9a9
,9e67989
,fa082b6
,01b7480
,d450294
,70e6227
,51e0446
,279507c
]:- @moralisweb3/api-utils@2.0.0
- @moralisweb3/core@2.0.0
- @moralisweb3/evm-utils@2.0.0
- Updated dependencies [
fa082b6
,fa082b6
]:- @moralisweb3/evm-utils@2.0.0-beta.11
- @moralisweb3/core@2.0.0-beta.11
- @moralisweb3/api-utils@2.0.0-beta.11
- Updated dependencies [
51e0446
]:- @moralisweb3/core@2.0.0-beta.10
- @moralisweb3/evm-utils@2.0.0-beta.10
- @moralisweb3/api-utils@2.0.0-beta.10
-
#562
4683492
Thanks @ErnoW! - Update type definition and resolvers after changes in the Evm Api -
Updated dependencies [
4683492
]:- @moralisweb3/api-utils@2.0.0-beta.9
- @moralisweb3/core@2.0.0-beta.9
- @moralisweb3/evm-utils@2.0.0-beta.9
-
#560
d413073
Thanks @ErnoW! - Improve Erc20Value logic by:- geters for Erc20 for:
token.decimals
,token.name
,token.symbol
,token.contractAddress
,token.chain
,token.logo
,token.logoHash
andtoken.thumbnail
, - adding an optional token reference for
Erc20Value
. This can be used by callingErc20Value.create(amount, { token })
- fixes and additions for output of
Erc20Value
:erc20Value.value
now returns the value in a decimal string"123.567"
erc20Value.amount
returns the Bignumber value withtout taking decimals into accounterc20Value.decimals
returns the decimalserc20Value.toNumber()
returns the value in a decimal number (or throws an error if the value is too big):123.456
erc20Value.display()
returns the value in a readable string with the token symbol if available:"123.456 LINK"
(or"123.456"
)
Moralis.EvmApi.getTokenBalances()
now returns anErc20Value
object with associated token information.
- geters for Erc20 for:
- Updated dependencies [
d413073
]:- @moralisweb3/api-utils@2.0.0-beta.8
- @moralisweb3/core@2.0.0-beta.8
- @moralisweb3/evm-utils@2.0.0-beta.8
- Updated dependencies [
0c47bae
]:- @moralisweb3/api-utils@2.0.0-beta.7
- @moralisweb3/core@2.0.0-beta.7
- @moralisweb3/evm-utils@2.0.0-beta.7
- #555
3f511ed
Thanks @ErnoW! - Include all files from/lib
in npm builds. This fixes a bug where only the index.js file and .d.ts files were included in builds.
- Updated dependencies [
36dd9a9
,3f511ed
]:- @moralisweb3/core@2.0.0-beta.6
- @moralisweb3/api-utils@2.0.0-beta.6
- @moralisweb3/evm-utils@2.0.0-beta.6
- Updated dependencies [
2948339
]:- @moralisweb3/api-utils@2.0.0-beta.5
- @moralisweb3/core@2.0.0-beta.5
- @moralisweb3/evm-utils@2.0.0-beta.5
-
Updated dependencies [
81effa1
,81effa1
,70e6227
]:- @moralisweb3/api-utils@2.0.0-alpha.4
- @moralisweb3/core@2.0.0-alpha.4
- @moralisweb3/evm-utils@2.0.0-alpha.4
- #510
7f0fc3f
Thanks @ErnoW! - Add Moralis.Auth package to handle authentication via the Moralis Authentication Api. And add a demo project for parse-server
- #522
b26d56b
Thanks @ErnoW! - Update endpoints for evm Authentication in Moralis.Auth to reflect api changes
-
#535
279507c
Thanks @b4rtaz! - Replaced BigNumber from @ethersproject by own implementation. -
Updated dependencies [
6eae2a9
,ed75131
,30b7f4b
,7f0fc3f
,61b8759
,d10214e
,01b7480
,d450294
,279507c
]:- @moralisweb3/api-utils@2.0.0-alpha.3
- @moralisweb3/core@2.0.0-alpha.3
- @moralisweb3/evm-utils@2.0.0-alpha.3