Skip to content

v0.16.0

Latest
Compare
Choose a tag to compare
@luisfun luisfun released this 09 Feb 11:44
· 14 commits to main since this release

BREAKING CHANGE

Rest -> createRest

-const rest = new Rest('token')
+const rest = createRest('token')
-const res = c.rest.post(_channels_$_messages, [channel_id], { content: 'this is rest' })
+const res = c.rest('POST', _channels_$_messages, [channel_id], { content: 'this is rest' })

New Features

rest types

Support for most REST APIs

Full Changelog: v0.15.1...v0.16.0