Skip to content

v5.0.0

Latest
Compare
Choose a tag to compare
@LitoMore LitoMore released this 11 Sep 21:16
· 2 commits to main since this release
b75bbc5

Breaking changes

getEntities & getPlainText

+import {getEntities, getPlainText} from 'fanfou-sdk';

const status = ff.get('/statues/show', id: 'status-id');
-const plainText = status.plain_text;
+const plainText = getPlainText(getEntities(status.text);

Features

Chore

  • Rewrite with TypeScript
  • Bump dependencies