Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 1.35 KB

CHANGELOG.md

File metadata and controls

41 lines (35 loc) · 1.35 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

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 IPFS
    • api.blockchain - get no-serialized data only from blockchain
    • api.ipfs - get IPFS instance
    • api.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 for find(Space|Post)Structs methods in Subsocial API
  • add methods to SubsocialApi:
    • findSpaces
    • findPosts
    • findProfileSpaces