v0.7.12
github-actions
released this
03 Feb 15:43
·
156 commits
to master
since this release
0.7.12 - 2023-02-03
We have done really huge update of our SDK. Get feedback of our early
Added
- definitions for Subsocial Parachain Node
- new methods for IPFS instance:
- saveContentToIpfs
- pinContent
- unpinContent
- support custom headers for IPFS node:
- setWriteHeaders
- setPinHeaders
- add high level getter for:
api.base
- get base no-serialized data from blockchain and IPFSapi.blockchain
- get no-serialized data only from blockchainapi.ipfs
- get IPFS instanceapi.substrateApi
- get ApiPromise instance
- add methods to
blockchain
instance for getting data from roles storages from blockchain:- getAccountsWithAnyRoleInSpace
- getSpaceIdsWithRolesByAccount
- getSpacePermissionsByAccount
- add method to
blockchain
instance for getting counter of storage:- postsCountBySpaceId
- sharesCountByPostId
- repliesCountByPostId
- accountFollowersCountByAccountId
- accountsFollowedCountByAccount
- add
filters
arg forfind(Space|Post)Structs
methods in Subsocial API - add methods to
SubsocialApi
:- findSpaces
- findPosts
- findProfileSpaces
- add
twitterParser
toutils
:- parseHashtags
- parseUsernames
- parseTextToMarkdown
- add
createTwitterURL
toutils