aog-micro-patch
v0.0.9
Published
temporary patch for `micro`'s `request` and `response` for `actions-on-google`
Downloads
3
Readme
aog-micro-patch
temporary patch for micro
's request
and response
for actions-on-google
usage
import { ActionsSdkAssistant } from 'actions-on-google'
import micro from 'micro'
import patch from 'aog-micro-patch'
micro(async (req, res) => {
const request = await patch.request(req)
const response = patch.response(res)
const assistant = new ActionsSdkAssistant({request, response})
/* ... */
})