You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(logs): new function to only load one page of logs
* feat(logs): adds a streaming class for logs that polls for now
* feat(logs): adds convenience func, page size and function filter
* chore: updates package.json
Fixes reset-dependencies npm script and adds a watch script for continuous compilation.
* refactor(./src/streams/logs.ts): logsStream refactor
Should pass a client to LogsStream instead of credentials, as that's how everything else works. Access through the client should set the client.
Also, changed how filtering old logs out on subsequent polls works to contain memory.
* feat(./src/api/logs.ts): adds filters to listOnePageLogResources
Adds StartDate, EndDate amd PageToken as options to listOnePageLogResources.
* feat(client): adds getLogs function to client
so that twilio-run can get a single page of recent logs
* improvement(logs): turn filters for logs into an object argument
* improvement(logs): make polling frequency settable for log streams
* improvement(logs): in objectmode readable streams can push objects
This saves serializing and deserializing the data.
* improvement(logs): removed unused _buffer variable
0 commit comments